Checking_VxSS_Credentials Restoration log start time: 2010/11/08 12:45:03 + EMPTY_TASK_STATE=0 + export EMPTY_TASK_STATE + QUEUED_TASK_STATE=1 + export QUEUED_TASK_STATE + ACTIVE_TASK_STATE=2 + export ACTIVE_TASK_STATE + DONE_TASK_STATE=3 + export DONE_TASK_STATE + WAITING_TASK_STATE=4 + export WAITING_TASK_STATE + EMPTY_OPERATIONAL_STATE=0 + export EMPTY_OPERATIONAL_STATE + READY_OPERATIONAL_STATE=1 + export READY_OPERATIONAL_STATE + INITIALIZING_OPERATIONAL_STATE=2 + export INITIALIZING_OPERATIONAL_STATE + MAPPING_OPERATIONAL_STATE=3 + export MAPPING_OPERATIONAL_STATE + MAPPED_OPERATIONAL_STATE=4 + export MAPPED_OPERATIONAL_STATE + FORMATING_OPERATIONAL_STATE=5 + export FORMATING_OPERATIONAL_STATE + RESTORING_OPERATIONAL_STATE=6 + export RESTORING_OPERATIONAL_STATE + FINALIZING_OPERATIONAL_STATE=7 + export FINALIZING_OPERATIONAL_STATE + WAITING_FOR_REBOOT_OPERATIONAL_STATE=8 + export WAITING_FOR_REBOOT_OPERATIONAL_STATE + PREFORMAT_EP_OPERATIONAL_STATE=9 + export PREFORMAT_EP_OPERATIONAL_STATE + PRERESTORE_EP_OPERATIONAL_STATE=10 + export PRERESTORE_EP_OPERATIONAL_STATE + POSTRESTORE_EP_OPERATIONAL_STATE=11 + export POSTRESTORE_EP_OPERATIONAL_STATE + FIRSTBOOT_EP_OPERATIONAL_STATE=12 + export FIRSTBOOT_EP_OPERATIONAL_STATE + DISCOVERY_EP_OPERATIONAL_STATE=13 + export DISCOVERY_EP_OPERATIONAL_STATE + FAILED_OPERATIONAL_STATE=14 + export FAILED_OPERATIONAL_STATE + biName=SRT2_CD + bmrDir=/usr/openv/netbackup/baremetal/ + bootServerAddress=153.64.106.135 + bootServerName=barlnx2 + clAddressHex=99406B3E + clName=bsrv7 + clNodeName=bsrv7 + clOs=linux + clOsLevel=10.0 + configName=DissimilarDisk + configType=3 + importNonRootVgs=NO + onEpError=1 + restoreNonRootVgs=YES + runEp=NO + runMode=RESTORE + serverAddress=153.64.106.135 + serverName=barlnx2 + srtFakeRoot= + srtName=SRT2_CD + listOfExt3Devices= + tune2fsResult= + export biName + export bmrDir + export bootServerAddress + export bootServerName + export clAddressHex + export clName + export clNodeName + export clOs + export clOsLevel + export configName + export configType + export importNonRootVgs + export onEpError + export restoreNonRootVgs + export runEp + export runMode + export serverAddress + export serverName + export srtFakeRoot + export srtName + export listOfExt3Devices + export tune2fsResult + [[ -n bsrv7 ]] + hostname bsrv7 + echo bsrv7 + utilityFunctions=/utilityFunctions + export utilityFunctions + . /utilityFunctions ++ DebugUtilityFuncs= ++ export DebugUtilityFuncs ++ defaultNetmask=255.255.255.0 ++ export defaultNetmask ++ BMRC=/usr/openv/netbackup/bin/bmrc ++ export BMRC ++ BMRSAVECFG=/usr/openv/netbackup/bin/bmrsavecfg ++ export BMRSAVECFG ++ : /dev/console ++ export CONSOLE ++ case `echo "\c"` in +++ echo '\c' ++ Echo_C= ++ Echo_N=-n ++ '[' -z /utilityFunctions ']' ++ exportFunctions='EpBail ExternalProcedure BmrcEpPull EpError EpInfo SetClientState EchoToConsole RunDiscovery SetVxSSDirs DoAuth AskAuth TestAuth ConfirmAuthFailure' ++ case "${SHELL}" in ++ case "${clOs}" in ++ typeset -fx EpBail ExternalProcedure BmrcEpPull EpError EpInfo SetClientState EchoToConsole RunDiscovery SetVxSSDirs DoAuth AskAuth TestAuth ConfirmAuthFailure ++ EMPTY_TASK_STATE=0 ++ export EMPTY_TASK_STATE ++ QUEUED_TASK_STATE=1 ++ export QUEUED_TASK_STATE ++ ACTIVE_TASK_STATE=2 ++ export ACTIVE_TASK_STATE ++ DONE_TASK_STATE=3 ++ export DONE_TASK_STATE ++ WAITING_TASK_STATE=4 ++ export WAITING_TASK_STATE ++ EMPTY_OPERATIONAL_STATE=0 ++ export EMPTY_OPERATIONAL_STATE ++ READY_OPERATIONAL_STATE=1 ++ export READY_OPERATIONAL_STATE ++ INITIALIZING_OPERATIONAL_STATE=2 ++ export INITIALIZING_OPERATIONAL_STATE ++ MAPPING_OPERATIONAL_STATE=3 ++ export MAPPING_OPERATIONAL_STATE ++ MAPPED_OPERATIONAL_STATE=4 ++ export MAPPED_OPERATIONAL_STATE ++ FORMATING_OPERATIONAL_STATE=5 ++ export FORMATING_OPERATIONAL_STATE ++ RESTORING_OPERATIONAL_STATE=6 ++ export RESTORING_OPERATIONAL_STATE ++ FINALIZING_OPERATIONAL_STATE=7 ++ export FINALIZING_OPERATIONAL_STATE ++ WAITING_FOR_REBOOT_OPERATIONAL_STATE=8 ++ export WAITING_FOR_REBOOT_OPERATIONAL_STATE ++ PREFORMAT_EP_OPERATIONAL_STATE=9 ++ export PREFORMAT_EP_OPERATIONAL_STATE ++ PRERESTORE_EP_OPERATIONAL_STATE=10 ++ export PRERESTORE_EP_OPERATIONAL_STATE ++ POSTRESTORE_EP_OPERATIONAL_STATE=11 ++ export POSTRESTORE_EP_OPERATIONAL_STATE ++ FIRSTBOOT_EP_OPERATIONAL_STATE=12 ++ export FIRSTBOOT_EP_OPERATIONAL_STATE ++ DISCOVERY_EP_OPERATIONAL_STATE=13 ++ export DISCOVERY_EP_OPERATIONAL_STATE ++ FAILED_OPERATIONAL_STATE=14 ++ export FAILED_OPERATIONAL_STATE + umask 002 + export MNT=/tmp/mnt + MNT=/tmp/mnt + export CONSOLE=/dev/console + CONSOLE=/dev/console + ExternalProcedure preformat + test -n '' + case "$runEp" in + return 0 + BMR_BAD_CONFIG_NAME=99 + export BMR_BAD_CONFIG_NAME + declare -a ScsiDiskNames ScsiDiskLocs + RAIDTAB=/etc/raidtab.bmr.new + NEW_VGS=/tmp/newVgs.5850 + ORIG_VGS=/tmp/originalVgs.5850 + VerifyDiskSize scsi0:02:00:00 10803681 + local diskLocation=scsi0:02:00:00 + local -i minDiskSize=10803681 + local diskName + [[ scsi0:02:00:00 == scsi* ]] ++ ConvertScsiDiskLocationToName scsi0:02:00:00 ++ local diskLocation=scsi0:02:00:00 ++ [[ 0 == 0 ]] ++ InitializeScsiDiskLocs +++ gawk ' BEGIN { NumScsiDevs = 0 NumScsiDevs2 = 0 LargeNumScsiDevs = 0 DevNamesList = "" DevLocsList = "" } $1 == "Host:" { loc = $2 ":" $4 ":" $6 ":" $8 } NumScsiDevs >= 26 && LargeNumScsiDevs == 0 { LargeNumScsiDevs = 1 NumScsiDevs = 0 } $1 == "Type:" && $2 == "Direct-Access" && LargeNumScsiDevs == 0 { name = "sd" substr("abcdefghijklmnopqrstuvwxyz", NumScsiDevs+1, 1) printf("ScsiDiskLocs[%d]=\"%s\"\n", NumScsiDevs, loc) printf("ScsiDiskNames[%d]=\"%s\"\n", NumScsiDevs, name) ++NumScsiDevs } $1 == "Type:" && $2 == "Direct-Access" && LargeNumScsiDevs == 1 { name = "sd" substr("abcdefghijklmnopqrstuvwxyz", NumScsiDevs+1, 1) substr("abcdefghijklmnopqrstuvwxyz", NumScsiDevs2+1, 1) printf("ScsiDiskLocs[%d]=\"%s\"\n", 26 + NumScsiDevs2, loc) printf("ScsiDiskNames[%d]=\"%s\"\n", 26 + NumScsiDevs2, name) ++NumScsiDevs2 } ' /proc/scsi/scsi ++ eval 'ScsiDiskLocs[0]="scsi0:02:00:00"' 'ScsiDiskNames[0]="sda"' 'ScsiDiskLocs[1]="scsi0:02:01:00"' 'ScsiDiskNames[1]="sdb"' +++ ScsiDiskLocs[0]=scsi0:02:00:00 +++ ScsiDiskNames[0]=sda +++ ScsiDiskLocs[1]=scsi0:02:01:00 +++ ScsiDiskNames[1]=sdb ++ local -i i=0 ++ [[ 0 -lt 2 ]] ++ [[ scsi0:02:00:00 == \s\c\s\i\0\:\0\2\:\0\0\:\0\0 ]] ++ echo sda ++ return 0 + diskName=sda + '[' -z sda ']' + local -i actualDiskSize ++ awk '$4 == "sda" { print $3 }' /proc/partitions + actualDiskSize= + '[' -z 0 ']' + (( 0 >= 10803681 )) + EchoToConsole 'ERROR: Disk '\''sda'\'' too small: 10803681KB needed, 0KB available.' + '[' 'XERROR: Disk '\''sda'\'' too small: 10803681KB needed, 0KB available.' = X-n ']' + _c= + _n= + '[' -t 1 ']' + echo 'ERROR: Disk '\''sda'\'' too small: 10803681KB needed, 0KB available.' + tee -a /dev/console ERROR: Disk 'sda' too small: 10803681KB needed, 0KB available. + unset _c _n + PerformAutoDDRSaveCfg + EchoToConsole ' The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. ' + '[' 'X The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. ' = X-n ']' + _c= + _n= + '[' -t 1 ']' + echo ' The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. ' + tee -a /dev/console The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. + unset _c _n + : + PromptUser discConfigName 'Enter the name for the new discovered configuration' discover + '[' -n '' ']' + set +x Enter the name for the new discovered configuration [discover] : Performing system configuration discovery ... Initializing configuration edit session on the server ... System configuration auto-discovery is complete. Now, you will be dropped to a shell prompt. Go to the server and complete the DDR mapping process with configuration "DissimilarDisk". Then reboot this client to restart restoration. Checking_VxSS_Credentials Restoration log start time: 2010/11/08 13:13:22 + EMPTY_TASK_STATE=0 + export EMPTY_TASK_STATE + QUEUED_TASK_STATE=1 + export QUEUED_TASK_STATE + ACTIVE_TASK_STATE=2 + export ACTIVE_TASK_STATE + DONE_TASK_STATE=3 + export DONE_TASK_STATE + WAITING_TASK_STATE=4 + export WAITING_TASK_STATE + EMPTY_OPERATIONAL_STATE=0 + export EMPTY_OPERATIONAL_STATE + READY_OPERATIONAL_STATE=1 + export READY_OPERATIONAL_STATE + INITIALIZING_OPERATIONAL_STATE=2 + export INITIALIZING_OPERATIONAL_STATE + MAPPING_OPERATIONAL_STATE=3 + export MAPPING_OPERATIONAL_STATE + MAPPED_OPERATIONAL_STATE=4 + export MAPPED_OPERATIONAL_STATE + FORMATING_OPERATIONAL_STATE=5 + export FORMATING_OPERATIONAL_STATE + RESTORING_OPERATIONAL_STATE=6 + export RESTORING_OPERATIONAL_STATE + FINALIZING_OPERATIONAL_STATE=7 + export FINALIZING_OPERATIONAL_STATE + WAITING_FOR_REBOOT_OPERATIONAL_STATE=8 + export WAITING_FOR_REBOOT_OPERATIONAL_STATE + PREFORMAT_EP_OPERATIONAL_STATE=9 + export PREFORMAT_EP_OPERATIONAL_STATE + PRERESTORE_EP_OPERATIONAL_STATE=10 + export PRERESTORE_EP_OPERATIONAL_STATE + POSTRESTORE_EP_OPERATIONAL_STATE=11 + export POSTRESTORE_EP_OPERATIONAL_STATE + FIRSTBOOT_EP_OPERATIONAL_STATE=12 + export FIRSTBOOT_EP_OPERATIONAL_STATE + DISCOVERY_EP_OPERATIONAL_STATE=13 + export DISCOVERY_EP_OPERATIONAL_STATE + FAILED_OPERATIONAL_STATE=14 + export FAILED_OPERATIONAL_STATE + biName=SRT2_CD + bmrDir=/usr/openv/netbackup/baremetal/ + bootServerAddress=153.64.106.135 + bootServerName=barlnx2 + clAddressHex=99406B3E + clName=bsrv7 + clNodeName=bsrv7 + clOs=linux + clOsLevel=10.0 + configName=DissimilarDisk + configType=3 + importNonRootVgs=NO + onEpError=1 + restoreNonRootVgs=YES + runEp=NO + runMode=RESTORE + serverAddress=153.64.106.135 + serverName=barlnx2 + srtFakeRoot= + srtName=SRT2_CD + listOfExt3Devices= + tune2fsResult= + export biName + export bmrDir + export bootServerAddress + export bootServerName + export clAddressHex + export clName + export clNodeName + export clOs + export clOsLevel + export configName + export configType + export importNonRootVgs + export onEpError + export restoreNonRootVgs + export runEp + export runMode + export serverAddress + export serverName + export srtFakeRoot + export srtName + export listOfExt3Devices + export tune2fsResult + [[ -n bsrv7 ]] + hostname bsrv7 + echo bsrv7 + utilityFunctions=/utilityFunctions + export utilityFunctions + . /utilityFunctions ++ DebugUtilityFuncs= ++ export DebugUtilityFuncs ++ defaultNetmask=255.255.255.0 ++ export defaultNetmask ++ BMRC=/usr/openv/netbackup/bin/bmrc ++ export BMRC ++ BMRSAVECFG=/usr/openv/netbackup/bin/bmrsavecfg ++ export BMRSAVECFG ++ : /dev/console ++ export CONSOLE ++ case `echo "\c"` in +++ echo '\c' ++ Echo_C= ++ Echo_N=-n ++ '[' -z /utilityFunctions ']' ++ exportFunctions='EpBail ExternalProcedure BmrcEpPull EpError EpInfo SetClientState EchoToConsole RunDiscovery SetVxSSDirs DoAuth AskAuth TestAuth ConfirmAuthFailure' ++ case "${SHELL}" in ++ case "${clOs}" in ++ typeset -fx EpBail ExternalProcedure BmrcEpPull EpError EpInfo SetClientState EchoToConsole RunDiscovery SetVxSSDirs DoAuth AskAuth TestAuth ConfirmAuthFailure ++ EMPTY_TASK_STATE=0 ++ export EMPTY_TASK_STATE ++ QUEUED_TASK_STATE=1 ++ export QUEUED_TASK_STATE ++ ACTIVE_TASK_STATE=2 ++ export ACTIVE_TASK_STATE ++ DONE_TASK_STATE=3 ++ export DONE_TASK_STATE ++ WAITING_TASK_STATE=4 ++ export WAITING_TASK_STATE ++ EMPTY_OPERATIONAL_STATE=0 ++ export EMPTY_OPERATIONAL_STATE ++ READY_OPERATIONAL_STATE=1 ++ export READY_OPERATIONAL_STATE ++ INITIALIZING_OPERATIONAL_STATE=2 ++ export INITIALIZING_OPERATIONAL_STATE ++ MAPPING_OPERATIONAL_STATE=3 ++ export MAPPING_OPERATIONAL_STATE ++ MAPPED_OPERATIONAL_STATE=4 ++ export MAPPED_OPERATIONAL_STATE ++ FORMATING_OPERATIONAL_STATE=5 ++ export FORMATING_OPERATIONAL_STATE ++ RESTORING_OPERATIONAL_STATE=6 ++ export RESTORING_OPERATIONAL_STATE ++ FINALIZING_OPERATIONAL_STATE=7 ++ export FINALIZING_OPERATIONAL_STATE ++ WAITING_FOR_REBOOT_OPERATIONAL_STATE=8 ++ export WAITING_FOR_REBOOT_OPERATIONAL_STATE ++ PREFORMAT_EP_OPERATIONAL_STATE=9 ++ export PREFORMAT_EP_OPERATIONAL_STATE ++ PRERESTORE_EP_OPERATIONAL_STATE=10 ++ export PRERESTORE_EP_OPERATIONAL_STATE ++ POSTRESTORE_EP_OPERATIONAL_STATE=11 ++ export POSTRESTORE_EP_OPERATIONAL_STATE ++ FIRSTBOOT_EP_OPERATIONAL_STATE=12 ++ export FIRSTBOOT_EP_OPERATIONAL_STATE ++ DISCOVERY_EP_OPERATIONAL_STATE=13 ++ export DISCOVERY_EP_OPERATIONAL_STATE ++ FAILED_OPERATIONAL_STATE=14 ++ export FAILED_OPERATIONAL_STATE + umask 002 + export MNT=/tmp/mnt + MNT=/tmp/mnt + export CONSOLE=/dev/console + CONSOLE=/dev/console + ExternalProcedure preformat + test -n '' + case "$runEp" in + return 0 + BMR_BAD_CONFIG_NAME=99 + export BMR_BAD_CONFIG_NAME + declare -a ScsiDiskNames ScsiDiskLocs + RAIDTAB=/etc/raidtab.bmr.new + NEW_VGS=/tmp/newVgs.5850 + ORIG_VGS=/tmp/originalVgs.5850 + VerifyDiskSize scsi0:02:00:00 10498446 + local diskLocation=scsi0:02:00:00 + local -i minDiskSize=10498446 + local diskName + [[ scsi0:02:00:00 == scsi* ]] ++ ConvertScsiDiskLocationToName scsi0:02:00:00 ++ local diskLocation=scsi0:02:00:00 ++ [[ 0 == 0 ]] ++ InitializeScsiDiskLocs +++ gawk ' BEGIN { NumScsiDevs = 0 NumScsiDevs2 = 0 LargeNumScsiDevs = 0 DevNamesList = "" DevLocsList = "" } $1 == "Host:" { loc = $2 ":" $4 ":" $6 ":" $8 } NumScsiDevs >= 26 && LargeNumScsiDevs == 0 { LargeNumScsiDevs = 1 NumScsiDevs = 0 } $1 == "Type:" && $2 == "Direct-Access" && LargeNumScsiDevs == 0 { name = "sd" substr("abcdefghijklmnopqrstuvwxyz", NumScsiDevs+1, 1) printf("ScsiDiskLocs[%d]=\"%s\"\n", NumScsiDevs, loc) printf("ScsiDiskNames[%d]=\"%s\"\n", NumScsiDevs, name) ++NumScsiDevs } $1 == "Type:" && $2 == "Direct-Access" && LargeNumScsiDevs == 1 { name = "sd" substr("abcdefghijklmnopqrstuvwxyz", NumScsiDevs+1, 1) substr("abcdefghijklmnopqrstuvwxyz", NumScsiDevs2+1, 1) printf("ScsiDiskLocs[%d]=\"%s\"\n", 26 + NumScsiDevs2, loc) printf("ScsiDiskNames[%d]=\"%s\"\n", 26 + NumScsiDevs2, name) ++NumScsiDevs2 } ' /proc/scsi/scsi ++ eval 'ScsiDiskLocs[0]="scsi0:02:00:00"' 'ScsiDiskNames[0]="sda"' 'ScsiDiskLocs[1]="scsi0:02:01:00"' 'ScsiDiskNames[1]="sdb"' +++ ScsiDiskLocs[0]=scsi0:02:00:00 +++ ScsiDiskNames[0]=sda +++ ScsiDiskLocs[1]=scsi0:02:01:00 +++ ScsiDiskNames[1]=sdb ++ local -i i=0 ++ [[ 0 -lt 2 ]] ++ [[ scsi0:02:00:00 == \s\c\s\i\0\:\0\2\:\0\0\:\0\0 ]] ++ echo sda ++ return 0 + diskName=sda + '[' -z sda ']' + local -i actualDiskSize ++ awk '$4 == "sda" { print $3 }' /proc/partitions + actualDiskSize= + '[' -z 0 ']' + (( 0 >= 10498446 )) + EchoToConsole 'ERROR: Disk '\''sda'\'' too small: 10498446KB needed, 0KB available.' + '[' 'XERROR: Disk '\''sda'\'' too small: 10498446KB needed, 0KB available.' = X-n ']' + _c= + _n= + '[' -t 1 ']' + echo 'ERROR: Disk '\''sda'\'' too small: 10498446KB needed, 0KB available.' + tee -a /dev/console ERROR: Disk 'sda' too small: 10498446KB needed, 0KB available. + unset _c _n + PerformAutoDDRSaveCfg + EchoToConsole ' The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. ' + '[' 'X The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. ' = X-n ']' + _c= + _n= + '[' -t 1 ']' + echo ' The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. ' + tee -a /dev/console The disks in this system do not meet the minimum requirements for restore. The restore cannot continue. Instead, a configuration discovery will be performed to gather the current configuration of this system. + unset _c _n + : + PromptUser discConfigName 'Enter the name for the new discovered configuration' discover + '[' -n '' ']' + set +x Enter the name for the new discovered configuration [discover] :