WAS ops and clean cache
restart Instances-- stop Instance -> start instance (login by ro account: d+last 7 figures of staffid and then su - root and then su - wasadm. ALL the below action need to be done by the account wasadm ) sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/stopServer.sh LWIF01UK-AS01 sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/startServer.sh LWIF01UK-AS01 sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/stopServer.sh UWIF01UK-AS01 sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/stopServer.sh UWIF01UK-AS02 restart Nodes(only required if there is code changes)-- stop Instance -> stop Nodes -> start nodes -> start instance (login by ro account: d+last 7 figures of staffid and then su - root and then su - wasadm. ALL the below action need to be done by the account wasadm ) sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/stopServer.sh LWIF01UK-AS01 sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/stopNode.sh sh /opt/IBM/WebSphere85/AppServer/profiles/dmgrprofile/bin/stopManager.sh #if there is below error while deploying ear by G3 as below, try clean cache by the below command Click here to expand...
- [INFO] - ReSync of Node = gbl15317 (actual application distribution to Server(s) ) ...
WASX7017E: Exception received while running file "/home/wasadm/G3/scripts/iDeploy-lite-4.1/modules/deploy/appInstall.py"; exception information: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the sync operation on NodeSync MBean because of insufficient or empty credentials. # clean cache cd /opt/IBM/WebSphere85/AppServer/profiles/appprofile/ cd /opt/IBM/WebSphere85/AppServer/profiles/dmgrprofile/ rm -rf wstemp/* rm -rf temp/* rm -rf tranlog/* sh /opt/IBM/WebSphere85/AppServer/profiles/dmgrprofile/bin/startManager.sh sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/startNode.sh sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/startServer.sh LWIF01UK-AS01 PROD sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/startServer.sh UWIF01UK-AS02 UAT Get account for console vi /opt/IBM/WebSphere85/AppServer/profiles/dmgrprofile/properties/soap.client.props get username and password from below attribute com.ibm.SOAP.loginUserid=wsadmin-gbl15322 com.ibm.SOAP.loginPassword= decode the password on http://strelitzia.net/wasXORdecoder/wasXORdecoder.html Restart IHS server (Web server) 1. Login and change to ihsadm user su - ihsadm 2. Check the IHS INSTANCE ps -ef|grep httpd OR. use below command to check what instance was run on this server ls /appvol/IHS85 3. STOP THE IHS SERVER sudo /opt/IBM/IBMIHS85/bin/apachectl -k stop -D Instance_Name 4. START THE HIS SERVER sudo /opt/IBM/IBMIHS85/bin/apachectl -k start -D Instance_Name i.e. sudo /opt/IBM/IBMIHS85/bin/apachectl -k start -D CWIF01UK-WS01 sudo /opt/IBM/IBMIHS85/bin/apachectl -k start -D CWIF01UK-WS02 sudo /opt/IBM/IBMIHS85/bin/apachectl -k stop -D PWIF01UK-WS01 sudo /opt/IBM/IBMIHS85/bin/apachectl -k start -D PWIF01UK-WS01 5. Check and confirm the IHS Instance again ps -ef|grep httpd clean cache if needed: su - wasadm sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/clearClassCache.sh sh /opt/IBM/WebSphere85/AppServer/profiles/appprofile/bin/osgiCfgInit.sh sh /opt/IBM/WebSphere85/AppServer/profiles/dmgrprofile/bin/clearClassCache.sh sh /opt/IBM/WebSphere85/AppServer/profiles/dmgrprofile/bin/osgiCfgInit.sh