Serviceguard
Showing results for 
Search instead for 
Do you mean 

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

Occasional Visitor

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