免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1631 | 回复: 0
打印 上一主题 下一主题

[新手入门] THE METHOD OF AIX SYSTEM BOOT AND STOP [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-25 16:40 |只看该作者 |倒序浏览

THE  METHOD OF AIX SYSTEM BOOT AND STOP
When the power of host is running,according follow method to boot four RS6000s , FAST600 and LTO3580 type device.
Ⅰ.Boot
   1.Boot fiber switch .
   2.Boot the power of the FAST600 and LTO3580.
   3.Waiting for after the light of data of FAST600 don't climp,boot the power of RS6000s ,sequence is :
    1)was01p > was01t;
    2)udb01p > udb01t.
   4.Boot the HACMP of udb01p and udb01t , enter [smitty clstart]
Start Cluster Services
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                        [Entry Fields]
* Start now, on system restart or both                now                     +
  Start Cluster Services on these nodes               [udb01p]                +
  BROADCAST message at startup?                       false                   +
  Startup Cluster Lock Services?                      false                   +
  Startup Cluster Information Daemon?                 true                    +
  Reacquire resources after forced down ?             false                   +
Enter=Do
To verify the HACMP boot success:
   1)clstat(/usr/sbin/cluster/clstat)
   or
   2)hacmp.out(tail -f /tmp/hacmp.out)
   and
   3)lspv (the status of datavg is active)
   4)lsvg -l datavg (the status of lv is open/syncd)
   5.boot the udb01p and udb01t on the DB2 Server.
   A.Use the shell to boot(Note:the DB2 Server of udb01p has been boot through HACMP)
     in root directory of udb01t(/) , enter #startshell_udb01t.sh
   B.Use the follow command to boot DB2 on udb01p.
     #su - gpcp
     $db2start
     $exit
     #su -galp
     $db2start
     $exit
     
     #su - gsip
     $db2start
     $exit
   C.Use the follow command to boot DB2 on udb01t
     #su - gpct
     $db2start
     $exit
     #su -galt
     $db2start
     $exit
     #su -gsit
     $db2start
     $exit
    6.Boot Http server and WebSphere service on was01p and was01t.
     A.Use shell to boot
     1)in the root directory of was01p(/) enter the command of "startshell_was01p.sh".
     2)in the root directory of was01t(/) enter the command of "startshell_was01t.sh"
     B.Use command to boot
     1)Enter the follow command on was01p:
       #/usr/IBMHttpServer/bin/apachectl start
       #/usr/WebSphere/DeploymentManager/bin/startManager.sh
       #/usr/WebSphere/AppServer/bin/startNode.sh
       #/usr/WebSphere/AppServer/bin/startServer.sh GALX
       #/usr/WebSphere/AppServer/bin/startServer.sh GPCX
       #/usr/WebSphere/AppServer/bin/startServer.sh GSIX
     2)Enter the follow command on was01t:
       #/usr/IBMHttpServer/bin/apachectl start
       #/usr/WebSphere/AppServer/bin/startNode.sh
     Note:Follow the nodes don't boot all:
       #/usr/WebSphere/AppServer/bin/startServer.sh GALY
       #/usr/WebSphere/AppServer/bin/startServer.sh GPCY
       #/usr/WebSphere/AppServer/bin/startServer.sh GSIY
       #/usr/WebSphere/AppServer/bin/startServer.sh GAL1J4
       #/usr/WebSphere/AppServer/bin/startServer.sh GPC1J4
       #/usr/WebSphere/AppServer/bin/startServer.sh GSI1J4
       #/usr/WebSphere/AppServer/bin/startServer.sh GAL1J5
       #/usr/WebSphere/AppServer/bin/startServer.sh GPC1J5
       #/usr/WebSphere/AppServer/bin/startServer.sh GSI1J5
       #/usr/WebSphere/AppServer/bin/startServer.sh GAL1TR
       #/usr/WebSphere/AppServer/bin/startServer.sh GPC1TR
       #/usr/WebSphere/AppServer/bin/startServer.sh GSI1TR

      C.Use the console of GUI to boot
     
      
http://10.249.200.15:14000/admin
When the power of UPS is not suffix ,use the follow the method to stop RS6000s,FAST600 and LTO3580.
Ⅱ.Shutdown
    1.Stop the WebSphere service on was01p and was01t.
    A.Use the shell to stop
    1)In the root directory of was01p(/) ,enter the command of stopshell_was01p.sh
    2)When the status of running of was01t doesn't know,the stop action need to acheived in the console of WebSphere.
   
