- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IP Adress assignment to package
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
Forums
Discussions
Discussions
Discussions
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
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
01-10-2002 06:59 AM
01-10-2002 06:59 AM
IP Adress assignment to package
So next situation:
Package IP adress:
A 199.78.0.10
B 199.78.0.12
C 199.78.0.14
What happens is the following (i.e.):
Package IP adress:
A 199.78.0.14
B 199.78.0.12
C 199.78.0.10
Has anybody ever experienced this??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:08 AM
01-10-2002 07:08 AM
Re: IP Adress assignment to package
The IP is specified in the control file of the package. If IP1 is specified for Package1, then it is not possible for Package2 to try to bring up IP1 unless it is mistakenly configured in the control file of package2.
Once all the packages are up and running, you can see all the IPs up.
To find out the correct IP address brought up by the package, look at the package control log file under /etc/cmcluster/package/ directory. Search for the string "Adding IP Address" or "Remove IP Address".
By the way, how did you come to conclusion that the package is getting a different IP than is configured?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:09 AM
01-10-2002 07:09 AM
Re: IP Adress assignment to package
Please post a copy of the package configuration files for each package. This may help in giving everyone a clue as to where the problem is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:20 AM
01-10-2002 07:20 AM
Re: IP Adress assignment to package
script.
First find the package control script using the following syntax
cmgetconf -p
using the package control script path obtained from above, say
OR
grep ^IP
OR
grep ^IP
OR
sed -n 's/^IP\[.\][=\"]*\([0-9].*[0-9]\).*/\1/p'
OR
-- using the package log file, say
OR
grep ": Adding IP address "
OR
grep ": Adding IP address "
OR
-- using the syslog.log file and name of the package, say
egrep "CM-
OR
egrep "CM-
OR
egrep "CM-
OR
-- using the netstat command
netstat -in | grep : | awk '{print $4}'
Reference : Doc Id: KBQA00000185
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:25 AM
01-10-2002 07:25 AM
Re: IP Adress assignment to package
I must say this is an 1 node test cluster, but it should not make a difference. It has one LAN card lan1 and offcourse not a lan0 dedicated heartbeat lan because there's only one node.
We have also a 5 node cluster with the same configuration and there is no problem at all. The IP is assigned to the package which is configured in the /etc/cmcluster/package/
We have now a workaround and that is to only start one package, which than gets the correct IP adress, package A. And start the applications in package B and C by hand.
But when we start all the packages via the cluster package A does not get the IP adress which has been configured in the configuration file. It seems that which package startup first get the IP adress of package A.
Very very strange indeed, how can a package get an IP-adress from a other configuration file?
I must also mention that IP aliases (virtual IP adresses, like lan1:1, lan1:2 and so on). I have no idea where this is configured??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:15 AM
01-10-2002 08:15 AM
Re: IP Adress assignment to package
Ok I've seen something similar to this before but each package had the correct IP address it just behaved in a weird way:
What was happening was sort of two fold
-1- The subnet in in the various cluster files did NOT correctly match the subnet of the machines lan interface. e.g
# netstat -in
lan0 172.19.23.0 172.19.23.1 - machine
lan0:1 172.19.0.0 172.19.23.2 - package
Note lan0 has a class B netmask & lan0:1 has a class C netmask
-2- SG did not correctly deconfigure a failed network interface (probably because of the above). This left lan0:1 plumbed in with no IP!
The netmask problem is easy to miss & the cluster can work fine 'till failovers start. So check all your machines /etc/rc.config.d/netconf files & /etc/cmcluster/*/*
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:06 AM
01-11-2002 11:06 AM
Re: IP Adress assignment to package
In there you will see what IP address each package is trying to add to which subnet, and this should also be in the syslog.