Hi Andy,

As I said I really appreciate that I am not alone in this. As the whole picture is changed since I have to add information for the vmhosts and there should be hostonly network I was wondering how many virtual hosts should be created in order to run a block reservation for 20 people simultaneously. Can I just create one and increase the vmlimit to 20?

Regards,
Kalina

On , Kalina Spasova <kalin...@googlemail.com> wrote:
Thank you for getting back to me.

I have only one server for creating VCL environment. that is why I configured a host-only network for one of the interfaces. I am afraid my vmhost table is empty and currently my computer table looks like this:



| 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 |

+----+---------+---------+------------+------------+----------------+------------------+-------------+-----------------+-----+------------+-----------+---------+-----------+----------------+------------------+-------------------+-------------------+----------------+----------------+-----------+---------+-------+-----------+----------+------+--------+------+--------+------+---------+----------+----------+

| 1 | 5 | 1 | 1 | 1 | 4 | 0 | 0 | 0 | 512 | 1 | 2500 | 1000 | vmguest-1 | 195.194.252.41 | NULL | 00:50:56:1a:01:01 | 00:50:56:1a:01:02 | virtualmachine | 2 | hda | 0 | | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |

| 2 | 2 | 1 | 1 | 1 | 4 | 0 | 0 | 0 | 512 | 1 | 2500 | 10 | vmguest-2 | 195.194.252.42 | NULL | 00:50:56:2a:02:01 | 00:50:56:2a:02:02 | virtualmachine | 2 | hda | 0 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |

| 3 | 2 | 1 | 1 | 1 | 4 | 0 | 0 | 0 | 512 | 1 | 2500 | 1000 | vmguest-3 | 195.194.252.43 | NULL | 00:50:56:3a:03:01 | 00:50:56:3a:03:02 | virtualmachine | 2 | hda | 0 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |

| 4 | 2 | 1 | 1 | 1 | 4 | 0 | 0 | 0 | 512 | 1 | 2500 | 10 | vmguest-4 | 195.194.252.44 | NULL | 00:50:56:3F:FF:FF | 00:50:56:1F:FF:FF | virtualmachine | 2 | hda | 0 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |

| 5 | 5 | 1 | 1 | 1 | 4 | 0 | 0 | 0 | 512 | 1 | 2500 | 1000 | vmguest-5 | 195.194.252.45 | NULL | 00:50:56:1A:AA:3A | 00:50:56:1A:AB:44 | virtualmachine | 2 | hda | 0 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |


I have assigned static MAC addresses to the virtual machines.


What I am not sure about is how to set up the DHCP. Should I configure the /etc/vmware/vmnet1/dhcpd/dhcpd.conf file or the /etc/dhcpd.conf to allocate private ip addresses to the machines?


Should I install Cygwin on all of the virtual computers as well?

Thank you.

Yours,
Kalina








2010/3/6 Andy Kurth andy_ku...@ncsu.edu>

Hello,

The log output you sent is for a reload reservation instead of an imaging reservation so it would be helpful if you could provide some more information about the steps you took which led up to the problem. A reload may occur when you set a computer to the vmhostinuse state via "Manage Computers", after an image is successfully captured, or in a couple other situations.




Based on the log output, it appears that something isn't configured correctly in your database. Could you please send the contents of the computer and vmhost tables. Also, if the failed reservation has not been deleted from the request table or if you can reproduce the problem, please include the contents of the request and reservation tables.




It's possible to create an entire VCL environment on a single computer but I wouldn't recommend it for a production environment. Configuration is a bit simpler if you have at least 2 computers, one with the VCL components and one running VMware. If you don't have an extra computer, it's possible to install VMware on the same computer but you have to configure a host-only network to act as the VCL private network and the VCL database, network interfaces, and DHCP have to be configured just right.




-Andy




Kalina Spasova wrote:


Hello,



My name is Kalina Spasova and currently I am trying to implement VCL for the

needs of my university but we are on an experimental stage yet.



I have been following the steps quite strictly and yet I cannot capture any

images.

The hardware we use is Dell R300 server with CentOS installed on it. What my

question is can I have a production VCL environment on it ? Or should I aim

for the standalone VMware environment?



And if it is possible to have a fully operating VCL environment on it how

can I troubleshoot the capturing process because for now when I try to make

a reservation I receive the output after my questions?



Any help will be very much appreciated.



Yours,



Kalina Spasova





|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 155)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(675)|corresponding

data has not been initialized for get_vmhost_image_name:

$self->request_data->{reservation}{19}{computer}{vmhost}{imagename}

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 161)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(675)|corresponding

data has not been initialized for get_vmhost_hostname:

$self->request_data->{reservation}{19}{computer}{vmhost}{hostname}

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 162)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(675)|corresponding

data has not been initialized for get_vmhost_type:

$self->request_data->{reservation}{19}{computer}{vmhost}{type}

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 163)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(675)|corresponding

data has not been initialized for get_computer_eth0_mac_address:

$self->request_data->{reservation}{19}{computer}{eth0macaddress}

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 165)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(675)|corresponding

data has not been initialized for get_computer_eth1_mac_address:

