Need help with metaset (metadevices) and Sun Cluster

From: Mehmet Soysal (soysal@ira.uka.de)
Date: Sun Oct 02 2005 - 14:12:52 EDT


Hello,
i have a Problem with mirroring harddisks in a Sun Cluster environment.
I4ve got following scenario:

Node1(E250) with an extra local connected diskA
Node2(E250) with an extra local connected diskB

And i4m trying to mirror those extra disks using the Sun Cluster software.
So when one node1 fails, node2 can make the job of node1 with up-to-date
data on the harddisk.

First of all, there is no money to buy a SAN, so no need to give me this
advice.
If we had enough money we would bought it long ago.

And if it is not possible to do what i4m trying to make,
please tell it to me.

The disks a configurated and scdidadm schows both disks.
They are both partitioned like i read in the SUN docs,
with a small slice 7 at the begining of the disk and no overlapping slices.
Both disks are ok and i can mount them an the local node.

node1:~ # scdidadm -L
....
5 node1:/dev/rdsk/c0t10d0 /dev/did/rdsk/d5 <=== diskA
6 node2:/dev/rdsk/c0t11d0 /dev/did/rdsk/d6 <=== diskB

>From Gary Chambers i got following help.

# Create the disk set
node1: metaset -s setname -a -h node1 node2
# Create the mediators
node1: metaset -s setname -a -m node1 node2

so far so good but then

# Add the devices in the disk set
node1: metaset -s setname -a /dev/did/rdsk/d5 /dev/did/rdsk/d6
metaset: node1: d6s0: No such device or address

but diskB on node2 has a mountable slice s0.
node2: mount /dev/dsk/c0t11d0s0 /mnt/blah/
node2: df -h
/dev/dsk/c0t11d0s0 34G 9K 33G 1% /mnt/blah

Anybody any ideas ?

Thanks in advance
M.SOYSAL
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:32:06 EDT