Create a Cloud Library
This procedure creates a cloud library with the specified vendor.
-
Download the Config-CloudLib.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.
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.
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.
For more information on the specific parameters required by each vendor, see Vendor Specific XML Parameters.
Example:
-
Use this example XML file to create 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 create an Amazon S3 cloud library with name "Library1", MediaAgent name "MA1", bucket "examplebucket", server type "2", and credential name "AmazonS3".
-
Use this example XML file to create an Amazon S3 cloud library with name "Library1", MediaAgent name "MA1", bucket "examplebucket", server type "2", Amazon region name "s3.athena-fips.us-gov-west-1" and IAM role name "Role1". To create an Amazon S3 cloud library with IAM role, the MediaAgent must be hosted on an Amazon EC2 instance.
-
-
Run the following command from the <software installation directory>\Base folder to execute the xml.
qoperation execute -af <downloaded location>\Config-CloudLib.xml