$self->request_data->{reservation}{19}{computer}{eth1macaddress}

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 166)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(675)|corresponding

data has not been initialized for get_vmhost_ram:

$self->request_data->{reservation}{19}{computer}{vmhost}{RAM}

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) DataStructure.pm, _automethod (line: 675)

|9995|17:19|reload| (-2) Autoload.pm, __ANON__ (line: 80)

|9995|17:19|reload| (-3) vmware.pm, load (line: 168)

|9995|17:19|reload| (-4) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-5) new.pm, process (line: 266)

|9995|17:19|reload| (-6) vcld, make_new_child (line: 594)



2010-03-04

18:51:59|9995|17:19|reload| DataStructure.pm:get_computer_private_ip_address(1442)|attempting

to retrieve private IP address for computer: vmwarewinxp-base7-v1

2010-03-04

18:51:59|9995|17:19|reload| DataStructure.pm:get_computer_private_ip_address(1446)|retrieved

contents of /etc/hosts on this management node, contains 18 lines

2010-03-04

18:51:59|9995|17:19|reload| DataStructure.pm:get_computer_private_ip_address(1479)|found

line for 'vmwarewinxp-base7-v1' in /etc/hosts:

|9995|17:19|reload| 195.194.252.41 vmwarewinxp-base7-v1

2010-03-04

18:51:59|9995|17:19|reload| DataStructure.pm:get_computer_private_ip_address(1490)|found

IP address: 195.194.252.41

2010-03-04 18:51:59|9995|17:19|reload|DataStructure.pm:_automethod(697)| data

structure updated:

$self->request_data->{reservation}{19}{computer}{privateIPaddress}

|9995|17:19|reload| computer_private_ip_address = 195.194.252.41

2010-03-04 18:51:59|9995|17:19|reload|utils.pm:insertloadlog(4710)| inserted

computer=1, startload, vmwarewinxp-base7-v1 vmwarewinxp-base7-v1



|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in string eq at /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/

vmware.pm line 191.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 191)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in pattern match (m//) at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 208.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 208)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 212.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 212)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)



No recipient addresses found in header

2010-03-04 18:52:00|9995|17:19|reload|utils.pm:mail(1348)|SUCCESS -- Sending

mail To: , PROBLEM -- vmware.pm



|9995|17:19|reload| ---- CRITICAL ----

|9995|17:19|reload| 2010-03-04

18:51:59|9995|17:19|reload|vmware.pm:load(212)|identity

variiable not definted, setting to blade identity file vmhost variable set

to

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vmware.pm, load (line: 212)

|9995|17:19|reload| (-2) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-3) new.pm, process (line: 266)

|9995|17:19|reload| (-4) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-5) vcld, main (line: 341)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 216.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 216)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)



2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(216)|identity file set

/etc/vcl/vcl.key vmhost imagename bladekey /etc/vcl/vcl.key



|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 239.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 239)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)



2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(244)|persistent= 0

2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(245)|myvmdir=

vmwarewinxp-base7-v1vmwarewinxp-base7-v1

2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(246)|myvmx=

/vmwarewinxp-base7-v1vmwarewinxp-base7-v1/vmwarewinxp-base7-v1vmwarewinxp-base7-v1.vmx

2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(247)|mybasedirname=

vmwarewinxp-base7-v1

2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(248)|myimagename=

vmwarewinxp-base7-v1



|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 251.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 251)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)



2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(251)|checking for base

image vmwarewinxp-base7-v1vmwarewinxp-base7-v1 on

2010-03-04 18:52:00|9995|17:19|reload|utils.pm:insertloadlog(4710)| inserted

computer=1, vmround1, checking host for requested image files



|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 255.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 255)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)



2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(256)|trying to create

exclusive lock on /tmp/vmwarewinxp-base7-v1lock while checking if image

files exist on host

2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(259)|owning exclusive

lock on /tmp/vmwarewinxp-base7-v1lock



|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 260.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 260)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)



2010-03-04 18:52:00|9995|17:19|reload|vmware.pm:load(260)|listing datestore



|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 262.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 262)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|utils.pm:run_ssh_command(6092)|computer

node was not specified

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) utils.pm, run_ssh_command (line: 6092)

|9995|17:19|reload| (-2) vmware.pm, load (line: 262)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)

|9995|17:19|reload| (-6) vcld, main (line: 341)





|9995|17:19|reload| ---- WARNING ----

|9995|17:19|reload| 2010-03-04

18:52:00|9995|17:19|reload|vcld:warning_handler(636)|Use of uninitialized

value in concatenation (.) or string at

/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/vmware.pm line 264.

|9995|17:19|reload| ( 0) utils.pm, notify (line: 737)

|9995|17:19|reload| (-1) vcld, warning_handler (line: 636)

|9995|17:19|reload| (-2) vmware.pm, load (line: 264)

|9995|17:19|reload| (-3) new.pm, reload_image (line: 665)

|9995|17:19|reload| (-4) new.pm, process (line: 266)

|9995|17:19|reload| (-5) vcld, make_new_child (line: 594)<b

Reply via email to