Re: Help with external DHCP issue

2010-04-14 Thread Kiran N
Thanks to all..
The good news is that finally the network is setup and it shows both the
private and public IP addresses in correct manner.The problem was with the
mac addresses.



On Tue, Apr 13, 2010 at 1:31 PM, Aaron Peeler  wrote:

> Is dhcpd running correctly on the private network, the vm guest is listed
> correct mac address, etc?
>
> If so, check the message log. Are there any dhcp entries, dhcpinform,
> dhcprequest, dhcpack, denial, etc related to the guest?
>
> -A
>
>
> On 4/13/10 11:42 AM, Kiran N wrote:
>
>> Thanks Vinay, Aaron for the help!
>> I tried changing it to 5 and now.. it does recognize the 2 networks( as
>> seen in VI client) in the correct manner. It shows the public IP address,
>> but no private IP address.
>> Also, in the vcld.log, it still shows the message:
>> 2010-04-13 10:23:35|15069|35:35|reload|
>> vmware.pm:load(856)|sshd is NOT active on vcl01 yet
>> When seen in console in VI client, there is limited or no network
>> connectivity status..
>>
>> [PS:attached is the new vcx file]
>>
>> thanks
>> Kiran
>>
>>
>


-- 
Thanks,
Kiran


Re: Help with external DHCP issue

2010-04-13 Thread Aaron Peeler
Is dhcpd running correctly on the private network, the vm guest is 
listed correct mac address, etc?


If so, check the message log. Are there any dhcp entries, dhcpinform, 
dhcprequest, dhcpack, denial, etc related to the guest?


-A

On 4/13/10 11:42 AM, Kiran N wrote:

Thanks Vinay, Aaron for the help!
I tried changing it to 5 and now.. it does recognize the 2 networks( 
as seen in VI client) in the correct manner. It shows the public IP 
address, but no private IP address.

Also, in the vcld.log, it still shows the message:
2010-04-13 10:23:35|15069|35:35|reload|
vmware.pm:load(856)|sshd is NOT active on vcl01 yet
When seen in console in VI client, there is limited or no network 
connectivity status..


[PS:attached is the new vcx file]

thanks
Kiran





Re: Help with external DHCP issue

2010-04-13 Thread Kiran N
Thanks Vinay, Aaron for the help!
I tried changing it to 5 and now.. it does recognize the 2 networks( as seen
in VI client) in the correct manner. It shows the public IP address, but no
private IP address.
Also, in the vcld.log, it still shows the message:
2010-04-13 10:23:35|15069|35:35|reload|
vmware.pm:load(856)|sshd is NOT active on vcl01 yet
When seen in console in VI client, there is limited or no network
connectivity status..

[PS:attached is the new vcx file]

thanks
Kiran


On Tue, Apr 13, 2010 at 11:28 AM, Aaron Peeler wrote:

> Yes, change the vmtypeid to 5 and try to load the image again through vcl.
>
> -A
>
>
> On 4/13/10 11:02 AM, Kiran N wrote:
>
>> It is set to 3 , since as discussed with my co worker Brian Copcea, it
>> says
>> it is ESX provisioning but practically the most of the provisioning scheme
>> is GSX with few added ESX features..Do u suggest me to change it to 5..?
>> I did notice that VCL is generating it differently.. but could not get the
>> probable fix for it since the database entries are right..
>>
>> Thanks,
>> Kiran
>>
>> On Tue, Apr 13, 2010 at 10:52 AM, Aaron Peeler> >wrote:
>>
>>
>>
>>> In your assigned vmprofile. What is your vmtypeid set to?  It should be
>>> set
>>> to id 5 which is 'vmwareESX3'
>>>
>>> The vcl generated vmx file is creating EthernetX.vnet instead of
>>> EthernetX.networkName.
>>>
>>> Aaron
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 4/13/10 10:25 AM, Kiran N wrote:
>>>
>>>
>>>
 Yes.. its the initial vm created..
 Please find the files are attached with the emal..

 Thanks,
 Kiran



>>>
>


-- 
Thanks,
Kiranmye Nellimarla
Graduate,Computer Science
University of Texas at Dallas
Contact:206-465-4235
#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "4"
memsize = "512"
displayName = "esx3-win2003-v0vcl01"
guestOS = "winnetenterprise"
uuid.location = "56 4d cb e6 ab e0 6a e3-4f 42 4d 04 ec 86 3e a0"
uuid.bios = "56 4d a8 df fb 38 d0 c5-25 73 d4 01 16 06 4e c0"
Ethernet0.present = "TRUE"
Ethernet1.present = "TRUE"
Ethernet0.networkName = "VM_Access"
Ethernet1.networkName = "VCL VM Private Net Access"
ethernet0.wakeOnPcktRcv = "false"
ethernet1.wakeOnPcktRcv = "false"
ethernet0.address = "00:50:56:2A:4A:00"
ethernet1.address = "00:50:56:2A:4B:00"
ethernet0.addressType = "static"
ethernet1.addressType = "static"
gui.exitOnCLIHLT = "FALSE"
uuid.action = "keep"
snapshot.disabled = "TRUE"
floppy0.present = "FALSE"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
checkpoint.vmState = ""
scsi0:0.present = "TRUE"
scsi0.present = "TRUE"
scsi0.sharedBus = "none"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0.virtualDev = "lsilogic"
scsi0:0.fileName 
="/vmfs/volumes/VCL0/golden/esx3-win2003-v0/esx3-win2003-v0.vmdk"
scsi0:0.mode = "independent-nonpersistent"
scsi0:0.redo = "./esx3-win2003-v0.vmdk.REDO_BETcqZ"

extendedConfigFile = "esx3-win2003-v0vcl01.vmxf"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "manual"

tools.syncTime = "FALSE"
sched.swap.derivedName = 
"/vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01-3c1689ed.vswp"
hostCPUID.0 = "000168747541444d416369746e65"
guestCPUID.0 = "000168747541444d416369746e65"
userCPUID.0 = "000168747541444d416369746e65"
hostCPUID.1 = "00040f12000208002001178bfbff"
guestCPUID.1 = "00040f1208002001078bbbff"
userCPUID.1 = "00040f12000208002001078bbbff"
hostCPUID.8001 = "00040f120353001febd3fbff"
guestCPUID.8001 = "00040f1203530009ebd3fbff"
userCPUID.8001 = "00040f1203530009ebd3fbff"
evcCompatibilityMode = "FALSE"




Re: Help with external DHCP issue

2010-04-13 Thread Aaron Peeler

Yes, change the vmtypeid to 5 and try to load the image again through vcl.

-A

On 4/13/10 11:02 AM, Kiran N wrote:

It is set to 3 , since as discussed with my co worker Brian Copcea, it says
it is ESX provisioning but practically the most of the provisioning scheme
is GSX with few added ESX features..Do u suggest me to change it to 5..?
I did notice that VCL is generating it differently.. but could not get the
probable fix for it since the database entries are right..

Thanks,
Kiran

On Tue, Apr 13, 2010 at 10:52 AM, Aaron Peelerwrote:

   

In your assigned vmprofile. What is your vmtypeid set to?  It should be set
to id 5 which is 'vmwareESX3'

The vcl generated vmx file is creating EthernetX.vnet instead of
EthernetX.networkName.

Aaron






On 4/13/10 10:25 AM, Kiran N wrote:

 

Yes.. its the initial vm created..
Please find the files are attached with the emal..

Thanks,
Kiran

   




Re: Help with external DHCP issue

2010-04-13 Thread Kiran N
It is set to 3 , since as discussed with my co worker Brian Copcea, it says
it is ESX provisioning but practically the most of the provisioning scheme
is GSX with few added ESX features..Do u suggest me to change it to 5..?
I did notice that VCL is generating it differently.. but could not get the
probable fix for it since the database entries are right..

Thanks,
Kiran

On Tue, Apr 13, 2010 at 10:52 AM, Aaron Peeler wrote:

> In your assigned vmprofile. What is your vmtypeid set to?  It should be set
> to id 5 which is 'vmwareESX3'
>
> The vcl generated vmx file is creating EthernetX.vnet instead of
> EthernetX.networkName.
>
> Aaron
>
>
>
>
>
>
> On 4/13/10 10:25 AM, Kiran N wrote:
>
>> Yes.. its the initial vm created..
>> Please find the files are attached with the emal..
>>
>> Thanks,
>> Kiran
>>
>
>
> --
>
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
> aaron_pee...@ncsu.edu
> 919-513-4571
>
>


Re: Help with external DHCP issue

2010-04-13 Thread Aaron Peeler
In your assigned vmprofile. What is your vmtypeid set to?  It should be 
set to id 5 which is 'vmwareESX3'


The vcl generated vmx file is creating EthernetX.vnet instead of 
EthernetX.networkName.


Aaron





On 4/13/10 10:25 AM, Kiran N wrote:

Yes.. its the initial vm created..
Please find the files are attached with the emal..

Thanks,
Kiran



--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: Help with external DHCP issue

2010-04-13 Thread Kiran N
Yes.. its the initial vm created..
Please find the files are attached with the emal..

Thanks,
Kiran

On Tue, Apr 13, 2010 at 10:03 AM, Aaron Peeler wrote:

>
>
> On 4/13/10 9:38 AM, Kiran N wrote:
>
>> In addition to the previous email, the base Windows 2003 image does power
>> on
>> and take the network settings in the correct manner(seen in VI client).
>>
>>
> On the working vm. Is this the initial vm guest that you created?
>
>
>  When I try to make a reservation on this image, the new virtual machine
>> gets
>> powered on but is unable to detect the networkname or devname.
>> I checked the .vmdk files created and are exactly the same.
>>
>>
>>
> If the vm is not detecting the network esx adapters on startup. This is
> telling me that the vcl generated vmx file has invalid adapter names
> somehow. Maybe a strange char or something.
> Can you post follow:
> - the vcl generated vmx file
> - the default vmx file of your working virtual machine
> - the database variables of your vmprofile virtualswitch0, and
> virtualswitch1 for the assigned vmprofile
>
> Thanks,
> Aaron
>
>
>
>  Thanks,
>> Kiran
>>
>>
>> On Tue, Apr 13, 2010 at 9:33 AM, Kiran N
>>  wrote:
>>
>>
>>
>>> Yes.. it does match!
>>> In this installation, the visrtualswitch0 is the public port and
>>> virtualswitch1 is private. They are named exactly same as the virtual
>>> machine configuration..
>>>
>>> Thanks,
>>> Kiran
>>>
>>>
>>> On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peeler>> >wrote:
>>>
>>>
>>>
 Hi Kiran,

 Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match
 the adapters listed on your esx server?

 Aaron



 On 4/12/10 3:11 PM, Kiran N wrote:



