Operating System - HP-UX
1830410 Members
2376 Online
110002 Solutions
New Discussion

Virtual Switch Fails to Start

 
Krishnapura
Occasional Contributor

Virtual Switch Fails to Start

VM Switch Creation is successful. But when i try to "boot", it fails.
Details are given below:

# hpvmnet -c -S vmsw16 -n 1

# hpvmnet
Name Number State Mode NamePPA MAC Address IPv4 Address
======== ====== ======= ========= ======== ============== ===============
localnet 1 Up Shared N/A N/A
vmsw16 8 Down Shared lan1

# hpvmnet -b -S vmsw16
hpvmnetd: change_notify req/ack fail: status=-1, errno=0
hpvmnetd: Failed to setup link state notification for vmsw16
hpvmnet: ERROR (host): Unable to start hpvmnetd 'vmsw16'.
hpvmnet: Unable to start the vswitch.
hpvmnet: Unable to continue.

Can some one help me on this.
3 REPLIES 3
Eric SAUBIGNAC
Honored Contributor

Re: Virtual Switch Fails to Start

Bonjour,

Is NIC lan1 up ? What is the result of "lanadmin -g 1"

Eric
Krishnapura
Occasional Contributor

Re: Virtual Switch Fails to Start

Yes

# lanadmin -g 1

LAN INTERFACE STATUS DISPLAY
Mon, Feb 15,2010 11:21:12

PPA Number = 1
Description = lan1 HP PCI-X 1000Base-T Release B.11.31.01
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0x1a4b07864f
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 131
Inbound Octets = 4389302
Inbound Unicast Packets = 0
Inbound Non-Unicast Packets = 52730
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 52730
Outbound Octets = 0
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 0
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367

Ethernet-like Statistics Group

Index = 2
Alignment Errors = 0
FCS Errors = 0
Single Collision Frames = 0
Multiple Collision Frames = 0
Deferred Transmissions = 0
Late Collisions = 0
Excessive Collisions = 0
Internal MAC Transmit Errors = 0
Carrier Sense Errors = 0
Frames Too Long = 0
Internal MAC Receive Errors = 0
Eric SAUBIGNAC
Honored Contributor

Re: Virtual Switch Fails to Start

I would tend to point a lowlevel problem, but in a first approach lan1 is up ...

So, what I would do before investigating HPVM layer is to check that lan1 operates properly :

- I guess that you have a lan0, configured with the host IP adress. If yes and if lan1 is connected in the same vlan, check if both NIC can see them together with 'linkloop -i 0 0x1a4b07864f' where '-i 0' is the PPA number of the source NIC (lan0) and 0x1a4b07864f is the MAC adress of the target NIC lan1(lan1). If lan0 and lan1 are not in tne same subnet it won't work.

- Try to add an IP adress to lan1. Ask your Network administrator the right IP subnet to use according to the vlan where lan1 is connected. Then try to ping lan1 from a client, try to telnet too.

If those tests don't work, check with your Network administrator.

If they do, we will have to check HPVM. Which version of HPVM, which version of HP-UX (from swlist) ? Wich kind of NIC card (ioscan -fkn -C lan) : maybe your card is not supported ?