solaris 5.10 root.sh

root@swcrm1 # /oracle/oraInventory/orainstRoot.sh
Changing permissions of /oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete.
root@swcrm1 # /oracle/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'swcrm1'
CRS-2676: Start of 'ora.mdnsd' on 'swcrm1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'swcrm1'
CRS-2676: Start of 'ora.gpnpd' on 'swcrm1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'swcrm1'
CRS-2672: Attempting to start 'ora.gipcd' on 'swcrm1'
CRS-2676: Start of 'ora.cssdmonitor' on 'swcrm1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'swcrm1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'swcrm1'
CRS-2672: Attempting to start 'ora.diskmon' on 'swcrm1'
CRS-2676: Start of 'ora.diskmon' on 'swcrm1' succeeded
CRS-2676: Start of 'ora.cssd' on 'swcrm1' succeeded

ASM created and started successfully.

Disk Group OCR created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 9639f2a347a44fd9bf6516f2a26c55fd.
Successful addition of voting disk 1975b3e1d2524f32bf6872e8785e394c.
Successful addition of voting disk 3720db56f5df4f99bf502d083346198a.
Successfully replaced voting disk group with +OCR.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   9639f2a347a44fd9bf6516f2a26c55fd (/dev/rdsk/c8t60002AC000000000000000DA00020A7Bd0s6) [OCR]
 2. ONLINE   1975b3e1d2524f32bf6872e8785e394c (/dev/rdsk/c8t60002AC000000000000000DB00020A7Bd0s6) [OCR]
 3. ONLINE   3720db56f5df4f99bf502d083346198a (/dev/rdsk/c8t60002AC000000000000000DC00020A7Bd0s6) [OCR]
Located 3 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'swcrm1'
CRS-2676: Start of 'ora.asm' on 'swcrm1' succeeded
CRS-2672: Attempting to start 'ora.OCR.dg' on 'swcrm1'
CRS-2676: Start of 'ora.OCR.dg' on 'swcrm1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
root@swcrm1 # 

root@swcrm2 # /oracle/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node swcrm1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
root@swcrm2 # 

root@swcrm2 # /oracle/11.2.0/grid/bin/crsctl stop cluster
CRS-2673: Attempting to stop 'ora.crsd' on 'swcrm2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'swcrm2'
CRS-2673: Attempting to stop 'ora.OCR.dg' on 'swcrm2'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'swcrm2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'swcrm2'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.swcrm2.vip' on 'swcrm2'
CRS-2677: Stop of 'ora.swcrm2.vip' on 'swcrm2' succeeded
CRS-2672: Attempting to start 'ora.swcrm2.vip' on 'swcrm1'
CRS-2677: Stop of 'ora.registry.acfs' on 'swcrm2' succeeded
CRS-2676: Start of 'ora.swcrm2.vip' on 'swcrm1' succeeded
CRS-2677: Stop of 'ora.OCR.dg' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'swcrm2'
CRS-2677: Stop of 'ora.asm' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'swcrm2'
CRS-2677: Stop of 'ora.ons' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'swcrm2'
CRS-2677: Stop of 'ora.net1.network' on 'swcrm2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'swcrm2' has completed
CRS-2677: Stop of 'ora.crsd' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'swcrm2'
CRS-2673: Attempting to stop 'ora.evmd' on 'swcrm2'
CRS-2673: Attempting to stop 'ora.asm' on 'swcrm2'
CRS-2677: Stop of 'ora.evmd' on 'swcrm2' succeeded
CRS-2677: Stop of 'ora.asm' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'swcrm2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'swcrm2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'swcrm2'
CRS-2677: Stop of 'ora.cssd' on 'swcrm2' succeeded


root@swcrm2 # /oracle/11.2.0/grid/bin/crsctl stop crs    
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'swcrm2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'swcrm2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'swcrm2'
CRS-2673: Attempting to stop 'ora.crf' on 'swcrm2'
CRS-2677: Stop of 'ora.mdnsd' on 'swcrm2' succeeded
CRS-2677: Stop of 'ora.crf' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'swcrm2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'swcrm2' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'swcrm2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'swcrm2'
CRS-2677: Stop of 'ora.gpnpd' on 'swcrm2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'swcrm2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
root@swcrm2 # 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值