Configure Oracle Solaris Cluster Resource Group

Jun 6, 2016 11:35 AM

Bellow these steps for how to configure the resource group. About the resource group concept, you can read at Oracle documentation at https://docs.oracle.com/cd/E23623_01/html/E24500/toc.html

1. Register agent
    - Register HA Storage Plus Agent

    # clresourcetype register SUNW.HAStoragePlus

    - Register GDS Agent
   
    # clresourcetype register SUNW.gds
   


2. Create resource group

    # clrg create -n DBNODE1,DBNODE2 DB_RG
   
3. Create logical hostname
   
    # clreslogicalhostname -g DB_RG -h DBCNode1 DBNode1-SvcIP_rs
   
4. Create resouce for zpools

    # clresouce create -g DB_RG -t SUNW.HAStoragePlus -p \
    Zpools=datadb1,datadb2,datadb3 DB_DSK-rs
   
5. Online the Resource Group

    # clrg online -M DB_RG
   
6. Set path failure for nodes

    # clnode set -p reboot_on_path_failure=enable +
   
7. Switching test between nodes, assume Online resouce at DBNODE1.
    We will switch it to DBNODE2.

    # clrg status
    # clrg switch -n DBNODE2 DB_RS



0 comments:

Article list :