Operating System - HP-UX
1834163 Members
2482 Online
110064 Solutions
New Discussion

HP IVM Private Network between Hosts

 
SOLVED
Go to solution
Dima Kouznetsov
Advisor

HP IVM Private Network between Hosts

Hello,

I have somewhat of a general question. I am running Integrity VM HPVM B.04.10 on HP-UX 11.31.0909. I have two HPVM Guests running a 2 node ServiceGuard configuration on 1 HPVM Host, and my plan is to install Oracle RAC next. I know from the documentation that I need a public interface (have it) and a private interface for the two nodes to talk.

So my question is how do I go about creating a private network (private IP address) on both nodes? I am limited to only 2 lan interfaces on the HPVM Host, so I created two vswitches and assigned both of them to each of the HPVM Guests, so each guest has 2 interfaces. In this case I am unable to go through a physical switch, so I was wondering if there is a way to go through the vswitch. Or is there another way that I am not thinking about?

Right now I have a public IP address assigned to each of the two HPVM Guests, and the other interface is unused.

Thank you very much in advance for your help,
Dima
5 REPLIES 5
melvyn burnard
Honored Contributor

Re: HP IVM Private Network between Hosts

Use the default localnet that gets created when you install and run Integrity Virtual Machines
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Dima Kouznetsov
Advisor

Re: HP IVM Private Network between Hosts

Thanks for the quick response burnard. Could you please explain what you mean by using localnet. Would I assign it to both Guests with hpvmnet and assume they are interconnected?

If that is true, then all I will need to do after is update:
/etc/hosts, /etc/nsswitch.conf and /etc/rc.config.d/netconf on the guests correct?

Thanks,
Dima
Olivier Masse
Honored Contributor
Solution

Re: HP IVM Private Network between Hosts

Localnet is a vswitch that isn't linked to a particular lan card. So you can just assign it to both your nodes, and use private addresses such as 192.168.10.10 and 192.168.10.11 and you'll simulate a private network that doesn't get out of your VM Host.

I'm not sure you can set these interfaces as avio_lan devices, though, I just checked the ones I have, they use the lan driver, and I don't remember the reason.

Olivier
melvyn burnard
Honored Contributor

Re: HP IVM Private Network between Hosts

Yes, the localnet is an "internal" vswitch that has no connectivity to any physical NIC, or the VM Host, but if you assign this vswitch to both Virtual Machines, then they can communicate across this as if it were a physical connection, just set up your ip address on each VM, and then add in a hostaname to the /etc/hosts file

If you wished to have any extra "internal" switches, simply use the hpvmnet command to create a vswitch, but leave off the -n option
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Dima Kouznetsov
Advisor

Re: HP IVM Private Network between Hosts

Using the localnet and assigning it to the VM Guests worked like a charm, thanks everybody!