- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- where is the package ip address
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
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
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
тАО06-15-2007 03:08 AM
тАО06-15-2007 03:08 AM
where is the package ip address
Thanks
(h8193n3a)root# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.1.1.100 10.1.1.100 UH 0 lan0 4136
142.238.64.76 142.238.64.76 UH 0 lan1 4136
142.238.64.65 142.238.64.65 UH 0 lan1:1 4136
10.1.1.0 10.1.1.100 U 2 lan0 1500
142.238.0.0 142.238.64.76 U 3 lan1 1500
142.238.0.0 142.238.64.65 U 3 lan1:1 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 142.238.2.41 UG 0 lan1 0
(h8193n3a)root# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan2* 1500 none none 0 0 0 0 0
lan1:1 1500 142.238.0.0 142.238.64.65 17085877 0 565 0 0
lan1 1500 142.238.0.0 142.238.64.76 44731967 0 49336106 0 0
lan0 1500 10.1.1.0 10.1.1.100 1967595 0 3826205 0 0
lo0 4136 127.0.0.0 127.0.0.1 3034708 0 3034708 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 03:28 AM
тАО06-15-2007 03:28 AM
Re: where is the package ip address
You can see this as it is an additional IP address on the NIC (lan1:1 rather than just lan1)
You specify the IP address in your package run script. To locate this:
1. Find the name of your package using:
cmviewcl -l package
2. Locate the run script for the package:
cmgetconf -p
3. Now look in that file (usually somewhere in /etc/cmcluster/
IP[0]=142.238.64.65
Do you actually want to change it?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 03:31 AM
тАО06-15-2007 03:31 AM
Re: where is the package ip address
142.238.64.65 142.238.64.65 UH 0 lan1:1 4136
Note the 'lan1:1'.
The floating IP address is configured in the package configuration file in /etc/cmcluster/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 03:34 AM
тАО06-15-2007 03:34 AM
Re: where is the package ip address
Package IP's can be seen in /etc/cmcluster/package_name/package_name.cntl
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 03:51 AM
тАО06-15-2007 03:51 AM
Re: where is the package ip address
# grep "^IP\[" /etc/cmcluster/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 03:53 AM
тАО06-15-2007 03:53 AM
Re: where is the package ip address
The virtual interface is bind to the IP in this case lan1:1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 04:53 AM
тАО06-15-2007 04:53 AM
Re: where is the package ip address
The Managing Serviceguard manual located at http://docs.hp.com/en/ha.html#Serviceguard contains this information and much more.
This is my invitation to you to have a look at the manual to help you learn more about Serviceguard concepts to help you be more self reliant.
The relocatable IP concept is described in this section:
http://docs.hp.com/en/B3936-90117/ch03s05.html
The relocatable IP is configured in the package control script.
The package control script is defined in the cluster binary.
You can use this command to locate the appropriate package control script:
# cmviewconf | grep script
Remember that each node that can run the package will have a copy of the package control script.
The relocatable IP is defined by parameters like this in the control script:
IP[0]=""
SUBNET[0]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 02:18 PM
тАО06-15-2007 02:18 PM
Re: where is the package ip address
IP address of the Package is configured in control file.
These are information that I get from the package's control file:
# IP ADDRESSES
# Specify the IP and Subnet address pairs which are used by this package.
# Uncomment IP[0]="" and SUBNET[0]="" and fill in the name of your first
# IP and subnet address. You must begin with IP[0] and SUBNET[0] and
# increment the list in sequence.
#
# For example, if this package uses an IP of 192.10.25.12 and a subnet of
# 192.10.25.0 enter:
# IP[0]=192.10.25.12
# SUBNET[0]=192.10.25.0 # (netmask=255.255.255.0)
#
# Hint: Run "netstat -i" to see the available subnets in the Network field.
#
# IP/Subnet address pairs for each IP address you want to add to a subnet
# interface card. Must be set in pairs, even for IP addresses on the same
# subnet.
#
IP[0]=xxx.xxx.xxx.xxx
SUBNET[0]=xxx.xxx.xxx.xxx
Goodluck