Set_option

Use this vmcli command to set a parameter in the vmcliprofile.

Syntax

The vmcli -f set_option command uses this syntax:
vmcli -f set_option [-m datacentermapping][-n datamovernodename] [-p tsmserverport] [-s tsmserverhostname] [-v vctrnodename]
Linux operating systemsYou must issue the vmcli -f set_option command as the tdpvmware user, and not as root.

Parameters

-m datacentermapping
Specify the name of the data center that is associated with the datacenter node name (DC_name::DC_nodename). The DC_name value is case sensitive and must match the name of your datacenter.
[-n datamovernodename]
Specify the data mover node name. This name is the node name for the IBM Storage Protect backup-archive client that is installed on the vStorage Backup Server. This node performs the data movement.
[-p tsmserverport]
Specify the port of the IBM Storage Protect server.
  • If this parameter is not specified in the Data Protection for VMware command-line interface and not specified in the profile, the default port (1500) is used.
  • If this parameter is not specified in the Data Protection for VMware command-line interface, but is specified in the profile, the value in the profile is used.
[-s tsmserverhostname]
Specify the host name or IP address of the IBM Storage Protect server. If this parameter is not specified, the value in the profile is used.
[-v vcenternodename]
Specify the vCenter node name. This node is the virtual node that represents a vCenter. If this parameter is not specified in the Data Protection for VMware command-line interface, the value in the profile is used.

Example

In this example, the vmcli -f set_option command is issued to set the IBM Storage Protect server and its port:
vmcli -f set_option -s TEMPLE.MYCOMPANY.XYZ.COM -p 1650
The following output is displayed:

Setting VE_TSM_SERVER_NAME to: TEMPLE.MYCOMPANY.XYZ.COM
Setting VE_TSM_SERVER_PORT to: 1650
#INFO FMM16014I The return code is 0.
In this example, the vmcli -f set_option command is issued to set the data center mapping:
vmcli -f set_option -m DataCenter2::NANO_DATACENTER123
The following mapping is set in the profile:
VE_DATACENTER_NAME   DataCenter2::NANO_DATACENTER123