http://10.249.200.15:14000/admin
    Should stop GAL1J4,GAL1J5,GAL1TR,GPC1J4,GPC1J5,GPC1TR,GSI1J4,GSI1J5 and GSI1TR.
    In the root directory(/) of was01t,enter the command of stopshell_was01t.
     #./stopshell_waso1t.sh
    B.Use the command to stop
    1)Enter the follow command on was01p:
      #/usr/WebSphere/AppServer/bin/stopServer.sh GALX
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPCX
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSIX
      #/usr/WebSphere/AppServer/bin/stopNode.sh
      #/usr/WebSphere/AppServer/bin/stopManager.sh
      #/usr/WebSphere/Appserver/bin/apachectl stop
    2)Enter the follow command on was01t:
      #/usr/WebSphere/AppServer/bin/stopServer.sh GALY
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPCY
      #/usr/WebSphere/Appserver/bin/stopServer.sh GSIY
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSIY   
      #/usr/WebSphere/AppServer/bin/stopServer.sh GAL1J4
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPC1J4
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSI1J4
      #/usr/WebSphere/AppServer/bin/stopServer.sh GAL1J5
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPC1J5
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSI1J5
      #/usr/WebSphere/AppServer/bin/stopServer.sh GAL1TR
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPC1TR
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSI1TR
      #/usr/WebSphere/AppServer/bin/stopNode.sh
      #/usr/IBMHttpServer/bin/apachectl stop
     2.Stop the DB2 Server on udb01p and udb01t
      A.Use the shell to stop:
      1)In the root directory of udb01p(/) use the command of stopshell_udb01p.sh.
      2)In the root directory of udb01t(/) use the command of stopshell_udb01t.sh.
     B.Use the command to stop:
     1)Use follow command on udb01p:
      #su - gpcp
      $db2 force application all
      $db2stop
      $exit
      #su - galp
      $db2 force application all
      $db2stop
      $exit
      #su - gsip
      $db2 force application all
      $db2stop
      $exit
    2)Use follow command on udb01t:
      #su - gpct
      $db2 force application all
      $db2stop
      $exit
      #su - galt
      $db2 force application all
      $db2stop
      $exit
      #su - gsit
      $db2 force application all
      $db2stop
      $exit
    3.Shutdown the RS6000s.
      Use the command of shutdown -F on was01p,was01t,udb01p,udb01t.
    4.Power off FAST600 and tape device.
    5.Power off fiber switch.
THE  METHOD OF AIX SYSTEM BOOT AND STOP
When the power of host is running,according follow method to boot four RS6000s , FAST600 and LTO3580 type device.
Ⅰ.Boot
   1.Boot fiber switch .
   2.Boot the power of the FAST600 and LTO3580.
   3.Waiting for after the light of data of FAST600 don't climp,boot the power of RS6000s ,sequence is :
    1)was01p > was01t;
    2)udb01p > udb01t.
   4.Boot the HACMP of udb01p and udb01t , enter [smitty clstart]
Start Cluster Services
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
                                                        [Entry Fields]
* Start now, on system restart or both                now                     +
  Start Cluster Services on these nodes               [udb01p]                +
  BROADCAST message at startup?                       false                   +
  Startup Cluster Lock Services?                      false                   +
  Startup Cluster Information Daemon?                 true                    +
  Reacquire resources after forced down ?             false                   +
