March 27, 2009

Scrubing Sun Cluster keys

Posted in Sun Cluster at 7:02 pm by alessiodini

On this lab-cluster i have a quorum device with reservation keys.
If i want scrub these keys i must use pgre command because the quorum device it’s scsi-2 type and doesn’t support scsi command natively.

I verify the keys:

#pgre -c pgre_inkeys -d /dev/did/rdsk/d3s0
key[0]=0x49cbf8d700000001.
key[1]=0x49cbf8d700000002.

For scrub i use:

#pgre -c pgre_scrub -d /dev/did/rdsk/d3s2

Scrubbing complete. Use ‘/usr/cluster/lib/sc/pgre -c pgre_inkeys -d /dev/did/rdsk/d3s2’
to verify success.

#pgre -c pgre_inkeys -d /dev/did/rdsk/d3s2
No keys registered.

The keys were deleted

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: