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 [-c tsm_mode] [-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

-c tsm_mode
Specify the mode in which Tivoli® Storage Manager backs up the virtual environment. The value is set in the VE_TSM_MODE parameter in the vmcliprofile. You can choose from one of the following modes:
VSPHERE
Specify this value when Tivoli Storage Manager backs up and restores individual VMs from a vCenter.
VCloud
Specify this value when Tivoli Storage Manager backs up and restores vApps from a vCloud director.
If the mode is not set in the vmcliprofile, the VSPHERE mode is used with the vmcli command.
-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 Tivoli Storage Manager backup-archive client that is installed on the vStorage Backup Server. This node performs the data movement.
[-p tsmserverport]
Specify the port of the Tivoli Storage Manager 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 Tivoli Storage Manager 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 Tivoli Storage Manager 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