Adding a New MediaAgent to a Cloud Storage Device

You can use the XML to add a new MediaAgent to a cloud storage device.

  1. Download the add_cloud_device_controller.xml file and save it on the computer where the command is run.

  2. Open the XML file.

  3. 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".

  1. 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

  1. Download the add_cloud_mp_account.xml file and save it on the computer where the command is run.

  2. Open the XML file.

  3. 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".

  4. 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

  1. Download the add_cloud_mp_device_name.xml file and save it on the computer where the command is run.

  2. Open the XML file.

  3. 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".

  4. Run the following command from the <software installation directory>\Base folder.

    qoperation execute –af add_cloud_mp_device_name.xml

Loading...