Tivoli work scheduler FAQ

Mise à jour: 15 fevrier 2005
Version: 1.0
Author: Jean-Louis Bicquelet-Salaün
Location: http://jlbicquelet.free.fr
Copyright: (c) 2004-2006 Jean-Louis BICQUELET-SALAÜN
 

Pour plus d'information au sujet de cette faq, contactez Jean-Louis BICQUELET


FAQ Revised: Wednesday 06 September 2006 07:20:36


Table of Contents

1. fonctionnement
2. jobs
3. schedules
4. securite
5. configuration

1. fonctionnement

1.1. Comment démarrer le serveur maestro?

conman start


MASTER|maestro:/home/maestro> conman start

TWS for UNIX (SOLARIS)/CONMAN 8.2 (1.36.2.27)
Licensed Materials  Property of IBM
5698-WKB
(C) Copyright IBM Corp 1998,2001
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Installed for user 'maestro'.
Locale LANG set to "C"
Schedule (Exp) 07/29/05 (#40) on EXPLOIT.  Batchman down.  Limit: 10, Fence: 0, Audit Level: 0
start
TWS for UNIX/STARTUP 8.2
AWSBJA001I Licensed Materials Property of IBM
5698-WKB
(C) Copyright IBM Corp 1998,2003
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Program patch revision: 1.8.2.11
AWSBHU507I A start command was issued for EXPLOIT.



1.2. Comment arreter le serveur maestro?

conman shutdown


MASTER|maestro:/home/maestro> conman shutdown
TWS for UNIX (SOLARIS)/CONMAN 8.2 (1.36.2.27)
Licensed Materials  Property of IBM
5698-WKB
(C) Copyright IBM Corp 1998,2001
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Installed for user 'maestro'.
Locale LANG set to "C"
Schedule (Exp) 07/29/05 (#40) on EXPLOIT.  Batchman LIVES.  Limit: 10, Fence: 0, Audit Level: 0
shutdown


1.3. Comment vérifier le fonctionnement du serveur maestro?

ps -ef | grep maestro

MASTER|maestro:/home/maestro> ps -ef | grep maestro
 maestro  7157  7135  0 09:30:33 pts/1    0:00 -ksh
 maestro  3710 25743  0 05:59:34 ?        0:00 /waaa/tws/bin/writer -- 2001 PRD_IND MAILMAN UNIX 8.2 10
 maestro  3708  3707  0 05:59:33 ?        0:00 /waaa/tws/bin/batchman -parm 32000
 maestro 25743     1  0   Jul 07 ?        0:00 /waaa/tws/bin/netman
 maestro  7182  7157  0 09:32:19 pts/1    0:00 grep maestro
 maestro  3707 25743  0 05:59:33 ?        0:01 /waaa/tws/bin/mailman -parm 32000 -- 2002 EXPLOIT CONMAN UNIX 8.2 MESSAGE

, les process suivants doivent être actifs :

  1. mailman
  2. batchman
  3. netman
  4. jobman



1.4. Comment démarrer un client maestro?

Startup

CLIENT|maestro:/ind/home/maestro> StartUp
TWS for UNIX/STARTUP 8.2
AWSBJA001I Licensed Materials Property of IBM
5698-WKB
(C) Copyright IBM Corp 1998,2001
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Program patch revision: 1.8.2.11


1.5. Comment vérifier le fonctionnement d'un client maestro?

ps -ef | grep maestro

SQU0SDI1|maestro:/ind/home/maestro> ps -ef | grep maestro
 maestro 1888326 3788840   0 06:18:02      -  0:00 /ind/waaa/tws/bin/batchman -parm 32000
 maestro 2056226 3682534   0 10:02:19  pts/3  0:00 grep maestro
 maestro 3068078 3186774   0 06:18:02      -  0:00 /ind/waaa/tws/bin/writer -- 2001 EXPLOIT MAILMAN UNIX 8.2 10
 maestro 3186774       1   0   07 jul      -  0:11 /ind/waaa/tws/bin/netman
 maestro 3399856 3682534   3 10:02:19  pts/3  0:00 ps -ef
 maestro 3682534 4022416   0 10:01:58  pts/3  0:00 -ksh
 maestro 3788840 3186774   0 06:18:02      -  0:00 /ind/waaa/tws/bin/mailman -parm 32000 -- 2002 EXPLOIT MAILMAN UNIX 8.2 SONONLY

netman doit être actif.



1.6. Comment vérifier l'état des clients et du serveur?

coman sc

coman sc

L'état attendu est:

  • pour le master : statut "ij"
  • pour le client cible : statut "ltijw"

    exemple master:

    MASTER|maestro:/home/maestro> conman sc
    TWS for UNIX (SOLARIS)/CONMAN 8.2 (1.36.2.27)
    Licensed Materials  Property of IBM
    5698-WKB
    (C) Copyright IBM Corp 1998,2001
    US Government User Restricted Rights
    Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    Installed for user 'maestro'.
    Locale LANG set to "C"
    Schedule (Exp) 07/29/05 (#40) on EXPLOIT.  Batchman LIVES.  Limit: 10, Fence: 0, Audit Level: 0
    sc
    CPUID      RUN   NODE     LIMIT FENCE    DATE   TIME  STATE  METHOD   DOMAIN
    EXPLOIT    40  *UNIX MASTER   10    0   07/29/05 05:59   I J            MASTERDM
    PLAN__P+   19   UNIX X-AGENT   0    0                          unixlocl MASTERDM
    PRD_DEV     0   UNIX FTA       0    0                                    MASTERDM
    PRD_IND    40   UNIX FTA      10    0   07/29/05 06:18 LTI JW           MASTERDM
    MASTER|maestro:/home/maestro>
    

    exemple master:

    SQU0SDI1|maestro:/ind/home/maestro> conman sc
    TWS for UNIX (AIX)/CONMAN 8.2 (1.36.2.27)
    Licensed Materials  Property of IBM
    5698-WKB
    (C) Copyright IBM Corp 1998,2001
    US Government User Restricted Rights
    Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    Installed for user 'maestro'.
    La valeur de la variable d'environnement LANG est "fr_FR.8859-15"
    Agenda (Exp) 07/29/05 (#40) sur PRD_IND.  Batchman ACTIF.  Limite : 10  Priorité limite : 0, Niveau d'audit : 0
    sc
    ID CPU          EXEC  NOEUD    LIM  PRIORITE LIM  DATE  HEURE  ETAT   METHODE                              DOMAINE
    EXPLOIT    40   UNIX MASTER   10    0   07/29/05 05:59 LTI JW           MASTERDM
    PLAN__P+   19   UNIX X-AGENT   0    0                          unixlocl MASTERDM
    PRD_DEV     0   UNIX FTA       0    0                                   MASTERDM
    PRD_IND    40  *UNIX FTA      10    0   07/29/05 06:18   I J            MASTERDM
    



2. jobs

2.1. Comment créer un job?

composer create /tmp/monjob from job=@#@




3. schedules

3.1. Comment créer un schedule?

composer create /tmp/monsched from sched=@#@




4. securite

4.1. Comment voir la securité?

dumpsec

TWS for UNIX (AIX)/DUMPSEC 8.2 (9.3.1.1)
Licensed Materials      Property of IBM
5698-WKB
(C) Copyright IBM Corp 1998,2003
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
USER MAESTRO
        CPU=@+LOGON=maestro,root
BEGIN
        USEROBJ CPU=@   ACCESS=ADD,DELETE,DISPLAY,MODIFY,ALTPASS
        JOB     CPU=@   ACCESS=ADD,ADDDEP,ALTPRI,CANCEL,CONFIRM,DELDEP,DELETE,DISPLAY,KILL,MODIFY,RELEASE,REPLY,RERUN,SUBMIT,USE,LIST
        SCHEDULE        CPU=@   ACCESS=ADD,ADDDEP,ALTPRI,CANCEL,DELDEP,DELETE,DISPLAY,LIMIT,MODIFY,RELEASE,REPLY,SUBMIT,LIST
        RESOURCE        CPU=@   ACCESS=ADD,DELETE,DISPLAY,MODIFY,RESOURCE,USE,LIST
        PROMPT          ACCESS=ADD,DELETE,DISPLAY,MODIFY,REPLY,USE,LIST
        FILE    NAME=@  ACCESS=CLEAN,DELETE,DISPLAY,MODIFY
        CPU     CPU=@   ACCESS=ADD,CONSOLE,DELETE,DISPLAY,FENCE,LIMIT,LINK,MODIFY,SHUTDOWN,START,STOP,UNLINK,LIST
        PARAMETER       CPU=@   ACCESS=ADD,DELETE,DISPLAY,MODIFY
        CALENDAR                ACCESS=ADD,DELETE,DISPLAY,MODIFY,USE
END


4.2. Comment modifier la securité?

dumpsec > sec.txt
makesec sec.txt


5. configuration

5.1. Comment définir un nouveau poste de travail ?
composer create /tmp/cputws from cpu=@
TWS for UNIX (SOLARIS)/COMPOSER 8.2 (1.18.2.21)
Licensed Materials  Property of IBM
5698-WKB
(C) Copyright IBM Corp 1998,2001
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Installed for user 'maestro'.
Locale LANG set to "C"
-create /tmp/cputws from cpu=@
AWSBIA039I Found 15 CPU's in @.

puis ajouter dans le fichier

CPUNAME sdu0sdd1
  DESCRIPTION "FTA AIX"
  OS  UNIX
  NODE myserver
  DOMAIN MASTERDM
  TCPADDR 31111
     FOR MAESTRO
     Type fta
     AUTOLINK ON
     RESOLVEDEP ON
     FULLSTATUS ON
END
Pour prendre en compte tapez composer add /tmp/cputws.


Copyright (c) 2005-2006 Jean-Louis BICQUELET

This list of questions and answers was generated by makefaq.