EXAMPLES
The following examples illustrate how the sanconf command works.
1. To scan host(s) for robotic control(s) and tape device(s) and create a file that
will be used by sanconf -configure, run:
sanconf -list device.list
This will display the serial number for any library discovered in the SUMMARY
REPORT.
2. To scan and configure a library using the library serial number and the library
name, on all clients on which the library is installed and which use CMMDB,
run:
sanconf -mom -configure -library US9LS01033 SAN_STORE
Clients on which the library is installed and which use a local MMDB are skipped.
3. To scan the specified clients and then create a logical library named
"SAN_STORE" with robotics configured on client "host33" and drives for that
library configured on clients "host01", "host02" and "host03", run:
sanconf -configure -library MPC0100013 SAN_STORE host33
-hosts host01 host02 host03
A device type is .lto. An extension parameter does not need to be added.
4. To scan the SAN environment for the configuration information on the specified
clients "host01", "host02", "host03", and "host33" which use CMMDB, and
save this information is into the mySAN.cfg file, run:
sanconf -mom -list_devices mySAN.cfg -hosts host01 host02
host03 host33
5. To use information stored in the mySAN.cfg file and create a logical library
named "SAN_STORE" with robotics configured on client host33 and drives for
the library configured on clients "host01", "host02", and "host03", run:
sanconf -configure mySAN.cfg -library MPC0100013 SAN_STORE
host33 -hosts host01 host02 host03
6. To scan all clients in the cell and then create a logical library named
"SAN_STORE" on client "host33" with the parameters specified in the files
DriveTemplate.txt and LibraryTemplate.txt, run:
sanconf -configure -library MPC0100013 SAN_STORE host33
–hosts host33 -drive_template DriveTemplate.txt
-library_template LibraryTemplate.txt
400