Operating System - HP-UX
1827066 Members
4050 Online
109713 Solutions
New Discussion

PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER

 
SOLVED
Go to solution
paramanandam jala
Occasional Advisor

PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER

PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER.

 

4 REPLIES 4
Matti_Kurkela
Honored Contributor
Solution

Re: PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER

Stephen Doud
Honored Contributor

Re: PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER

File system references are maintained at the package level.  Do you know which package you want to modify?

 

Failover-type packages list file systems in either the legacy package control script, or modular package configuration file.  To learn which style your package uses, run:
$ cmviewcl -v -f line | grep style

 

Depending on the style, modify the associated file, adding lines for the file system, and include mount options.

 

If the underlying volume (LVM or (VxVM) has not yet been created, create it on the system where the VG or DG is currently active, then newfs the file system in the volume.  After doing so, the other node(s) need to get a /dev/<vgname>/<new_lvol> file for this new volume.   Use the vgexport/vgimport discussed in other threads to do this.

Chirag Parikh
Frequent Advisor

Re: PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER

Hi,

 

Your requirement is not specific to any problem so sharing the normal command line steps for new FS creaion and modification of cluster configuration for the same.

 

Hope that this will help you.

 

Physical Volume Create On Volume Group : sample VG VG01


  1. pvcreate -f /dev/rdsk/cxtxdx
  2. mkdir /dev/vg01
  3. mknod /dev/vg01/group c 64 0x010000
  4. vgcreate /dev/vg01 /dev/dsk/cxtxdx
  5. lvcreate -n vg_name -L <lv_size >/dev/vg01
  6. newfs -f vxfs /dev/vg01/r_lv_name
  7. vgexport -p -s -m /tmp/vg01.map /dev/vg01
  8. rcp /tmp/vg01.map node2:/tmp/vg01.map
on node2
  9. mkdir /dev/vg01
 10. mknod /dev/vg01/group c 64 0x010000
 11. vimport -s -m /tmp/vg01.map /dev/vg01 /dev/dsk/cxtxdx


Clustering Steps :


  1. edit .rhosts file entries of both node
  2. cd /etc/cmcluster
  3. cmquerycl -C cmclconf.ascii -n node1 -n node2
  4. edit /etc/cmcluster/cmclconf.ascii (enter cluster name & parameter)
  5. ftp /etc/cmcluster/cmclconf.ascii  (to another node)
  6. vgchange -a y /dev/vg01            (activate volume group)
  7. cmcheckconf -C cmclconf.ascii
  8. cmapplyconf -C cmclconf.ascii
  9. cmcruncl
 10. cmviewcl -v

 

Regards,

Chirag Parikh

Ajin_1
Valued Contributor

Re: PL.GIVE THE PROCEDURE FOR ADD THE FILE SYSTEM ON 2 NODE CLUSTER

Hi

 

Can you explain the senario ,Is it was in cluster Environment ? How many vg's are there

 

 

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.