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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding filesystems to a cluster package.

Status
Not open for further replies.

unixisgood

Technical User
Jan 26, 2005
25
GB
Hi all,
In a node i have several filesystems created. But problem is some of them are not included in the cluster package. And also these 6 fs created with below commands order..

pvcreate /dev/rdsk....
mknod
vgcreate -s 8 ...
lvcreate -l ...
newfs -o largefiles -F vxfs /dev/...
mount...

So they works independently. I need to add them into the cluster pack bofore restart the server :) Can you please write step by step for me.

Kind regards.
 
You will need to add these to your package control file. Review the files under /etc/cmcluster/<package name>. Once changed these files will need to be distributed to the other nodes in the cluster.
 
just a few keys:
cmhaltpkg
vgchange -a e vgname
vgexport -v -p -d -m vgname.map vgname # copy map to other potential clusternodes and run a mknod and 'vgimport -v -s -m vgname.map vgname' there
vgchange -a n vgname
vgchange -c y vgname
cmhaltpkg
edit .cntl file
cmmodpkg -e pkgname

Best Regards, Franz
--
UNIX System Manager from Munich, Germany
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top