Views:

Summary



A Virtualization Restore may pause for an extended period at the message "Wait for a while to allow virtual machine to get IP address", then will eventually delete the virtual machine and fail with the message "Timed out waiting for VM to send its IP address (
) back. Check for possible IP address conflicts. This article discusses one of the possible causes of this problem."

Symptoms



The job log sequence for this class of problem looks like:

 

SNBVLB_002J ipFile: C:\Program Files\DPX\tmp\<jobid>.IV

SNBVLB_002J Wait for a while to allow virtual machine to get IP address ...

SNBVRE_050J Deleting the VM (<VM-name>)

SNBSVH_658E Task 1 encountered error. Error message There has been some problem while running this task, reason (java.lang.Exception: Timed out waiting for VM to send its IP address (<address>) back. Check for possible IP address conficts.)

 

Specific to the problem described in this article, the rmiserver log on the virtualization proxy will have a message sequence like:

 

SNBVLB_003D Config inforamtion: VM_HOST=TEST

VM_JOBID=<jobid>

VM_PROXYADDR=<an-IP-address-of-the-proxy>

VM_DHCP=FALSE

VM_IPADDR=<assigned-IP-address-of-VM>

VM_SUBNETADDR=<assigned-subnet-mask>

VM_GATEWAYADDR=<assigned-gateway-address>

VM_DNSADDR=<assigned-address-of-DNS>

 

When the virtualization proxy has multiple network interfaces, the IP address given in VM_PROXYADDR may not be in the same subnet as the virtual machine IP address set in the job creation or provided by DHCP. When this happens then the virtualization restore will fail in the manner shown in the job log sequence.

 


Resolution



A hotfix is available for DPX 4.4 which can be obtained from Catalogic Technical Support. Please reference this article or Issue DPSUST-3567. This hotfix should be available in an upgrade or patch after 4.4 patch 0061. The hotfix allows specifying a specific IP address for the virtualization proxy that will be in the same subset as the expected address for the virtual machine.

On a Windows virtualization proxy, the registry string SSVIRT_PROXY_OVERRIDE_IP should be created and set to the desired address of the virtualization proxy. For a Linux virtualization proxy the script ssrmi in the DPX bin directory can be modified to set and export SSVIRT_PROXY_OVERRIDE_IP to the desired address. This can be done after the “echo RMI starting” line, where other environment variables are set:

export LD_LIBRARY_PATH=$SSPRODIR/bin/vixdisklib:$LD_LIBRARY_PATH
SSRMI_ARGS=" -debug 5"
export SSRMI_ARGS

becoming:

export LD_LIBRARY_PATH=$SSPRODIR/bin/vixdisklib:$LD_LIBRARY_PATH
SSRMI_ARGS=" -debug 5"
export SSRMI_ARGS
SSVIRT_PROXY_OVERRIDE_IP=desired-ip-address
export SSVIRT_PROXY_OVERRIDE_IP