Import de configuration des serveurs WebSphere distant à partir de RAFW.

  • 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          | 
    +------------------------------+                                        +-----------------------------+ 
    
  • Lancer la commande suivante.

  • ./rafw.sh -e arecibo -c areciboNetwork -import was_common_configure_server_all

    root@saturn:/# /opt/IBM/RAFServer/rafw/bin/rafw.sh -e arecibo -c areciboNetwork -import was_common_configure_server_all
    CRWFW0026I A new run with the following ID 44sV is starting at Sep 16, 2013 15:55:15 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 1 files are being transferred.
    CRWFW0017I The following files are being transferred:
       user/environments/arecibo/cells/areciboNetwork/server.xml
    
    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_server_all.log'
      [rafwlog] CRWFW0014I Beginning action was_common_configure_server_all on host arecibo
         [echo] Apache Ant version 1.7.0 compiled on December 13 2006
    
    scope_init:
    
    was_common_configure_server_all:
    
    scope_init:
    
    manage_server_config_type:
         [echo] import: All Application Server Configuration at cell level
    
    assert_file:
    
    call_wsadmin:
    
    scope_init:
    
    prepare_shell:
    
    decode_password:
    
    was_init:
    
    jython_jacl_init:
    
    java_init:
    
    build_wsadmin_exec_string:
    
    use_lr_wsadmin:
    
    call_wsadmin_script:
         [exec] WASX7209I: Connected to process "dmgr" on node areciboManager using SOAP connector;  The type of process is: DeploymentManager
         [exec] WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[-washome, ${WAS_PROF_HOME}, -scope, cell, -scopename, cell, -nodename, areciboManager, -config_type, ALL, -version, 80, -properties, /apps/Rational/RAFW/user/environments/arecibo/cells/areciboNetwork/server.xml, -mode, import]"
         [exec] Importing all server config
         [exec] processing server: serveurturlan
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|hamanagerservice.xml#HAManagerService_1080665401693)
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|server-pme.xml#PMEServerExtension_1)
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|server-pme51.xml#PME51ServerExtension_1)
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|pmi-config.xml#PMIModule_1075747243635)
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|sib-service.xml#SIBService_1)
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|server-cei.xml#EventInfrastructureService_1123389803419)
         [exec] found: (cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|hpelModel.xml#HighPerformanceExtensibleLogging_1)
         [exec] finished reading configuration for server: serveurturlan(cells/areciboNetwork/nodes/areciboNode/servers/serveurturlan|server.xml#Server_1379338726193)
         [echo] Encrypting passwords in file: /apps/Rational/RAFW/user/environments/arecibo/cells/areciboNetwork/server.xml
    [encryptfile] CRWFW0114I Passwords are being encrypted in the following file: '/apps/Rational/RAFW/user/environments/arecibo/cells/areciboNetwork/server.xml'
    
    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: 39 seconds
    CRWFW0059I The following file is being transferred from the target system to the framework server: user/environments/arecibo/cells/areciboNetwork/server.xml
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_server_all.log
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_server_all.wsadmin
    CRWFW0059I The following file is being transferred from the target system to the framework server: logs/arecibo/cells/areciboNetwork/was_common_configure_server_all.trace
    CRWFW7070I Disconnected from 'arecibo'
    root@saturn:/#