I - Rational Automation Framework

  • 1.0 - Infrastructure.


  • +------------------------------+                                        +-----------------------------+ 
    | Serveur RAFW                 |                                        | Serveur WebSphere 8.5       | 
    | Hostname : saturn            |--(installe l'environement DMGR+NODE)-->| Hostname : arecibo          | 
    | Os : Linux 2.6.32            |                                        | Os : Linux                  | 
    |                              |                                        | DMGR : areciboNetwork       | 
    |                              |                                        | NODE : areciboNode          | 
    +------------------------------+                                        +-----------------------------+ 
    
  • 1.1 - Arrêt du dmgr à partir du serveur RAFW.

  • ./rafw.sh -e arecibo -c areciboNetwork -execute was_common_configure_stop_dmgr
    root@saturn:/opt/IBM/RAFServer/rafw/bin# /opt/IBM/RAFServer/rafw/bin/rafw.sh -e arecibo -c areciboNetwork -execute was_common_configure_stop_dmgr
    CRWFW0026I A new run with the following ID 82UJ is starting at Sep 13, 2013 14:37:56 CEST
    Rational Automation Framework version 3.0.0.5 build 20121029-1616
    Including the following modules:
         WebSphere Liberty Profile version 8.5.0.0
         Midvision Extension Module version 1.0.0.1
    
    CRWFW0104I Using the values defined for the properties OS_USER and OS_PASSWORD for the user 'was80'
    defined in the file user/environments/arecibo/cells/areciboNetwork/configure.properties
    CRWFW0103I Using the following value for OS_GROUP 'web' defined in the file
     user/environments/arecibo/cells/areciboNetwork/configure.properties
    CRWFW0015I A network connection has been made to 'arecibo'
    CRWFW0013I A list of files that are already on the target system is being created.
    CRWFW0066I 3 files are being transferred.
    CRWFW0017I The following files are being transferred:
       user/environments/arecibo/cells/areciboNetwork/configure.properties
       user/environments/arecibo/cells/areciboNetwork/client_ffdc/FfdcSummary.txt
       user/environments/arecibo/cells/areciboNetwork/client_ffdc/ffdc.2417745893452265205.txt
    
    CRWFW0113I 0 files need to have their file permissions changed.
    Buildfile: /apps/Rational/RAFW/user/environments/arecibo/cells/areciboNetwork/build.xml
    
    default:
      [rafwlog] CRWFW0001I If an error occurs, check '/apps/Rational/RAFW//logs/arecibo/cells/areciboNetwork//was_common_configure_stop_dmgr.log'
      [rafwlog] CRWFW0014I Beginning action was_common_configure_stop_dmgr on host arecibo
         [echo] Apache Ant version 1.7.0 compiled on December 13 2006
    
    only_execute:
    
    scope_init:
    
    prepare_shell:
    
    decode_password:
    
    was_init:
    
    was_common_configure_stop_dmgr:
         [echo] Stopping ND server
    
    prepare_shell:
    
    execute:
         [echo] Working Dir: .
         [echo] /apps/WebSphere/profiles80/dmgr/bin/stopManager.sh -username admwas -password monpetitpassword
         [exec] ADMU0116I: Tool information is being logged in file
         [exec]            /apps/WebSphere/profiles80/dmgr/logs/dmgr/stopServer.log
         [exec] ADMU0128I: Starting tool with the dmgr profile
         [exec] ADMU3100I: Reading configuration for server: dmgr
         [exec] ADMU3201I: Server stop request issued. Waiting for stop status.
         [exec] ADMU4000I: Server dmgr stop completed.
         [exec]
    
    prepare_shell:
    
    change_directory_ownership:
    
    prepare_shell:
    
    change_directory_ownership:
    
    prepare_shell:
    
    change_directory_ownership:
    [querychangedfiles] CRWFW6009I Computing list of files modified during action execution for scope arecibo/cells/areciboNetwork
    
    BUILD SUCCESSFUL
    Total time: 16 seconds
    CRWFW0059I The following file is being transferred from the target system to the framework server: user/environments/arecibo/cells/areciboNetwork/client_ffdc/FfdcSummary.txt
    CRWFW0059I The following file is being transferred from the target system to the framework server: user/environments/arecibo/cells/areciboNetwork/client_ffdc/ffdc.6882228862640393940.txt
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_stop_dmgr.trace
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_stop_dmgr.log
    CRWFW7070I Disconnected from 'arecibo'
    root@saturn:/opt/IBM/RAFServer/rafw/bin#
    
  • 1.3 - Démarrage du dmgr à partir du serveur RAFW.

  • ./rafw.sh -e arecibo -c areciboNetwork -execute was_common_configure_start_dmgr
    root@saturn:/opt/IBM/RAFServer/rafw/bin# /opt/IBM/RAFServer/rafw/bin/rafw.sh -e arecibo -c areciboNetwork -execute was_common_configure_start_dmgr
    CRWFW0026I A new run with the following ID 52fS is starting at Sep 13, 2013 14:40:31 CEST
    Rational Automation Framework version 3.0.0.5 build 20121120-1617
    Including the following modules:
         WebSphere Liberty Profile version 8.5.0.0
         Midvision Extension Module version 1.0.0.1
    
    CRWFW0104I Using the values defined for the properties OS_USER and OS_PASSWORD for the user 'was80'
    defined in the file user/environments/arecibo/cells/areciboNetwork/configure.properties
    CRWFW0103I Using the following value for OS_GROUP 'web' defined in the file
     user/environments/arecibo/cells/areciboNetwork/configure.properties
    CRWFW0015I A network connection has been made to 'arecibo'
    CRWFW0013I A list of files that are already on the target system is being created.
    CRWFW0066I 2 files are being transferred.
    CRWFW0017I The following files are being transferred:
       user/environments/arecibo/cells/areciboNetwork/client_ffdc/FfdcSummary.txt
       user/environments/arecibo/cells/areciboNetwork/client_ffdc/ffdc.6882228862640393940.txt
    
    CRWFW0113I 0 files need to have their file permissions changed.
    Buildfile: /apps/Rational/RAFW/user/environments/arecibo/cells/areciboNetwork/build.xml
    
    default:
      [rafwlog] CRWFW0001I If an error occurs, check '/apps/Rational/RAFW//logs/arecibo/cells/areciboNetwork//was_common_configure_start_dmgr.log'
      [rafwlog] CRWFW0014I Beginning action was_common_configure_start_dmgr on host arecibo
         [echo] Apache Ant version 1.7.0 compiled on December 13 2006
    
    only_execute:
    
    scope_init:
    
    prepare_shell:
    
    decode_password:
    
    was_init:
    
    was_common_configure_start_dmgr:
    
    prepare_shell:
    
    execute:
         [echo] Working Dir: .
         [echo] /apps/WebSphere/profiles80/dmgr/bin/startManager.sh ${ARGS}
         [exec] ADMU0116I: Tool information is being logged in file
         [exec]            /apps/WebSphere/profiles80/dmgr/logs/dmgr/startServer.log
         [exec] ADMU0128I: Starting tool with the dmgr profile
         [exec] ADMU3100I: Reading configuration for server: dmgr
         [exec] ADMU3200I: Server launched. Waiting for initialization status.
         [exec] ADMU3000I: Server dmgr open for e-business; process id is 22471
    
    prepare_shell:
    
    change_directory_ownership:
    
    prepare_shell:
    
    change_directory_ownership:
    
    prepare_shell:
    
    change_directory_ownership:
    [querychangedfiles] CRWFW6009I Computing list of files modified during action execution for scope arecibo/cells/areciboNetwork
    
    BUILD SUCCESSFUL
    Total time: 55 seconds
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_start_dmgr.log
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_start_dmgr.trace
    CRWFW7070I Disconnected from 'arecibo'
    root@saturn:/opt/IBM/RAFServer/rafw/bin#
    
  • 1.4 - Vérification à la console.



  • 1.5 - Vérification en ligne de commande avec RAF.

  • ./rafw.sh -e arecibo -c areciboNetwork -execute was_common_configure_server_status
    root@saturn:/opt/IBM/RAFServer/rafw/bin# /opt/IBM/RAFServer/rafw/bin/rafw.sh -e arecibo -c areciboNetwork -execute was_common_configure_server_status
    CRWFW0026I A new run with the following ID 85Ss is starting at Sep 26, 2013 10:25:21 CEST
    Rational Automation Framework version 3.0.0.5 build 20121029-1616
    Including the following modules:
         WebSphere Liberty Profile version 8.5.0.0
         Midvision Extension Module version 1.0.0.1
    
    CRWFW0104I Using the values defined for the properties OS_USER and OS_PASSWORD for the user 'was80'
    defined in the file user/environments/arecibo/cells/areciboNetwork/configure.properties
    CRWFW0103I Using the following value for OS_GROUP 'web' defined in the file
     user/environments/arecibo/cells/areciboNetwork/configure.properties
    CRWFW0015I A network connection has been made to 'arecibo'
    CRWFW0013I A list of files that are already on the target system is being created.
    Buildfile: /apps/Rational/RAFW/user/environments/arecibo/cells/areciboNetwork/build.xml
    
    default:
      [rafwlog] CRWFW0001I If an error occurs, check '/apps/Rational/RAFW//logs/arecibo/cells/areciboNetwork//was_common_configure_server_status.log'
      [rafwlog] CRWFW0014I Beginning action was_common_configure_server_status on host arecibo
         [echo] Apache Ant version 1.7.0 compiled on December 13 2006
    
    only_execute:
    
    scope_init:
    
    prepare_shell:
    
    decode_password:
    
    was_init:
    
    was_common_configure_server_status:
    
    prepare_shell:
    
    execute:
         [echo] Working Dir: .
         [echo] /apps/WebSphere/profiles80/dmgr/bin/serverStatus.sh dmgr -username administrateurwas -password lepetitpasswordwas
         [exec] ADMU0116I: Tool information is being logged in file
         [exec]            /apps/WebSphere/profiles80/dmgr/logs/dmgr/serverStatus.log
         [exec] ADMU0128I: Starting tool with the dmgr profile
         [exec] ADMU0500I: Retrieving server status for dmgr
         [exec] ADMU0508I: The Deployment Manager "dmgr" is STARTED
    
    prepare_shell:
    
    change_directory_ownership:
    
    prepare_shell:
    
    change_directory_ownership:
    
    prepare_shell:
    
    change_directory_ownership:
    [querychangedfiles] CRWFW6009I Computing list of files modified during action execution for scope arecibo/cells/areciboNetwork
    
    BUILD SUCCESSFUL
    Total time: 10 seconds
    CRWFW0059I The following file is being transferred from the target system to the framework server: user/environments/arecibo/cells/areciboNetwork/client_ffdc/ffdc.5609409230137801079.txt
    CRWFW0059I The following file is being transferred from the target system to the framework server: user/environments/arecibo/cells/areciboNetwork/client_ffdc/FfdcSummary.txt
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_server_status.log
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_server_status.trace
    CRWFW7070I Disconnected from 'arecibo'
    root@saturn:/opt/IBM/RAFServer/rafw/bin#