• 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
  • 相关阅读:
    Lodash之throttle(节流)与debounce(防抖)总结
    css伪类:before及:after除了插入文字内容还能做点儿啥?画图
    一点对Promise的理解与总结
    前端开发常用网站汇总
    一分钟配置好JDK
    启动任务管理器命令符,doc命令
    判断是否是质数以及类型的转换
    图片数字型的九九乘法表
    1000以内的质数的方法,判断年份是否是闰年,打印水仙花数
    持续交付8-数据管理
  • 原文地址:https://www.cnblogs.com/tigergaonotes/p/16355907.html
Copyright © 2020-2023  润新知