If your UCP system uses a storage system, you can provision the UCP Advisor VM with a command device even after installing UCP Advisor. The command device must be created in the meta_resource resource group.
Use the following procedure to provision a new command device to the UCP Advisor VM on the management node after you install UCP Advisor.
- Using an SSH client, such as PuTTy, log on to the UCP Advisor VM as a ucpadmin or a root user.
- Verify if the command device is eligible for provisioning. Enter:
lsscsi -i
Sample output:
[ucpadmin@UCPAdvisorMasterHost105 ~]$ lsscsi -i [1:0:0:0] disk VMware Virtual disk 2.0 /dev/sda - [1:0:1:0] disk VMware Virtual disk 2.0 /dev/sdb - [1:0:2:0] disk HITACHI OPEN-V-CM 5001 /dev/sdc 360060e80282742005080274200000049 [1:0:3:0] disk HITACHI OPEN-V-CM A301 /dev/sdd 360060e8028273e005080273e0000000a
The disk attribute property for the command device that you are trying to add must be set to OPEN-V-CM.
If the disk attribute property for the command device that you are trying to add is set to OPEN-V, you cannot provision it. To reset the property:
- Remove the command device from the UCP Advisor VM and the ESXi host.
- Create a new command device on the storage device, and assign it to ESXi host.
- Add the command device as a RDM disk to the UCP Advisor VM.
- Verify the disk attribute property of the command device again.
- Navigate to the installer folder.
- Run the following command:
sudo ./installer -U -m <UCP Advisor VM IP address> -P [-c <command devices list>] [-s <SCP Server_IP_Address>]
where:- -U: To update the command device
- -m: UCP Advisor VM IP address
- -P: Enter the node CLI username and password, UCP Advisor user name and password when prompted.
- -c: Specify the Linux device names of the command devices that were provisioned.
- -s: (Optional) SCP server IP address.
For example:sudo ./installer -U -m 192.168.10.10 -P -c sdb sdc
- Enter y when prompted.
After a successful installation, the following message is displayed:
"Congratulations, the upgrade was successful."
- Verify that the command devices were successfully added. In a web browser, enter the following URL:
https://<UCP-Advisor-Address>:8444/services/cmd-devicesThis lists all the command devices.Sample output:
{"cmdDevices" : [ { "devicePath" : "/dev/sdd", "identity" : { "deviceClass" : "RAID", "deviceID" : 410117, "deviceModel" : "VSP_G400_G600", "deviceType" : "VSP_FX00", "logicalUnitId" : 9550, "naaId" : "naa.60060e80122785005040278500002S4e" }, "isCommandDevice" : true, "isRemoteCommandDevice" : false, "productId" : "OPEN-V-CM", "vendorId" : "HITACHI" }, { "devicePath" : "/dev/sde", "identity" : { "deviceClass" : "RAID", "deviceID" : 40001, "deviceModel" : "UNKNOWN", "deviceType" : "VSP_5X00H", "logicalUnitId" : 89, "naaId" : "naa.60060e80089c410000509c4100000059" }, "isCommandDevice" : true, "isRemoteCommandDevice" : false, "productId" : "OPEN-V-CM", "vendorId" : "HITACHI" ) ] }