Use this vmcli command to set mapping
between the vCloud objects and Tivoli® Storage
Manager node name.
Syntax
The vmcli -f set_mapping command
uses this syntax:
vmcli -f set_mapping -I mappingInputFile [-s tsmserverhostname] [-n vmclinodename] [-p tsmserverport]
You must issue the
vmcli -f set_mapping command
as the tdpvmware user, and not as root.
To confirm that the mapping is set correctly,
issue the vmcli -f inquire_config command.
The vmcli -f set_mapping command
is valid only in a vCloud environment.
Parameters
- -I mappingInputFile
- Specify the following mapping information in this file:
- pvdcnode: provider vDC node
name
- Specify the provider vDC node
name.
- pvdcname: provider vDC name
- Specify the provider vDC name.
The name is case sensitive.
- orgname: organization name
- Specify the name of the organization. The name is case sensitive.
- orgvdcname: organization vDC
- Specify the name of the organization vDC.
The name is case sensitive.
- orgvdcnode: organization vDC node
name
- Specify the organization vDC node
name.
The name is converted to upper case.
The following keywords are required to set the provider vDC name:
The following keywords are required to set the organization and organization vDC name:- pvdcnode
- orgname
- orgvdcname
- orgvdcnodename
When the mappingInputFile entry
contains more spaces, enclose the entry with quotation marks. For
example: -I "/my dir/my input file"
- [-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.
- [-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.
- [-n vmclinodename]
- Specify the VMCLI node name.
This is the node that connects the Data Protection for VMware command-line
interface to the Tivoli Storage
Manager server and
the data mover node.
If this parameter is not specified, the value in the profile is used.
Example
In this example, the
vmcli
-f set_mapping command is issued to set the mapping between
the
Tivoli Storage
Manager node
"pvdc_oslo" and the real
provider vDC,
"Oslo Norway". The
mappingInputFile contains this
entry:
pvdcnode:pvdc_oslo
pvdcname:Oslo Norway
In this example, the
vmcli
-f set_mapping command is issued to set the mapping for the
provider vDC node
pvdc_oslo, the organization "Production", the
organization vDC "Oslo
1", and the
organization vDC node
"ovdc_oslo1". The
mappingInputFile contains this
entry:
pvdcnode:pvdc_oslo
orgname:Production
orgvdcname:Oslo1
orgvdcnode:ovdc_oslo1