> hello Josh,
> I am facing some what similar issue.I have added a new computer
> host(virtual
> machine).
> I checked the dhcp.conf files, the addressing, etc/hosts file.
> But on making a reservation, my virtual machine does startup, but its
> not
> getting any IP addresses assigned. Its unable to detect any networks
> created,
> I have renamed the  .vmdk and -flat.vmdk files according to the naming
> convention
> (Note: we are using ESX provisioning and it is a Windows 2003 image).
> Is there anythin specific you wanted me to check??
>
> Thanks,
> Kiran
>
> On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompson
>
>> wrote:
>>
>>
>
>
>
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Jeff,
>>
>> VCL will handle creating the virtual machines on the VMWare host.  It
>> manages
>> both the vmdk and vmx files, and then registers/unregisters the
>> virtual
>> machines as needed.  What it doesn't currently do is automatically
>> create
>> new
>> virtual machines in its own database or dynamically assign virtual
>> machines
>> to VM hosts.
>>
>> This is what you should do next time you need to add virtual machines:
>>
>> * look at the highest MAC address assigned in the computers table
>> * go to the Add Multiple Computers page, enter the MAC address that
>> would
>> come
>> after what you looked up, and enter the rest of the information
>> required
>> on
>> that page.
>> * get the DHCP info and add it to your dhcpd.conf file
>> * add entries to /etc/hosts for the virtual machines
>> * go to the Virtual Hosts section of the site and assign the new
>> virtual
>> machines to VM hosts
>>
>> After doing that, vcld should be able to provision reservations for
>> the
>> virtual machines.
>>
>> Aaron/Andy: correct me if I missed anything.
>>
>> Josh
>>
>> On Friday February 19, 2010, Jeffrey Wisman wrote:
>>
>>
>>
>>
>>> I did use the "Add Multiple" for this, but I didn't put a MAC as we
>>>
>>>
>>>
>>>
>> hadn't
>>
>>
>>
>>
>>> created virtual machines for these (and thus had no MAC to use).  I
>>>
>>>
>>>
>>>
>> created
>>
>>
>>
>>
>>> 10 computers using add multiple.
>>>
>>> I plan to create 10 virtual machines on the VMWare host and get their
>>> MAC
>>> addresses and add them to the 10 computers in the computer table that
>>>
>>>
>>>
>>>
>> were
>>
>>
>>
>>
>>> created with add multiple.  From what I understand, this should
>>> resolve
>>>
>>>
>>>
>>>
>> it.
>>
>>
>>
>>
>>> Correct me if I'm wrong.
>>>
>>> To save some time next time, I'd have created the 10 virtual machines
>>> first, grabbed the first MAC address, and then used the "Add
>>> Multiple"
>>>
>>>
>>>
>>>
>> with
>>
>>
>>
>>
>>> that MAC address.  I'd still have to actually create (or clone) the
>>> 10
>>> virtual machines though.
>>>
>>

Re: Help with external DHCP issue

2010-04-13 Thread Aaron Peeler



On 4/13/10 9:38 AM, Kiran N wrote:

In addition to the previous email, the base Windows 2003 image does power on
and take the network settings in the correct manner(seen in VI client).
   

On the working vm. Is this the initial vm guest that you created?


When I try to make a reservation on this image, the new virtual machine gets
powered on but is unable to detect the networkname or devname.
I checked the .vmdk files created and are exactly the same.

   
If the vm is not detecting the network esx adapters on startup. This is 
telling me that the vcl generated vmx file has invalid adapter names 
somehow. Maybe a strange char or something.

Can you post follow:
- the vcl generated vmx file
- the default vmx file of your working virtual machine
- the database variables of your vmprofile virtualswitch0, and 
virtualswitch1 for the assigned vmprofile


Thanks,
Aaron



Thanks,
Kiran


On Tue, Apr 13, 2010 at 9:33 AM, Kiran N  wrote:

   

Yes.. it does match!
In this installation, the visrtualswitch0 is the public port and
virtualswitch1 is private. They are named exactly same as the virtual
machine configuration..

Thanks,
Kiran


On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peelerwrote:

 

Hi Kiran,

Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match
the adapters listed on your esx server?

Aaron



On 4/12/10 3:11 PM, Kiran N wrote:

   

hello Josh,
I am facing some what similar issue.I have added a new computer
host(virtual
machine).
I checked the dhcp.conf files, the addressing, etc/hosts file.
But on making a reservation, my virtual machine does startup, but its not
getting any IP addresses assigned. Its unable to detect any networks
created,
I have renamed the  .vmdk and -flat.vmdk files according to the naming
convention
(Note: we are using ESX provisioning and it is a Windows 2003 image).
Is there anythin specific you wanted me to check??

Thanks,
Kiran

On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompson 

wrote:
   



 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeff,

VCL will handle creating the virtual machines on the VMWare host.  It
manages
both the vmdk and vmx files, and then registers/unregisters the virtual
machines as needed.  What it doesn't currently do is automatically
create
new
virtual machines in its own database or dynamically assign virtual
machines
to VM hosts.

This is what you should do next time you need to add virtual machines:

* look at the highest MAC address assigned in the computers table
* go to the Add Multiple Computers page, enter the MAC address that
would
come
after what you looked up, and enter the rest of the information required
on
that page.
* get the DHCP info and add it to your dhcpd.conf file
* add entries to /etc/hosts for the virtual machines
* go to the Virtual Hosts section of the site and assign the new virtual
machines to VM hosts

After doing that, vcld should be able to provision reservations for the
virtual machines.

Aaron/Andy: correct me if I missed anything.

Josh

On Friday February 19, 2010, Jeffrey Wisman wrote:


   

I did use the "Add Multiple" for this, but I didn't put a MAC as we


 

hadn't


   

created virtual machines for these (and thus had no MAC to use).  I


 

created


   

10 computers using add multiple.

I plan to create 10 virtual machines on the VMWare host and get their
MAC
addresses and add them to the 10 computers in the computer table that


 

were


   

created with add multiple.  From what I understand, this should resolve


 

it.


   

Correct me if I'm wrong.

To save some time next time, I'd have created the 10 virtual machines
first, grabbed the first MAC address, and then used the "Add Multiple"


 

with


   

that MAC address.  I'd still have to actually create (or clone) the 10
virtual machines though.

Thanks,
Jeff

On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson


 

wrote:


   

-BEGIN PGP SIGNED MESSAGE-
 

Hash: SHA1

On Friday February 19, 2010, Jeffrey Wisman wrote:


   

Am I misunderstanding, or do I need to create 10 virtual machines to


 

go
   


   

  with my 10 "computers" and then assign the mac address from each
 

virtual machine to each computer?  This doesn't seem especially
scalable, so I


 

hope



   

I'm misunderstanding and that there is really something else going


 

on.
   


   

Jeff,
 

The "Add Multiple" checkbox on Manage Computers->Edit Computer
Information is
designed to help with this.  You should only need to enter the
information on
the "Add Multiple Computers" page that link takes you to one time to
generate
as many virtual machines as you want.  Make sure you enter the


   

start/end
 


 

Re: Help with external DHCP issue

2010-04-13 Thread Kiran N
In addition to the previous email, the base Windows 2003 image does power on
and take the network settings in the correct manner(seen in VI client).
When I try to make a reservation on this image, the new virtual machine gets
powered on but is unable to detect the networkname or devname.
I checked the .vmdk files created and are exactly the same.

Thanks,
Kiran


On Tue, Apr 13, 2010 at 9:33 AM, Kiran N  wrote:

> Yes.. it does match!
> In this installation, the visrtualswitch0 is the public port and
> virtualswitch1 is private. They are named exactly same as the virtual
> machine configuration..
>
> Thanks,
> Kiran
>
>
> On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peeler wrote:
>
>> Hi Kiran,
>>
>> Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match
>> the adapters listed on your esx server?
>>
>> Aaron
>>
>>
>>
>> On 4/12/10 3:11 PM, Kiran N wrote:
>>
>>> hello Josh,
>>> I am facing some what similar issue.I have added a new computer
>>> host(virtual
>>> machine).
>>> I checked the dhcp.conf files, the addressing, etc/hosts file.
>>> But on making a reservation, my virtual machine does startup, but its not
>>> getting any IP addresses assigned. Its unable to detect any networks
>>> created,
>>> I have renamed the  .vmdk and -flat.vmdk files according to the naming
>>> convention
>>> (Note: we are using ESX provisioning and it is a Windows 2003 image).
>>> Is there anythin specific you wanted me to check??
>>>
>>> Thanks,
>>> Kiran
>>>
>>> On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompson>> >wrote:
>>>
>>>
>>>
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jeff,

 VCL will handle creating the virtual machines on the VMWare host.  It
 manages
 both the vmdk and vmx files, and then registers/unregisters the virtual
 machines as needed.  What it doesn't currently do is automatically
 create
 new
 virtual machines in its own database or dynamically assign virtual
 machines
 to VM hosts.

 This is what you should do next time you need to add virtual machines:

 * look at the highest MAC address assigned in the computers table
 * go to the Add Multiple Computers page, enter the MAC address that
 would
 come
 after what you looked up, and enter the rest of the information required
 on
 that page.
 * get the DHCP info and add it to your dhcpd.conf file
 * add entries to /etc/hosts for the virtual machines
 * go to the Virtual Hosts section of the site and assign the new virtual
 machines to VM hosts

 After doing that, vcld should be able to provision reservations for the
 virtual machines.

 Aaron/Andy: correct me if I missed anything.

 Josh

 On Friday February 19, 2010, Jeffrey Wisman wrote:


> I did use the "Add Multiple" for this, but I didn't put a MAC as we
>
>
 hadn't


> created virtual machines for these (and thus had no MAC to use).  I
>
>
 created


> 10 computers using add multiple.
>
> I plan to create 10 virtual machines on the VMWare host and get their
> MAC
> addresses and add them to the 10 computers in the computer table that
>
>
 were


> created with add multiple.  From what I understand, this should resolve
>
>
 it.


> Correct me if I'm wrong.
>
> To save some time next time, I'd have created the 10 virtual machines
> first, grabbed the first MAC address, and then used the "Add Multiple"
>
>
 with


> that MAC address.  I'd still have to actually create (or clone) the 10
> virtual machines though.
>
> Thanks,
> Jeff
>
> On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson
>
>
 wrote:


> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> On Friday February 19, 2010, Jeffrey Wisman wrote:
>>
>>
>>> Am I misunderstanding, or do I need to create 10 virtual machines to
>>>
>>>
>> go


>  with my 10 "computers" and then assign the mac address from each
>>> virtual machine to each computer?  This doesn't seem especially
>>> scalable, so I
>>>
>>>
>> hope
>>
>>
>>
>>> I'm misunderstanding and that there is really something else going
>>>
>>>
>> on.


> Jeff,
>>
>> The "Add Multiple" checkbox on Manage Computers->Edit Computer
>> Information is
>> designed to help with this.  You should only need to enter the
>> information on
>> the "Add Multiple Computers" page that link takes you to one time to
>> generate
>> as many virtual machines as you want.  Make sure you enter the
>>
>>
> start/end


> private IPs and the start MAC (also make sure to select available as
>>
>>
> the


> state as there's currently a bug preventing adding machines directly in

Re: Help with external DHCP issue

2010-04-13 Thread Kiran N
Yes.. it does match!
In this installation, the visrtualswitch0 is the public port and
virtualswitch1 is private. They are named exactly same as the virtual
machine configuration..

Thanks,
Kiran

On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peeler  wrote:

> Hi Kiran,
>
> Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match the
> adapters listed on your esx server?
>
> Aaron
>
>
>
> On 4/12/10 3:11 PM, Kiran N wrote:
>
>> hello Josh,
>> I am facing some what similar issue.I have added a new computer
>> host(virtual
>> machine).
>> I checked the dhcp.conf files, the addressing, etc/hosts file.
>> But on making a reservation, my virtual machine does startup, but its not
>> getting any IP addresses assigned. Its unable to detect any networks
>> created,
>> I have renamed the  .vmdk and -flat.vmdk files according to the naming
>> convention
>> (Note: we are using ESX provisioning and it is a Windows 2003 image).
>> Is there anythin specific you wanted me to check??
>>
>> Thanks,
>> Kiran
>>
>> On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompson> >wrote:
>>
>>
>>
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> Jeff,
>>>
>>> VCL will handle creating the virtual machines on the VMWare host.  It
>>> manages
>>> both the vmdk and vmx files, and then registers/unregisters the virtual
>>> machines as needed.  What it doesn't currently do is automatically create
>>> new
>>> virtual machines in its own database or dynamically assign virtual
>>> machines
>>> to VM hosts.
>>>
>>> This is what you should do next time you need to add virtual machines:
>>>
>>> * look at the highest MAC address assigned in the computers table
>>> * go to the Add Multiple Computers page, enter the MAC address that would
>>> come
>>> after what you looked up, and enter the rest of the information required
>>> on
>>> that page.
>>> * get the DHCP info and add it to your dhcpd.conf file
>>> * add entries to /etc/hosts for the virtual machines
>>> * go to the Virtual Hosts section of the site and assign the new virtual
>>> machines to VM hosts
>>>
>>> After doing that, vcld should be able to provision reservations for the
>>> virtual machines.
>>>
>>> Aaron/Andy: correct me if I missed anything.
>>>
>>> Josh
>>>
>>> On Friday February 19, 2010, Jeffrey Wisman wrote:
>>>
>>>
 I did use the "Add Multiple" for this, but I didn't put a MAC as we


>>> hadn't
>>>
>>>
 created virtual machines for these (and thus had no MAC to use).  I


>>> created
>>>
>>>
 10 computers using add multiple.

 I plan to create 10 virtual machines on the VMWare host and get their
 MAC
 addresses and add them to the 10 computers in the computer table that


>>> were
>>>
>>>
 created with add multiple.  From what I understand, this should resolve


>>> it.
>>>
>>>
 Correct me if I'm wrong.

 To save some time next time, I'd have created the 10 virtual machines
 first, grabbed the first MAC address, and then used the "Add Multiple"


>>> with
>>>
>>>
 that MAC address.  I'd still have to actually create (or clone) the 10
 virtual machines though.

 Thanks,
 Jeff

 On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson


>>> wrote:
>>>
>>>
 -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Friday February 19, 2010, Jeffrey Wisman wrote:
>
>
>> Am I misunderstanding, or do I need to create 10 virtual machines to
>>
>>
> go
>>>
>>>
 with my 10 "computers" and then assign the mac address from each
>> virtual machine to each computer?  This doesn't seem especially
>> scalable, so I
>>
>>
> hope
>
>
>
>> I'm misunderstanding and that there is really something else going
>>
>>
> on.
>>>
>>>
 Jeff,
>
> The "Add Multiple" checkbox on Manage Computers->Edit Computer
> Information is
> designed to help with this.  You should only need to enter the
> information on
> the "Add Multiple Computers" page that link takes you to one time to
> generate
> as many virtual machines as you want.  Make sure you enter the
>
>
 start/end
>>>
>>>
 private IPs and the start MAC (also make sure to select available as
>
>
 the
>>>
>>>
 state as there's currently a bug preventing adding machines directly in
> the maintenance state).
>
> After submitting that page, you will also be able to generate the
> additional
> DHCP info for your dhcpd.conf file.  You will need to enter the private
> IP of
> your management node to get that file.
>
> We have it slated for version 2.4 to dynamically manage the virtual
> hosts/guests for you.
>
> Josh
> - --
> - ---
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> josh_thomp...@ncsu.edu
> 919-515-5

Re: Help with external DHCP issue

2010-04-13 Thread Aaron Peeler

Hi Kiran,

Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match 
the adapters listed on your esx server?


Aaron


On 4/12/10 3:11 PM, Kiran N wrote:

hello Josh,
I am facing some what similar issue.I have added a new computer host(virtual
machine).
I checked the dhcp.conf files, the addressing, etc/hosts file.
But on making a reservation, my virtual machine does startup, but its not
getting any IP addresses assigned. Its unable to detect any networks
created,
I have renamed the  .vmdk and -flat.vmdk files according to the naming
convention
(Note: we are using ESX provisioning and it is a Windows 2003 image).
Is there anythin specific you wanted me to check??

Thanks,
Kiran

On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompsonwrote:

   

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeff,

VCL will handle creating the virtual machines on the VMWare host.  It
manages
both the vmdk and vmx files, and then registers/unregisters the virtual
machines as needed.  What it doesn't currently do is automatically create
new
virtual machines in its own database or dynamically assign virtual machines
to VM hosts.

This is what you should do next time you need to add virtual machines:

* look at the highest MAC address assigned in the computers table
* go to the Add Multiple Computers page, enter the MAC address that would
come
after what you looked up, and enter the rest of the information required on
that page.
* get the DHCP info and add it to your dhcpd.conf file
* add entries to /etc/hosts for the virtual machines
* go to the Virtual Hosts section of the site and assign the new virtual
machines to VM hosts

After doing that, vcld should be able to provision reservations for the
virtual machines.

Aaron/Andy: correct me if I missed anything.

Josh

On Friday February 19, 2010, Jeffrey Wisman wrote:
 

I did use the "Add Multiple" for this, but I didn't put a MAC as we
   

hadn't
 

created virtual machines for these (and thus had no MAC to use).  I
   

created
 

10 computers using add multiple.

I plan to create 10 virtual machines on the VMWare host and get their MAC
addresses and add them to the 10 computers in the computer table that
   

were
 

created with add multiple.  From what I understand, this should resolve
   

it.
 

Correct me if I'm wrong.

To save some time next time, I'd have created the 10 virtual machines
first, grabbed the first MAC address, and then used the "Add Multiple"
   

with
 

that MAC address.  I'd still have to actually create (or clone) the 10
virtual machines though.

Thanks,
Jeff

On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson
   

wrote:
 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday February 19, 2010, Jeffrey Wisman wrote:
 

Am I misunderstanding, or do I need to create 10 virtual machines to
   

go
 

with my 10 "computers" and then assign the mac address from each
virtual machine to each computer?  This doesn't seem especially
scalable, so I
   

hope

 

I'm misunderstanding and that there is really something else going
   

on.
 

Jeff,

The "Add Multiple" checkbox on Manage Computers->Edit Computer
Information is
designed to help with this.  You should only need to enter the
information on
the "Add Multiple Computers" page that link takes you to one time to
generate
as many virtual machines as you want.  Make sure you enter the
 

start/end
 

private IPs and the start MAC (also make sure to select available as
 

the
 

state as there's currently a bug preventing adding machines directly in
the maintenance state).

After submitting that page, you will also be able to generate the
additional
DHCP info for your dhcpd.conf file.  You will need to enter the private
IP of
your management node to get that file.

We have it slated for version 2.4 to dynamically manage the virtual
hosts/guests for you.

Josh
- --
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v
mcT86d46Nq32IXmz5dJuij4=
=EQA0
-END PGP SIGNATURE-
 

- --
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg
F81YtCL/j1kKNthfN4AbTDQ=
=FMsp
-END PGP SIGNATURE-

 
   



--

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_pee...@ncsu.edu
919-513-4571



Re: Help with external DHCP issue

2010-04-12 Thread Kiran N
hello Josh,
I am facing some what similar issue.I have added a new computer host(virtual
machine).
I checked the dhcp.conf files, the addressing, etc/hosts file.
But on making a reservation, my virtual machine does startup, but its not
getting any IP addresses assigned. Its unable to detect any networks
created,
I have renamed the  .vmdk and -flat.vmdk files according to the naming
convention
(Note: we are using ESX provisioning and it is a Windows 2003 image).
Is there anythin specific you wanted me to check??

Thanks,
Kiran

On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jeff,
>
> VCL will handle creating the virtual machines on the VMWare host.  It
> manages
> both the vmdk and vmx files, and then registers/unregisters the virtual
> machines as needed.  What it doesn't currently do is automatically create
> new
> virtual machines in its own database or dynamically assign virtual machines
> to VM hosts.
>
> This is what you should do next time you need to add virtual machines:
>
> * look at the highest MAC address assigned in the computers table
> * go to the Add Multiple Computers page, enter the MAC address that would
> come
> after what you looked up, and enter the rest of the information required on
> that page.
> * get the DHCP info and add it to your dhcpd.conf file
> * add entries to /etc/hosts for the virtual machines
> * go to the Virtual Hosts section of the site and assign the new virtual
> machines to VM hosts
>
> After doing that, vcld should be able to provision reservations for the
> virtual machines.
>
> Aaron/Andy: correct me if I missed anything.
>
> Josh
>
> On Friday February 19, 2010, Jeffrey Wisman wrote:
> > I did use the "Add Multiple" for this, but I didn't put a MAC as we
> hadn't
> > created virtual machines for these (and thus had no MAC to use).  I
> created
> > 10 computers using add multiple.
> >
> > I plan to create 10 virtual machines on the VMWare host and get their MAC
> > addresses and add them to the 10 computers in the computer table that
> were
> > created with add multiple.  From what I understand, this should resolve
> it.
> > Correct me if I'm wrong.
> >
> > To save some time next time, I'd have created the 10 virtual machines
> > first, grabbed the first MAC address, and then used the "Add Multiple"
> with
> > that MAC address.  I'd still have to actually create (or clone) the 10
> > virtual machines though.
> >
> > Thanks,
> > Jeff
> >
> > On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson
> wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > On Friday February 19, 2010, Jeffrey Wisman wrote:
> > > > Am I misunderstanding, or do I need to create 10 virtual machines to
> go
> > > > with my 10 "computers" and then assign the mac address from each
> > > > virtual machine to each computer?  This doesn't seem especially
> > > > scalable, so I
> > >
> > > hope
> > >
> > > > I'm misunderstanding and that there is really something else going
> on.
> > >
> > > Jeff,
> > >
> > > The "Add Multiple" checkbox on Manage Computers->Edit Computer
> > > Information is
> > > designed to help with this.  You should only need to enter the
> > > information on
> > > the "Add Multiple Computers" page that link takes you to one time to
> > > generate
> > > as many virtual machines as you want.  Make sure you enter the
> start/end
> > > private IPs and the start MAC (also make sure to select available as
> the
> > > state as there's currently a bug preventing adding machines directly in
> > > the maintenance state).
> > >
> > > After submitting that page, you will also be able to generate the
> > > additional
> > > DHCP info for your dhcpd.conf file.  You will need to enter the private
> > > IP of
> > > your management node to get that file.
> > >
> > > We have it slated for version 2.4 to dynamically manage the virtual
> > > hosts/guests for you.
> > >
> > > Josh
> > > - --
> > > - ---
> > > Josh Thompson
> > > Systems Programmer
> > > Advanced Computing | VCL Developer
> > > North Carolina State University
> > >
> > > josh_thomp...@ncsu.edu
> > > 919-515-5323
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > > -BEGIN PGP SIGNATURE-
> > > Version: GnuPG v1.4.6 (GNU/Linux)
> > >
> > > iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v
> > > mcT86d46Nq32IXmz5dJuij4=
> > > =EQA0
> > > -END PGP SIGNATURE-
> - --
> - ---
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> josh_thomp...@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg
> F81YtCL/j1kKNthfN4AbTDQ=
> =FMsp
> -END PGP SIGNATURE-
>


Re: Help with external DHCP issue

2010-02-19 Thread Jeffrey Wisman
Ah, this makes much more sense.  Thanks Josh!  I'll add the incrementally
higher MAC address values and then edit dhcpd.conf and hosts files and we'll
see what happens.

Jeff


On Fri, Feb 19, 2010 at 12:15 PM, Josh Thompson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jeff,
>
> VCL will handle creating the virtual machines on the VMWare host.  It
> manages
> both the vmdk and vmx files, and then registers/unregisters the virtual
> machines as needed.  What it doesn't currently do is automatically create
> new
> virtual machines in its own database or dynamically assign virtual machines
> to VM hosts.
>
> This is what you should do next time you need to add virtual machines:
>
> * look at the highest MAC address assigned in the computers table
> * go to the Add Multiple Computers page, enter the MAC address that would
> come
> after what you looked up, and enter the rest of the information required on
> that page.
> * get the DHCP info and add it to your dhcpd.conf file
> * add entries to /etc/hosts for the virtual machines
> * go to the Virtual Hosts section of the site and assign the new virtual
> machines to VM hosts
>
> After doing that, vcld should be able to provision reservations for the
> virtual machines.
>
> Aaron/Andy: correct me if I missed anything.
>
> Josh
>
> On Friday February 19, 2010, Jeffrey Wisman wrote:
> > I did use the "Add Multiple" for this, but I didn't put a MAC as we
> hadn't
> > created virtual machines for these (and thus had no MAC to use).  I
> created
> > 10 computers using add multiple.
> >
> > I plan to create 10 virtual machines on the VMWare host and get their MAC
> > addresses and add them to the 10 computers in the computer table that
> were
> > created with add multiple.  From what I understand, this should resolve
> it.
> > Correct me if I'm wrong.
> >
> > To save some time next time, I'd have created the 10 virtual machines
> > first, grabbed the first MAC address, and then used the "Add Multiple"
> with
> > that MAC address.  I'd still have to actually create (or clone) the 10
> > virtual machines though.
> >
> > Thanks,
> > Jeff
> >
> > On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson
> wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > On Friday February 19, 2010, Jeffrey Wisman wrote:
> > > > Am I misunderstanding, or do I need to create 10 virtual machines to
> go
> > > > with my 10 "computers" and then assign the mac address from each
> > > > virtual machine to each computer?  This doesn't seem especially
> > > > scalable, so I
> > >
> > > hope
> > >
> > > > I'm misunderstanding and that there is really something else going
> on.
> > >
> > > Jeff,
> > >
> > > The "Add Multiple" checkbox on Manage Computers->Edit Computer
> > > Information is
> > > designed to help with this.  You should only need to enter the
> > > information on
> > > the "Add Multiple Computers" page that link takes you to one time to
> > > generate
> > > as many virtual machines as you want.  Make sure you enter the
> start/end
> > > private IPs and the start MAC (also make sure to select available as
> the
> > > state as there's currently a bug preventing adding machines directly in
> > > the maintenance state).
> > >
> > > After submitting that page, you will also be able to generate the
> > > additional
> > > DHCP info for your dhcpd.conf file.  You will need to enter the private
> > > IP of
> > > your management node to get that file.
> > >
> > > We have it slated for version 2.4 to dynamically manage the virtual
> > > hosts/guests for you.
> > >
> > > Josh
> > > - --
> > > - ---
> > > Josh Thompson
> > > Systems Programmer
> > > Advanced Computing | VCL Developer
> > > North Carolina State University
> > >
> > > josh_thomp...@ncsu.edu
> > > 919-515-5323
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > > -BEGIN PGP SIGNATURE-
> > > Version: GnuPG v1.4.6 (GNU/Linux)
> > >
> > > iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v
> > > mcT86d46Nq32IXmz5dJuij4=
> > > =EQA0
> > > -END PGP SIGNATURE-
> - --
> - ---
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> josh_thomp...@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg
> F81YtCL/j1kKNthfN4AbTDQ=
> =FMsp
> -END PGP SIGNATURE-
>


Re: Help with external DHCP issue

2010-02-19 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeff,

VCL will handle creating the virtual machines on the VMWare host.  It manages 
both the vmdk and vmx files, and then registers/unregisters the virtual 
machines as needed.  What it doesn't currently do is automatically create new 
virtual machines in its own database or dynamically assign virtual machines 
to VM hosts.

This is what you should do next time you need to add virtual machines:

* look at the highest MAC address assigned in the computers table
* go to the Add Multiple Computers page, enter the MAC address that would come 
after what you looked up, and enter the rest of the information required on 
that page.
* get the DHCP info and add it to your dhcpd.conf file
* add entries to /etc/hosts for the virtual machines
* go to the Virtual Hosts section of the site and assign the new virtual 
machines to VM hosts

After doing that, vcld should be able to provision reservations for the 
virtual machines.

Aaron/Andy: correct me if I missed anything.

Josh

On Friday February 19, 2010, Jeffrey Wisman wrote:
> I did use the "Add Multiple" for this, but I didn't put a MAC as we hadn't
> created virtual machines for these (and thus had no MAC to use).  I created
> 10 computers using add multiple.
>
> I plan to create 10 virtual machines on the VMWare host and get their MAC
> addresses and add them to the 10 computers in the computer table that were
> created with add multiple.  From what I understand, this should resolve it.
> Correct me if I'm wrong.
>
> To save some time next time, I'd have created the 10 virtual machines
> first, grabbed the first MAC address, and then used the "Add Multiple" with
> that MAC address.  I'd still have to actually create (or clone) the 10
> virtual machines though.
>
> Thanks,
> Jeff
>
> On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson 
wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Friday February 19, 2010, Jeffrey Wisman wrote:
> > > Am I misunderstanding, or do I need to create 10 virtual machines to go
> > > with my 10 "computers" and then assign the mac address from each
> > > virtual machine to each computer?  This doesn't seem especially
> > > scalable, so I
> >
> > hope
> >
> > > I'm misunderstanding and that there is really something else going on.
> >
> > Jeff,
> >
> > The "Add Multiple" checkbox on Manage Computers->Edit Computer
> > Information is
> > designed to help with this.  You should only need to enter the
> > information on
> > the "Add Multiple Computers" page that link takes you to one time to
> > generate
> > as many virtual machines as you want.  Make sure you enter the start/end
> > private IPs and the start MAC (also make sure to select available as the
> > state as there's currently a bug preventing adding machines directly in
> > the maintenance state).
> >
> > After submitting that page, you will also be able to generate the
> > additional
> > DHCP info for your dhcpd.conf file.  You will need to enter the private
> > IP of
> > your management node to get that file.
> >
> > We have it slated for version 2.4 to dynamically manage the virtual
> > hosts/guests for you.
> >
> > Josh
> > - --
> > - ---
> > Josh Thompson
> > Systems Programmer
> > Advanced Computing | VCL Developer
> > North Carolina State University
> >
> > josh_thomp...@ncsu.edu
> > 919-515-5323
> >
> > my GPG/PGP key can be found at pgp.mit.edu
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.6 (GNU/Linux)
> >
> > iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v
> > mcT86d46Nq32IXmz5dJuij4=
> > =EQA0
> > -END PGP SIGNATURE-
- -- 
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg
F81YtCL/j1kKNthfN4AbTDQ=
=FMsp
-END PGP SIGNATURE-


Re: Help with external DHCP issue

2010-02-19 Thread Jeffrey Wisman
I did use the "Add Multiple" for this, but I didn't put a MAC as we hadn't
created virtual machines for these (and thus had no MAC to use).  I created
10 computers using add multiple.

I plan to create 10 virtual machines on the VMWare host and get their MAC
addresses and add them to the 10 computers in the computer table that were
created with add multiple.  From what I understand, this should resolve it.
Correct me if I'm wrong.

To save some time next time, I'd have created the 10 virtual machines first,
grabbed the first MAC address, and then used the "Add Multiple" with that
MAC address.  I'd still have to actually create (or clone) the 10 virtual
machines though.

Thanks,
Jeff


On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Friday February 19, 2010, Jeffrey Wisman wrote:
> > Am I misunderstanding, or do I need to create 10 virtual machines to go
> > with my 10 "computers" and then assign the mac address from each virtual
> > machine to each computer?  This doesn't seem especially scalable, so I
> hope
> > I'm misunderstanding and that there is really something else going on.
>
> Jeff,
>
> The "Add Multiple" checkbox on Manage Computers->Edit Computer Information
> is
> designed to help with this.  You should only need to enter the information
> on
> the "Add Multiple Computers" page that link takes you to one time to
> generate
> as many virtual machines as you want.  Make sure you enter the start/end
> private IPs and the start MAC (also make sure to select available as the
> state as there's currently a bug preventing adding machines directly in the
> maintenance state).
>
> After submitting that page, you will also be able to generate the
> additional
> DHCP info for your dhcpd.conf file.  You will need to enter the private IP
> of
> your management node to get that file.
>
> We have it slated for version 2.4 to dynamically manage the virtual
> hosts/guests for you.
>
> Josh
> - --
> - ---
> Josh Thompson
> Systems Programmer
> Advanced Computing | VCL Developer
> North Carolina State University
>
> josh_thomp...@ncsu.edu
> 919-515-5323
>
> my GPG/PGP key can be found at pgp.mit.edu
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v
> mcT86d46Nq32IXmz5dJuij4=
> =EQA0
> -END PGP SIGNATURE-
>


Re: Help with external DHCP issue

2010-02-19 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday February 19, 2010, Jeffrey Wisman wrote:
> Am I misunderstanding, or do I need to create 10 virtual machines to go
> with my 10 "computers" and then assign the mac address from each virtual
> machine to each computer?  This doesn't seem especially scalable, so I hope
> I'm misunderstanding and that there is really something else going on.

Jeff,

The "Add Multiple" checkbox on Manage Computers->Edit Computer Information is 
designed to help with this.  You should only need to enter the information on 
the "Add Multiple Computers" page that link takes you to one time to generate 
as many virtual machines as you want.  Make sure you enter the start/end 
private IPs and the start MAC (also make sure to select available as the 
state as there's currently a bug preventing adding machines directly in the 
maintenance state).

After submitting that page, you will also be able to generate the additional 
DHCP info for your dhcpd.conf file.  You will need to enter the private IP of 
your management node to get that file.

We have it slated for version 2.4 to dynamically manage the virtual 
hosts/guests for you.

Josh
- -- 
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v
mcT86d46Nq32IXmz5dJuij4=
=EQA0
-END PGP SIGNATURE-


Re: Help with external DHCP issue

2010-02-19 Thread Jeffrey Wisman
Yep, that answers my question.  Thanks!

On Thu, Feb 18, 2010 at 10:05 PM, James Patrick Sigmon wrote:

> Jeff,
>
> I think this answers what you are asking.
>
> When you make a reservation for a vmware-type-image, vcl uses a vmguest
> (virtual machine) to load that image on.  That image will receive the mac
> addresses and the ip addresses from you vmguest.
>
> If you want to make say 10 concurrent reservations, you will need to make
> 10 vmguests with different private ip address (and public if using static)
> and mac addresses.
>
> Hope this helps,
>
> Patrick Sigmon
> North Carolina State University
>
> On Feb 19, 2010, at 12:09 AM, Jeffrey Wisman wrote:
>
> > It seems that either my understanding of the VCL provisioning engine is
> > wrong, or it isn't working right.  I can't create subsequent reservations
> to
> > the first.  I have "computers" available in the computers table.  I have
> the
> > image.  I do not have virtual machines created for the guests though, as
> I
> > thought that would happen as part of the provisioning process.
> >
> > So in re-reading this, I realize I need to specify a mac address for each
> > "computer".  This would indicate a real virtual machine existing, right?
>  As
> > of now, there are no virtual machines so there are no mac addresses I can
> > specify.
> >
> > Am I misunderstanding, or do I need to create 10 virtual machines to go
> with
> > my 10 "computers" and then assign the mac address from each virtual
> machine
> > to each computer?  This doesn't seem especially scalable, so I hope I'm
> > misunderstanding and that there is really something else going on.
> >
> > Let me know if I'm on the right track.
> >
> > Thanks,
> > Jeff
> >
> >
> > On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon  >wrote:
> >
> >> Hey Jeff,
> >>
> >> It looks like you have not filled in your mac address information for
> your
> >> virtual machine.  Vmware likes a particular format for this.  Try
> >> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
> >> eth1macaddress.
> >>
> >> The field "IPaddress" corresponds to the "public" address.  Though, I
> don't
> >> think this will matter here.  A public IP address typically will be
> generate
> >> for  your machine.  Try a reservation with the mac addresses and see if
> that
> >> fixes this.
> >>
> >> You may have already done these steps but I thought I would add them to
> be
> >> safe:
> >>
> >> You should have an entry for your virtual machine in your /etc/hosts
> file.
> >> (ex. 10.75.144.15 csuvm15).
> >>
> >> You should also have an entry in your dhcpd.conf file as well for each
> >> virtual machine.
> >>
> >> Hope this helps,
> >>
> >> Patrick
> >>
> >>
> >> On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:
> >>
> >>> We're now at the point where we can create reservations and virtual
> >> machines
> >>> get loaded with images.  The issue we're having is that the virtual
> >> machines
> >>> come up on their private IP addresses only.  The reservation screen
> shows
> >>> the private IP and the RDP file has that IP in it.  We have the virtual
> >>> machines configured with two interfaces - one on the private network
> for
> >> VCL
> >>> admin stuff, and the other on the public network where we have the
> campus
> >>> DHCP server configured to give it an IP.  However, it doesn't seem to
> be
> >>> working, or at least if it is getting a public IP, VCL isn't telling us
> >> what
> >>> it is.
> >>>
> >>> I'm wondering if the issue is in the database. Each virtual machine has
> >> an
> >>> "IPaddress" and a "privateIPaddress".  On our virtual machines, they
> are
> >> set
> >>> to the same thing.  Here is an example:
> >>>
> >>> mysql> select * from computer;
> >>>
> >>
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
> >>> | id | stateid | ownerid | platformid | scheduleid | currentimageid |
> >>> preferredimageid | nextimageid | imagerevisionid | RAM   | procnumber |
> >>> procspeed | network | hostname  | IPaddress   |
> >>> privateIPaddress | eth0macaddress | eth1macaddress | type   |
> >>> provisioningid | drivetype | deleted | notes | lastcheck | location |
> dsa
> >> |
> >>> dsapub | rsa  | rsapub | host | hostpub | vmhostid | vmtypeid |
> >>>
> >>
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--

Re: Help with external DHCP issue

2010-02-18 Thread James Patrick Sigmon
Jeff,

I think this answers what you are asking.

When you make a reservation for a vmware-type-image, vcl uses a vmguest 
(virtual machine) to load that image on.  That image will receive the mac 
addresses and the ip addresses from you vmguest.

If you want to make say 10 concurrent reservations, you will need to make 10 
vmguests with different private ip address (and public if using static) and mac 
addresses.

Hope this helps,

Patrick Sigmon
North Carolina State University

On Feb 19, 2010, at 12:09 AM, Jeffrey Wisman wrote:

> It seems that either my understanding of the VCL provisioning engine is
> wrong, or it isn't working right.  I can't create subsequent reservations to
> the first.  I have "computers" available in the computers table.  I have the
> image.  I do not have virtual machines created for the guests though, as I
> thought that would happen as part of the provisioning process.
> 
> So in re-reading this, I realize I need to specify a mac address for each
> "computer".  This would indicate a real virtual machine existing, right?  As
> of now, there are no virtual machines so there are no mac addresses I can
> specify.
> 
> Am I misunderstanding, or do I need to create 10 virtual machines to go with
> my 10 "computers" and then assign the mac address from each virtual machine
> to each computer?  This doesn't seem especially scalable, so I hope I'm
> misunderstanding and that there is really something else going on.
> 
> Let me know if I'm on the right track.
> 
> Thanks,
> Jeff
> 
> 
> On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon wrote:
> 
>> Hey Jeff,
>> 
>> It looks like you have not filled in your mac address information for your
>> virtual machine.  Vmware likes a particular format for this.  Try
>> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
>> eth1macaddress.
>> 
>> The field "IPaddress" corresponds to the "public" address.  Though, I don't
>> think this will matter here.  A public IP address typically will be generate
>> for  your machine.  Try a reservation with the mac addresses and see if that
>> fixes this.
>> 
>> You may have already done these steps but I thought I would add them to be
>> safe:
>> 
>> You should have an entry for your virtual machine in your /etc/hosts file.
>> (ex. 10.75.144.15 csuvm15).
>> 
>> You should also have an entry in your dhcpd.conf file as well for each
>> virtual machine.
>> 
>> Hope this helps,
>> 
>> Patrick
>> 
>> 
>> On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:
>> 
>>> We're now at the point where we can create reservations and virtual
>> machines
>>> get loaded with images.  The issue we're having is that the virtual
>> machines
>>> come up on their private IP addresses only.  The reservation screen shows
>>> the private IP and the RDP file has that IP in it.  We have the virtual
>>> machines configured with two interfaces - one on the private network for
>> VCL
>>> admin stuff, and the other on the public network where we have the campus
>>> DHCP server configured to give it an IP.  However, it doesn't seem to be
>>> working, or at least if it is getting a public IP, VCL isn't telling us
>> what
>>> it is.
>>> 
>>> I'm wondering if the issue is in the database. Each virtual machine has
>> an
>>> "IPaddress" and a "privateIPaddress".  On our virtual machines, they are
>> set
>>> to the same thing.  Here is an example:
>>> 
>>> mysql> select * from computer;
>>> 
>> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
>>> | id | stateid | ownerid | platformid | scheduleid | currentimageid |
>>> preferredimageid | nextimageid | imagerevisionid | RAM   | procnumber |
>>> procspeed | network | hostname  | IPaddress   |
>>> privateIPaddress | eth0macaddress | eth1macaddress | type   |
>>> provisioningid | drivetype | deleted | notes | lastcheck | location | dsa
>> |
>>> dsapub | rsa  | rsapub | host | hostpub | vmhostid | vmtypeid |
>>> 
>> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
>>> 
>>> | 24 |   2 |   1 |  1 |  1 |  4
>>> |0 |   0 |   0 |   512 |  1
>>> |  2000 |1000 | csuvm15   | 10.75.144.15|
>>> 10.75.144.15 | NULL   | NULL   | virtua

Re: Help with external DHCP issue

2010-02-18 Thread Jeffrey Wisman
It seems that either my understanding of the VCL provisioning engine is
wrong, or it isn't working right.  I can't create subsequent reservations to
the first.  I have "computers" available in the computers table.  I have the
image.  I do not have virtual machines created for the guests though, as I
thought that would happen as part of the provisioning process.

So in re-reading this, I realize I need to specify a mac address for each
"computer".  This would indicate a real virtual machine existing, right?  As
of now, there are no virtual machines so there are no mac addresses I can
specify.

Am I misunderstanding, or do I need to create 10 virtual machines to go with
my 10 "computers" and then assign the mac address from each virtual machine
to each computer?  This doesn't seem especially scalable, so I hope I'm
misunderstanding and that there is really something else going on.

Let me know if I'm on the right track.

Thanks,
Jeff


On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon wrote:

> Hey Jeff,
>
> It looks like you have not filled in your mac address information for your
> virtual machine.  Vmware likes a particular format for this.  Try
> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
> eth1macaddress.
>
> The field "IPaddress" corresponds to the "public" address.  Though, I don't
> think this will matter here.  A public IP address typically will be generate
> for  your machine.  Try a reservation with the mac addresses and see if that
> fixes this.
>
> You may have already done these steps but I thought I would add them to be
> safe:
>
> You should have an entry for your virtual machine in your /etc/hosts file.
>  (ex. 10.75.144.15 csuvm15).
>
> You should also have an entry in your dhcpd.conf file as well for each
> virtual machine.
>
> Hope this helps,
>
> Patrick
>
>
> On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:
>
> > We're now at the point where we can create reservations and virtual
> machines
> > get loaded with images.  The issue we're having is that the virtual
> machines
> > come up on their private IP addresses only.  The reservation screen shows
> > the private IP and the RDP file has that IP in it.  We have the virtual
> > machines configured with two interfaces - one on the private network for
> VCL
> > admin stuff, and the other on the public network where we have the campus
> > DHCP server configured to give it an IP.  However, it doesn't seem to be
> > working, or at least if it is getting a public IP, VCL isn't telling us
> what
> > it is.
> >
> > I'm wondering if the issue is in the database. Each virtual machine has
> an
> > "IPaddress" and a "privateIPaddress".  On our virtual machines, they are
> set
> > to the same thing.  Here is an example:
> >
> > mysql> select * from computer;
> >
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
> > | id | stateid | ownerid | platformid | scheduleid | currentimageid |
> > preferredimageid | nextimageid | imagerevisionid | RAM   | procnumber |
> > procspeed | network | hostname  | IPaddress   |
> > privateIPaddress | eth0macaddress | eth1macaddress | type   |
> > provisioningid | drivetype | deleted | notes | lastcheck | location | dsa
>  |
> > dsapub | rsa  | rsapub | host | hostpub | vmhostid | vmtypeid |
> >
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
> > 
> > | 24 |   2 |   1 |  1 |  1 |  4
> > |0 |   0 |   0 |   512 |  1
> > |  2000 |1000 | csuvm15   | 10.75.144.15|
> > 10.75.144.15 | NULL   | NULL   | virtualmachine
> > |  4 | hda   |   0 | NULL  | NULL  | NULL |
> NULL
> > | NULL   | NULL | NULL   | NULL | NULL|1 | NULL |
> >
> >
> > Should one be NULLed out or set to something else?  Should we put all the
> > private entries in the /etc/hosts file of the VMWare management server?
> > Currently I haven't done that, but read it in one of the posts here.  Any
> > other ideas?
> >
> > Thanks,
> > Jeff
>
>


Re: Help with external DHCP issue

2010-02-15 Thread Jeffrey Wisman
Wow, who'd have thunk it?  I removed that line from the /etc/hosts file and
now it works.  I can create a reservation, get the right IP, and RDP to the
host.  This is huge!!!  Thanks everyone for your help getting this running.

Now time to make it scale, build more images, and all the fun that entails.
:)

