Operating System - HP-UX
1832350 Members
2649 Online
110041 Solutions
New Discussion

Re: duplicate guest's name -

 
Jacques Carriere
Regular Advisor

duplicate guest's name -

ivmhost:root ----------------------------------------------------
/opt/hpvm/bin# hpvmnet -V
Name : localnet
number : 1
PID : 1469
State : Up
Mode : Shared
PPA : n/a
Host MAC Address : N/A
Host IP Address : N/A
Number of guests : 1
Guest's Name : vm001
MAC Address : 0x6A4A6FE4062A
IP Address : 192.168.81.71
Vswitch Port : 1

Name : vs1_ssn
number : 16
PID : 10433
State : Up
Mode : Shared
PPA : lan3
Host MAC Address : 0x0017a4766e5a
Host IP Address : 192.168.81.71
Number of guests : 2
Guest's Name : vm001
MAC Address : 0x7E71C27F906B
IP Address : Unknown
Vswitch Port : 1
Guest's Name : vm001
MAC Address : 0x0AD5AE2C1FD3
IP Address : Unknown
Vswitch Port : 2
=========================================
What's the command to remove the duplicate Guest's name?
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: duplicate guest's name -

Hi again,

run

hpvmstatus -P vm001 -v

and post. You need to "hpvmmodify -d" the virtual NIC.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jacques Carriere
Regular Advisor

Re: duplicate guest's name -

# hpvmstatus -v
Version A.02.00.00
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
vm001 3 HPUX On (OS) 2 7 4 4 GB 0

=======================================

I need to assign a VNIC.
On my VM Host/#
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/4/2/0 0x0017A451D22A 1 UP lan1 snap1 1 ETHER Yes 119
0/2/1/0 0x0017A476FE89 0 UP lan0 snap0 2 ETHER Yes 119
0/4/2/1 0x0017A451D22B 2 UP lan2 snap2 3 ETHER Yes 119
0/5/1/0 0x0017A4766E5A 3 UP lan3 snap3 4 ETHER Yes 119

ivmhost:root ----------------------------------------------------
/# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
198.73.83.141 198.73.83.141 UH 0 lan1 4136
192.168.81.71 192.168.81.71 UH 0 lan3 4136
198.73.83.0 198.73.83.141 U 2 lan1 1500
192.168.81.0 192.168.81.71 U 2 lan3 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 198.73.83.1 UG 0 lan1 0

ivmhost:root --------------------------------------------------
I want to assign 192.168.81.71 to my guest server. Fot this, I need "bus,device,mac-addr". Where do I get the PCI bus number?. The nic card slot is 7.



Torsten.
Acclaimed Contributor

Re: duplicate guest's name -

Let us do the first step first.

Please post

hpvmstatus -P vm001 -v

(this will give more information)

To add a NIC you must create a vSwitch first, then add this switch to the HPVM config.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jacques Carriere
Regular Advisor

Re: duplicate guest's name -

/# hpvmnet -v
Version A.02.00.00
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
vs1_ssn 16 Up Shared lan3 0x0017a4766e5a 192.168.81.71

ivmhost:root ----------------------------------------------------
/# /#
Torsten.
Acclaimed Contributor

Re: duplicate guest's name -

Do you really read my posts?




If you want to assign 192.168.81.71 to the guest, you should remove it from the host.

Your lan3 is already assigned to the guest.

Inside the guest this is probably lan0. Assign the IP to this NIC (inside the guest).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!