Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

metadb database replica question (SDS)

Status
Not open for further replies.

ponetguy2

MIS
Aug 28, 2002
442
US
Hello,

I just finished mirroring another server and would like to know if I should worry about which disk is the master with metadb replicas.

Can I change the order of which disk I want to be master? Currently the the server is on database /dev/dsk/c1t1d0s4 and I would prefer it to be on /dev/dsk/c1t0d0s4. If not, will it cause problems? If so, will I need to re-create the mirrors? How much more work do I need to do to accomplish this?

FYI: JASS is installed and configured on this server.

# metadb
flags first blk block count
a m p luo 16 8192 /dev/dsk/c1t1d0s4
a p luo 8208 8192 /dev/dsk/c1t1d0s4
a p luo 16400 8192 /dev/dsk/c1t1d0s4
a p luo 16 8192 /dev/dsk/c1t0d0s4
a p luo 8208 8192 /dev/dsk/c1t0d0s4
a p luo 16400 8192 /dev/dsk/c1t0d0s4
 
You would have to delete all replicas:

metadb -d c1t1d0s4 c1t0d0s4 (maybe use a -f)

Then run like an initial setup:

metadb -a -f -c 3 c1t0d0s4 (or however many copies you want)
metadb -a -c 3 c1t1d0s4

**NOTE: you can delete all replicas from a running system but it isn't advisable because that causes existing metadevices to become inoperable.

Why change it?
 
I'm just trying to make this server identical to our other servers. I really don't think this would cause a problem, but my boss can get really picky.

this is the metadb output from one of our servers:


# metadb
flags first blk block count
a m p luo 16 8192 /dev/dsk/c1t0d0s4
a p luo 8208 8192 /dev/dsk/c1t0d0s4
a p luo 16400 8192 /dev/dsk/c1t0d0s4
a p luo 16 8192 /dev/dsk/c1t1d0s4
a p luo 8208 8192 /dev/dsk/c1t1d0s4
a p luo 16400 8192 /dev/dsk/c1t1d0s4
 
You can do it if you want to.

Boot from cdrom and then remove the replicas (like I mentioned before). Not sure if you would have to metadetach first since you would not be in multi-user mode or not, but it doubt it (because you booted of cdrom).
 
Does it really matter? Do you foresee any problems with how I have the replicas setup?

 
No it doesn't matter. I don't see where you would have any problems. I originally asked "why change it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top