Operating System - HP-UX
1829396 Members
1570 Online
109991 Solutions
New Discussion

assigning ip address for package.

 
SOLVED
Go to solution
khilari
Regular Advisor

assigning ip address for package.

Hi people, i wanted to know how do u assign floating ip address to a package.
And another thing. Now, there are services within a package so does each service has its own ip address which when failed on one node goes onto the other.....
So, its basically the service ip address which is called the package ip address.
Kindly clear on this.
Thanks.
5 REPLIES 5
melvyn burnard
Honored Contributor
Solution

Re: assigning ip address for package.

An IP address is assigned for a package in the package control script, along woth the subnet it has to go on to.
Look for the following:
#IP[0]=""
#SUBNET[0]=""

I would recommend you try reading the managing Serviceguard manual at:
http://docs.hp.com/en/ha

Or even attending a class on Serviceguard
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ninad_1
Honored Contributor

Re: assigning ip address for package.

Khilari,

Ip address is assigned to a package and not service. Alternatively you can configure each service as a package and assign an ip address to each , this may be useful for load sharing but of no use if all the services now configured as packages were to run on the same node.

Regards,
Ninad
khilari
Regular Advisor

Re: assigning ip address for package.

Well, what i really meant to ask was that how do u give it an ip address. I mean first of all i read the command cmmodnet configures the ip address. But, who determines what the ip address of that particular package will be, and what is the criteria to determine that.
Thanks
Ninad_1
Honored Contributor

Re: assigning ip address for package.

Khilari,

The cmmodnet is to be used in your package control script - you will have a package control script for every package configured on your cluster - e.g. /etc/cmcluster/packagename.cntl

As part of your package control script you will have to activate VGs, mount filesystems , assign ip addresses to your lan card ports, start services - service startup will be with cmrunserv etc. etc.
Please refer to Managing service guard manual at http://docs.hp.com/en/ha#Serviceguard

Regards,
Ninad
melvyn burnard
Honored Contributor

Re: assigning ip address for package.

Read my first respone, it answers yur questions. Also read the manuals.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!