重启应用进程操作步骤
1.停止应用服务
使用用户登录应用服务器
1.1停止weblogic节点
cd /xx/weblogic/Oracle_Home/user_projects/ss_domains/bin
./stopNodeManager.sh
1.2检查节点管理器是否停止
netstar -an|grep 5556
1.3停止weblogic
cd …/bin
./stopWebLogic.sh
1.4查看进程
ps -ef|grep weblogic
如果没有进程则停止成功,如仍有进程则需要手动停止
使用kill -9 PID 关闭进程
1.5停止agent
cd /cib/batch/agent
sh stop.sh
完成后查询
tail -n 1000 /cib/logs/agent/etlagent.log
1.6停止listener
cd /cib/batch/listener
sh stop.sh
完成后查询
tail -n 1000 /cib/logs/listener/etllistener.log
2.重启服务器
3.重启应用服务
3.1使用用户登录应用服务器
启动weblogic节点
cd …/bin
nohup ./startNodeManager.sh &
3.2检查节点管理器是否启动
netstat -an|grep 5556
3.3启动weblogic
cd …/ss_domain
nohup ./startWebLogic.sh &
查看是否成功
tail -n 10000 nohup.out
3.4启动agent
cd /cib/batch/agent
sh start.sh
tail -n 1000 /cib/logs/agent/etlagent.log
3.5启动listener
cd /cib/batch/listener
sh start.sh
查看执行结果
tail -n 1000 /cib/logs/listener/etllistener.log
4.重新挂载NFS
4.1服务器
使用用户登录服务器
关闭服务
service rpcbind stop
service nfs stop
chkconfig - - level 35 nfs off
开启服务
service rpcbind start
service nfs start
chkconfig - -level 35 nfs on
4.2 客户端
使用用户登录
启动服务
service rpcbind start
service nfs start
chkconfig - -level 35 nfs on
挂载NFS
mount S-A-1:/s /s
检查nfs确已挂载
输入mount