RE: VMware ESXi 4.1

2011-05-25 Thread Waldron, Michael H
Thanks John and Andy.

Your suggestions worked perfectly!

Mike

Mike Waldron
Systems Specialist
ITS Research Computing
University of North Carolina at Chapel Hill
CB #3420, ITS Manning, Rm 2509
919-962-9778

From: John Ma [john...@marist.edu]
Sent: Tuesday, May 24, 2011 5:13 PM
To: vcl-user@incubator.apache.org
Subject: Re: VMware ESXi 4.1

Mike,

We have been using the following script to add 'public' interface. You will 
need to adjust the vSwitch number and IP address etc to meet your need.

esxcfg-vswitch -a vSwitch1
esxcfg-vswitch -A 'Management Network Public' vSwitch1
esxcfg-vswitch -L vmnic1 vSwitch1
esxcfg-vmknic -a -i 10.10.4.50 -n 255.255.255.0 -p 'Management Network Public'
esxcfg-route 10.10.4.1
esxcfg-vswitch -A Public vSwitch1

John Ma
Server Administrator
Marist College




From:Andy Kurth 
To:vcl-user@incubator.apache.org
Date:05/24/2011 04:50 PM
Subject:Re: VMware ESXi 4.1




We're using ESXi 4.1 with separate virtual switches for the public and
private networks.  Our hosts come up with the public interface
receiving its IP address via DHCP using vSwitch0.  It sounds like this
is how yours is configured.  The networking configuration panel has
the following:

Virtual Switch: vSwitch0
* Virtual Machine Port Group
** Name: Public
* VMkernel Port
** Name: Management Network
** vmk0: 

To configure the private network virtual switch:
-Add Networking
-Connection Types: VMkernel
-Create a virtual switch - select the private interface (vmnicx)
-Network Label: VMkernel
-Use the following IP settings: enter your private IP address and subnet mask
-Finish
-Click Properties next to Virtual Switch: vSwitch1
-Click Add
-Connection Types: Virtual Machine
-Network Label: Private
-Finish

ESXi doesn't like multiple interfaces receiving their addresses via
DHCP so we have to configure a static IP address for the private
interface.  I would include a screenshot of our networking
configuration in the vSphere Client but I doubt it will go through.
Here is the output of the esxcfg-* commands after SSH'ing in:

~ # esxcfg-vswitch -l
Switch Name  Num Ports   Used Ports  Configured Ports  MTU Uplinks
vSwitch0 128 3   128   1500vmnic1

PortGroup NameVLAN ID  Used Ports  Uplinks
Public00   vmnic1
Management Network01   vmnic1

Switch Name  Num Ports   Used Ports  Configured Ports  MTU Uplinks
vSwitch1 128 3   128   1500vmnic2

PortGroup NameVLAN ID  Used Ports  Uplinks
Private   00   vmnic2
VMkernel  01   vmnic2


~ # esxcfg-vmknic -l
Interface  Port Group/DVPort   IP Family IP AddressNetmask
Broadcast   MAC Address   MTU TSO MSS   Enabled Type
vmk0   Management Network  IPv4   255.255.254.0
152.7.99.255 150065535 trueDHCP
vmk1   VMkernelIPv4   255.255.240.0
10.10.15.255 150065535 trueSTATIC

-Andy


On Tue, May 24, 2011 at 10:07 AM, Waldron, Michael H
 wrote:
> Has anyone used the free version of VMware ESXi 4.1?
>
> I started playing with it to possibly use with our VCL after it's been
> upgraded to 2.2.1, however I can't figure out how to get both our public and
> private networks defined on it. After initial install on a blade, it
> configures the public interface and I'm able to connect to it via the
> vSphere client. But everytime I try to add the private network to it, it
> configures a virtual mac address rather than using the mac address of the
> physical interface like it's doing for the public interface.
>
> The result is this interface is getting a 169.254.0.1 IP address, rather
> than the IP it should get from the DHCP server. I also enabled SSH on the
> security profile, however it's not answering SSH connection attempts.
>
> Just wondering if anyone has had some experience with setting this up.
>
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB #3420, ITS Manning, Rm 2509
> 919-962-9778



Re: VMware ESXi 4.1

2011-05-25 Thread John Ma
Mike,

We have been using the following script to add 'public' interface. You 
will need to adjust the vSwitch number and IP address etc to meet your 
need.

esxcfg-vswitch -a vSwitch1
esxcfg-vswitch -A 'Management Network Public' vSwitch1
esxcfg-vswitch -L vmnic1 vSwitch1
esxcfg-vmknic -a -i 10.10.4.50 -n 255.255.255.0 -p 'Management Network 
Public'
esxcfg-route 10.10.4.1
esxcfg-vswitch -A Public vSwitch1

John Ma
Server Administrator
Marist College




From:   Andy Kurth 
To: vcl-user@incubator.apache.org
Date:   05/24/2011 04:50 PM
Subject:Re: VMware ESXi 4.1



We're using ESXi 4.1 with separate virtual switches for the public and
private networks.  Our hosts come up with the public interface
receiving its IP address via DHCP using vSwitch0.  It sounds like this
is how yours is configured.  The networking configuration panel has
the following:

Virtual Switch: vSwitch0
* Virtual Machine Port Group
** Name: Public
* VMkernel Port
** Name: Management Network
** vmk0: 

To configure the private network virtual switch:
-Add Networking
-Connection Types: VMkernel
-Create a virtual switch - select the private interface (vmnicx)
-Network Label: VMkernel
-Use the following IP settings: enter your private IP address and subnet 
mask
-Finish
-Click Properties next to Virtual Switch: vSwitch1
-Click Add
-Connection Types: Virtual Machine
-Network Label: Private
-Finish

ESXi doesn't like multiple interfaces receiving their addresses via
DHCP so we have to configure a static IP address for the private
interface.  I would include a screenshot of our networking
configuration in the vSphere Client but I doubt it will go through.
Here is the output of the esxcfg-* commands after SSH'ing in:

~ # esxcfg-vswitch -l
Switch Name  Num Ports   Used Ports  Configured Ports  MTU Uplinks
vSwitch0 128 3   128   1500vmnic1

 PortGroup NameVLAN ID  Used Ports  Uplinks
 Public00   vmnic1
 Management Network01   vmnic1

Switch Name  Num Ports   Used Ports  Configured Ports  MTU Uplinks
vSwitch1 128 3   128   1500vmnic2

 PortGroup NameVLAN ID  Used Ports  Uplinks
 Private   00   vmnic2
 VMkernel  01   vmnic2


~ # esxcfg-vmknic -l
Interface  Port Group/DVPort   IP Family IP AddressNetmask
Broadcast   MAC Address   MTU TSO MSS   Enabled Type
vmk0   Management Network  IPv4   255.255.254.0
152.7.99.255 150065535 trueDHCP
vmk1   VMkernelIPv4   255.255.240.0
10.10.15.255 150065535 trueSTATIC

-Andy


On Tue, May 24, 2011 at 10:07 AM, Waldron, Michael H
 wrote:
> Has anyone used the free version of VMware ESXi 4.1?
>
> I started playing with it to possibly use with our VCL after it's been
> upgraded to 2.2.1, however I can't figure out how to get both our public 
and
> private networks defined on it. After initial install on a blade, it
> configures the public interface and I'm able to connect to it via the
> vSphere client. But everytime I try to add the private network to it, it
> configures a virtual mac address rather than using the mac address of 
the
> physical interface like it's doing for the public interface.
>
> The result is this interface is getting a 169.254.0.1 IP address, rather
> than the IP it should get from the DHCP server. I also enabled SSH on 
the
> security profile, however it's not answering SSH connection attempts.
>
> Just wondering if anyone has had some experience with setting this up.
>
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB #3420, ITS Manning, Rm 2509
> 919-962-9778



Re: VMware ESXi 4.1

2011-05-24 Thread Andy Kurth
We're using ESXi 4.1 with separate virtual switches for the public and
private networks.  Our hosts come up with the public interface
receiving its IP address via DHCP using vSwitch0.  It sounds like this
is how yours is configured.  The networking configuration panel has
the following:

Virtual Switch: vSwitch0
* Virtual Machine Port Group
** Name: Public
* VMkernel Port
** Name: Management Network
** vmk0: 

To configure the private network virtual switch:
-Add Networking
-Connection Types: VMkernel
-Create a virtual switch - select the private interface (vmnicx)
-Network Label: VMkernel
-Use the following IP settings: enter your private IP address and subnet mask
-Finish
-Click Properties next to Virtual Switch: vSwitch1
-Click Add
-Connection Types: Virtual Machine
-Network Label: Private
-Finish

ESXi doesn't like multiple interfaces receiving their addresses via
DHCP so we have to configure a static IP address for the private
interface.  I would include a screenshot of our networking
configuration in the vSphere Client but I doubt it will go through.
Here is the output of the esxcfg-* commands after SSH'ing in:

~ # esxcfg-vswitch -l
Switch Name  Num Ports   Used Ports  Configured Ports  MTU Uplinks
vSwitch0 128 3   128   1500vmnic1

 PortGroup NameVLAN ID  Used Ports  Uplinks
 Public00   vmnic1
 Management Network01   vmnic1

