To create a new file system in 2 node (active active) -- service gurad 11.20 (81 Views)
Reply
Occasional Visitor
Unix-Admin
Posts: 1
Registered: ‎03-17-2014
Message 1 of 1 (81 Views)

To create a new file system in 2 node (active active) -- service gurad 11.20

Hello Champs,

 

 

Please let me know in order to create a new file system in new vg -- in 2 node cluster (active active) -- 11.20

Below mentioned procedure is correct or any changes required --

 

We want to add a new file system in 2 node cluster

Cluster Name - SPP_cluster

Cluster Type - 11.20 (Active active)

Node Names - srmpprd1 & srmpprd2

Condition - We have to create this new file system in new vg ** not in existing vg

    On srmpprd1 -

    Run pvcreate command on newly assigned lun to create lvm structure
    Now run vgcreate command to create new vg
    Now create lv then create file system on it
    Now create a directory to mount this newely created file system
    mount it

    Now create a map file of this newely created vg & copy to node 2  --- # vgexport -pvs -m newvg1.map /dev/newvg1  the  do rcp

    Now run vgimport on second node -- #vgimport -vs -m newvg1.map /dev/newvg1

    Now go to node 1 --

    unmount file system then deactivate newely created vg
    Now edit cluster configuration file /etc/cmcluster/SPP.cfg ---- here we need to add new vg name -- like VOLUME_GROUP    /dev/newvg1
    Update cluster configuration file -- cmapplyconf -C SPP.cfg
 
    Now edit package configuration file /etc/cmcluster/spp/packagename.cfg  -- here we need to mention --
    fs_name  /dev/vgUSRSAP/lvSCS00
    fs_directory  /usr/sap/SPP/SCS01
    fs_type  vxfs

    then run #cmapplyconf -P packagename.cfg

    Now test this package for startup/shutdown/failover

 

 

Thank you in advance !!

 

 

Regards,

Prashant

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation