You can use the XML to add a new MediaAgent to a cloud storage device.
-
Download the add_cloud_device_controller.xml file and save it on the computer where the command is run.
-
Open the XML file.
-
Change the XML parameters.
Attribute |
Description |
---|---|
mediaAgentName |
The name of the new MediaAgent. |
deviceName |
The name of the cloud storage device. |
baseFolder |
This is an optional attribute. You can specify the name of the base folder or else standard naming convention will be used to name the base folder. |
deviceAccessType |
Access type Value Read 4 Read and Write 6 Read and Write, Preferred Access 14 |
For more information on the specific parameters required by each vendor, see Vendor Specific XML Parameters.
Example: Use this example XML file to add a new MediaAgent with name "MA1" to a Google device with name "Device1", bucket "examplebucket", device type "19", device access type "Read and Write, Preferred Access", Access Key ID "AKIAIOSFODNN7EXAMPLE" and Secret Access Key "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY".
-
Run the following command from the <software installation directory>\Base folder to execute the xml.
qoperation execute –af add_cloud_device_controller.xml
Adding a Mount Path to the Cloud Library
You can use two methods to add a mount path to the cloud device.
By Using Cloud Storage Account Credentials
-
Download the add_cloud_mp_account.xml file and save it on the computer where the command is run.
-
Open the XML file.
-
Change the XML parameters.
Attribute
Description
mediaAgentName
The name of the MediaAgent.
libraryName
The name of the new cloud library.
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 the password parameter.
For more information on the specific parameters required by each vendor, see Vendor Specific XML Parameters.
Example:
-
Use this example XML file to add a mount path to an Amazon S3 cloud library with name "Library1", MediaAgent name "MA1", bucket "examplebucket", server type "2", Access Key ID "AKIAIOSFODNN7EXAMPLE" and Secret Access Key "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY".
-
Use this example XML file to add a mount path to an Amazon S3 cloud library with name "Library1", MediaAgent name "MA1", bucket "examplebucket", server type "2", and credential name "AmazonS3".
-
-
Run the following command from the <software installation directory>\Base folder to execute the xml.
qoperation execute –af add_cloud_mp_account.xml
By Using Device Name
-
Download the add_cloud_mp_device_name.xml file and save it on the computer where the command is run.
-
Open the XML file.
-
Change the XML parameters.
Attribute
Description
deviceName
The name of the cloud device that you want to use to configure.
libraryName
The name of the new cloud library.
mediaAgentName
The name of the MediaAgent.
Example: Use this example XML file to add a mount path to a cloud library with name "Library1", device name "Device1" and MediaAgent name "MA1".
-
Run the following command from the <software installation directory>\Base folder.
qoperation execute –af add_cloud_mp_device_name.xml