Switch Name  Num Ports   Used Ports  Configured Ports  MTU Uplinks
vSwitch1 128 3   128   1500vmnic2

 PortGroup NameVLAN ID  Used Ports  Uplinks
 Private   00   vmnic2
 VMkernel  01   vmnic2


~ # esxcfg-vmknic -l
Interface  Port Group/DVPort   IP Family IP AddressNetmask
Broadcast   MAC Address   MTU TSO MSS   Enabled Type
vmk0   Management Network  IPv4   255.255.254.0
152.7.99.255 150065535 trueDHCP
vmk1   VMkernelIPv4   255.255.240.0
10.10.15.255 150065535 trueSTATIC

-Andy


On Tue, May 24, 2011 at 10:07 AM, Waldron, Michael H
 wrote:
> Has anyone used the free version of VMware ESXi 4.1?
>
> I started playing with it to possibly use with our VCL after it's been
> upgraded to 2.2.1, however I can't figure out how to get both our public and
> private networks defined on it. After initial install on a blade, it
> configures the public interface and I'm able to connect to it via the
> vSphere client. But everytime I try to add the private network to it, it
> configures a virtual mac address rather than using the mac address of the
> physical interface like it's doing for the public interface.
>
> The result is this interface is getting a 169.254.0.1 IP address, rather
> than the IP it should get from the DHCP server. I also enabled SSH on the
> security profile, however it's not answering SSH connection attempts.
>
> Just wondering if anyone has had some experience with setting this up.
>
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB #3420, ITS Manning, Rm 2509
> 919-962-9778


RE: VMware ESXi 4.1

2011-05-24 Thread Waldron, Michael H
Thank you Daiyu. That fixed my ssh problem. Now I just need to get my private 
network added.


Mike Waldron
Systems Specialist
ITS Research Computing
University of North Carolina at Chapel Hill
CB #3420, ITS Manning, Rm 2509
919-962-9778

From: Hayashi, Daiyu [dhaya...@exchange.fullerton.edu]
Sent: Tuesday, May 24, 2011 10:38 AM
To: 'vcl-user@incubator.apache.org'
Subject: Re: VMware ESXi 4.1

Try this for your ssh issue, make sure your user has permission to use it.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017910



Sent from my blackberry

From: Waldron, Michael H [mailto:mwald...@email.unc.edu]
Sent: Tuesday, May 24, 2011 07:07 AM
To: vcl-user@incubator.apache.org 
Subject: VMware ESXi 4.1

Has anyone used the free version of VMware ESXi 4.1?

I started playing with it to possibly use with our VCL after it's been upgraded 
to 2.2.1, however I can't figure out how to get both our public and private 
networks defined on it. After initial install on a blade, it configures the 
public interface and I'm able to connect to it via the vSphere client. But 
everytime I try to add the private network to it, it configures a virtual mac 
address rather than using the mac address of the physical interface like it's 
doing for the public interface.

The result is this interface is getting a 169.254.0.1 IP address, rather than 
the IP it should get from the DHCP server. I also enabled SSH on the security 
profile, however it's not answering SSH connection attempts.

Just wondering if anyone has had some experience with setting this up.

Mike Waldron
Systems Specialist
ITS Research Computing
University of North Carolina at Chapel Hill
CB #3420, ITS Manning, Rm 2509
919-962-9778


Re: VMware ESXi 4.1

2011-05-24 Thread Hayashi, Daiyu
Try this for your ssh issue, make sure your user has permission to use it.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017910



Sent from my blackberry

From: Waldron, Michael H [mailto:mwald...@email.unc.edu]
Sent: Tuesday, May 24, 2011 07:07 AM
To: vcl-user@incubator.apache.org 
Subject: VMware ESXi 4.1

Has anyone used the free version of VMware ESXi 4.1?

I started playing with it to possibly use with our VCL after it's been upgraded 
to 2.2.1, however I can't figure out how to get both our public and private 
networks defined on it. After initial install on a blade, it configures the 
public interface and I'm able to connect to it via the vSphere client. But 
everytime I try to add the private network to it, it configures a virtual mac 
address rather than using the mac address of the physical interface like it's 
doing for the public interface.

The result is this interface is getting a 169.254.0.1 IP address, rather than 
the IP it should get from the DHCP server. I also enabled SSH on the security 
profile, however it's not answering SSH connection attempts.

Just wondering if anyone has had some experience with setting this up.

Mike Waldron
Systems Specialist
ITS Research Computing
University of North Carolina at Chapel Hill
CB #3420, ITS Manning, Rm 2509
919-962-9778