Operating System - HP-UX
1832988 Members
2668 Online
110048 Solutions
New Discussion

Re: fail package when start net

 
Rene Mendez_4
Super Advisor

fail package when start net

Cluster Config

NODE_NAME hp-nodo1
NETWORK_INTERFACE lan1
HEARTBEAT_IP 172.17.3.236
NETWORK_INTERFACE lan0
FIRST_CLUSTER_LOCK_PV /dev/dsk/c31t1d4
# List of serial device file names
# For example:
# SERIAL_DEVICE_FILE /dev/tty0p0

# Possible standby Network Interfaces for lan1: lan0.

NODE_NAME hp-nodo2
NETWORK_INTERFACE lan1
HEARTBEAT_IP 172.17.2.115
FIRST_CLUSTER_LOCK_PV /dev/dsk/c8t1d4

Configuration File
SUBNET 172.17.2.0

Control File

IP[0]="172.17.2.109"
SUBNET[0]="172.17.2.0"

Log file

Node "hp-nodo2": Adding IP address 172.17.2.109 to subnet 172.17.2.0

ERROR: Failed to add IP 172.17.2.109 to subnet 172.17.2.0
ERROR: Function add_ip_address
ERROR: Failed to add IP address to subnet
Jan 18 12:07:41 - Node "hp-nodo2": Remove IP address 172.17.2.109 from subnet 172.17.2.0


Regards
Rene
6 REPLIES 6
Kevin Wright
Honored Contributor

Re: fail package when start net

anything else in syslog? Can you add the IP manually with ipconfig?
Rene Mendez_4
Super Advisor

Re: fail package when start net

CM-pkgbase[16402]: cmmodnet -r -i 172.17.2.109 172.17.2.0
LVM[16492]: vgchange -a n vgbinr
LVM[16500]: vgchange -a n vgdbr
LVM[16508]: vgchange -a n vgmigr
cmcld: Service PKG*9217 terminated due to an exit(0).
cmcld: Halted package pkgbase on node hp-nodo1.
CM-CMD[16526]: cmrunpkg -v -n hp-nodo2 pkgbase
CM-CMD[16526]: Request from root on node hp-nodo1 to start the package
cmcld: Unable to start package pkgbase. Node hp-nodo1 is not able to run it.
melvyn burnard
Honored Contributor

Re: fail package when start net

so what happens if you try to add the ip manually using ifconfig lan1:1 (use man ifconfiog for complete syntax)

Also, what does netstat -in show on both nodes?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Rene Mendez_4
Super Advisor

Re: fail package when start net

Hello, I modified the IP address in nodo2 but same error:
After 172.17.2.115 now: 172.17.3.101

Nodo1:
netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 172.17.2.0 172.17.3.236 1118661 2703 189777 0 0
lan0* 1500 none none 0 0 0 0 0
lo0 4136 127.0.0.0 127.0.0.1 233281 0 233281 0 0


Nodo2:
netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 172.17.2.0 172.17.3.101 11778 18 4920 0 0
lan0* 1500 none none 0 0 0 0 0
lo0 4136 127.0.0.0 127.0.0.1 6189 0 6189 0 0


When configure lan1 with ifconfig
ifconfig lan1:1 172.17.2.109 netmask 255.255.254.0

No problem the ip is correct configure:

netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1:1 1500 172.17.2.0 172.17.2.109 30 0 0 0 0
lan1 1500 172.17.2.0 172.17.3.101 12852 20 5360 0 0
lan0* 1500 none none 0 0 0 0 0
lo0 4136 127.0.0.0 127.0.0.1 6762 0 6762 0 0

Regards
Rene
john xu_1
Advisor

Re: fail package when start net

Hi,

I meet the same issue.

Could you please tell me how to solve finally?

Thanks,

John
Hasan  Atasoy
Honored Contributor

Re: fail package when start net

hi rene ;

cluster nodes are not in the same subnet ;

Hasan.