Starting the Library Manager

After you create the configuration file, start the Library Manager as user ermm, as in the following example:

$ ermmLmStart

Usage

ermmLmStart [-h|-l LM_name|-c|-e|-a]
If no option is specified, all available Library Managers are started.
-h, --help
Print this help.
-l LM_name
Name of the Library Manager that should be started. Specify an LM name. (The LM name is not a library name.)
-c
Check running LMs and the ermmLmStart daemon.
-e
Show enabled LMs (names of LMs that the processes should be running).
-a
Show available LMs (names of LMs that the configuration files show as available to run).

To start the all LM processes, enter the ermmLmStart command with no options, as in the following example:

[ermm@eidai ~]$ ps -ef | grep Library | grep -v grep

[ermm@eidai ~]$ ermmLmStart
IBM Tape System Library Manager
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2004, 2017 All Rights Reserved

US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Added lm-lm3592-3.xml into proc list.
Added lm-lmLTO.xml into proc list.
Added lm-CMC3592LM.xml into proc list.
Update proccess list: /opt/IBM/ermm/run/ermmLmProc.lst
No core dump file to process.
Starting background daemon.
No core dump file to process.
Starting background daemon.
No core dump file to process.
Starting background daemon.
ermmLmStart daemon is started.
[ermm@eidai ~]$ ps -ef | grep Library | grep -v grep
ermm      6845     1  1 00:11 ?        00:00:00 /opt/IBM/ermm/bin/LibraryManager -d -nocopyright -s 
     /opt/IBM/ermm/conf/lm-lm3592-3.xml
ermm      6852     1  0 00:11 ?        00:00:00 /opt/IBM/ermm/bin/LibraryManager -d -nocopyright -s 
     /opt/IBM/ermm/conf/lm-lmLTO.xml
ermm      6859     1  0 00:11 ?        00:00:00 /opt/IBM/ermm/bin/LibraryManager -d -nocopyright -s 
     /opt/IBM/ermm/conf/lm-CMC3592LM.xml

By using -l with the LM name, the LM name for a start operation can be specified, as in the following example:

[ermm@eidai ~]$ ermmLmStart -l lmLTO
IBM Tape System Library Manager
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2004, 2017 All Rights Reserved

US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Added lm-lmLTO.xml into proc list.
Update proccess list: /opt/IBM/ermm/run/ermmLmProc.lst
No core dump file to process.
Starting background daemon.
ermmLmStart daemon is started.
Notes:
  1. The ermmLmStart command with the -a option lists the LM names that you can specify, as in the following example:
         
    [ermm@eidai ~]$ ermmLmStart -a
    IBM Tape System Library Manager
    Licensed Materials - Property of IBM
    (C) Copyright IBM Corp. 2004, 2017 All Rights Reserved
         
    US Government Users Restricted Rights - Use, duplication or
    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    Show available LMs:
    lm3592-3
    lmLTO
    CMC3592LM
    
  2. The ermmLmStart command with the -c option lists the current processes and PID files, as in the following example:
         
    [ermm@eidai ~]$ ermmLmStart -c
    IBM Tape System Library Manager
    Licensed Materials - Property of IBM
    (C) Copyright IBM Corp. 2004, 2017 All Rights Reserved
         
    US Government Users Restricted Rights - Use, duplication or
    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    Check running LMs:
    -rw-rw-r--. 1 ermm ermm 4 Apr 11 00:35 /opt/IBM/ermm/run/ermmlmstart.pid
    -rw-r--r--. 1 ermm ermm 4 Apr 11 00:35 /opt/IBM/ermm/run/lm-lmLTO.pid
    ermm      7151     1  0 00:35 ?        00:00:00 /usr/bin/perl /opt/IBM/ermm/bin/ermmLmStart -l lmLTO
    ermm      7150     1  0 00:35 ?        00:00:00 /opt/IBM/ermm/bin/LibraryManager -d -nocopyright -s 
    /opt/IBM/ermm/conf/lm-lmLTO.xml