Jeff


On Mon, Feb 15, 2010 at 12:41 PM, Andy Kurth  wrote:

> Yes, commenting it won't help.  The code is simply looking for the first
> line with the hostname.
>
>
> Jeffrey Wisman wrote:
>
>> Hmm, I commented out the public address from /etc/hosts.  Maybe the
>> parsing
>> is still finding it though?  I'll remove it entirely and try again
>> tonight.
>> Thanks!
>>
>>
>> On Mon, Feb 15, 2010 at 9:33 AM, Andy Kurth  wrote:
>>
>>  Hi Jeff,
>>> Remove the public address for the computer from /etc/hosts.  The code
>>> finds
>>> the first line in /etc/hosts containing "vcl-winxp" and uses this for the
>>> private interface.  Add the private address to /etc/hosts if you haven't
>>> already done so.  The code is collecting the private address from
>>> /etc/hosts
>>> then parses the ipconfig output to find the public IP address.  It
>>> assumes
>>> the adapter not using the private address is public.
>>>
>>> Hope this helps,
>>> Andy
>>>
>>>
>>>
>>>
>>> Jeffrey Wisman wrote:
>>>
>>>  Thanks James.  I added the VMs to my /etc/hosts file and my dhcpd.conf
 file,
 and the same thing is happening.  I think the dhcp was working fine
 before,
 but VCL seems to be getting confused between what the public IP address
 is
 and what the private one is.  Here is a snippet from the logs:

 2010-02-13 23:10:02|21557|2:2|new|utils.pm:
 get_management_node_id(9346)|environment
 variable: 1
 2010-02-13 23:10:02|21557|2:2|new|new.pm:
 reserve_computer(1017)|user_standalone=1,
 image OS type=windows
 2010-02-13 23:10:02|21557|2:2|new|utils.pm:
 getdynamicaddress(1596)|PrivateIP
 address for vcl-winxp collected 134.154.119.175
 2010-02-13 23:10:02|21557|2:2|new|utils.pm:
 run_ssh_command(6168)|executing
 SSH command on vcl-winxp:
 |21557|2:2|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
 vcl-winxp
 'ipconfig' 2>&1
 2010-02-13 23:10:05|7225|vcld:main(165)|lastcheckin time updated for
 management node 1: 2010-02-13 23:10:05
 2010-02-13 23:10:08|21557|2:2|new|utils.pm:
 run_ssh_command(6250)|run_ssh_command
 output:
 |21557|2:2|new| Windows IP Configuration
 |21557|2:2|new| Ethernet adapter Local Area Connection:
 |21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
 |21557|2:2|new| IP Address. . . . . . . . . . . . : 10.75.144.124
 |21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
 |21557|2:2|new| Default Gateway . . . . . . . . . :
 |21557|2:2|new| Ethernet adapter Local Area Connection 2:
 |21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
 |21557|2:2|new| IP Address. . . . . . . . . . . . : 134.154.119.175
 |21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
 |21557|2:2|new| Default Gateway . . . . . . . . . : 134.154.119.254
 2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6264)|SSH
 command
 executed on vcl-winxp, returning (0, "Windows IP Configuration
 Ether...")
 2010-02-13 23:10:08|21557|2:2|new|utils.pm:
 getdynamicaddress(1643)|dynamic
 IP address for vcl-winxp collected: 10.75.144.124
 2010-02-13 23:10:08|21557|2:2|new|new.pm:
 reserve_computer(1033)|retrieved
 dynamic DHCP IP address from 10.75.144.124: 10.75.144.124
 2010-02-13 23:10:08|21557|2:2|new|DataStructure.pm:_automethod(697)|data
 structure updated: computer_ip_address = 10.75.144.124
 2010-02-13 23:10:08|21557|2:2|new|utils.pm:
 update_computer_address(7049)|computer
 13 IP address 10.75.144.124 updated in database
 2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1039)|updated
 IP
 address in computer table


 As you can see, its taking the public IP (134.154.119.175) and making it
 the
 private one, and vice versa.  End result is that it asks me to RDP to
 the
 private address, which of course is impossible.

 If I RDP to the 134.154.119.175, I can login just fine.  I just need VCL
 to
 present that IP address to me instead of the private one.

 Any ideas on this?

 Thanks,
 Jeff



 On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon >>>
