The following procedure can be used to detect and configures a tape library or a stand-alone drive.
-
Download the create_tape_library.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 tape library.
libSerialNumber
The serial number of the tape library. This value is case-sensitive and must match the actual serial number.
Example: Use this example XML file to create a tape library with serial number "00000001", library name "Library1" and MediaAgent name "MA1".
Note
For stand-alone library, libSerialNumber is the tape drive serial number. In that case, the libraryName will be used to set as the new library name.
-
Run the following command from the <software installation directory>\Base folder.
qoperation execute -af <downloaded location>\create_tape_library.xml
Click here to see sample output.