December 28, 2010

metareplace in Sun Cluster environment

Posted in Sun Cluster at 3:47 pm by alessiodini

Today i worked on a customer for cluster recovery , this cluster was powered off due to power outage.
With a boot i saw that some metaset had problems with did and disks.

After some analysis, i replaced did devices and :

– metadevices fsck
– filesystem recovery
– datafiles check
– scshutdown
– oracle manually started first
– oracle instances activated from cluster
– switch e switch back of resources
– oracle tests ( by dba )

I replaced some did with itself and some did with other did.
Follow one metareplace:

ora1-dg/d82: Mirror
Submirror 0: ora1-dg/d62
State: Needs maintenance
Submirror 1: ora1-dg/d72
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 71121402 blocks

ora1-dg/d62: Submirror of ora1-dg/d82
State: Needs maintenance
Invoke: metareplace ora1-dg/d82 d6s0
Hot spare pool: ora1-dg/hsp002
Size: 71121402 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
d6s0 0 No Maintenance

ora1-dg/d72: Submirror of ora1-dg/d82
State: Okay
Hot spare pool: ora1-dg/hsp002
Size: 71121402 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
d11s0 0 No Okay

# metareplace -e ora1-dg/d82 /dev/did/dsk/d6s0
ora1-dg/d82: device d6s0 is enabled

Advertisements

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

%d bloggers like this: