Provisioning a command device for the UCP Advisor VM after installing UCP Advisor

Unified Compute Platform (UCP) Advisor Software Installation Guide

Version
4.6.x
Audience
anonymous
Part Number
MK-92UCP120-15

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.


Image showing Edit Command Device interface with the Enable option selected.
Use the following procedure to provision a new command device to the UCP Advisor VM on the management node after you install UCP Advisor.
  1. Using an SSH client, such as PuTTy, log on to the UCP Advisor VM as a ucpadmin or a root user.
  2. 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:

    1. Remove the command device from the UCP Advisor VM and the ESXi host.
    2. Create a new command device on the storage device, and assign it to ESXi host.
    3. Add the command device as a RDM disk to the UCP Advisor VM.
    4. Verify the disk attribute property of the command device again.
  3. Navigate to the installer folder.
  4. 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
  5. Enter y when prompted.

    After a successful installation, the following message is displayed:

    "Congratulations, the upgrade was successful."

  6. Verify that the command devices were successfully added. In a web browser, enter the following URL:
    https://<UCP-Advisor-Address>:8444/services/cmd-devices
    This 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"
    		 )
    	]
    }