- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IP/name to follow package in SG?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2011 09:39 AM
тАО04-22-2011 09:39 AM
this is an IPV4 question...
For instance, if I have three packages in my cluster, on two nodes, and I want each package to be reached via separate IP, and I want that IP to be on whichever node the package is running...
pkg1:IP1:node1
pkg2:IP2:node1
pkg3:IP3:node2
then, if I move pkg2, I should have:
pkg1:IP1:node1
pkg2:IP2:node2
pkg3:IP3:node2
I'm guessing something about the package will set up an IP Alias (lan900:1, for instance)
I'm trying to figure out where this is set...
Been through the latest manual, but it eludes me...a pointer in the right direction would be nice/useful.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2011 10:16 AM
тАО04-22-2011 10:16 AM
Re: IP/name to follow package in SG?
/etc/cmcluster/
if your cluster is set up with the usual settings (not a guarantee but 90% of the time it is so)
grep -e ^IP -e ^SUBNET
You should see the IP address(es) in the output
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2011 10:53 AM
тАО04-22-2011 10:53 AM
Re: IP/name to follow package in SG?
Just fill in the blanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2011 10:58 PM
тАО04-22-2011 10:58 PM
Re: IP/name to follow package in SG?
If you're using the new (modular) package configuration format, then you must make sure the "package_ip" module is included, and use keywords "ip_subnet" and "ip_address" in your package configuration file.
If you're looking at the latest (18th) edition of "Managing Serviceguard", see page 298.
"Managing Serviceguard", 18th edition:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02437444/c02437444.pdf
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2011 06:41 AM
тАО04-23-2011 06:41 AM
SolutionNote, however, that there is no provision for a hostname for the PIP in SG.
This must be set up manually, external to SG.
It's not required, of course, to configure the application clients to use a hostname in lieu of hard IP, but it is usually preferred for convenience, and consistency.
Note: package PIP hostnames are *not* required by for SG operation among the SG nodes.
However, if you do want to use hostname resolution for the PIPs, then you will need to create a hostname (make up a name that relates to the application) for each new PIP and add it into your DNS, or much less conveniently, into the hosts files on the clients.
Usually, app admins want the PIP hostname to be like just "oracle" or "app1oracle".
SG admin may prefer the same name as the package. You could use aliases to accomodate both.
I like using something like "oracleSG" or Poracle" to make it clear that it is an SG package floating IP/name. In fact I usually name my packages with a leading "P" like "Poracle", "Pbanner", etc. and use the package name for the PIP hostname.
(Note: name resolution is *not* case-sensitive, unlike *Package* names, which *are* case-sensitive.)
In any case, of course, you must make sure that the names are not already used on your network for some other host's IP.
The above was relating to the Package IP/name.
For the hostnames of the *SG nodes* themselves, it is different:
IMPORTANT:
It is best practice to have all the SG nodes' hostnames in /etc/hosts.
You will also want to change the "hosts" resolution source order in /etc/nsswitch.conf on all the SG nodes to use "files" first, instead of DNS.
See chapter 5 in the appropriate Managing Service Guard manual for a more detailed discussion of name resolution.
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4162060
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2011 09:58 AM
тАО04-25-2011 09:58 AM