Workshop_20030924_Salad

Document Sample
Workshop_20030924_Salad Powered By Docstoc
					+                                     +




             SALAD




    Thomas Finnern
    DESY, Group ZDV
    phone: +49 40 8998-2753

+                                     1
    email: finnern@desy.de
                              Intro
+                                                   +

Product Management
                       I.


 knowledge             II.


                       III.




  counter


                                          More !
                              Which ?
    acts

               How ?                     Me too !
                              Gimme 5!



  time !
                                         t=t+n



+ Th.Finnern                               Intro    2
+                                                                     +




               SALAD is not S.A.L.A.D.
                                Neither
               System Administrator's Liability And Defence
                                  nor
                     Scampis At Lunch Are Delicious
                             but it may be
                        Save And Load At Desire




+ Th.Finnern                                                  Intro   3
+                                                                   +

What do we need/get ?
1. Maintaining system les and products
         Save, check and/or restore central con guration les
         Distribute les within a heterogenous UNIX cluster
         Bundle interdependent les into product groups
2. Support for stand-alone workstations
         Usage of copies from central reference machines
         Easy export of running products with local customisation
         Easy handling for the casual administrators
3. Support for site administration
         Generic UNIX installation tool
         Central le administration from one host
4. Human access
         Easy naming scheme for targets (/ or hostname)
         Easy naming scheme for binary compliance (bintype)
         Easy description of a le system (salad.card)
5. Automatic recognition of binary com-
   pliance
         Be independent of hardware changes
         Be independent from system up- or downgrades
6. Automatic documentation
         WWW interface

+ Th.Finnern                                             Intro      4
+                                                          +

Product Operations
           HOST            salad            HOST
             A                               A/B



           HOST    salad   TAPE     salad   HOST
             A             or FTP             B




           CREATION




          DOCUMENT




           DISTRIBUTION




           INSTALLATION




+ Th.Finnern                                       Intro   5
+                                                 +

Supported Platforms


                     AIX



         HP−UX                 DomainOS




    ULTRIX                           IRIX



      OSF1                          Solaris



        [ConvexOS]              [SunOS]


                     (LINUX)




+ Th.Finnern                              Intro   6
+                                                     +

     Binary Classes
                  Class 0: ALL

                  Class 1: OS

                  Class 2: OS_MR_MR.V

                  Class 3: OS_ISPC

                  Class 4: OS_HC

                  Class 5: OS_MR_MR.V_PC_HC

                  Class 6: OS_FR_PT_HT

    ALL=All Systems    OS=Operating System Name
    MR=Mayor Release V=Mayor Version FR=Full Release
                 PC=Processor Class PT=Processor Type
                 HC=Hardware Class HT=Hardware Type

+ Th.Finnern                                Bintype     1
+                                                               +

BinarybyCompliance -CLASS')
(evaluated command 'bintype
 CLASS#        BINARY CLASS                HOSTNAME
 0             ALL                         test
 1             AIX                         test
 2             AIX 4 4.2                   test
 3             AIX risc                    test
 4             AIX 6000                    test
 5             AIX 4 4.2 risc 6000         test
 6             AIX 4.2.0.0 risc 7012-390   test




+ Th.Finnern                                          Bintype   2
+                                                          +

BinarybyClasses'salad -bintypelevel CLASS . . . ')
(evaluated command
#       CLASS 5 COMPLIANCE CLASS 3 COMPLIANCE
1       ALL                         ALL
2       ALL test                    ALL test
3,4     ALL 4 , ALL 4 test
5,6     ALL 4.2 , ALL 4.2 test
7       ALL risc                    ALL risc
8       ALL risc test               ALL risc test
9,10    ALL 6000 , ALL 6000 test
11      AIX                         AIX
12      AIX test                    AIX test
13,14   AIX 4 , AIX 4 test
15,16   AIX 4.2 , AIX 4.2 test
17      AIX risc                    AIX risc
18      AIX risc test               AIX risc test
19,20   AIX 6000 , AIX 6000 test
21,22   AIX 4 4.2 , AIX 4 4.2 test
23,24   AIX 4 risc , AIX 4 risc test
25,26   AIX 4.2 risc , AIX 4.2 risc test
27,28   AIX 4 6000 , AIX 4 6000 test
29,29   AIX 4.2 6000 , AIX 4.2 6000 test
31,32   AIX risc 6000 , AIX risc 6000 test
33,34   AIX 4 4.2 risc 6000 , AIX 4 4.2 risc 6000 test
#        CLASS 5 NOMATCH       CLASS 3 NOMATCH
1        !AIX                  !AIX
2        ALL !notest           ALL !notest
3        HP-UX                 HP-UX
4                              AIX 6000
+ Th.Finnern                                     Bintype   3
+                                                                                                    +

Binary Compliance Analysis Model
(like it is done during a salad install)
       Get PRODUCT
       and REPOSITORY

    Get MACHINE BINTYPE
    and generate BINCLASSES

    Read next PRODUCT LINE



            No   LINE ?
    Exit

                 Yes
                                                                                  Ignore

                                                                  Yes
                                           No                                                   No
                   No                                 EXCLUDE                 CONFIG ?
       PRODUCT            BINTYPE                     MATCH ?
       MATCH ?            MATCH ?

                                                                                Yes
           Yes                 Yes                         No




     Remote ACTION                                                       Configure
                                                                Yes
                                     Yes
     Local ACTION                                     No
                                                                               FILE ?
                                           Host ?          Remote ?     Yes                No

                                      No
     Filesystem ACTION


                                   Exec ?
                              No                Yes




+ Th.Finnern                                                                     Bintype             4
+                                                               +

    STEP by STEP to XAMPLE
 1. Choose short UPPERCASE product name like XAMPLE
 2. Edit XAMPLE.eatme le like
        PURPOSE: Learning salad
 3. Edit XAMPLE.card le like
        XAMPLE product My 1st salad exercise
        XAMPLE le HP-UX desywhp/etc/auto.home
        XAMPLE link HP-UX homes/home /export/home
        XAMPLE link HP-UX !homes/home /import/home
        . . . De ne all le, link, exec and sexec statements
        with appropriate BINTYPE's and locations
 4. Populate master repository
        Copy and/or edit les or use -create option of salad
 5. Analyse current state
        Run -check and/or -www options for analysis
        Salad will create product and/or source machine lists
        Salad may create customisation
        Go back to previous steps until everything is ok
 6. Install/Check product on all targets
        Salad will create target lists
 7. Final documentation
        Add missing .readme les
        Run nal -www call

+ Th.Finnern                                            Salad   1
 +                                                                                         +
 A PRODUCT EXAMPLE
HP−UX             IRIX          SunOS
/bin/zsh        /bin/zsh        /bin/zsh




/bin/ksh        /bin/ksh        /bin/ksh




                                                       Inside
/etc/profile    /etc/profile    /etc/profile           UNIX

/etc/zprofile   /etc/zprofile   /etc/zprofile




                                     HP−UX          IRIX        SunOS      ALL
                                       /bin/zsh   /bin/zsh      /bin/zsh




                                                                /bin/ksh




                           Inside                                          /etc/profile
                           SALAD

                                                                           /etc/zprofile




 + Th.Finnern                                                                   Salad      2
+                                                               +
CARD FORMAT
 PRODUCT         KEY       DESCRIPTION
 PRODUCT         product   Product description string
 PRODUCT           le      BINTYPE/sourcepath /]targetpath
 PRODUCT           le      BINTYPE/sourcetargetpath
 PRODUCT         link      BINTYPE/targetpath linktext
 PRODUCT         exec      BINTYPE/sourcepath options]
 PRODUCT         sexec     BINTYPE/sourcepath options]
 PRODUCT         pack      BINTYPE/path
 PRODUCT         ldelete   BINTYPE/path
 PRODUCT         delete    BINTYPE/targetpath
 PRODUCT         rdelete   BINTYPE/targetpath

PRODUCT DESCRIPTION
(SHELLS.card)
 SHELLS        product   Public domain shells
 SHELLS          le      HP-UX HP-PA/bin/zsh
 SHELLS          le      IRIX mips/bin/zsh
 SHELLS          le      SunOS sparc/bin/zsh
 SHELLS        link      SunOS/bin/ksh                zsh
 SHELLS          le      ALL/usr/local/man/man1/zsh.1
 SHELLS        pack      ALL/shells.copyright




+ Th.Finnern                                            Salad   3
+                                                +

MASTER REPOSITORY FILES
 PATH                        Creation
 SHELLS.card                    editor
 SHELLS.eatme                  editor]
 HP-UX HP-PA/bin/zsh          -create
 HP-UX HP-PA/bin/zsh.readme editor]
 IRIX mips/bin/zsh            -create
 IRIX mips/bin/zsh.readme      editor]
 SunOS sparc/bin/zsh          -create
 SunOS sparc/bin/zsh.readme    editor]
 SunOS/bin/ksh                    none
 SunOS/bin/ksh.readme          editor]
 SunOS/bin/ksh.query          -create
 ALL/usr/local/man/man1/zsh.1 -create
 SHELLS.HP-UX.tartar.Z           -pack
 SHELLS.IRIX.tartar.Z            -pack
 SHELLS.SunOS.tartar.Z           -pack
 ALL/shells.copyright           editor
 www/Welcome.html               -www
 www/SHELLS.html                -www
TARGET DESCRIPTION
(call 'salad -target TARGET')
 hostname:
 hostname:BINTYPE
 rootpath/:BINTYPE


