You can share the existing mount path with other MediaAgent.
-
Download the share_mount_path.xml file and save it on the computer from where the command is run.
-
Open the XML file.
-
Change the XML parameters.
Attribute
Description
libraryName
The name of the disk library where the mount path exists.
library/mediaAgentName
The name of any MediaAgent associated to the specific mount path.
library/mountPath
The mount path that will be shared between the MediaAgents.
libNewProp/mountPath
The path of the new MediaAgent
libNewProp/mediaAgentName
The name of the new MediaAgent that will share the mount path.
loginName
Login name used by the new MediaAgent to access the mount path.
Password
Password used by the new MediaAgent to access the mount path.
deviceAccessType
Read Device Access = 4
Read/ Write Device Access = 6
Read Device Access with Preferred = 12
Read/Write Device Access with Preferred = 14
Data Server - IP Read = 20
Data Server - IP Read/ Write = 22
Data Server - FC Read = 36
Data Server - FC Read/ Write = 38
Data Server - iSCSI Read = 132
Data Server - iSCSI Read/ Write = 134
Note: For the Data Server device access type, enter the local path provided in the library/mountPath parameter in the libNewProp/mountPath parameter also.
proxyPassword
Password to access the proxy server if a proxy server is present
credentialName
The name of the credential that you created using the Credential Manager. If you enter the credential name, then:
-
Update the loginName parameter in the format of "<vendorURL>//__CVCRED__". For example, "s3.amazonaws.com//__CVCRED__"
-
Update a dummy value for password parameter.
Example:
-
Use this example XML file to share a mount path "E:\Library1\Mountpath1" on MediaAgent "MA1" and library "Library1" with another MediaAgent "MA2", new mount path location "\\MyServer\MyShare\Library1\Mountpath1", device access type "read and write" and login username "user1".
-
Use this example XML file to share a mount path "E:\Library1\Mountpath1" on MediaAgent "MA1" and library "Library1" with another MediaAgent "MA2", new mount path location "E:\Library1\Mountpath1", device access type "Data Server - IP Read/ Write" and login username "user1".
-
Use this example XML file to share a mount path "E:\Library1\Mountpath1" on MediaAgent "MA1" and library "Library1" with another MediaAgent "MA2", new mount path location "\\MyServer\MyShare\Library1\Mountpath1", device access type "read and write" and credential name "Credential1".
-
-
Run the following command from the <software installation directory>\Base folder.
qoperation execute -af <downloaded location>\add_mount_path_using_disk_device.xml
Click here to see sample output.