1752587 Members
4048 Online
108788 Solutions
New Discussion юеВ

Eliminate cluster

 
SOLVED
Go to solution

Eliminate cluster

I have not much experience with cluster, and we want to eliminate the cluster of two servers, because we already buy a new pair for production floor and we want those servers to others not critical applications.

Those are two K250 servers with HP-UX 10.20 running Service Guard 10.06. The cluster has only one package and are sharing a Nike controller array and a Storage Enclosure.

What are the steps I need to do in order to eliminated?

I apreciate any response.

Thanks.

Veronica.
Always is important to know the opinion of other people with or without experience
3 REPLIES 3
John Poff
Honored Contributor

Re: Eliminate cluster

Hi Veronica,

Here is what I would try:

do Ignite-UX backups of both nodes
do backups of other data

cmhaltpkg
cmhaltcl

For each volume group in the packages [just on the box you want to run the VGs on], do:
vgchange -c y
vgchange -a y
add vg/lvol mountpoints to /etc/fstab
edit /etc/lvmrc to auto activate VGs as needed

On the node that won't be running the VGs any more, you'll probably want to vgexport the VGs.

edit /etc/rc.config.d/cmcluster to 0 so MC/SG won't get started at reboot
swremove MC/SG software



I hope this helps. It's just a brief overview of the steps. Someone else might add anything I have forgotten. You can also do a search in the forum for this and I think you'll find some other posts where this topic has come up before and the steps have been discussed.

Good luck!

JP


John Poff
Honored Contributor

Re: Eliminate cluster

Hi again,

I thought this topic sounded familiar. See if this thread helps:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbfe2c6af36b7d5118ff10090279cd0f9,00.html

JP
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Eliminate cluster

Hi Veronica,

Following will be your steps.

1. Halt the package

cmhaltpkg -v your_package

2. Make the volume groups cluster unknown.
For each volume group that is part of your cluster, do the following

You can get the volume groups using the following command

grep "^VOLUME_GROUP" /etc/cmcluster/cmcl.ascii

(check the name of cluster config file)

vgchange -c n vg??
vgchange -a y vg??

3. Edit /etc/fstab and keep the file systems in it.

You can get the file systems using the command

grep "^LV" /etc/cmcluster/your_package/your_package.cntl

(check the name of your package control file)

4. Mount the file systems

mount -a

5. Start your application and make sure everything works fine.

4. Halt the cluster

cmhaltcl

5. Delete the configuration

cmdeleteconf

6. Delete the volume group configuration on the other node

Repeat this for all the volume groups that found out in step 1

vgexport vg??

7. Look at /etc/lvmrc file and if you disabled auto_vg_activate parameter. If so, enable it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try