> wrote:
>
  Hey Jeff,

> It looks like you have not filled in your mac address information for
> your
> virtual machine.  Vmware likes a particular format for this.  Try
> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
> eth1macaddress.
>
> The field "IPaddress" corresponds to the "public" address.  Though, I
> don't
> think this will matter here.  A public IP add

Re: Help with external DHCP issue

2010-02-15 Thread Andy Kurth
Yes, commenting it won't help.  The code is simply looking for the first line 
with the hostname.


Jeffrey Wisman wrote:

Hmm, I commented out the public address from /etc/hosts.  Maybe the parsing
is still finding it though?  I'll remove it entirely and try again tonight.
Thanks!


On Mon, Feb 15, 2010 at 9:33 AM, Andy Kurth  wrote:


Hi Jeff,
Remove the public address for the computer from /etc/hosts.  The code finds
the first line in /etc/hosts containing "vcl-winxp" and uses this for the
private interface.  Add the private address to /etc/hosts if you haven't
already done so.  The code is collecting the private address from /etc/hosts
then parses the ipconfig output to find the public IP address.  It assumes
the adapter not using the private address is public.

Hope this helps,
Andy




Jeffrey Wisman wrote:


Thanks James.  I added the VMs to my /etc/hosts file and my dhcpd.conf
file,
and the same thing is happening.  I think the dhcp was working fine
before,
but VCL seems to be getting confused between what the public IP address is
and what the private one is.  Here is a snippet from the logs:

