You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by Felipe Santos <fe...@gmail.com> on 2009/11/02 14:35:45 UTC

Re: Standalone VMware VCL Environment

I couldn't find this key:
vcl.key.pub

"cat /etc/vcl/vcl.key.pub >> /root/.ssh/authorized_keys"

Where I could get it?


Thanks,

Felipe

2009/10/26 Andy Kurth <an...@ncsu.edu>

> Those values for the VMware host computer are never used in the test
> environment explained on that page because vcld isn't actually provisioning
> the VMware host as it normally could/would via xCAT if xCAT is used.  You
> are manually installing VMware on the same computer being used as the
> management node.  An entry still needs to be added to the computer table for
> the VMware host.  vcld uses this entry to know which host to connect to and
> run the VMware Server control commands.  The type and provisioning engine
> values can be set to anything and it shouldn't matter.
>
> The VMware guests however, must be set to:
> Type: virtualmachine
> Provisioning engine: VMWare Server Provisioning
>
> -Andy
>
>
>
> Felipe Santos wrote:
>
>> Thanks
>> Another doubt, I must fill it with:
>>      Type: blade
>>     - Provisioning engine: xCAT 1.x
>> even if I don't use this?
>> I use VMWare Free Server.
>>
>>
>> Felipe
>>
>> 2009/10/26 Andy Kurth <an...@ncsu.edu>
>>
>>  Hello,
>>> The instructions on that page led you to encounter a known issue if a
>>> computer is added in the maintenance state:
>>> https://issues.apache.org/jira/browse/VCL-189
>>>
>>> I have updated the page to instruct you to add the computer in the
>>> available state.  Please try to add the computer again.
>>>
>>> -Andy
>>>
>>>
>>>
>>> Felipe Santos wrote:
>>>
>>>  Hi Dears,
>>>>
>>>> I was following this instructions here(
>>>>
>>>>
>>>> http://cwiki.apache.org/confluence/display/VCL/Configuring+a+Standalone+VMware+VCL+Environment
>>>> ).
>>>> More specifically this:
>>>> Add VM host computer:
>>>>
>>>>  - Manage Computers -> Edit Computer Information -> Submit -> Add
>>>>     - Hosthame: localvmhost
>>>>     - IP Address: 192.168.0.1 (NOTE: there is currently a bug
>>>> restricting
>>>>     the size of the field, so hopefully one octet has less than 3
>>>> digits.)
>>>>     - State: maintenance
>>>>     - Owner: admin
>>>>     - Platform: i386
>>>>     - Schedule: VCL 24x7
>>>>     - RAM: 1024
>>>>     - No Processors: 1
>>>>     - Processor Speed: 2000
>>>>     - Network Speed: 100
>>>>     - Type: blade
>>>>     - Provisioning engine: xCAT 1.x
>>>>     - Computer Groups: all vm host computers
>>>>
>>>>
>>>> And I got this error:
>>>>
>>>>
>>>> Error encountered
>>>> Unkown error type: [8] Undefined index:
>>>> Error at 954 in /var/www/html/vcl/.ht-inc/computers.php
>>>>
>>>> Array
>>>> (
>>>>   [data] => Array
>>>>       (
>>>>           [platforms] => Array
>>>>               (
>>>>               )
>>>>
>>>>           [schedules] => Array
>>>>               (
>>>>               )
>>>>
>>>>           [groups] => Array
>>>>               (
>>>>               )
>>>>
>>>>           [showhostname] => 0
>>>>           [shownextimage] => 0
>>>>           [showipaddress] => 0
>>>>           [showram] => 0
>>>>           [showstate] => 0
>>>>           [showprocnumber] => 0
>>>>           [showdepartment] => 0
>>>>           [showowner] => 0
>>>>           [showprocspeed] => 0
>>>>           [showplatform] => 0
>>>>           [shownetwork] => 0
>>>>           [showschedule] => 0
>>>>           [showcomputerid] => 0
>>>>           [showcurrentimage] => 0
>>>>           [showtype] => 0
>>>>           [showprovisioning] => 0
>>>>           [shownotes] => 0
>>>>           [showcounts] => 0
>>>>           [bulk] =>
>>>>           [ipaddress] => 192.168.0.1
>>>>           [stateid] => 10
>>>>           [owner] => admin
>>>>           [platformid] => 1
>>>>           [scheduleid] => 1
>>>>           [currentimgid] =>
>>>>           [ram] => 3072
>>>>           [numprocs] => 1
>>>>           [procspeed] => 2660
>>>>           [network] => 100
>>>>           [hostname] => localvmhost
>>>>           [compid] =>
>>>>           [type] => blade
>>>>           [provisioningid] => 1
>>>>           [notes] =>
>>>>           [computergroup] => Array
>>>>               (
>>>>                   [11] => 1
>>>>               )
>>>>
>>>>           [showdeleted] => 0
>>>>       )
>>>>
>>>>   [compdata] => Array
>>>>       (
>>>>       )
>>>>
>>>> )
>>>>
>>>>
>>>>
>>>>
>>>> Backtrace:
>>>> =-=-=-=-=-=-=-=-=-=-=-=
>>>> Call#:1 => index.php:computerAddMaintenanceNote() (line#:83)
>>>> Call#:2 => computers.php:errorHandler() (line#:954)
>>>>
>>>> Backtrace with Arguments:
>>>> =-=-=-=-=-=-=-=-=-=-=-=
>>>> Call#:1 => index.php:computerAddMaintenanceNote() (line#:83)
>>>> Arguments(none):
>>>> -----------------------
>>>> Call#:2 => computers.php:errorHandler() (line#:954)
>>>> Arguments(5)
>>>>
>>>> Argument#: 1 => 8
>>>> Argument#: 2 => Undefined index:
>>>> Argument#: 3 => /var/www/html/vcl/.ht-inc/computers.php
>>>> Argument#: 4 => 954
>>>> Argument#: 5 => Array
>>>> (
>>>>   [data] => Array
>>>>       (
>>>>           [platforms] => Array
>>>>               (
>>>>               )
>>>>
>>>>           [schedules] => Array
>>>>               (
>>>>               )
>>>>
>>>>           [groups] => Array
>>>>               (
>>>>               )
>>>>
>>>>           [showhostname] => 0
>>>>           [shownextimage] => 0
>>>>           [showipaddress] => 0
>>>>           [showram] => 0
>>>>           [showstate] => 0
>>>>           [showprocnumber] => 0
>>>>           [showdepartment] => 0
>>>>           [showowner] => 0
>>>>           [showprocspeed] => 0
>>>>           [showplatform] => 0
>>>>           [shownetwork] => 0
>>>>           [showschedule] => 0
>>>>           [showcomputerid] => 0
>>>>           [showcurrentimage] => 0
>>>>           [showtype] => 0
>>>>           [showprovisioning] => 0
>>>>           [shownotes] => 0
>>>>           [showcounts] => 0
>>>>           [bulk] =>
>>>>           [ipaddress] => 192.168.0.1
>>>>           [stateid] => 10
>>>>           [owner] => admin
>>>>           [platformid] => 1
>>>>           [scheduleid] => 1
>>>>           [currentimgid] =>
>>>>           [ram] => 3072
>>>>           [numprocs] => 1
>>>>           [procspeed] => 2660
>>>>           [network] => 100
>>>>           [hostname] => localvmhost
>>>>           [compid] =>
>>>>           [type] => blade
>>>>           [provisioningid] => 1
>>>>           [notes] =>
>>>>           [computergroup] => Array
>>>>               (
>>>>                   [11] => 1
>>>>               )
>>>>
>>>>           [showdeleted] => 0
>>>>       )
>>>>
>>>>   [compdata] => Array
>>>>       (
>>>>       )
>>>>
>>>> )
>>>>
>>>>
>>>>
>>>> Regards
>>>> Felipe
>>>>
>>>>
>>>>  --
>>> Andy Kurth
>>> Virtual Computing Lab
>>> Office of Information Technology
>>> North Carolina State University
>>> andy_kurth@ncsu.edu
>>> 919.513.4090
>>>
>>>
>>
> --
> Andy Kurth
> Virtual Computing Lab
> Office of Information Technology
> North Carolina State University
> andy_kurth@ncsu.edu
> 919.513.4090
>

