Rational Automation Framework

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          | 
+------------------------------+                                        +-----------------------------+ 
Modification du password WAS_PASSWORD.
Vous devez d'abord éditer le fichier configure.properties, puis modifier la ligne WAS_PASSWORD=monpetitpassword
root@saturn:/# vi /opt/IBM/RAFServer/rafw/user/environments/s00vl9923558/cells/s00vl9923558Network/configure.properties
..
..
WAS_PASSWORD=monpetitpassword
..
..
:x!
root@saturn:/# 
Vous devez ensuite encrypter votre password comme le montre la commande suivante :
root@saturn:/opt/IBM/RAFServer/rafw/bin# /opt/IBM/RAFServer/rafw/bin/rafw.sh -e arecibo -c areciboNetwork -execute rafw_encode_password  -local
CRWFW0026I A new run with the following ID 83cg is starting at Sep 13, 2013 14:19:55 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 'parvl9021269'
CRWFW0025I Buildfile: /opt/IBM/RAFServer/rafw//user/environments/arecibo/cells/areciboNetwork/build.xml

default:
CRWFW0001I If an error occurs, check '/opt/IBM/RAFServer/rafw//logs/arecibo/cells/areciboNetwork//rafw_encode_password.log'
CRWFW0014I Beginning action rafw_encode_password on host parvl9021269
     [echo] Apache Ant version 1.7.0 compiled on December 13 2006

rafw_encode_password:
CRWFW0114I Passwords are being encrypted in the following file: '/opt/IBM/RAFServer/rafw/user/environments/arecibo/cells/areciboNetwork/configure.properties'
CRWFW0115I The password for the following key is being encrypted: 'WAS_PASSWORD'

prepare_shell:

change_directory_ownership:

prepare_shell:

change_directory_ownership:

prepare_shell:

change_directory_ownership:

BUILD SUCCESSFUL
Total time: 0 seconds
CRWFW7070I Disconnected from 'parvl9021269'
root@saturn:/opt/IBM/RAFServer/rafw/bin#
Héhéhé voila le résultat :
root@saturn:/# vi /opt/IBM/RAFServer/rafw/user/environments/s00vl9923558/cells/s00vl9923558Network/configure.properties
..
..
WAS_PASSWORD={bfcrypt:248c67b80c60100089e50000072c072c}2jLxgfo0z96DI1F7T9OGjk+zi4wDld+gvPqluyTd42g=
..
..
:x!
root@saturn:/# 
Url IBM pour le topic.