MERCADOS FINANCIEROS

martes, 22 de septiembre de 2009

Solaris SUN Servicios Cluster

CLUSTER SPE

scstat| more

scswitch -z -g oracle-rg -h CT1BOSUNBD-SPE2

scswitch -z -g oracle-rg -h CT1BOSUNBD-SPE1

Disable monitors:
scswitch -n -M -j oracle-listener
scswitch -n -M -j oracle-server

Shutdwon resources:
scswitch -n -j oracle-listener
scswitch -n -j oracle-server

Validate:
cluster status

Start resources:
scswitch -e -j oracle-server
scswitch -e -j oracle-listener

Enable monitores:
scswitch -e -M -j oracle-listener
scswitch -e -M -j oracle-server


Activar Cluster


ere are the steps to solve this problem:

For example, the Sun Cluster contains two nodes: node0 and node1, the resource group name is test_group, the resource name of Oracle is test_oracle_resource

cd /u01/sc_log/sc.log

1. node0# scstat
Use scstat to check the cluster states, confirm the cluster
status is OK.
2. node0# scswitch -n -M -j test_oracle_resource
Use scswitch to stop the fault monitor of Oracle server temporary
3. node0# scrgadm -c -j test_oracle_resource -x
Connect_string=newuser/newpassword
This command will use new Oracle user and password to act as fault
monitor user.
4. node0# scswitch -e -M -j test_oracle_resource
Use scswitch enable the database fault monitor
5. node0# scrgadm -pvv | grep Connect_string
To confirm the modification become effective.

The above steps do not need shutdown Oracle instance.

No hay comentarios: