SUMMARY
How to get accurate information from Xenserver from within the RecoveryOS SSH Command Line Interface and determine when that communication is not occuring.
ISSUE
How to get accurate information from Xenserver from within the RecoveryOS SSH Command Line Interface and determine when that communication is not occuring.
RESOLUTION
Unitrends communicates with the Pool Master initially added to the Protected Assets page. It must always be this same Pool Master. Use an SSH Terminal software (e.g.: PuTTY) to connect to the Unitrends appliance's IP using port 22. Log in as the SSH user of root, and then follow the instructions in the Tasks pane below.
TASKS
Execute the following search to determine if the communications are going to the correct Xenserver Host:
- Issue this search command:
grep "xensql.c:62\|xensql.c:631:xensql.c:233" /usr/bp/logs.dir/inventory_sync-*;grep HOST_IS_SLAVE /usr/bp/logs.dir/xprotect.log*
- The output will either tell you that the current Host is a Slave (Master => 0)
Error: Xen execution failed: HOST_IS_SLAVE 10.11.12.12...
or it will show you the Poolmaster (Master => 1) and all the slaves. If you find an output that states HOST_IS_SLAVE then it means that the Host we expect to be a Master is current set as a Slave in your Xenserver environment.
***** Current Xen Server Information *****
UUID is => 37blab64-867f-4189-87ff-21199d893859
IP Address is => 10.11.12.11
Master => 1
***** Current Xen Server Information *****
UUID is => ff7ccffc-9e83-4fa7-8852-833f6e4e78fe
IP Address is => 10.11.12.12
Master => 0
***** Current Xen Server Information *****
UUID is => 9bc8ab20-c482-41fe-a097-662240b0e6a1
IP Address is => 10.11.12.13
Master => 0
HOST_IS_SLAVE 10.11.12.92
- On the Unitrends appliance, go to the Protected Asset Tab, and enable the check mark next to the name for your Xenserver poolmaster and click on Edit. The IP Address here should match the one in that is seen as Master => 1 in the results above. In your Xenserver, you can check and change the Pool Master role to match that as listed in Unitrends..