Operating System - HP-UX
1832247 Members
2394 Online
110041 Solutions
New Discussion

Need add new filesystem to the cluster package which is running

 
SOLVED
Go to solution
Silver_1
Regular Advisor

Need add new filesystem to the cluster package which is running

Hi,

WE have a 2 node cluster and 3 pakages running on it.

My task is to add 2 more filesystems to the running package.

How can i do this with minimum outage to the cluster package.

Am i right if i do the following steps.

Assuming the primary node is A and the secondary node is B for the package PACK1

On server A
1) Create the filesystem and mount it manually.
2) Edit the PACK1.cntl and add the new filesystems.
3) Copy the same file to Server B.
4) Give vgexport with the preview option to create the map file.
5) Copy the map file over to the system B.

On system B.
1) vgexport the vg.
2) Import with the new map file.

Any input is appreciated.

Tx.
10 REPLIES 10
D Block 2
Respected Contributor

Re: Need add new filesystem to the cluster package which is running

Nair, you say, "
My task is to add 2 more filesystems to the running package.. "

I should say, Manually test you Package's monitor start, monitor, and also fail-vover by Hand (or manula commands)..
Golf is a Good Walk Spoiled, Mark Twain.
Sudeesh
Respected Contributor

Re: Need add new filesystem to the cluster package which is running

Steps mentioned by you are correct. But I would suggest you check the fail-over in the very next maintenance window available.

Sudeesh


The most predictable thing in life is its unpredictability
Pradeep_29
Frequent Advisor

Re: Need add new filesystem to the cluster package which is running

Steps are perfect.

Remember to deactivate VG (vgchange -a n vgname) before starting package. Otherwise you may see conflict messages.

Since cmcheckconf doesn't verify control file, as suggested by few, do some manual failover tests. Because once they are in production, you will never have a chance again to test which I faced earlier.

Thx,
Pradeep.
Shyjith P K
Frequent Advisor

Re: Need add new filesystem to the cluster package which is running

Hi Nair,

Steps looks OK. But its always better to do a package stop, start and failover test as you are changing the control scripts.

Cheers
Shyjith
Rita C Workman
Honored Contributor
Solution

Re: Need add new filesystem to the cluster package which is running

Yeah...but remember.

You now mounted those f/s manually AND you edited your pkg cntl script and added them there. So now when you go to stop that package, it (the vg) will complain. If this happens due to a failover, it's not going to failover right.

So be sure to get this cleared up and put properly into the cluster asap. I generally mount them manually, but I keep those lines rem'd out to remind me I gotta finish this. In any event your vg is going to complain when you go to stop it. Then I do the cleanup and put them in right.

Just a thought,
Rita
Devender Khatana
Honored Contributor

Re: Need add new filesystem to the cluster package which is running

Hi Nair,

Steps seems to be OK except that you would require a couple of vgchange commands which I think you are aware of.

I think this thread shall help you to achive this.

http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=886375&admit=-1335382922+1121085939574+28353475

HTH,
Devender

Impossible itself mentions "I m possible"
Madhusudhan_3
Occasional Advisor

Re: Need add new filesystem to the cluster package which is running

Hi Nair,

Once you import the VG in the second node, you can check the VG activation by activating it in read only mode and save the VG configuration. This is also an important step.

vgchange -a r
vgcfgbackup
vgchange -a n

The above steps can be done, even when the VG is active in the Node A. This will make sure that, your VG import is successfull.

regards,
Madhu


Re: Need add new filesystem to the cluster package which is running

One minor detail... don't forget to create the FS mount points on system B.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
D Block 2
Respected Contributor

Re: Need add new filesystem to the cluster package which is running

Hi Nair,
just wondering how you are making out... here..

The "package" that needs 2 more file systems..

I'll assume you have updated the "package" name .cntl file, right?

and also run the:
cmcheckconf -v -k -P "package".conf

again, I would suggest you have some time and test the "start" and "stop".
Golf is a Good Walk Spoiled, Mark Twain.
Silver_1
Regular Advisor

Re: Need add new filesystem to the cluster package which is running

Thanks for your inputs.
It worked very well.