How to forcefully ‘deconfig’ Grid cluster configuration in 11gR2

I was installing 11gR2 RAC with Grid infrastructure on a 2 node AIX cluster. I did all the steps (normally what I do on Solaris), but missed few AIX specific steps & my root.sh failed.

# /grid/11.2.0/root.sh
Running Oracle 11g root.sh script…

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

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file “dbhome” already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying dbhome to /usr/local/bin …
The file “oraenv” already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying oraenv to /usr/local/bin …
The file “coraenv” already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y
Copying coraenv to /usr/local/bin …

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-03-02 07:55:55: Parsing the host name
2010-03-02 07:55:55: Checking for super user privileges
2010-03-02 07:55:55: User has super user privileges
Using configuration parameter file: /grid/11.2.0/crs/install/crsconfig_params
Creating trace directory
User ora11gr2 is missing the following capabilities required to run CSSD in realtime:
CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE
To add the required capabilities, please run:
/usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE ora11gr2
CSS cannot be run in realtime mode at /grid/11.2.0/crs/install/crsconfig_lib.pm line 8119.

So root.sh returned the error & asked me to run chuser command with above options. After executing this command on both the nodes, I again executed the root.sh, buut it failed with message “Deconfigure the existing cluster configuration before starting”

bash-2.05b# /grid/11.2.0/root.sh
Running Oracle 11g root.sh script…

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

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file “dbhome” already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file “oraenv” already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file “coraenv” already exists in /usr/local/bin. Overwrite it? (y/n) [n]:

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-03-02 08:07:32: Parsing the host name
2010-03-02 08:07:32: Checking for super user privileges
2010-03-02 08:07:32: User has super user privileges
Using configuration parameter file: /grid/11.2.0/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run ‘/grid/11.2.0/crs/install/rootcrs.pl -deconfig’
to configure existing failed configuration and then rerun root.sh

So I tried, but when I executed /grid/11.2.0/crs/install/rootcrs.pl -deconfig, it error out, saying, it could not communicate with CRS & asked me to start the CRS. But funny part is, CRS was not yet configured. In short it was going in a circular fashion.

In this scenario, -force option with -deconfig, will be very handy

bash-2.05b# /grid/11.2.0/crs/install/rootcrs.pl -deconfig -force -verbose
2010-03-02 08:11:29: Parsing the host name
2010-03-02 08:11:29: Checking for super user privileges
2010-03-02 08:11:29: User has super user privileges
Using configuration parameter file: /grid/11.2.0/crs/install/crsconfig_params
PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.eons is registered
Cannot communicate with crsd

Failure at scls_scr_setval with code 8
Internal Error Information:
Category: -2
Operation: failed
Location: scrsearch3
Other: id doesnt exist scls_scr_setval
System Dependent Information: 2

CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
Successfully deconfigured Oracle clusterware stack on this node

And finally, even though it could not communicate with CRS, it successfully deconfigured Oracle clusterware stack

Advertisements
This entry was posted in Oracle Real Application Cluster and tagged . Bookmark the permalink.

7 Responses to How to forcefully ‘deconfig’ Grid cluster configuration in 11gR2

  1. GD says:

    Hi,
    I am trying to Install 11gR2 grid Infrastructure on a 2 node cluster on AIX 6.1, and have an issue with Host VIP’s.
    We have setup the -vip in DNS and I can do a nslookup. But I get this error
    SEVERE: [FATAL] [INS-40910] Virtual IP: bisora10d-vip.smrcy.com entered is invalid.

    Here is what it says in the InstallActions.log
    INFO: Validating IPs
    INFO: Converting IPs to hostnames
    WARNING: Invalid VIP name:bisora10d-vip.smrcy.com
    SEVERE: [FATAL] [INS-40910] Virtual IP: bisora10d-vip.smrcy.com entered is invalid.
    CAUSE: The Virtual IP did not resolve to an IP address.
    ACTION: Enter a valid VIP that resolves to an IP address.
    INFO: Advice is ABORT
    INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
    INFO: Completed validating state
    INFO: Terminating all background operations
    INFO: Terminated all background operations

    When I do nslookup bisora10d-vip, it resolves to bisora10d-vip.smrcy.com. Should I have the entry in /etc/hosts file?

    Any help is greatly appreciated.

    Thanks
    Geetha

  2. GD says:

    Thanks. That worked.
    -Geetha

  3. GD says:

    Hi Yogesh,
    I am trying to create a service after the grid infrastructure install and db creation on 2node AIX 6.1, and when I use
    $ srvctl add service -d test -s online -r test PRKO-2102 : Failed to create server pool test2_online: PRCS-1009 : Failed to create server pool ora.test_online
    PRCR-1071 : Failed to register or update server pool ora.test_online
    Cannot communicate with crsd

    Not sure what’s wrong? crsd is running on both the nodes.

    Thanks
    GG

  4. ybhandarkar says:

    what is the output of crsctl check crs command?

  5. Pingback: 2010 in review | Oracle-Hands-On

  6. asf says:

    Thank YOU!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s