Vmtagdefaultdatamover
Use the vmtagdefaultdatamover option to protect virtual machines, defined in a schedule, that do not have an assigned or inherited Data Mover category and tag.
This feature is available only if the client operates as a data mover for IBM Spectrum Protect™ for Virtual Environments: Data Protection for VMware.
When you specify a data mover node with the vmtagdefaultdatamover option and the vmtagdatamover yes option, the data mover backs up any new virtual machines that are added to any container in the datacenter, if the container is already in a protection set. A protection set consists of the virtual machines in a container that is assigned the Schedule (IBM Spectrum Protect) category and tag. The default data mover also backs up any virtual machines in the protection set that are not assigned the Data Mover tag.
When more than one data mover is associated with a schedule, define one data mover as the default data mover with the vmtagdefaultdatamover option. If only one data mover is associated with a schedule, assign that data mover as the default.
Data protection tags can be assigned to the vSphere inventory to manage the protection of virtual machines. For the list of supported categories and tags, see "Supported data protection tags".
Supported clients
This option can be used with supported x86_64 Linux data movers.
This option can be used with supported Windows 64-bit data movers.
Options file
You can specify this option in the client system-options file (dsm.sys) or on the command line for the backup vm command. You can also include this option on the IBM Spectrum Protect server in a client option set. You cannot set this option in the Preferences Editor.
You can specify this option in the client options file (dsm.opt) or on the command line for the backup vm command. You can also include this option on the IBM Spectrum Protect server in a client option set. You cannot set this option in the Preferences Editor.
Syntax
.-No------. >>-VMTAGDEFAULTdatamover--+---------+-------------------------->< +-Yes-----+ '-dm_name-'
Parameters
- No
- The local data mover does not function as a default data mover. Virtual machines that are not assigned the Data Mover tag are not protected by this data mover. This value is the default.
- Yes
- Specifies that the local data mover (the data mover where you are specifying this option)
functions as the default data mover.
You must also enable the data mover for tagging support by specifying the vmtagdatamover yes option.
- dm_name
- The name of the data mover that you want to use as the default data mover. This
option is necessary only if you want to set this option in the options file for the default data
mover. This option is ignored for any data mover that is not the default data mover.
It is possible to pass this option down to all data movers on the server schedule command or to include it all data mover option files. Only the default data mover uses this option. Therefore, define only one default data mover.
You must also specify the vmtagdatamover yes option in the options file on the data mover that you want to designate as the default data mover.
Example
Your Windows Data Protection for VMware configuration uses two data movers, VC1_DC1_DM1 and VC1_DC1_DM2. To designate data mover VC1_DC1_DM1 as the default data mover, complete the following steps:
- In the options file for data mover VC1_DC1_DM1
(dsm.VC1_DC1_DM1.opt), add the following
statements:
orvmtagdatamover yes vmtagdefaultdatamover yes
vmtagdatamover yes vmtagdefaultdatamover VC1_DC1_DM1
- In the options file for data mover VC1_DC1_DM2
(dsm.VC1_DC1_DM2.opt), add the following
statements:
vmtagdatamover yes vmtagdefaultdatamover VC1_DC1_DM1
The vmtagdefaultdatamover option can also be passed to a schedule definition or command to assign the default data mover. If the default data mover is defined in the schedule definition, all data movers that are associated with the schedule will be able to identify the default data mover for the protection set.
For example: dsmc backup vm -vmtagdefaultdatamover=VC1_DC1_DM1