+ Th.Finnern                             Salad   4
+                                                   +
MASTER REPOSITORY PRODUCTS 1
Location           Product        Product
default            SALAD       OSADDON
default OSADDON.COMPAT         AFSLINKS
default          HEPENV              X2X
default          XSETUP             XDM
default             MAPS       XDMNEW
default          GROUPS           SHELLS
default              SUDO      REGISTRY
default               SUE     CRONUSER
adsm                ADSM         BACKUP
boom               BOOTP   XDMCHOOSER
boom          XNCD.BOOT    XNCD.CONFIG
boom     XNCD.TERMINALS XPCX.TERMINALS
boom        XPCX.CONFIG         XDELETE
boom          XIBM.BOOT    XIBM.CONFIG
boom          XTEK.BOOT    XTEK.CONFIG
boom     XTEK.TERMINALS            HPNP
boom            FDELETE
cadux       AUTOMOUNT          HOMELNK
cadux               IDEAS
cern             HEPENV           HEPX11
cern           HEPTOOLS         HEPDESY
mail                 MAIL
master            WINDD            X11R6
misc              HEPX11       HEPCERN
misc            SUECERN            ODAY
misc              STOOLS          PURGE
misc             ZEPHYR         LIBRARY

+ Th.Finnern                                Salad   5
+                                               +
MASTER REPOSITORY PRODUCTS 2
Location              Product              Product
printing           PRINTING               LPSHUT
printing            LPSCHED
service          HAFSCHECK                    NIM
service            SECURITY           SHUTDOWN
service              REBOOT                SPACE
service              BACKUP              RESTORE
service              LPSHUT              LPSCHED
service              ORACLE   ORACLE.ACCESS DESY
service ORACLE.ACCESS ALEPH     ORACLE.ACCESS W1
service ORACLE.PROCESS DESY ORACLE.PROCESS ALEPH
service   ORACLE.PROCESS W1
system            AFSMOUNT                    AIX
system                HP-UX                 SunOS
system                 HALE               HASDNS
system                HASVR                 HAFS
system       HAFNTS.ANDREW        HAFNTS.CHINESE
system      HAFNTS.CYRILLIC1     HAFNTS.CYRILLIC2
system           HAFNTS.DEC        HAFNTS.HAFNTS
system            HAFNTS.HP           HAFNTS.IFH
system       HAFNTS.KOREAN        HAFNTS.MGROUP
system          HAFNTS.MISC     HAFNTS.OPENLOOK
system           HAFNTS.PV3           HAFNTS.SGI
system       HAFNTS.SOFTWIN    HAFNTS.WIDGETDM




+ Th.Finnern                            Salad   6
+                                             +
MASTER REPOSITORY PRODUCTS 3
 Location    Product        Product
 system    HAMAN        HALICENSE
 system        MAIL             ISS
 system         NIM            AFS
 system       PMON     AFSUMOUNT
 system HPbcheckrc       COMPILER
 system         SSH        SSHLOC
 system     BLEVEL     AUTOMOUNT
 system POSTINST
 woom     SERVICES            WS B
 woom       WORLD         CRONTAB
 woom         SNMP ZEUTHEN.UPDATE




+ Th.Finnern                          Salad   7
+                                                                                +

MIGRATION
 AIX         ConvexOS DomainOS         IRIX    HP−UX        SunOS      ULTRIX

      −create
                     SOURCE/REFERENCE
  ALL                                    ./local/CLASS1/source.BINTYPE

    AIX
                    −pack
                               salad.eatme
  ConvexOS
                               salad.CLASS.list                  salad.card
  DomainOS
                   −unpack
                               files ..... TAPE
    IRIX           −pack                           −put

    HP−UX                  salad.eatme                    salad.eatme    FTP
                           salad.CLASS.list               salad.CLASS.list
    SunOS                  salad.CLASS.tartar.Z           salad.CLASS.tartar.Z
    default       −unpack                 −get, −old, −pro or −new

                  −help
  www                      ./www/Welcome.html                   SALAD
 local                     ./www/salad.html
                   −www
    −list
                                                   ./local/CLASS1/access.list
    −check      −install       TARGETS
    AIX      ConvexOS DomainOS          IRIX      HP−UX      SunOS     ULTRIX

  AIX                      DomainOS     IRIX      HP−UX      SunOS     ULTRIX

 AIX                       DomainOS            HP−UX         SunOS




+ Th.Finnern                                                            Salad    8
+                                                               +

How can I use SALAD
1. The very 1st time
         Get salad via anonymous ftp from server ftp.desy.de
         Get le pub/salad/SALAD.ALL.tartar.Z (binary,a few 10 kBytes)
         Get le pub/salad/SALAD.eatme (general info)
         Follow instructions as read in SALAD.eatme
2. Available DESY products
         SALAD: The tool itself
         HEPENV: Login les to support HEP environment
         SHELLS: Compiled public domain shells
         ...
3. Using salad for MY products
         Make your own card le MY.card
         Type: salad -JOB -p MY
4. Information about SALAD
         Salad pages in DESY www server (www.desy.de)
         (new features, new products from DESY/ZDV )
         Online manual pages for salad and bintype




+ Th.Finnern                                            Salad   9
+                                                           +

Conclusions
     Better Teamwork
      { Product transparency
      { Standard information retrieval
     Less Installation Trouble
      { No manual work
      { Automatic compliance check
      { Counts do not count anymore
      { Fast product setup
Future
     Be compliant to CERN's SUE
     Workgroup DESY Hamburg/Zeuthen on common installation is-
     sues




+ Th.Finnern                                       Salad    10

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:5/28/2013
language:Unknown
pages:20
iasiatube.news iasiatube.news http://
About