[root@shdb oracle]# cd scls_scr/
[root@shdb scls_scr]# ll
total 4
drwxr-xr-x 4 root oinstall 4096 Feb 1 2016 node1
[root@shdb install]# pwd
/u01/11.2.0/grid/crs/install
[root@shdb install]#
[root@shdb install]# ./rootcrs.pl -deconfig -force
2016-10-06 15:50:33: Parsing the host name
2016-10-06 15:50:33: Checking for super user privileges
2016-10-06 15:50:33: User has super user privileges
Using configuration parameter file: ./crsconfig_params
Usage: srvctl
[]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config
objects: database|service|asm|diskgroup|listener|home|ons|eons
For detailed help on each command and object and its options use:
srvctl -h or
srvctl
-h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
ACFS-9200: Supported
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
You must kill crs processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node
[root@shdb install]# ./roothas.pl
2016-10-06 15:51:24: Checking for super user privileges
2016-10-06 15:51:24: User has super user privileges
2016-10-06 15:51:24: Parsing the host name
Using configuration parameter file: ./crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node shdb successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
shdb 2016/10/06 15:51:54 /u01/11.2.0/grid/cdata/shdb/backup_20161006_155154.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
[root@shdb install]# cd /etc/oracle/scls_scr/
[root@shdb scls_scr]# ll
total 4
drwxr-xr-x 4 root oinstall 4096 Oct 6 15:51 shdb
[root@shdb install]# su - grid
[grid@shdb ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 OFFLINE OFFLINE
ora.diskmon
1 OFFLINE OFFLINE
[grid@shdb ~]$
[grid@shdb ~]$
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29108064/viewspace-2125869/,如需转载,请注明出处,否则将追究法律责任。