2010-02-13 23:10:02|21557|2:2|new|utils.pm:
get_management_node_id(9346)|environment
variable: 1
2010-02-13 23:10:02|21557|2:2|new|new.pm:
reserve_computer(1017)|user_standalone=1,
image OS type=windows
2010-02-13 23:10:02|21557|2:2|new|utils.pm:
getdynamicaddress(1596)|PrivateIP
address for vcl-winxp collected 134.154.119.175
2010-02-13 23:10:02|21557|2:2|new|utils.pm:
run_ssh_command(6168)|executing
SSH command on vcl-winxp:
|21557|2:2|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vcl-winxp
'ipconfig' 2>&1
2010-02-13 23:10:05|7225|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-02-13 23:10:05
2010-02-13 23:10:08|21557|2:2|new|utils.pm:
run_ssh_command(6250)|run_ssh_command
output:
|21557|2:2|new| Windows IP Configuration
|21557|2:2|new| Ethernet adapter Local Area Connection:
|21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
|21557|2:2|new| IP Address. . . . . . . . . . . . : 10.75.144.124
|21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
|21557|2:2|new| Default Gateway . . . . . . . . . :
|21557|2:2|new| Ethernet adapter Local Area Connection 2:
|21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
|21557|2:2|new| IP Address. . . . . . . . . . . . : 134.154.119.175
|21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
|21557|2:2|new| Default Gateway . . . . . . . . . : 134.154.119.254
2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6264)|SSH
command
executed on vcl-winxp, returning (0, "Windows IP Configuration Ether...")
2010-02-13 23:10:08|21557|2:2|new|utils.pm:
getdynamicaddress(1643)|dynamic
IP address for vcl-winxp collected: 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1033)|retrieved
dynamic DHCP IP address from 10.75.144.124: 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|DataStructure.pm:_automethod(697)|data
structure updated: computer_ip_address = 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|utils.pm:
update_computer_address(7049)|computer
13 IP address 10.75.144.124 updated in database
2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1039)|updated
IP
address in computer table


