Operating System - HP-UX
1831356 Members
3089 Online
110024 Solutions
New Discussion

How to assign new IP address to Clustered package.

 
SOLVED
Go to solution
Varghese Mathew
Trusted Contributor

How to assign new IP address to Clustered package.

Hi Everyone,

We have two HP 9000 nodes configured in MC/SG cluster. We need to do a total reconfiguration of the existing cluster like , both the host names, (IP address of nodes remains same), the IP address of the package, Volume groups and file systems.

I would like to know something more but clear steps on how to change the Package IP of the cluster. I'm comfortable with the rest of the things.

In my setup the earlier running package have got shifted to a stand alone server alongwith the package IP, so the frontend users need not change their SAP GUI configuation from their end. So now i need to be very clear and sure that the steps i'm doing in the cluster IP configuration won't affect the new standalone node's IP address. At the moment the cluster is kept down for the same purpose otherwise IP clas will occur.


Thanx in advance..
Cheers !!!
6 REPLIES 6
Rainer von Bongartz
Honored Contributor

Re: How to assign new IP address to Clustered package.

I'm not quite sure I understand your problem. You set the IP address of your package in your package control scrip, just like the rest (VG groups Logocal volumes, mount points etc)

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Varghese Mathew
Trusted Contributor

Re: How to assign new IP address to Clustered package.

Hi Rainer,

Ok, do i just need to do the change in the specified option for the package IP in the package control script file, for giving a new ip address to package ..

Thanks for ur help..

Cheers !!!,
Mathew
Cheers !!!
Rainer von Bongartz
Honored Contributor
Solution

Re: How to assign new IP address to Clustered package.

Mathew,

just edit your control script and then check your configuration using cmcheckconf.
In case ther is no error detected apply the new config with cmapplyconf .
(see man pages for cmcheckconf and cmapplyconf)

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Santosh Nair_1
Honored Contributor

Re: How to assign new IP address to Clustered package.

Varghese,

I believe that the package IPs are only defined within the package control scripts.
The package IPs are associated with the packages, not with the cluster.

So if you just want to get rid of the package, then you should bring the package down:

cmhaltpkg mypkg

Then delete the package configuration from the cluster:

cmdeleteconf -p mypkg
and finally, delete the package directory (first make sure that there is nothing the this directory that you want to keep around):

rm -rf /etc/cmcluster/mypkg


Hope this helps.

-Santosh Nair
Life is what's happening while you're busy making other plans
Varghese Mathew
Trusted Contributor

Re: How to assign new IP address to Clustered package.

Hi Raniner and Santosh,

Thanx guys... for ue responses ...

Cheers !!!
Mathew
Cheers !!!
rimu
New Member

Re: How to assign new IP address to Clustered package.

Hi Rainer

The package IP will be in /etc/cmcluster/pkg_name/pkg_name.cntl file
,it will be in /etc/hosts file too.
you need to edit both.I am also having the same problem

Regards
Ripunjay