Re: Standalone VMware VCL Environment

Posted by Andy Kurth <an...@ncsu.edu>.
That is a public key file you need to generate.  Try this command:
ssh-keygen -t rsa -f /etc/vcl/vcl.key -N '' -b 1024 -C 'VCL root account'

The instructions on this page are a bit disjointed.  After installing VMware, 
you can try to begin creating a base image per the instructions at:
http://cwiki.apache.org/confluence/display/VCL/Create+a+Windows+Base+Image

One of the base image creation steps is to run bin/gen-node-key.sh.  This script 
will generate the key files if you don't run ssh-keygen manually.

Hope this helps,
Andy



Felipe Santos wrote:
> I couldn't find this key:
> vcl.key.pub
> 
> "cat /etc/vcl/vcl.key.pub >> /root/.ssh/authorized_keys"
> 
> Where I could get it?
> 
> 
> Thanks,
> 
> Felipe
> 
> 2009/10/26 Andy Kurth <an...@ncsu.edu>
> 
>> Those values for the VMware host computer are never used in the test
>> environment explained on that page because vcld isn't actually provisioning
>> the VMware host as it normally could/would via xCAT if xCAT is used.  You
>> are manually installing VMware on the same computer being used as the
>> management node.  An entry still needs to be added to the computer table for
>> the VMware host.  vcld uses this entry to know which host to connect to and
>> run the VMware Server control commands.  The type and provisioning engine
>> values can be set to anything and it shouldn't matter.
>>
>> The VMware guests however, must be set to:
>> Type: virtualmachine
>> Provisioning engine: VMWare Server Provisioning
>>
>> -Andy
>>
>>
>>
>> Felipe Santos wrote:
>>
>>> Thanks
>>> Another doubt, I must fill it with:
>>>      Type: blade
>>>     - Provisioning engine: xCAT 1.x
>>> even if I don't use this?
>>> I use VMWare Free Server.
>>>
>>>
>>> Felipe
>>>
>>> 2009/10/26 Andy Kurth <an...@ncsu.edu>
>>>
>>>  Hello,
>>>> The instructions on that page led you to encounter a known issue if a
>>>> computer is added in the maintenance state:
>>>> https://issues.apache.org/jira/browse/VCL-189
>>>>
>>>> I have updated the page to instruct you to add the computer in the
>>>> available state.  Please try to add the computer again.
>>>>
>>>> -Andy
>>>>
>>>>
>>>>
>>>> Felipe Santos wrote:
>>>>
>>>>  Hi Dears,
>>>>> I was following this instructions here(
>>>>>
>>>>>
>>>>> http://cwiki.apache.org/confluence/display/VCL/Configuring+a+Standalone+VMware+VCL+Environment
>>>>> ).
>>>>> More specifically this:
>>>>> Add VM host computer:
>>>>>
>>>>>  - Manage Computers -> Edit Computer Information -> Submit -> Add
>>>>>     - Hosthame: localvmhost
>>>>>     - IP Address: 192.168.0.1 (NOTE: there is currently a bug
>>>>> restricting
>>>>>     the size of the field, so hopefully one octet has less than 3
>>>>> digits.)
>>>>>     - State: maintenance
>>>>>     - Owner: admin
>>>>>     - Platform: i386
>>>>>     - Schedule: VCL 24x7
>>>>>     - RAM: 1024
>>>>>     - No Processors: 1
>>>>>     - Processor Speed: 2000
>>>>>     - Network Speed: 100
>>>>>     - Type: blade
>>>>>     - Provisioning engine: xCAT 1.x
>>>>>     - Computer Groups: all vm host computers
>>>>>
>>>>>
>>>>> And I got this error:
>>>>>
>>>>>
>>>>> Error encountered
>>>>> Unkown error type: [8] Undefined index:
>>>>> Error at 954 in /var/www/html/vcl/.ht-inc/computers.php
>>>>>
>>>>> Array
>>>>> (
>>>>>   [data] => Array
>>>>>       (
>>>>>           [platforms] => Array
>>>>>               (
>>>>>               )
>>>>>
>>>>>           [schedules] => Array
>>>>>               (
>>>>>               )
>>>>>
>>>>>           [groups] => Array
>>>>>               (
>>>>>               )
>>>>>
>>>>>           [showhostname] => 0
>>>>>           [shownextimage] => 0
>>>>>           [showipaddress] => 0
>>>>>           [showram] => 0
>>>>>           [showstate] => 0
>>>>>           [showprocnumber] => 0
>>>>>           [showdepartment] => 0
>>>>>           [showowner] => 0
>>>>>           [showprocspeed] => 0
>>>>>           [showplatform] => 0
>>>>>           [shownetwork] => 0
>>>>>           [showschedule] => 0
>>>>>           [showcomputerid] => 0
>>>>>           [showcurrentimage] => 0
>>>>>           [showtype] => 0
>>>>>           [showprovisioning] => 0
>>>>>           [shownotes] => 0
>>>>>           [showcounts] => 0
>>>>>           [bulk] =>
>>>>>           [ipaddress] => 192.168.0.1
>>>>>           [stateid] => 10
>>>>>           [owner] => admin
>>>>>           [platformid] => 1
>>>>>           [scheduleid] => 1
>>>>>           [currentimgid] =>
>>>>>           [ram] => 3072
>>>>>           [numprocs] => 1
>>>>>           [procspeed] => 2660
>>>>>           [network] => 100
>>>>>           [hostname] => localvmhost
>>>>>           [compid] =>
>>>>>           [type] => blade
>>>>>           [provisioningid] => 1
>>>>>           [notes] =>
>>>>>           [computergroup] => Array
>>>>>               (
>>>>>                   [11] => 1
>>>>>               )
>>>>>
>>>>>           [showdeleted] => 0
>>>>>       )
>>>>>
>>>>>   [compdata] => Array
>>>>>       (
>>>>>       )
>>>>>
>>>>> )
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Backtrace:
>>>>> =-=-=-=-=-=-=-=-=-=-=-=
>>>>> Call#:1 => index.php:computerAddMaintenanceNote() (line#:83)
>>>>> Call#:2 => computers.php:errorHandler() (line#:954)
>>>>>
>>>>> Backtrace with Arguments:
>>>>> =-=-=-=-=-=-=-=-=-=-=-=
>>>>> Call#:1 => index.php:computerAddMaintenanceNote() (line#:83)
>>>>> Arguments(none):
>>>>> -----------------------
>>>>> Call#:2 => computers.php:errorHandler() (line#:954)
>>>>> Arguments(5)
>>>>>
>>>>> Argument#: 1 => 8
>>>>> Argument#: 2 => Undefined index:
>>>>> Argument#: 3 => /var/www/html/vcl/.ht-inc/computers.php
>>>>> Argument#: 4 => 954
>>>>> Argument#: 5 => Array
>>>>> (
>>>>>   [data] => Array
>>>>>       (
>>>>>           [platforms] => Array
>>>>>               (
>>>>>               )
>>>>>
>>>>>           [schedules] => Array
>>>>>               (
>>>>>               )
>>>>>
>>>>>           [groups] => Array
>>>>>               (
>>>>>               )
>>>>>
>>>>>           [showhostname] => 0
>>>>>           [shownextimage] => 0
>>>>>           [showipaddress] => 0
>>>>>           [showram] => 0
>>>>>           [showstate] => 0
>>>>>           [showprocnumber] => 0
>>>>>           [showdepartment] => 0
>>>>>           [showowner] => 0
>>>>>           [showprocspeed] => 0
>>>>>           [showplatform] => 0
>>>>>           [shownetwork] => 0
>>>>>           [showschedule] => 0
>>>>>           [showcomputerid] => 0
>>>>>           [showcurrentimage] => 0
>>>>>           [showtype] => 0
>>>>>           [showprovisioning] => 0
>>>>>           [shownotes] => 0
>>>>>           [showcounts] => 0
>>>>>           [bulk] =>
>>>>>           [ipaddress] => 192.168.0.1
>>>>>           [stateid] => 10
>>>>>           [owner] => admin
>>>>>           [platformid] => 1
>>>>>           [scheduleid] => 1
>>>>>           [currentimgid] =>
>>>>>           [ram] => 3072
>>>>>           [numprocs] => 1
>>>>>           [procspeed] => 2660
>>>>>           [network] => 100
>>>>>           [hostname] => localvmhost
>>>>>           [compid] =>
>>>>>           [type] => blade
>>>>>           [provisioningid] => 1
>>>>>           [notes] =>
>>>>>           [computergroup] => Array
>>>>>               (
>>>>>                   [11] => 1
>>>>>               )
>>>>>
>>>>>           [showdeleted] => 0
>>>>>       )
>>>>>
>>>>>   [compdata] => Array
>>>>>       (
>>>>>       )
>>>>>
>>>>> )
>>>>>
>>>>>
>>>>>
>>>>> Regards
>>>>> Felipe
>>>>>
>>>>>
>>>>>  --
>>>> Andy Kurth
>>>> Virtual Computing Lab
>>>> Office of Information Technology
>>>> North Carolina State University
>>>> andy_kurth@ncsu.edu
>>>> 919.513.4090
>>>>
>>>>
>> --
>> Andy Kurth
>> Virtual Computing Lab
>> Office of Information Technology
>> North Carolina State University
>> andy_kurth@ncsu.edu
>> 919.513.4090
>>
> 

-- 
Andy Kurth
Virtual Computing Lab
Office of Information Technology
North Carolina State University
andy_kurth@ncsu.edu
919.513.4090