As you can see, its taking the public IP (134.154.119.175) and making it
the
private one, and vice versa.  End result is that it asks me to RDP to the
private address, which of course is impossible.

If I RDP to the 134.154.119.175, I can login just fine.  I just need VCL
to
present that IP address to me instead of the private one.

Any ideas on this?

Thanks,
Jeff



On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon 
wrote:

 Hey Jeff,

It looks like you have not filled in your mac address information for
your
virtual machine.  Vmware likes a particular format for this.  Try
00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
eth1macaddress.

The field "IPaddress" corresponds to the "public" address.  Though, I
don't
think this will matter here.  A public IP address typically will be
generate
for  your machine.  Try a reservation with the mac addresses and see if
that
fixes this.

You may have already done these steps but I thought I would add them to
be
safe:

You should have an entry for your virtual machine in your /etc/hosts
file.
 (ex. 10.75.144.15 csuvm15).

You should also have an entry in your dhcpd.conf file as well for each
virtual machine.

Hope this helps,

Patrick


On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:

 We're now at the point where we can create reservations and virtual
machines


get loaded with images.  The issue we're having is that the virtual


machines


come up on their private IP addresses only.  The reservation screen
shows
the private IP and the RDP file has that IP in it.  We have the virtual
machines configured with two interfaces - one on the private network for


VCL


admin stuff, and the other on the public network where we

Re: Help with external DHCP issue

2010-02-15 Thread Jeffrey Wisman
Hmm, I commented out the public address from /etc/hosts.  Maybe the parsing
is still finding it though?  I'll remove it entirely and try again tonight.
Thanks!


On Mon, Feb 15, 2010 at 9:33 AM, Andy Kurth  wrote:

> Hi Jeff,
> Remove the public address for the computer from /etc/hosts.  The code finds
> the first line in /etc/hosts containing "vcl-winxp" and uses this for the
> private interface.  Add the private address to /etc/hosts if you haven't
> already done so.  The code is collecting the private address from /etc/hosts
> then parses the ipconfig output to find the public IP address.  It assumes
> the adapter not using the private address is public.
>
> Hope this helps,
> Andy
>
>
>
>
> Jeffrey Wisman wrote:
>
>> Thanks James.  I added the VMs to my /etc/hosts file and my dhcpd.conf
>> file,
>> and the same thing is happening.  I think the dhcp was working fine
>> before,
>> but VCL seems to be getting confused between what the public IP address is
>> and what the private one is.  Here is a snippet from the logs:
>>
>> 2010-02-13 23:10:02|21557|2:2|new|utils.pm:
>> get_management_node_id(9346)|environment
>> variable: 1
>> 2010-02-13 23:10:02|21557|2:2|new|new.pm:
>> reserve_computer(1017)|user_standalone=1,
>> image OS type=windows
>> 2010-02-13 23:10:02|21557|2:2|new|utils.pm:
>> getdynamicaddress(1596)|PrivateIP
>> address for vcl-winxp collected 134.154.119.175
>> 2010-02-13 23:10:02|21557|2:2|new|utils.pm:
>> run_ssh_command(6168)|executing
>> SSH command on vcl-winxp:
>> |21557|2:2|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
>> vcl-winxp
>> 'ipconfig' 2>&1
>> 2010-02-13 23:10:05|7225|vcld:main(165)|lastcheckin time updated for
>> management node 1: 2010-02-13 23:10:05
>> 2010-02-13 23:10:08|21557|2:2|new|utils.pm:
>> run_ssh_command(6250)|run_ssh_command
>> output:
>> |21557|2:2|new| Windows IP Configuration
>> |21557|2:2|new| Ethernet adapter Local Area Connection:
>> |21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
>> |21557|2:2|new| IP Address. . . . . . . . . . . . : 10.75.144.124
>> |21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
>> |21557|2:2|new| Default Gateway . . . . . . . . . :
>> |21557|2:2|new| Ethernet adapter Local Area Connection 2:
>> |21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
>> |21557|2:2|new| IP Address. . . . . . . . . . . . : 134.154.119.175
>> |21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
>> |21557|2:2|new| Default Gateway . . . . . . . . . : 134.154.119.254
>> 2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6264)|SSH
>> command
>> executed on vcl-winxp, returning (0, "Windows IP Configuration Ether...")
>> 2010-02-13 23:10:08|21557|2:2|new|utils.pm:
>> getdynamicaddress(1643)|dynamic
>> IP address for vcl-winxp collected: 10.75.144.124
>> 2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1033)|retrieved
>> dynamic DHCP IP address from 10.75.144.124: 10.75.144.124
>> 2010-02-13 23:10:08|21557|2:2|new|DataStructure.pm:_automethod(697)|data
>> structure updated: computer_ip_address = 10.75.144.124
>> 2010-02-13 23:10:08|21557|2:2|new|utils.pm:
>> update_computer_address(7049)|computer
>> 13 IP address 10.75.144.124 updated in database
>> 2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1039)|updated
>> IP
>> address in computer table
>>
>>
>> As you can see, its taking the public IP (134.154.119.175) and making it
>> the
>> private one, and vice versa.  End result is that it asks me to RDP to the
>> private address, which of course is impossible.
>>
>> If I RDP to the 134.154.119.175, I can login just fine.  I just need VCL
>> to
>> present that IP address to me instead of the private one.
>>
>> Any ideas on this?
>>
>> Thanks,
>> Jeff
>>
>>
>>
>> On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon > >wrote:
>>
>>  Hey Jeff,
>>>
>>> It looks like you have not filled in your mac address information for
>>> your
>>> virtual machine.  Vmware likes a particular format for this.  Try
>>> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
>>> eth1macaddress.
>>>
>>> The field "IPaddress" corresponds to the "public" address.  Though, I
>>> don't
>>> think this will matter here.  A public IP address typically will be
>>> generate
>>> for  your machine.  Try a reservation with the mac addresses and see if
>>> that
>>> fixes this.
>>>
>>> You may have already done these steps but I thought I would add them to
>>> be
>>> safe:
>>>
>>> You should have an entry for your virtual machine in your /etc/hosts
>>> file.
>>>  (ex. 10.75.144.15 csuvm15).
>>>
>>> You should also have an entry in your dhcpd.conf file as well for each
>>> virtual machine.
>>>
>>> Hope this helps,
>>>
>>> Patrick
>>>
>>>
>>> On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:
>>>
>>>  We're now at the point where we can create reservations and virtual

>>> machines
>>>
 get loaded with images.  The issue we're having is that the virtual

>>> machines
>>>
 come up on

Re: Help with external DHCP issue

2010-02-15 Thread Andy Kurth

Hi Jeff,
Remove the public address for the computer from /etc/hosts.  The code finds the 
first line in /etc/hosts containing "vcl-winxp" and uses this for the private 
interface.  Add the private address to /etc/hosts if you haven't already done 
so.  The code is collecting the private address from /etc/hosts then parses the 
ipconfig output to find the public IP address.  It assumes the adapter not using 
the private address is public.


Hope this helps,
Andy



Jeffrey Wisman wrote:

Thanks James.  I added the VMs to my /etc/hosts file and my dhcpd.conf file,
and the same thing is happening.  I think the dhcp was working fine before,
but VCL seems to be getting confused between what the public IP address is
and what the private one is.  Here is a snippet from the logs:

2010-02-13 
23:10:02|21557|2:2|new|utils.pm:get_management_node_id(9346)|environment
variable: 1
2010-02-13 
23:10:02|21557|2:2|new|new.pm:reserve_computer(1017)|user_standalone=1,
image OS type=windows
2010-02-13 23:10:02|21557|2:2|new|utils.pm:getdynamicaddress(1596)|PrivateIP
address for vcl-winxp collected 134.154.119.175
2010-02-13 23:10:02|21557|2:2|new|utils.pm:run_ssh_command(6168)|executing
SSH command on vcl-winxp:
|21557|2:2|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x vcl-winxp
'ipconfig' 2>&1
2010-02-13 23:10:05|7225|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-02-13 23:10:05
2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6250)|run_ssh_command
output:
|21557|2:2|new| Windows IP Configuration
|21557|2:2|new| Ethernet adapter Local Area Connection:
|21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
|21557|2:2|new| IP Address. . . . . . . . . . . . : 10.75.144.124
|21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
|21557|2:2|new| Default Gateway . . . . . . . . . :
|21557|2:2|new| Ethernet adapter Local Area Connection 2:
|21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
|21557|2:2|new| IP Address. . . . . . . . . . . . : 134.154.119.175
|21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
|21557|2:2|new| Default Gateway . . . . . . . . . : 134.154.119.254
2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6264)|SSH command
executed on vcl-winxp, returning (0, "Windows IP Configuration Ether...")
2010-02-13 23:10:08|21557|2:2|new|utils.pm:getdynamicaddress(1643)|dynamic
IP address for vcl-winxp collected: 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1033)|retrieved
dynamic DHCP IP address from 10.75.144.124: 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|DataStructure.pm:_automethod(697)|data
structure updated: computer_ip_address = 10.75.144.124
2010-02-13 
23:10:08|21557|2:2|new|utils.pm:update_computer_address(7049)|computer
13 IP address 10.75.144.124 updated in database
2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1039)|updated IP
address in computer table


As you can see, its taking the public IP (134.154.119.175) and making it the
private one, and vice versa.  End result is that it asks me to RDP to the
private address, which of course is impossible.

If I RDP to the 134.154.119.175, I can login just fine.  I just need VCL to
present that IP address to me instead of the private one.

Any ideas on this?

Thanks,
Jeff



On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon wrote:


Hey Jeff,

It looks like you have not filled in your mac address information for your
virtual machine.  Vmware likes a particular format for this.  Try
00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
eth1macaddress.

The field "IPaddress" corresponds to the "public" address.  Though, I don't
think this will matter here.  A public IP address typically will be generate
for  your machine.  Try a reservation with the mac addresses and see if that
fixes this.

You may have already done these steps but I thought I would add them to be
safe:

You should have an entry for your virtual machine in your /etc/hosts file.
 (ex. 10.75.144.15 csuvm15).

You should also have an entry in your dhcpd.conf file as well for each
virtual machine.

Hope this helps,

Patrick


On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:


We're now at the point where we can create reservations and virtual

machines

get loaded with images.  The issue we're having is that the virtual

machines

come up on their private IP addresses only.  The reservation screen shows
the private IP and the RDP file has that IP in it.  We have the virtual
machines configured with two interfaces - one on the private network for

VCL

admin stuff, and the other on the public network where we have the campus
DHCP server configured to give it an IP.  However, it doesn't seem to be
working, or at least if it is getting a public IP, VCL isn't telling us

what

it is.

I'm wondering if the issue is in the database. Each virtual machine has

an

"IPaddress" and a "privateIPaddress".  On our virtual machines, they are

set

to the sam

Re: Help with external DHCP issue

2010-02-13 Thread Jeffrey Wisman
Thanks James.  I added the VMs to my /etc/hosts file and my dhcpd.conf file,
and the same thing is happening.  I think the dhcp was working fine before,
but VCL seems to be getting confused between what the public IP address is
and what the private one is.  Here is a snippet from the logs:

2010-02-13 
23:10:02|21557|2:2|new|utils.pm:get_management_node_id(9346)|environment
variable: 1
2010-02-13 
23:10:02|21557|2:2|new|new.pm:reserve_computer(1017)|user_standalone=1,
image OS type=windows
2010-02-13 23:10:02|21557|2:2|new|utils.pm:getdynamicaddress(1596)|PrivateIP
address for vcl-winxp collected 134.154.119.175
2010-02-13 23:10:02|21557|2:2|new|utils.pm:run_ssh_command(6168)|executing
SSH command on vcl-winxp:
|21557|2:2|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x vcl-winxp
'ipconfig' 2>&1
2010-02-13 23:10:05|7225|vcld:main(165)|lastcheckin time updated for
management node 1: 2010-02-13 23:10:05
2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6250)|run_ssh_command
output:
|21557|2:2|new| Windows IP Configuration
|21557|2:2|new| Ethernet adapter Local Area Connection:
|21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
|21557|2:2|new| IP Address. . . . . . . . . . . . : 10.75.144.124
|21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
|21557|2:2|new| Default Gateway . . . . . . . . . :
|21557|2:2|new| Ethernet adapter Local Area Connection 2:
|21557|2:2|new| Connection-specific DNS Suffix . : csueastbay.edu
|21557|2:2|new| IP Address. . . . . . . . . . . . : 134.154.119.175
|21557|2:2|new| Subnet Mask . . . . . . . . . . . : 255.255.255.128
|21557|2:2|new| Default Gateway . . . . . . . . . : 134.154.119.254
2010-02-13 23:10:08|21557|2:2|new|utils.pm:run_ssh_command(6264)|SSH command
executed on vcl-winxp, returning (0, "Windows IP Configuration Ether...")
2010-02-13 23:10:08|21557|2:2|new|utils.pm:getdynamicaddress(1643)|dynamic
IP address for vcl-winxp collected: 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1033)|retrieved
dynamic DHCP IP address from 10.75.144.124: 10.75.144.124
2010-02-13 23:10:08|21557|2:2|new|DataStructure.pm:_automethod(697)|data
structure updated: computer_ip_address = 10.75.144.124
2010-02-13 
23:10:08|21557|2:2|new|utils.pm:update_computer_address(7049)|computer
13 IP address 10.75.144.124 updated in database
2010-02-13 23:10:08|21557|2:2|new|new.pm:reserve_computer(1039)|updated IP
address in computer table


As you can see, its taking the public IP (134.154.119.175) and making it the
private one, and vice versa.  End result is that it asks me to RDP to the
private address, which of course is impossible.

If I RDP to the 134.154.119.175, I can login just fine.  I just need VCL to
present that IP address to me instead of the private one.

Any ideas on this?

Thanks,
Jeff



On Sun, Feb 7, 2010 at 9:35 PM, James Patrick Sigmon wrote:

> Hey Jeff,
>
> It looks like you have not filled in your mac address information for your
> virtual machine.  Vmware likes a particular format for this.  Try
> 00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for
> eth1macaddress.
>
> The field "IPaddress" corresponds to the "public" address.  Though, I don't
> think this will matter here.  A public IP address typically will be generate
> for  your machine.  Try a reservation with the mac addresses and see if that
> fixes this.
>
> You may have already done these steps but I thought I would add them to be
> safe:
>
> You should have an entry for your virtual machine in your /etc/hosts file.
>  (ex. 10.75.144.15 csuvm15).
>
> You should also have an entry in your dhcpd.conf file as well for each
> virtual machine.
>
> Hope this helps,
>
> Patrick
>
>
> On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:
>
> > We're now at the point where we can create reservations and virtual
> machines
> > get loaded with images.  The issue we're having is that the virtual
> machines
> > come up on their private IP addresses only.  The reservation screen shows
> > the private IP and the RDP file has that IP in it.  We have the virtual
> > machines configured with two interfaces - one on the private network for
> VCL
> > admin stuff, and the other on the public network where we have the campus
> > DHCP server configured to give it an IP.  However, it doesn't seem to be
> > working, or at least if it is getting a public IP, VCL isn't telling us
> what
> > it is.
> >
> > I'm wondering if the issue is in the database. Each virtual machine has
> an
> > "IPaddress" and a "privateIPaddress".  On our virtual machines, they are
> set
> > to the same thing.  Here is an example:
> >
> > mysql> select * from computer;
> >
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+-

Re: Help with external DHCP issue

2010-02-07 Thread James Patrick Sigmon
Hey Jeff,

It looks like you have not filled in your mac address information for your 
virtual machine.  Vmware likes a particular format for this.  Try 
00:50:56:2A:3B:00 for eth0macaddress and 00:50:56:2A:3B:01 for eth1macaddress.

The field "IPaddress" corresponds to the "public" address.  Though, I don't 
think this will matter here.  A public IP address typically will be generate 
for  your machine.  Try a reservation with the mac addresses and see if that 
fixes this.

You may have already done these steps but I thought I would add them to be safe:

You should have an entry for your virtual machine in your /etc/hosts file.  
(ex. 10.75.144.15 csuvm15).

You should also have an entry in your dhcpd.conf file as well for each virtual 
machine.

Hope this helps,

Patrick


On Feb 8, 2010, at 12:14 AM, Jeffrey Wisman wrote:

> We're now at the point where we can create reservations and virtual machines
> get loaded with images.  The issue we're having is that the virtual machines
> come up on their private IP addresses only.  The reservation screen shows
> the private IP and the RDP file has that IP in it.  We have the virtual
> machines configured with two interfaces - one on the private network for VCL
> admin stuff, and the other on the public network where we have the campus
> DHCP server configured to give it an IP.  However, it doesn't seem to be
> working, or at least if it is getting a public IP, VCL isn't telling us what
> it is.
> 
> I'm wondering if the issue is in the database. Each virtual machine has an
> "IPaddress" and a "privateIPaddress".  On our virtual machines, they are set
> to the same thing.  Here is an example:
> 
> mysql> select * from computer;
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
> | id | stateid | ownerid | platformid | scheduleid | currentimageid |
> preferredimageid | nextimageid | imagerevisionid | RAM   | procnumber |
> procspeed | network | hostname  | IPaddress   |
> privateIPaddress | eth0macaddress | eth1macaddress | type   |
> provisioningid | drivetype | deleted | notes | lastcheck | location | dsa  |
> dsapub | rsa  | rsapub | host | hostpub | vmhostid | vmtypeid |
> ++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
> 
> | 24 |   2 |   1 |  1 |  1 |  4
> |0 |   0 |   0 |   512 |  1
> |  2000 |1000 | csuvm15   | 10.75.144.15|
> 10.75.144.15 | NULL   | NULL   | virtualmachine
> |  4 | hda   |   0 | NULL  | NULL  | NULL | NULL
> | NULL   | NULL | NULL   | NULL | NULL|1 | NULL |
> 
> 
> Should one be NULLed out or set to something else?  Should we put all the
> private entries in the /etc/hosts file of the VMWare management server?
> Currently I haven't done that, but read it in one of the posts here.  Any
> other ideas?
> 
> Thanks,
> Jeff



Help with external DHCP issue

2010-02-07 Thread Jeffrey Wisman
We're now at the point where we can create reservations and virtual machines
get loaded with images.  The issue we're having is that the virtual machines
come up on their private IP addresses only.  The reservation screen shows
the private IP and the RDP file has that IP in it.  We have the virtual
machines configured with two interfaces - one on the private network for VCL
admin stuff, and the other on the public network where we have the campus
DHCP server configured to give it an IP.  However, it doesn't seem to be
working, or at least if it is getting a public IP, VCL isn't telling us what
it is.

I'm wondering if the issue is in the database. Each virtual machine has an
"IPaddress" and a "privateIPaddress".  On our virtual machines, they are set
to the same thing.  Here is an example:

mysql> select * from computer;
++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+
| id | stateid | ownerid | platformid | scheduleid | currentimageid |
preferredimageid | nextimageid | imagerevisionid | RAM   | procnumber |
procspeed | network | hostname  | IPaddress   |
privateIPaddress | eth0macaddress | eth1macaddress | type   |
provisioningid | drivetype | deleted | notes | lastcheck | location | dsa  |
dsapub | rsa  | rsapub | host | hostpub | vmhostid | vmtypeid |
++-+-++++--+-+-+---++---+-+---+-+--+++++---+-+---+---+--+--++--++--+-+--+--+

| 24 |   2 |   1 |  1 |  1 |  4
|0 |   0 |   0 |   512 |  1
|  2000 |1000 | csuvm15   | 10.75.144.15|
10.75.144.15 | NULL   | NULL   | virtualmachine
|  4 | hda   |   0 | NULL  | NULL  | NULL | NULL
| NULL   | NULL | NULL   | NULL | NULL|1 | NULL |


Should one be NULLed out or set to something else?  Should we put all the
private entries in the /etc/hosts file of the VMWare management server?
Currently I haven't done that, but read it in one of the posts here.  Any
other ideas?

Thanks,
Jeff