Enter=Do
To verify the HACMP boot success:
   1)clstat(/usr/sbin/cluster/clstat)
   or
   2)hacmp.out(tail -f /tmp/hacmp.out)
   and
   3)lspv (the status of datavg is active)
   4)lsvg -l datavg (the status of lv is open/syncd)
   5.boot the udb01p and udb01t on the DB2 Server.
   A.Use the shell to boot(Note:the DB2 Server of udb01p has been boot through HACMP)
     in root directory of udb01t(/) , enter #startshell_udb01t.sh
   B.Use the follow command to boot DB2 on udb01p.
     #su - gpcp
     $db2start
     $exit
     #su -galp
     $db2start
     $exit
     
     #su - gsip
     $db2start
     $exit
   C.Use the follow command to boot DB2 on udb01t
     #su - gpct
     $db2start
     $exit
     #su -galt
     $db2start
     $exit
     #su -gsit
     $db2start
     $exit
    6.Boot Http server and WebSphere service on was01p and was01t.
     A.Use shell to boot
     1)in the root directory of was01p(/) enter the command of "startshell_was01p.sh".
     2)in the root directory of was01t(/) enter the command of "startshell_was01t.sh"
     B.Use command to boot
     1)Enter the follow command on was01p:
       #/usr/IBMHttpServer/bin/apachectl start
       #/usr/WebSphere/DeploymentManager/bin/startManager.sh
       #/usr/WebSphere/AppServer/bin/startNode.sh
       #/usr/WebSphere/AppServer/bin/startServer.sh GALX
       #/usr/WebSphere/AppServer/bin/startServer.sh GPCX
       #/usr/WebSphere/AppServer/bin/startServer.sh GSIX
     2)Enter the follow command on was01t:
       #/usr/IBMHttpServer/bin/apachectl start
       #/usr/WebSphere/AppServer/bin/startNode.sh
     Note:Follow the nodes don't boot all:
       #/usr/WebSphere/AppServer/bin/startServer.sh GALY
       #/usr/WebSphere/AppServer/bin/startServer.sh GPCY
       #/usr/WebSphere/AppServer/bin/startServer.sh GSIY
       #/usr/WebSphere/AppServer/bin/startServer.sh GAL1J4
       #/usr/WebSphere/AppServer/bin/startServer.sh GPC1J4
       #/usr/WebSphere/AppServer/bin/startServer.sh GSI1J4
       #/usr/WebSphere/AppServer/bin/startServer.sh GAL1J5
       #/usr/WebSphere/AppServer/bin/startServer.sh GPC1J5
       #/usr/WebSphere/AppServer/bin/startServer.sh GSI1J5
       #/usr/WebSphere/AppServer/bin/startServer.sh GAL1TR
       #/usr/WebSphere/AppServer/bin/startServer.sh GPC1TR
       #/usr/WebSphere/AppServer/bin/startServer.sh GSI1TR

      C.Use the console of GUI to boot
     
      
http://10.249.200.15:14000/admin
When the power of UPS is not suffix ,use the follow the method to stop RS6000s,FAST600 and LTO3580.
Ⅱ.Shutdown
    1.Stop the WebSphere service on was01p and was01t.
    A.Use the shell to stop
    1)In the root directory of was01p(/) ,enter the command of stopshell_was01p.sh
    2)When the status of running of was01t doesn't know,the stop action need to acheived in the console of WebSphere.
   
http://10.249.200.15:14000/admin
    Should stop GAL1J4,GAL1J5,GAL1TR,GPC1J4,GPC1J5,GPC1TR,GSI1J4,GSI1J5 and GSI1TR.
    In the root directory(/) of was01t,enter the command of stopshell_was01t.
     #./stopshell_waso1t.sh
    B.Use the command to stop
    1)Enter the follow command on was01p:
      #/usr/WebSphere/AppServer/bin/stopServer.sh GALX
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPCX
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSIX
      #/usr/WebSphere/AppServer/bin/stopNode.sh
      #/usr/WebSphere/AppServer/bin/stopManager.sh
      #/usr/WebSphere/Appserver/bin/apachectl stop
    2)Enter the follow command on was01t:
      #/usr/WebSphere/AppServer/bin/stopServer.sh GALY
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPCY
      #/usr/WebSphere/Appserver/bin/stopServer.sh GSIY
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSIY   
      #/usr/WebSphere/AppServer/bin/stopServer.sh GAL1J4
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPC1J4
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSI1J4
      #/usr/WebSphere/AppServer/bin/stopServer.sh GAL1J5
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPC1J5
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSI1J5
      #/usr/WebSphere/AppServer/bin/stopServer.sh GAL1TR
      #/usr/WebSphere/AppServer/bin/stopServer.sh GPC1TR
      #/usr/WebSphere/AppServer/bin/stopServer.sh GSI1TR
      #/usr/WebSphere/AppServer/bin/stopNode.sh
      #/usr/IBMHttpServer/bin/apachectl stop
     2.Stop the DB2 Server on udb01p and udb01t
      A.Use the shell to stop:
      1)In the root directory of udb01p(/) use the command of stopshell_udb01p.sh.
      2)In the root directory of udb01t(/) use the command of stopshell_udb01t.sh.
     B.Use the command to stop:
     1)Use follow command on udb01p:
      #su - gpcp
      $db2 force application all
      $db2stop
      $exit
      #su - galp
      $db2 force application all
      $db2stop
      $exit
      #su - gsip
      $db2 force application all
      $db2stop
      $exit
    2)Use follow command on udb01t:
      #su - gpct
      $db2 force application all
      $db2stop
      $exit
      #su - galt
      $db2 force application all
      $db2stop
      $exit
      #su - gsit
      $db2 force application all
      $db2stop
      $exit
    3.Shutdown the RS6000s.
      Use the command of shutdown -F on was01p,was01t,udb01p,udb01t.
    4.Power off FAST600 and tape device.
    5.Power off fiber switch.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6371/showart_23162.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP