1833396 Members
3511 Online
110052 Solutions
New Discussion

Re: package IP

 
Jessica P
Regular Advisor

package IP

how do i specify the package IP...
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: package IP

In the package control file.

You should have a directory /etc/cmcluster and in that directory should be sub-directories for each of your packages. In each package sub-directory there should a control.sh file.

That file contains all configuration information for the package, including IP address, VG's needed, etc.

Steven E. Protter
Exalted Contributor

Re: package IP

Shalom,

It's just a line in the configuration file. If you generated a template, search for the term IP all caps. You will then see an example you can uncomment and put to use.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stephen Doud
Honored Contributor

Re: package IP

A package IP must be a legal unique IP that can be assigned to a NIC that operates on the same subnet.
The package IP is NOT listed in the cluster configuration file nor any package configuration file. It is only listed in the package control script.

To make a package control script:
# cmmakepkg -s
In the script, locate
#IP[0]=""
#SUBNET[0]=""

1) Remove the comments
2) Add the relocatable IP between the "" in the IP line
3) Edit the SUBNET entry with the proper subnet for that IP (matching a NIC that already operates an IP on the same network).


When you are satisfied with the additions to the script, copy it to the other nodes that will operate the package when necessary.
melvyn burnard
Honored Contributor

Re: package IP

In the package control file.
If you read the Managing Serviceguard manual you would see how it is done.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Dave Olker
Neighborhood Moderator

Re: package IP

Hi Jessica,

Just a suggestion... If you're relatively new to ServiceGuard you might benefit from downloading the ServiceGuard Manager tool from HP's Software Depot site: http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8325BA

This is a free product and it supports the very latest version of ServiceGuard A.11.17. This is a graphical tool with extensive online help to guide you through creating a ServiceGuard cluster and packages.

You might find it easier to build a cluster and packages with this tool than going through the manuals and crafting the scripts by hand.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo