Operating System - HP-UX
1837404 Members
2912 Online
110116 Solutions
New Discussion

Change volumes configuration - how to

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

Change volumes configuration - how to

Hi all, I've to migrate some volumes from old to new storage.
Unlikely some of these are in a serviceguard package.
I've to change for example:

/dev/vg04/lv_one mounted on /directory
into
/dev/newspecial mounted on /directory

Which serviceguard configuration files I've to modify?

We are migrating from EMC symmetrix to EMC CLARiiON. So we can't need LVM to manage new volumes.
So we are seeing one "big" LUN instead of many little "LUN"
Do you suggest me to continue to use LVM to manage volumes or I can mount directly special LUN file on directory?

Thank You

Ubi maior, minor cessat!
4 REPLIES 4
Bharat Katkar
Honored Contributor
Solution

Re: Change volumes configuration - how to

See as far as Service Guard is concern it will only have info about VG's and LV's. It will not bother about how many LUNs you have. In case you have Only one lun that means you will only have one VG and all LV associated with that VG.
So you need to modify /etc/cmcluster/cmclconf.ascii file plus /etc/cmcluster/pkg1/ along with control script also in case you are changing the directory or filesystems mount points.

Hope this is what you are looking upto.
Regards,
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: Change volumes configuration - how to

Do not forget to do
#cmcheckconf
and
#cmapplyconf

This will check the new configration for any error's and later one will create new binary file for your cluster. Then move the same to the other node.
All the best.
Regards,
You need to know a lot to actually know how little you know
Mauro Gatti
Valued Contributor

Re: Change volumes configuration - how to

OK, let me see if I understood:

Node 1
-Change in /etc/cmcluster/cmclconfig.ascii volume groups
(If I have to change FIRST_CLUSTER_LOCK_VG /dev/vg01 is it sufficient to modify this line?)
-Change in /etc/cmcluster/my_pkg/my_pkg.cntl
VG[0...n] to be activated
LV[0...n] FS[0...n] FS_MOUNT_OPT[0...n]

and then

cmcheckconf
cmapplyconf

The same on node 2

Is it right?

Thank You

Mauro


Ubi maior, minor cessat!
Bharat Katkar
Honored Contributor

Re: Change volumes configuration - how to

Hi Mauro,
You are right. Only thing is, you don't have to repeat it on node 2, simply ftp the "cmclconfig" file from node 1 to node 2.
That's all.
All the best.
You need to know a lot to actually know how little you know