You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Dmitri Chebotarov <dc...@gmu.edu> on 2012/02/09 21:02:54 UTC

VCL and xCat

Hi All

Anyone is using xCat with VCL?

I have generic question about xCat and VCL - where do I start? 
Do I need working xCat environment before I can add it to VCL? 
Does xCat need dedicated server? Or does it run on the VCL management node? 
Are there any special hardware requirements for xCat "clients"?


Thank you.





Re: VCL and xCat

Posted by Aaron Peeler <aa...@ncsu.edu>.
We use a single dhcp server/config on the private network for both the
blades and vm nodes.

In xCAT2 - there are globals set in the default /etc/dhcpd.conf and
xCAT makes heavy use of the /var/lib/dhcpd/dhcpd.leases files for
adding nodes, etc.  We typically have blades that are part of the xCAT
tables and vms that are not. We just add the vms to the /etc/hosts
file same as the blades and just script the adding of the vms to the
leases file.

You could definitely add the vms to the xCAT tables - just to make use
of the makedhcp cmd. But with hundreds of vm entries, that just
cluttered up our xCAT tables. So we just elected to add them directly
outside of the xCAT managed blades.

Aaron

On Fri, Feb 10, 2012 at 10:15 AM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
>
> Thank you, I hope we can make it work in our environment as well...
>
> I keep searching and reading xCat docs - here is good one -> http://sumavi.com/books/xcat-administrators-guide.
> BTW, if you have any docs outside of xcat.org site, please share... At this point I'm looking for xCat overview docs, i.e. to understand the process.
>
> Looks like xCat makes extensive use of DHCP server to manage nodes. Are you using different DHCPd servers for VCL VMs and xCat nodes, or just keep everything on one DHCP server and being careful with which MAC gets what?
>
> Thanks again for your help...
>
> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>
>> Dmitri,
>>
>> Just to add to Amit, comments.
>>
>> We use xCAT extensively here at ncsu. From provisioning end-user
>> desktops and our hypervisors. xCAT very helpful when needed to install
>> a chassis full of blades with esxi.
>>
>> As your installing xCAT  You'll want to review
>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html
>> We added in VCL support for partimage  - which is used to capture the
>> disk images of end-user environments/desktops for windows and linux.
>>
>> When your adding nodes to vcl through the manage computers tool, make
>> sure to choose "xCAT 2.x" .  If your doing windows bare-metal, you'll
>> also need to include sysprep and related mass storage drivers so it
>> can be reloaded successfully.
>>
>> For sysprep review step 8 on this page:
>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+Node+Installation
>>
>> Hope this info helps,
>> Aaron
>>
>>
>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
>>>
>>> Amit,
>>>
>>> Thanks a lot.
>>>
>>>
>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>
>>>> Hi Dmitri,
>>>>
>>>> You general idea is correct to my best understanding.
>>>>
>>>> "Install Path" in the Edit management Node will be the path for xCAT(bare metal) image repository. In addition when you configure the "Site" table in xCAT you will set the "installdir" to point to the location where you will store your images.
>>>>
>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>
>>>> Best,
>>>> Amit
>>>>
>>>>> -----Original Message-----
>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>> To: vcl-user@incubator.apache.org
>>>>> Subject: Re: VCL and xCat
>>>>>
>>>>>
>>>>> Amit,
>>>>>
>>>>> I'm trying to get general idea about xCat/VCL : so, basically xCat
>>>>> needs to be installed and configured on VCL Mgm node(s) before it can
>>>>> be used with VCL, and I should be able to successfully provision xCat
>>>>> nodes/clients with different images. Once xCat is working then I can
>>>>> add bare-metal computers - blade with xCat 2.x engine. Does it sound
>>>>> right?
>>>>>
>>>>> How do you tell VCL where to get image files for xCat nodes - is it
>>>>> 'Install Path' setting under Management Nodes -> Edit management node
>>>>> information?
>>>>>
>>>>> What kind of hardware do you have for xCat nodes? Are those IBM blade
>>>>> servers or/and PCs?
>>>>>
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We do not need an additional/dedicated server to do both xCAT and VCL
>>>>> together, your management node can serve as your xCAT server.
>>>>>>
>>>>>> I would recommend getting xCAT to work by itself before using VCL to
>>>>> manage your images and guest OS.
>>>>>>
>>>>>> This has worked well for us so far.
>>>>>>
>>>>>> :Amit
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>> Subject: VCL and xCat
>>>>>>>
>>>>>>> Hi All
>>>>>>>
>>>>>>> Anyone is using xCat with VCL?
>>>>>>>
>>>>>>> I have generic question about xCat and VCL - where do I start?
>>>>>>> Do I need working xCat environment before I can add it to VCL?
>>>>>>> Does xCat need dedicated server? Or does it run on the VCL
>>>>> management
>>>>>>> node?
>>>>>>> Are there any special hardware requirements for xCat "clients"?
>>>>>>>
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thank you.
>>>>>
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>>>>>
>>>>
>>>
>>>
>>>
>>>
>>> Thank you.
>>>
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>>>
>>>
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>>
>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
>>> =86fD
>>> -----END PGP SIGNATURE-----
>>>
>>
>>
>>
>> --
>> Aaron Peeler
>> Program Manager
>> Virtual Computing Lab
>> NC State University
>>
>> All electronic mail messages in connection with State business which
>> are sent to or received by this account are subject to the NC Public
>> Records Law and may be disclosed to third parties.
>
>
>
>
> Thank you.
>
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
>
>
>
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBAgAGBQJPNTSLAAoJEMRKpymufl8aOnkH/iMV/c518E6+MJOXpzWPU7DP
> XlIS93CQ5MaCyLixXa2jsGQOKgbEIvfo9iD+vq3z/+FUuMzWxfv/cFZyGaABpNU/
> 9A2dLiQo4KRsGdQu1OY/SkV0nzdEWqgOrD4KFESTmPWfqzzgTmH1G899tVbQQzTV
> zix1hoa9zYZeyssKoygRQeiB3G54Oy0YtMpK7DfGFSSo81ZB5S840xwUoG550TD3
> hC2zC4oNEgVQ/XZvQJMR+O7tpOWx26tH+aLz+yMo8hlclKs1ujx8ZO9EJ0MFPhTL
> Sb5Ip49j7qVOPTcKesb4Zz4la5yj3nV5XV5/ii/VysyYAIXJjdLY2soSRT9LInw=
> =7XFt
> -----END PGP SIGNATURE-----
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Thank you for all your help. xCAT / VCL is working OK with both 'image' and 'kickstart' provisioning.

There is a small issue with xCAT2.pm going tru install stages when deploying kickstart image. xCAT2.m uses listener.py to get status, but kickstart image doesn't have it. 
Earlier I've added a custom script 'vcl_nodestat' to read from remote socket created by listener.py. 
Here is updated version of 'vcl_nodestat', adjusted to get status from xCAT for kickstart install. It seems to working OK. 

<code perl>
#!/usr/bin/perl -w

use strict;
use IO::Socket;
my ($remote, $answer, $peerAddress, $peerPort, $sendCommand,$installType,$XCAT_ROOT);

$peerAddress = $ARGV[0];
$peerPort = 3001;
$sendCommand = $ARGV[1];

$XCAT_ROOT = '/opt/xcat';

#get install type via: tabdump -w node==node nodetype|tail -1|awk -F, {'print $2'}
#get current status for non-image install via: tabdump -w node==node chain|tail -1|awk -F, {'print $2'}

$installType = `$XCAT_ROOT/sbin/tabdump -w node==$peerAddress nodetype|tail -1|awk -F, {'print \$2'}|sed s/\\"//g`;

if ( $installType =~ /image/ ) { # connect to listener.py for stat

  $remote=IO::Socket::INET->new(Proto =>'tcp',PeerAddr => $peerAddress,PeerPort => $peerPort,Type => SOCK_STREAM) or die "$peerAddress: noping\n";
  print $remote "$sendCommand\n";
  while ($answer=<$remote>)
    {
      print "$peerAddress: $answer\n";
    }
close $remote;
} else { # install is kickstart
  $answer = `$XCAT_ROOT/sbin/tabdump -w node==$peerAddress chain|tail -1|awk -F ',' {'print \$2'}|sed s/\\"//g`;
  print "$peerAddress: $answer";
}
</code>

These are changes to xCAT2.pm related to this:

# diff xCAT2.pm-copy xCAT2.pm-copy2
580c580
< 		if (open(NODESTAT, "$XCAT_ROOT/bin/nodestat $computer_node_name stat 2>&1 |")) {
---
> 		if (open(NODESTAT, "$XCAT_ROOT/bin/vcl_nodestat $computer_node_name stat 2>&1 |")) {
600c600
< 		} ## end if (open(NODESTAT, "$XCAT_ROOT/bin/nodestat $computer_node_name stat 2>&1 |"...
---
> 		} ## end if (open(NODESTAT, "$XCAT_ROOT/bin/vcl_nodestat $computer_node_name stat 2>&1 |"...
603c603
< 			notify($ERRORS{'CRITICAL'}, 0, "could not run $XCAT_ROOT/bin/nodestat command");
---
> 			notify($ERRORS{'CRITICAL'}, 0, "could not run $XCAT_ROOT/bin/vcl_nodestat command");
614c614
< 			elsif ($status =~ /partimage-ng: complete/) {
---
> 			elsif ($status =~ /partimage-ng: complete|boot/) {
632c632
< 			if ($nodeset_status =~ /boot/ || $status =~ /partimage-ng: complete/) {
---
> 			if ($nodeset_status =~ /boot/ || $status =~ /partimage-ng: complete|boot/) {
976c976
< 	if (open(NODESTAT, "$XCAT_ROOT/bin/nodestat $computer_node_name stat 2>&1 |")) {
---
> 	if (open(NODESTAT, "$XCAT_ROOT/bin/vcl_nodestat $computer_node_name stat 2>&1 |")) {
993c993
< 	} ## end if (open(NODESTAT, "$XCAT_ROOT/bin/nodestat $computer_node_name stat 2>&1 |"...
---
> 	} ## end if (open(NODESTAT, "$XCAT_ROOT/bin/vcl_nodestat $computer_node_name stat 2>&1 |"...


On Mar 1, 2012, at 10:45 , Aaron Peeler wrote:

> Also created a document on this topic. Please review and correct if needed.
> 
> https://cwiki.apache.org/confluence/display/VCL/Adding+xCAT+kickstart+based+image
> 
> Aaron
> 
> On Thu, Mar 1, 2012 at 9:55 AM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
>> Mike
>> 
>> Thank you. I was missing the record in vcl.resource table.
>> For ESXi 4.1 kickstart I had to change sourcepath value in vcl.os from esxi4.1 to esxi41 for id=38. xCAT2.pm can only get esxi4. (misses part after .)
>> I also had to create couple symlinks for xCAT2.pm to find image folder, but it's working now.
>> 
>> Thank you.
>> 
>> On Feb 29, 2012, at 16:47 , Waldron, Michael H wrote:
>> 
>>> Dmitri,
>>> 
>>> I have a script that I run to manually insert an image into the database. It places an entry in the image, imgagerevision, and resource tables. Here is a sample below. Of course you would substitute the proper values for your situation.
>>> 
>>> INSERT INTO `image` (id, `name`, `prettyname`, `ownerid`, `deptid`, `platformid`,
>>> `OSid`, `imagemetaid`, `minram`, `minprocnumber`, `minprocspeed`, `minnetwork`,
>>> `maxconcurrent`, `reloadtime`, `deleted`, `test`, `lastupdate`, `forcheckout`, `maxinitialtime`,
>>> `project`, `size`) VALUES (150, 'vmwarerhels4-base150-v0', 'Base No Apps, RHEL4 32-bit w/AFS (vmware)', 8, 1, 1, 32, NULL, 1024, 1, 0, 10, NULL, 14, 0, 0, NOW(), 1, 0, 'vcl', 1045);
>>> 
>>> INSERT INTO `imagerevision` (`imageid`, `revision`, `userid`, `datecreated`, `deleted`, `production`,
>>> `comments`, `imagename`) VALUES (150, 0, 8, NOW(), 0, 1, NULL, 'vmwarerhels4-base150-v0');
>>> 
>>> INSERT INTO `resource` (`resourcetypeid`, `subid`) VALUES (13, 150);
>>> 
>>> Mike
>>> 
>>> Mike Waldron
>>> Systems Specialist
>>> ITS Research Computing
>>> University of North Carolina at Chapel Hill
>>> CB 3420, ITS Manning, Rm 2509
>>> 919-962-9778
>>> 
>>> -----Original Message-----
>>> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu]
>>> Sent: Wednesday, February 29, 2012 4:19 PM
>>> To: vcl-user@incubator.apache.org
>>> Subject: Re: VCL and xCat
>>> 
>>> Mike,
>>> 
>>> Thank you for explanation.
>>> How did you add kickstart image to vcl.image table?
>>> I've tried adding image by inserting record directly into vcl.image and vcl.imagemeta tables, but this didn't work.
>>> vcld --setup only allows partimage type for bare-metal.
>>> 
>>> Thank you.
>>> 
>>> On Feb 29, 2012, at 15:41 , Waldron, Michael H wrote:
>>> 
>>>> Dmitri,
>>>> 
>>>> Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid.
>>>> 
>>>> Example:
>>>> 
>>>> mysql> select prettyname, OSid from image where id=235;
>>>> +---------------------------------------+------+
>>>> | prettyname                            | OSid |
>>>> +---------------------------------------+------+
>>>> | RedHat Enterprise Linux server 5 (KS) |   19 |
>>>> +---------------------------------------+------+
>>>> 1 row in set (0.00 sec)
>>>> 
>>>> mysql> select * from OS where id=19;
>>>> +----+-------+----------------------------+-------+-------------+------------+----------+
>>>> | id | name  | prettyname                 | type  | installtype | sourcepath | moduleid |
>>>> +----+-------+----------------------------+-------+-------------+------------+----------+
>>>> | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart   | rhas5      |        5 |
>>>> +----+-------+----------------------------+-------+-------------+------------+----------+
>>>> 1 row in set (0.00 sec)
>>>> 
>>>> mysql> select * from module where id=5;
>>>> +----+----------+-----------------+-------------+------------------------+
>>>> | id | name     | prettyname      | description | perlpackage            |
>>>> +----+----------+-----------------+-------------+------------------------+
>>>> |  5 | os_linux | Linux OS Module |             | VCL::Module::OS::Linux |
>>>> +----+----------+-----------------+-------------+------------------------+
>>>> 1 row in set (0.00 sec)
>>>> 
>>>> So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use.
>>>> 
>>>> You need to have the appropriate entries in your OS and module tables specific to your ESXi image.
>>>> 
>>>> Mike
>>>> 
>>>> Mike Waldron
>>>> Systems Specialist
>>>> ITS Research Computing
>>>> University of North Carolina at Chapel Hill
>>>> CB 3420, ITS Manning, Rm 2509
>>>> 919-962-9778
>>>> 
>>>> -----Original Message-----
>>>> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu]
>>>> Sent: Wednesday, February 29, 2012 3:17 PM
>>>> To: vcl-user@incubator.apache.org
>>>> Subject: Re: VCL and xCat
>>>> 
>>>> Hi again,
>>>> 
>>>> Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image.
>>>> But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal.
>>>> 
>>>> And there seems to be no column in vcl.image table which corresponds to image_os_install_type.
>>>> 
>>>> Help! Does VCL support kickstart image install with xCAT module?
>>>> 
>>>> Thank you.
>>>> 
>>>> On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:
>>>> 
>>>>> 
>>>>> Hi
>>>>> 
>>>>> Is there a way to use kickstart script install with VCL/xCAT?
>>>>> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them.
>>>>> 
>>>>> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK).
>>>>> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage?
>>>>> 
>>>>> Thank you for help.
>>>>> 
>>>>> 
>>>>> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
>>>>> 
>>>>>> 
>>>>>> Hash: SHA1
>>>>>> 
>>>>>> Dmitri,
>>>>>> 
>>>>>> Did you follow the guide for adding partimage support to xCAT?
>>>>>> 
>>>>>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>>>>>> ng+to+xCAT+2.x+%28unofficial%29
>>>>>> 
>>>>>> You said you installed the partimage rpm.  partimage is not something that
>>>>>> needs to be installed on the management node.  It is part of the stateless
>>>>>> images mentioned on the above page.
>>>>>> 
>>>>>> Josh
>>>>>> 
>>>>>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>>>>>> Hi All.
>>>>>>> 
>>>>>>> I'm trying to capture a base image using xCAT module - the server is
>>>>>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>>>>>> node and then fails when trying to create .tmpl file.
>>>>>>> 
>>>>>>> xCAT is installed and configured on the management node.
>>>>>>> partimage rpm is installed as well.
>>>>>>> 
>>>>>>> Do you know what could be the issue?
>>>>>>> 
>>>>>>> Thank you for your help.
>>>>>>> 
>>>>>>> ...
>>>>>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>>>>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>>>>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>>>>> ment node identifier argument was not specified
>>>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path
>>>>>> for image:
>>>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>>>> |12755|275:261|image| OS install type: partimage
>>>>>>> |12755|275:261|image| OS source path: image
>>>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>>>> 
>>>>>>> 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>>>>> ment node identifier argument was not specified
>>>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path
>>>>>> for image:
>>>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>>>> |12755|275:261|image| OS install type: partimage
>>>>>>> |12755|275:261|image| OS source path: image
>>>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>>>> 
>>>>>>> 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>>>>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>>>>>> 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>>>>>> were returned from database select 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>>>>>> 35)|image owner id: 1 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>>>>> (information_schema) does not match handle stored in $ENV{dbh}
>>>>>>> (vcl:10.3.1.214) 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>>>>> stored in $ENV{dbh} 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>>>>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>>>>> (vcl) does not match handle stored in $ENV{dbh}
>>>>>>> (information_schema:10.3.1.214) 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>>>>> stored in $ENV{dbh} 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>>>>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>>>>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>>>>>> To: dchebota@gmu.edu, PROBLEM --
>>>>>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>>>>>> |12755|275:261|image| ---- CRITICAL ----
>>>>>>> |12755|275:261|image| 2012-02-21
>>>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>>>>>> |ailed to find suitable base image template file in
>>>>>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>>>>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>>>>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>>>>>> |xCAT2.pm, capture (line: 836)
>>>>>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>>>>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>>>>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>>>>>> |12755|275:261|image| ---- WARNING ----
>>>>>>> |12755|275:261|image| 2012-02-21
>>>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>>>>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>>>>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>>>>>> |xCAT2.pm, capture (line: 836)
>>>>>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>>>>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>>>>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>>>>>> |12755|275:261|image| ---- WARNING ----
>>>>>>> |12755|275:261|image| 2012-02-21
>>>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>>>>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>>>>>> |xCAT2.pm, capture (line: 840)
>>>>>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>>>>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>>>>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>>>>>> |12755|275:261|image| ---- WARNING ----
>>>>>>> |12755|275:261|image| 2012-02-21
>>>>>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>>>>>> |s5v474-v0 image failed to be captured by provisioning module
>>>>>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>>>>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>>>>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>>>>>> 
>>>>>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>>>>>> Yes, we're using the latest xCAT version.
>>>>>>>> 
>>>>>>>> -A
>>>>>>>> 
>>>>>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>>>>>> Hi Dmitri,
>>>>>>>>> 
>>>>>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>>>>>> May be Aaron and his group could say more.
>>>>>>>>> 
>>>>>>>>> Thank you,
>>>>>>>>> Amit
>>>>>>>>> 
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>>>>>> 
>>>>>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>>>>>> it
>>>>>>>>>> 
>>>>>>>>>> and then slowly things started to make more sense once it worked.
>>>>>>>>>> 
>>>>>>>>>>> Also xCAT forum was very helpful.
>>>>>>>>>>> 
>>>>>>>>>>> Thank you,
>>>>>>>>>>> Amit
>>>>>>>>>>> 
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>>>>>> well...
>>>>>>>>>>>> 
>>>>>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>>>>>> share...
>>>>>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>>>>>> understand
>>>>>>>>>>>> the process.
>>>>>>>>>>>> 
>>>>>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>>>>>> nodes.
>>>>>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>>>>>> nodes, or
>>>>>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>>>>>> which
>>>>>>>>>>>> MAC gets what?
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks again for your help...
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>>>>>> Dmitri,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>>>>>> end-user
>>>>>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>>>>>> 
>>>>>>>>>>>> install
>>>>>>>>>>>> 
>>>>>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>>>>>> 
>>>>>>>>>>>> partimag
>>>>>>>>>>>> 
>>>>>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>>>>>> partimage
>>>>>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>>>>>> tool,
>>>>>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>>>>>> bare-metal,
>>>>>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>>>>>> 
>>>>>>>>>> drivers
>>>>>>>>>> 
>>>>>>>>>>>>> so it can be reloaded successfully.
>>>>>>>>>> 
>>>>>>>>>>>>> For sysprep review step 8 on this page:
>>>>>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>>>>>> +
>>>>>>>>>> 
>>>>>>>>>>>> N
>>>>>>>>>>>> 
>>>>>>>>>>>>> ode+Installation
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Hope this info helps,
>>>>>>>>>>>>> Aaron
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>>>>>> 
>>>>>>>>>> <dc...@gmu.edu>
>>>>>>>>>> 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks a lot.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>>>>>> path for
>>>>>>>>>>>> 
>>>>>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>>>>>> configure
>>>>>>>>>> 
>>>>>>>>>> the
>>>>>>>>>> 
>>>>>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>>>>>> the
>>>>>>>>>>>> location where you will store your images.
>>>>>>>>>>>> 
>>>>>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Best,
>>>>>>>>>>>>>>> Amit
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>>>>>> basically
>>>>>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>>>>>> node(s)
>>>>>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>>>>>> images.
>>>>>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>>>>>> - blade
>>>>>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>>>>>> nodes - is
>>>>>>>>>>>> 
>>>>>>>>>>>> it
>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>>>>>> management
>>>>>>>>>>>>>>>> node information?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>>>>>> those IBM
>>>>>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>>>>>> and VCL
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>>>>>> server.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>>>>>> before using
>>>>>>>>>>>>>>>>> VCL to
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> management
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>>>>>> 
>>>>>>>>>> "clients"?
>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>>>>>> zzem
>>>>>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>>>>>> qNTm
>>>>>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>>>>>> e62X
>>>>>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>>>>>> 77gD
>>>>>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>>>>>> pctI
>>>>>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>>>>>> TmA=
>>>>>>>>>>>>>> =86fD
>>>>>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>>>>> 
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Aaron Peeler
>>>>>>>>>>>>> Program Manager
>>>>>>>>>>>>> Virtual Computing Lab
>>>>>>>>>>>>> NC State University
>>>>>>>>>>>>> 
>>>>>>>>>>>>> All electronic mail messages in connection with State business
>>>>>>>>>> 
>>>>>>>>>> which
>>>>>>>>>> 
>>>>>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>>>>>> 
>>>>>>>>>> Public
>>>>>>>>>> 
>>>>>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> -----------------
>>>>>>> Dmitri Chebotarov
>>>>>>> dchebota@gmu.edu
>>>>>>> 703-993-6175
>>>>>>> -----------------
>>>>>> - --
>>>>>> - -------------------------------
>>>>>> Josh Thompson
>>>>>> VCL Developer
>>>>>> North Carolina State University
>>>>>> 
>>>>>> my GPG/PGP key can be found at pgp.mit.edu
>>>>>> 
>>>>>> All electronic mail messages in connection with State business which
>>>>>> are sent to or received by this account are subject to the NC Public
>>>>>> Records Law and may be disclosed to third parties.
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Thank you.
>>>> 
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
>> 
>> 
>> -----BEGIN PGP SIGNATURE-----
>> 
>> iQEcBAEBAgAGBQJPT43/AAoJEMRKpymufl8aTJQH/RrWqJF+3dIfEKVp6/vls8mv
>> CfjjkXgl9NStUINDnA8V7cREbj1qTU1aSqdD8zOLqLyqm3+WZ0NOon5CB3j1F03b
>> 53iphtY+7r+FhVefupST90hh160pKcVRyTk5fk3spWyShUmtNrh5CSRXGZjk/Zf/
>> RXjglpkQ5/BE75aThq2b/BNqxzahKh2Ks7084mL0sBN4NAsHaOfSUJyhmZNfSTsy
>> lWjZ3IZVZT9rLpTKwkEpa1ITo8wznLDbXGNS62WNVBN4u2cDoLhGKb+FFLEgmPIv
>> g9avfxa+w2MLQtaAdufenyq+C94av0J7AUZ4l8liI3aLxqco2JuXVeHHHT+f9gQ=
>> =xaTU
>> -----END PGP SIGNATURE-----
>> 
> 
> 
> 
> -- 
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Aaron Peeler <aa...@ncsu.edu>.
Also created a document on this topic. Please review and correct if needed.

https://cwiki.apache.org/confluence/display/VCL/Adding+xCAT+kickstart+based+image

Aaron

On Thu, Mar 1, 2012 at 9:55 AM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
> Mike
>
> Thank you. I was missing the record in vcl.resource table.
> For ESXi 4.1 kickstart I had to change sourcepath value in vcl.os from esxi4.1 to esxi41 for id=38. xCAT2.pm can only get esxi4. (misses part after .)
> I also had to create couple symlinks for xCAT2.pm to find image folder, but it's working now.
>
> Thank you.
>
> On Feb 29, 2012, at 16:47 , Waldron, Michael H wrote:
>
>> Dmitri,
>>
>> I have a script that I run to manually insert an image into the database. It places an entry in the image, imgagerevision, and resource tables. Here is a sample below. Of course you would substitute the proper values for your situation.
>>
>> INSERT INTO `image` (id, `name`, `prettyname`, `ownerid`, `deptid`, `platformid`,
>> `OSid`, `imagemetaid`, `minram`, `minprocnumber`, `minprocspeed`, `minnetwork`,
>> `maxconcurrent`, `reloadtime`, `deleted`, `test`, `lastupdate`, `forcheckout`, `maxinitialtime`,
>> `project`, `size`) VALUES (150, 'vmwarerhels4-base150-v0', 'Base No Apps, RHEL4 32-bit w/AFS (vmware)', 8, 1, 1, 32, NULL, 1024, 1, 0, 10, NULL, 14, 0, 0, NOW(), 1, 0, 'vcl', 1045);
>>
>> INSERT INTO `imagerevision` (`imageid`, `revision`, `userid`, `datecreated`, `deleted`, `production`,
>> `comments`, `imagename`) VALUES (150, 0, 8, NOW(), 0, 1, NULL, 'vmwarerhels4-base150-v0');
>>
>> INSERT INTO `resource` (`resourcetypeid`, `subid`) VALUES (13, 150);
>>
>> Mike
>>
>> Mike Waldron
>> Systems Specialist
>> ITS Research Computing
>> University of North Carolina at Chapel Hill
>> CB 3420, ITS Manning, Rm 2509
>> 919-962-9778
>>
>> -----Original Message-----
>> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu]
>> Sent: Wednesday, February 29, 2012 4:19 PM
>> To: vcl-user@incubator.apache.org
>> Subject: Re: VCL and xCat
>>
>> Mike,
>>
>> Thank you for explanation.
>> How did you add kickstart image to vcl.image table?
>> I've tried adding image by inserting record directly into vcl.image and vcl.imagemeta tables, but this didn't work.
>> vcld --setup only allows partimage type for bare-metal.
>>
>> Thank you.
>>
>> On Feb 29, 2012, at 15:41 , Waldron, Michael H wrote:
>>
>>> Dmitri,
>>>
>>> Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid.
>>>
>>> Example:
>>>
>>> mysql> select prettyname, OSid from image where id=235;
>>> +---------------------------------------+------+
>>> | prettyname                            | OSid |
>>> +---------------------------------------+------+
>>> | RedHat Enterprise Linux server 5 (KS) |   19 |
>>> +---------------------------------------+------+
>>> 1 row in set (0.00 sec)
>>>
>>> mysql> select * from OS where id=19;
>>> +----+-------+----------------------------+-------+-------------+------------+----------+
>>> | id | name  | prettyname                 | type  | installtype | sourcepath | moduleid |
>>> +----+-------+----------------------------+-------+-------------+------------+----------+
>>> | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart   | rhas5      |        5 |
>>> +----+-------+----------------------------+-------+-------------+------------+----------+
>>> 1 row in set (0.00 sec)
>>>
>>> mysql> select * from module where id=5;
>>> +----+----------+-----------------+-------------+------------------------+
>>> | id | name     | prettyname      | description | perlpackage            |
>>> +----+----------+-----------------+-------------+------------------------+
>>> |  5 | os_linux | Linux OS Module |             | VCL::Module::OS::Linux |
>>> +----+----------+-----------------+-------------+------------------------+
>>> 1 row in set (0.00 sec)
>>>
>>> So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use.
>>>
>>> You need to have the appropriate entries in your OS and module tables specific to your ESXi image.
>>>
>>> Mike
>>>
>>> Mike Waldron
>>> Systems Specialist
>>> ITS Research Computing
>>> University of North Carolina at Chapel Hill
>>> CB 3420, ITS Manning, Rm 2509
>>> 919-962-9778
>>>
>>> -----Original Message-----
>>> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu]
>>> Sent: Wednesday, February 29, 2012 3:17 PM
>>> To: vcl-user@incubator.apache.org
>>> Subject: Re: VCL and xCat
>>>
>>> Hi again,
>>>
>>> Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image.
>>> But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal.
>>>
>>> And there seems to be no column in vcl.image table which corresponds to image_os_install_type.
>>>
>>> Help! Does VCL support kickstart image install with xCAT module?
>>>
>>> Thank you.
>>>
>>> On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:
>>>
>>>>
>>>> Hi
>>>>
>>>> Is there a way to use kickstart script install with VCL/xCAT?
>>>> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them.
>>>>
>>>> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK).
>>>> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage?
>>>>
>>>> Thank you for help.
>>>>
>>>>
>>>> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
>>>>
>>>>>
>>>>> Hash: SHA1
>>>>>
>>>>> Dmitri,
>>>>>
>>>>> Did you follow the guide for adding partimage support to xCAT?
>>>>>
>>>>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>>>>> ng+to+xCAT+2.x+%28unofficial%29
>>>>>
>>>>> You said you installed the partimage rpm.  partimage is not something that
>>>>> needs to be installed on the management node.  It is part of the stateless
>>>>> images mentioned on the above page.
>>>>>
>>>>> Josh
>>>>>
>>>>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>>>>> Hi All.
>>>>>>
>>>>>> I'm trying to capture a base image using xCAT module - the server is
>>>>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>>>>> node and then fails when trying to create .tmpl file.
>>>>>>
>>>>>> xCAT is installed and configured on the management node.
>>>>>> partimage rpm is installed as well.
>>>>>>
>>>>>> Do you know what could be the issue?
>>>>>>
>>>>>> Thank you for your help.
>>>>>>
>>>>>> ...
>>>>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>>>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>>>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>>>> ment node identifier argument was not specified
>>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path
>>>>> for image:
>>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>>> |12755|275:261|image| OS install type: partimage
>>>>>> |12755|275:261|image| OS source path: image
>>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>>>
>>>>>> 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>>>> ment node identifier argument was not specified
>>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path
>>>>> for image:
>>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>>> |12755|275:261|image| OS install type: partimage
>>>>>> |12755|275:261|image| OS source path: image
>>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>>>
>>>>>> 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>>>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>>>>> 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>>>>> were returned from database select 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>>>>> 35)|image owner id: 1 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>>>> (information_schema) does not match handle stored in $ENV{dbh}
>>>>>> (vcl:10.3.1.214) 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>>>> stored in $ENV{dbh} 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>>>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>>>> (vcl) does not match handle stored in $ENV{dbh}
>>>>>> (information_schema:10.3.1.214) 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>>>> stored in $ENV{dbh} 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>>>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>>>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>>>>> To: dchebota@gmu.edu, PROBLEM --
>>>>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>>>>> |12755|275:261|image| ---- CRITICAL ----
>>>>>> |12755|275:261|image| 2012-02-21
>>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>>>>> |ailed to find suitable base image template file in
>>>>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>>>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>>>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>>>>> |xCAT2.pm, capture (line: 836)
>>>>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>>>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>>>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>>>>> |12755|275:261|image| ---- WARNING ----
>>>>>> |12755|275:261|image| 2012-02-21
>>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>>>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>>>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>>>>> |xCAT2.pm, capture (line: 836)
>>>>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>>>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>>>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>>>>> |12755|275:261|image| ---- WARNING ----
>>>>>> |12755|275:261|image| 2012-02-21
>>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>>>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>>>>> |xCAT2.pm, capture (line: 840)
>>>>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>>>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>>>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>>>>> |12755|275:261|image| ---- WARNING ----
>>>>>> |12755|275:261|image| 2012-02-21
>>>>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>>>>> |s5v474-v0 image failed to be captured by provisioning module
>>>>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>>>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>>>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>>>>>
>>>>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>>>>> Yes, we're using the latest xCAT version.
>>>>>>>
>>>>>>> -A
>>>>>>>
>>>>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>>>>> Hi Dmitri,
>>>>>>>>
>>>>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>>>>> May be Aaron and his group could say more.
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>> Amit
>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thank you.
>>>>>>>>>
>>>>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>>>>>
>>>>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>
>>>>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>>>>> it
>>>>>>>>>
>>>>>>>>> and then slowly things started to make more sense once it worked.
>>>>>>>>>
>>>>>>>>>> Also xCAT forum was very helpful.
>>>>>>>>>>
>>>>>>>>>> Thank you,
>>>>>>>>>> Amit
>>>>>>>>>>
>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>>>>> well...
>>>>>>>>>>>
>>>>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>>>>> share...
>>>>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>>>>> understand
>>>>>>>>>>> the process.
>>>>>>>>>>>
>>>>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>>>>> nodes.
>>>>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>>>>> nodes, or
>>>>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>>>>> which
>>>>>>>>>>> MAC gets what?
>>>>>>>>>>>
>>>>>>>>>>> Thanks again for your help...
>>>>>>>>>>>
>>>>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>>>>> Dmitri,
>>>>>>>>>>>>
>>>>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>>>>>
>>>>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>>>>> end-user
>>>>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>>>>>
>>>>>>>>>>> install
>>>>>>>>>>>
>>>>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>>>>>
>>>>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>>>>>
>>>>>>>>>>> partimag
>>>>>>>>>>>
>>>>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>>>>> partimage
>>>>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>>>>>
>>>>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>>>>> tool,
>>>>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>>>>> bare-metal,
>>>>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>>>>>
>>>>>>>>> drivers
>>>>>>>>>
>>>>>>>>>>>> so it can be reloaded successfully.
>>>>>>>>>
>>>>>>>>>>>> For sysprep review step 8 on this page:
>>>>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>>>>> +
>>>>>>>>>
>>>>>>>>>>> N
>>>>>>>>>>>
>>>>>>>>>>>> ode+Installation
>>>>>>>>>>>>
>>>>>>>>>>>> Hope this info helps,
>>>>>>>>>>>> Aaron
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>>>>>
>>>>>>>>> <dc...@gmu.edu>
>>>>>>>>>
>>>>>>>>>>> wrote:
>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks a lot.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>>>>> path for
>>>>>>>>>>>
>>>>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>>>>> configure
>>>>>>>>>
>>>>>>>>> the
>>>>>>>>>
>>>>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>>>>> the
>>>>>>>>>>> location where you will store your images.
>>>>>>>>>>>
>>>>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best,
>>>>>>>>>>>>>> Amit
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>>>>> basically
>>>>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>>>>> node(s)
>>>>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>>>>> images.
>>>>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>>>>> - blade
>>>>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>>>>> nodes - is
>>>>>>>>>>>
>>>>>>>>>>> it
>>>>>>>>>>>
>>>>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>>>>> management
>>>>>>>>>>>>>>> node information?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>>>>> those IBM
>>>>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>>>>> and VCL
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>>>>> server.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>>>>> before using
>>>>>>>>>>>>>>>> VCL to
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> management
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>>>>>
>>>>>>>>> "clients"?
>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>
>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>>>>>
>>>>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>>>>> zzem
>>>>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>>>>> qNTm
>>>>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>>>>> e62X
>>>>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>>>>> 77gD
>>>>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>>>>> pctI
>>>>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>>>>> TmA=
>>>>>>>>>>>>> =86fD
>>>>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Aaron Peeler
>>>>>>>>>>>> Program Manager
>>>>>>>>>>>> Virtual Computing Lab
>>>>>>>>>>>> NC State University
>>>>>>>>>>>>
>>>>>>>>>>>> All electronic mail messages in connection with State business
>>>>>>>>>
>>>>>>>>> which
>>>>>>>>>
>>>>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>>>>>
>>>>>>>>> Public
>>>>>>>>>
>>>>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>>>>>
>>>>>>>>>>> Thank you.
>>>>>>>>>>>
>>>>>>>>>>> -----------------
>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>> 703-993-6175
>>>>>>>>>>> -----------------
>>>>>>>>>
>>>>>>>>> Thank you.
>>>>>>>>>
>>>>>>>>> -----------------
>>>>>>>>> Dmitri Chebotarov
>>>>>>>>> dchebota@gmu.edu
>>>>>>>>> 703-993-6175
>>>>>>>>> -----------------
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> -----------------
>>>>>> Dmitri Chebotarov
>>>>>> dchebota@gmu.edu
>>>>>> 703-993-6175
>>>>>> -----------------
>>>>> - --
>>>>> - -------------------------------
>>>>> Josh Thompson
>>>>> VCL Developer
>>>>> North Carolina State University
>>>>>
>>>>> my GPG/PGP key can be found at pgp.mit.edu
>>>>>
>>>>> All electronic mail messages in connection with State business which
>>>>> are sent to or received by this account are subject to the NC Public
>>>>> Records Law and may be disclosed to third parties.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thank you.
>>>>
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> Thank you.
>>>
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>>>
>>>
>>
>>
>>
>>
>> Thank you.
>>
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>>
>>
>
>
>
>
> Thank you.
>
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
>
>
>
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBAgAGBQJPT43/AAoJEMRKpymufl8aTJQH/RrWqJF+3dIfEKVp6/vls8mv
> CfjjkXgl9NStUINDnA8V7cREbj1qTU1aSqdD8zOLqLyqm3+WZ0NOon5CB3j1F03b
> 53iphtY+7r+FhVefupST90hh160pKcVRyTk5fk3spWyShUmtNrh5CSRXGZjk/Zf/
> RXjglpkQ5/BE75aThq2b/BNqxzahKh2Ks7084mL0sBN4NAsHaOfSUJyhmZNfSTsy
> lWjZ3IZVZT9rLpTKwkEpa1ITo8wznLDbXGNS62WNVBN4u2cDoLhGKb+FFLEgmPIv
> g9avfxa+w2MLQtaAdufenyq+C94av0J7AUZ4l8liI3aLxqco2JuXVeHHHT+f9gQ=
> =xaTU
> -----END PGP SIGNATURE-----
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Mike

Thank you. I was missing the record in vcl.resource table. 
For ESXi 4.1 kickstart I had to change sourcepath value in vcl.os from esxi4.1 to esxi41 for id=38. xCAT2.pm can only get esxi4. (misses part after .)
I also had to create couple symlinks for xCAT2.pm to find image folder, but it's working now.

Thank you.

On Feb 29, 2012, at 16:47 , Waldron, Michael H wrote:

> Dmitri,
> 
> I have a script that I run to manually insert an image into the database. It places an entry in the image, imgagerevision, and resource tables. Here is a sample below. Of course you would substitute the proper values for your situation.
> 
> INSERT INTO `image` (id, `name`, `prettyname`, `ownerid`, `deptid`, `platformid`, 
> `OSid`, `imagemetaid`, `minram`, `minprocnumber`, `minprocspeed`, `minnetwork`,
> `maxconcurrent`, `reloadtime`, `deleted`, `test`, `lastupdate`, `forcheckout`, `maxinitialtime`,
> `project`, `size`) VALUES (150, 'vmwarerhels4-base150-v0', 'Base No Apps, RHEL4 32-bit w/AFS (vmware)', 8, 1, 1, 32, NULL, 1024, 1, 0, 10, NULL, 14, 0, 0, NOW(), 1, 0, 'vcl', 1045);
> 
> INSERT INTO `imagerevision` (`imageid`, `revision`, `userid`, `datecreated`, `deleted`, `production`,
> `comments`, `imagename`) VALUES (150, 0, 8, NOW(), 0, 1, NULL, 'vmwarerhels4-base150-v0');
> 
> INSERT INTO `resource` (`resourcetypeid`, `subid`) VALUES (13, 150);
> 
> Mike
> 
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB 3420, ITS Manning, Rm 2509
> 919-962-9778
> 
> -----Original Message-----
> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu] 
> Sent: Wednesday, February 29, 2012 4:19 PM
> To: vcl-user@incubator.apache.org
> Subject: Re: VCL and xCat
> 
> Mike,
> 
> Thank you for explanation. 
> How did you add kickstart image to vcl.image table?
> I've tried adding image by inserting record directly into vcl.image and vcl.imagemeta tables, but this didn't work.
> vcld --setup only allows partimage type for bare-metal. 
> 
> Thank you.
> 
> On Feb 29, 2012, at 15:41 , Waldron, Michael H wrote:
> 
>> Dmitri,
>> 
>> Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid.
>> 
>> Example:
>> 
>> mysql> select prettyname, OSid from image where id=235;
>> +---------------------------------------+------+
>> | prettyname                            | OSid |
>> +---------------------------------------+------+
>> | RedHat Enterprise Linux server 5 (KS) |   19 | 
>> +---------------------------------------+------+
>> 1 row in set (0.00 sec)
>> 
>> mysql> select * from OS where id=19;
>> +----+-------+----------------------------+-------+-------------+------------+----------+
>> | id | name  | prettyname                 | type  | installtype | sourcepath | moduleid |
>> +----+-------+----------------------------+-------+-------------+------------+----------+
>> | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart   | rhas5      |        5 | 
>> +----+-------+----------------------------+-------+-------------+------------+----------+
>> 1 row in set (0.00 sec)
>> 
>> mysql> select * from module where id=5;
>> +----+----------+-----------------+-------------+------------------------+
>> | id | name     | prettyname      | description | perlpackage            |
>> +----+----------+-----------------+-------------+------------------------+
>> |  5 | os_linux | Linux OS Module |             | VCL::Module::OS::Linux | 
>> +----+----------+-----------------+-------------+------------------------+
>> 1 row in set (0.00 sec)
>> 
>> So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use. 
>> 
>> You need to have the appropriate entries in your OS and module tables specific to your ESXi image.
>> 
>> Mike
>> 
>> Mike Waldron
>> Systems Specialist
>> ITS Research Computing
>> University of North Carolina at Chapel Hill
>> CB 3420, ITS Manning, Rm 2509
>> 919-962-9778
>> 
>> -----Original Message-----
>> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu] 
>> Sent: Wednesday, February 29, 2012 3:17 PM
>> To: vcl-user@incubator.apache.org
>> Subject: Re: VCL and xCat
>> 
>> Hi again,
>> 
>> Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. 
>> But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. 
>> 
>> And there seems to be no column in vcl.image table which corresponds to image_os_install_type.
>> 
>> Help! Does VCL support kickstart image install with xCAT module?
>> 
>> Thank you.
>> 
>> On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:
>> 
>>> 
>>> Hi
>>> 
>>> Is there a way to use kickstart script install with VCL/xCAT? 
>>> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. 
>>> 
>>> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). 
>>> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? 
>>> 
>>> Thank you for help.
>>> 
>>> 
>>> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
>>> 
>>>> 
>>>> Hash: SHA1
>>>> 
>>>> Dmitri,
>>>> 
>>>> Did you follow the guide for adding partimage support to xCAT?
>>>> 
>>>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>>>> ng+to+xCAT+2.x+%28unofficial%29
>>>> 
>>>> You said you installed the partimage rpm.  partimage is not something that 
>>>> needs to be installed on the management node.  It is part of the stateless 
>>>> images mentioned on the above page.
>>>> 
>>>> Josh
>>>> 
>>>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>>>> Hi All.
>>>>> 
>>>>> I'm trying to capture a base image using xCAT module - the server is
>>>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>>>> node and then fails when trying to create .tmpl file.
>>>>> 
>>>>> xCAT is installed and configured on the management node.
>>>>> partimage rpm is installed as well.
>>>>> 
>>>>> Do you know what could be the issue?
>>>>> 
>>>>> Thank you for your help.
>>>>> 
>>>>> ...
>>>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>>> ment node identifier argument was not specified
>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>>>> for image:
>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>> |12755|275:261|image| OS install type: partimage
>>>>> |12755|275:261|image| OS source path: image
>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>> 
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>>> ment node identifier argument was not specified
>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>>>> for image:
>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>> |12755|275:261|image| OS install type: partimage
>>>>> |12755|275:261|image| OS source path: image
>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>> 
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>>>> were returned from database select 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>>>> 35)|image owner id: 1 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>>> (information_schema) does not match handle stored in $ENV{dbh}
>>>>> (vcl:10.3.1.214) 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>>> stored in $ENV{dbh} 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>>> (vcl) does not match handle stored in $ENV{dbh}
>>>>> (information_schema:10.3.1.214) 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>>> stored in $ENV{dbh} 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>>>> To: dchebota@gmu.edu, PROBLEM --
>>>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>>>> |12755|275:261|image| ---- CRITICAL ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>>>> |ailed to find suitable base image template file in
>>>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>>>> |xCAT2.pm, capture (line: 836)
>>>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>>>> |12755|275:261|image| ---- WARNING ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>>>> |xCAT2.pm, capture (line: 836)
>>>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>>>> |12755|275:261|image| ---- WARNING ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>>>> |xCAT2.pm, capture (line: 840)
>>>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>>>> |12755|275:261|image| ---- WARNING ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>>>> |s5v474-v0 image failed to be captured by provisioning module
>>>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>>>> 
>>>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>>>> Yes, we're using the latest xCAT version.
>>>>>> 
>>>>>> -A
>>>>>> 
>>>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>>>> Hi Dmitri,
>>>>>>> 
>>>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>>>> May be Aaron and his group could say more.
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> Amit
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>>>> 
>>>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>>>> Hi Dmitri,
>>>>>>>>> 
>>>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>>>> it
>>>>>>>> 
>>>>>>>> and then slowly things started to make more sense once it worked.
>>>>>>>> 
>>>>>>>>> Also xCAT forum was very helpful.
>>>>>>>>> 
>>>>>>>>> Thank you,
>>>>>>>>> Amit
>>>>>>>>> 
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>>>> well...
>>>>>>>>>> 
>>>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>>>> share...
>>>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>>>> understand
>>>>>>>>>> the process.
>>>>>>>>>> 
>>>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>>>> nodes.
>>>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>>>> nodes, or
>>>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>>>> which
>>>>>>>>>> MAC gets what?
>>>>>>>>>> 
>>>>>>>>>> Thanks again for your help...
>>>>>>>>>> 
>>>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>>>> Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>>>> 
>>>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>>>> end-user
>>>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>>>> 
>>>>>>>>>> install
>>>>>>>>>> 
>>>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>>>> 
>>>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>>>> 
>>>>>>>>>> partimag
>>>>>>>>>> 
>>>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>>>> partimage
>>>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>>>> 
>>>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>>>> tool,
>>>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>>>> bare-metal,
>>>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>>>> 
>>>>>>>> drivers
>>>>>>>> 
>>>>>>>>>>> so it can be reloaded successfully.
>>>>>>>> 
>>>>>>>>>>> For sysprep review step 8 on this page:
>>>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>>>> +
>>>>>>>> 
>>>>>>>>>> N
>>>>>>>>>> 
>>>>>>>>>>> ode+Installation
>>>>>>>>>>> 
>>>>>>>>>>> Hope this info helps,
>>>>>>>>>>> Aaron
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>>>> 
>>>>>>>> <dc...@gmu.edu>
>>>>>>>> 
>>>>>>>>>> wrote:
>>>>>>>>>>>> Amit,
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks a lot.
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>>>> path for
>>>>>>>>>> 
>>>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>>>> configure
>>>>>>>> 
>>>>>>>> the
>>>>>>>> 
>>>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>>>> the
>>>>>>>>>> location where you will store your images.
>>>>>>>>>> 
>>>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Best,
>>>>>>>>>>>>> Amit
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>>>> basically
>>>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>>>> node(s)
>>>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>>>> images.
>>>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>>>> - blade
>>>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>>>> nodes - is
>>>>>>>>>> 
>>>>>>>>>> it
>>>>>>>>>> 
>>>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>>>> management
>>>>>>>>>>>>>> node information?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>>>> those IBM
>>>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>>>> and VCL
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>>>> server.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>>>> before using
>>>>>>>>>>>>>>> VCL to
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> management
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>>>> 
>>>>>>>> "clients"?
>>>>>>>> 
>>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>>>> 
>>>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>>>> zzem
>>>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>>>> qNTm
>>>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>>>> e62X
>>>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>>>> 77gD
>>>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>>>> pctI
>>>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>>>> TmA=
>>>>>>>>>>>> =86fD
>>>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> Aaron Peeler
>>>>>>>>>>> Program Manager
>>>>>>>>>>> Virtual Computing Lab
>>>>>>>>>>> NC State University
>>>>>>>>>>> 
>>>>>>>>>>> All electronic mail messages in connection with State business
>>>>>>>> 
>>>>>>>> which
>>>>>>>> 
>>>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>>>> 
>>>>>>>> Public
>>>>>>>> 
>>>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> -----------------
>>>>>>>> Dmitri Chebotarov
>>>>>>>> dchebota@gmu.edu
>>>>>>>> 703-993-6175
>>>>>>>> -----------------
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>>>> - -- 
>>>> - -------------------------------
>>>> Josh Thompson
>>>> VCL Developer
>>>> North Carolina State University
>>>> 
>>>> my GPG/PGP key can be found at pgp.mit.edu
>>>> 
>>>> All electronic mail messages in connection with State business which
>>>> are sent to or received by this account are subject to the NC Public
>>>> Records Law and may be disclosed to third parties.
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



RE: VCL and xCat

Posted by "Waldron, Michael H" <mw...@email.unc.edu>.
Dmitri,

I have a script that I run to manually insert an image into the database. It places an entry in the image, imgagerevision, and resource tables. Here is a sample below. Of course you would substitute the proper values for your situation.

INSERT INTO `image` (id, `name`, `prettyname`, `ownerid`, `deptid`, `platformid`, 
`OSid`, `imagemetaid`, `minram`, `minprocnumber`, `minprocspeed`, `minnetwork`,
`maxconcurrent`, `reloadtime`, `deleted`, `test`, `lastupdate`, `forcheckout`, `maxinitialtime`,
`project`, `size`) VALUES (150, 'vmwarerhels4-base150-v0', 'Base No Apps, RHEL4 32-bit w/AFS (vmware)', 8, 1, 1, 32, NULL, 1024, 1, 0, 10, NULL, 14, 0, 0, NOW(), 1, 0, 'vcl', 1045);

INSERT INTO `imagerevision` (`imageid`, `revision`, `userid`, `datecreated`, `deleted`, `production`,
`comments`, `imagename`) VALUES (150, 0, 8, NOW(), 0, 1, NULL, 'vmwarerhels4-base150-v0');

INSERT INTO `resource` (`resourcetypeid`, `subid`) VALUES (13, 150);

Mike

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

-----Original Message-----
From: Dmitri Chebotarov [mailto:dchebota@gmu.edu] 
Sent: Wednesday, February 29, 2012 4:19 PM
To: vcl-user@incubator.apache.org
Subject: Re: VCL and xCat

Mike,

Thank you for explanation. 
How did you add kickstart image to vcl.image table?
I've tried adding image by inserting record directly into vcl.image and vcl.imagemeta tables, but this didn't work.
vcld --setup only allows partimage type for bare-metal. 

Thank you.

On Feb 29, 2012, at 15:41 , Waldron, Michael H wrote:

> Dmitri,
> 
> Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid.
> 
> Example:
> 
> mysql> select prettyname, OSid from image where id=235;
> +---------------------------------------+------+
> | prettyname                            | OSid |
> +---------------------------------------+------+
> | RedHat Enterprise Linux server 5 (KS) |   19 | 
> +---------------------------------------+------+
> 1 row in set (0.00 sec)
> 
> mysql> select * from OS where id=19;
> +----+-------+----------------------------+-------+-------------+------------+----------+
> | id | name  | prettyname                 | type  | installtype | sourcepath | moduleid |
> +----+-------+----------------------------+-------+-------------+------------+----------+
> | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart   | rhas5      |        5 | 
> +----+-------+----------------------------+-------+-------------+------------+----------+
> 1 row in set (0.00 sec)
> 
> mysql> select * from module where id=5;
> +----+----------+-----------------+-------------+------------------------+
> | id | name     | prettyname      | description | perlpackage            |
> +----+----------+-----------------+-------------+------------------------+
> |  5 | os_linux | Linux OS Module |             | VCL::Module::OS::Linux | 
> +----+----------+-----------------+-------------+------------------------+
> 1 row in set (0.00 sec)
> 
> So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use. 
> 
> You need to have the appropriate entries in your OS and module tables specific to your ESXi image.
> 
> Mike
> 
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB 3420, ITS Manning, Rm 2509
> 919-962-9778
> 
> -----Original Message-----
> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu] 
> Sent: Wednesday, February 29, 2012 3:17 PM
> To: vcl-user@incubator.apache.org
> Subject: Re: VCL and xCat
> 
> Hi again,
> 
> Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. 
> But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. 
> 
> And there seems to be no column in vcl.image table which corresponds to image_os_install_type.
> 
> Help! Does VCL support kickstart image install with xCAT module?
> 
> Thank you.
> 
> On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:
> 
>> 
>> Hi
>> 
>> Is there a way to use kickstart script install with VCL/xCAT? 
>> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. 
>> 
>> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). 
>> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? 
>> 
>> Thank you for help.
>> 
>> 
>> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
>> 
>>> 
>>> Hash: SHA1
>>> 
>>> Dmitri,
>>> 
>>> Did you follow the guide for adding partimage support to xCAT?
>>> 
>>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>>> ng+to+xCAT+2.x+%28unofficial%29
>>> 
>>> You said you installed the partimage rpm.  partimage is not something that 
>>> needs to be installed on the management node.  It is part of the stateless 
>>> images mentioned on the above page.
>>> 
>>> Josh
>>> 
>>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>>> Hi All.
>>>> 
>>>> I'm trying to capture a base image using xCAT module - the server is
>>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>>> node and then fails when trying to create .tmpl file.
>>>> 
>>>> xCAT is installed and configured on the management node.
>>>> partimage rpm is installed as well.
>>>> 
>>>> Do you know what could be the issue?
>>>> 
>>>> Thank you for your help.
>>>> 
>>>> ...
>>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>> ment node identifier argument was not specified
>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>>> for image:
>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>> |12755|275:261|image| OS install type: partimage
>>>> |12755|275:261|image| OS source path: image
>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>> 
>>>> 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>> ment node identifier argument was not specified
>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>>> for image:
>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>> |12755|275:261|image| OS install type: partimage
>>>> |12755|275:261|image| OS source path: image
>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>> 
>>>> 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>>> 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>>> were returned from database select 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>>> 35)|image owner id: 1 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>> (information_schema) does not match handle stored in $ENV{dbh}
>>>> (vcl:10.3.1.214) 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>> stored in $ENV{dbh} 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>> (vcl) does not match handle stored in $ENV{dbh}
>>>> (information_schema:10.3.1.214) 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>> stored in $ENV{dbh} 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>>> To: dchebota@gmu.edu, PROBLEM --
>>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>>> |12755|275:261|image| ---- CRITICAL ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>>> |ailed to find suitable base image template file in
>>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>>> |xCAT2.pm, capture (line: 836)
>>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>>> |12755|275:261|image| ---- WARNING ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>>> |xCAT2.pm, capture (line: 836)
>>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>>> |12755|275:261|image| ---- WARNING ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>>> |xCAT2.pm, capture (line: 840)
>>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>>> |12755|275:261|image| ---- WARNING ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>>> |s5v474-v0 image failed to be captured by provisioning module
>>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>>> 
>>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>>> Yes, we're using the latest xCAT version.
>>>>> 
>>>>> -A
>>>>> 
>>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>>> Hi Dmitri,
>>>>>> 
>>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>>> May be Aaron and his group could say more.
>>>>>> 
>>>>>> Thank you,
>>>>>> Amit
>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>> Subject: Re: VCL and xCat
>>>>>>> 
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>>> 
>>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>>> Hi Dmitri,
>>>>>>>> 
>>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>>> it
>>>>>>> 
>>>>>>> and then slowly things started to make more sense once it worked.
>>>>>>> 
>>>>>>>> Also xCAT forum was very helpful.
>>>>>>>> 
>>>>>>>> Thank you,
>>>>>>>> Amit
>>>>>>>> 
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>>> well...
>>>>>>>>> 
>>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>>> share...
>>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>>> understand
>>>>>>>>> the process.
>>>>>>>>> 
>>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>>> nodes.
>>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>>> nodes, or
>>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>>> which
>>>>>>>>> MAC gets what?
>>>>>>>>> 
>>>>>>>>> Thanks again for your help...
>>>>>>>>> 
>>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>>> Dmitri,
>>>>>>>>>> 
>>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>>> 
>>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>>> end-user
>>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>>> 
>>>>>>>>> install
>>>>>>>>> 
>>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>>> 
>>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>>> 
>>>>>>>>> partimag
>>>>>>>>> 
>>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>>> partimage
>>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>>> 
>>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>>> tool,
>>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>>> bare-metal,
>>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>>> 
>>>>>>> drivers
>>>>>>> 
>>>>>>>>>> so it can be reloaded successfully.
>>>>>>> 
>>>>>>>>>> For sysprep review step 8 on this page:
>>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>>> +
>>>>>>> 
>>>>>>>>> N
>>>>>>>>> 
>>>>>>>>>> ode+Installation
>>>>>>>>>> 
>>>>>>>>>> Hope this info helps,
>>>>>>>>>> Aaron
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>>> 
>>>>>>> <dc...@gmu.edu>
>>>>>>> 
>>>>>>>>> wrote:
>>>>>>>>>>> Amit,
>>>>>>>>>>> 
>>>>>>>>>>> Thanks a lot.
>>>>>>>>>>> 
>>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>>> 
>>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>>> 
>>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>>> path for
>>>>>>>>> 
>>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>>> configure
>>>>>>> 
>>>>>>> the
>>>>>>> 
>>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>>> the
>>>>>>>>> location where you will store your images.
>>>>>>>>> 
>>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>>> 
>>>>>>>>>>>> Best,
>>>>>>>>>>>> Amit
>>>>>>>>>>>> 
>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>>> basically
>>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>>> node(s)
>>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>>> images.
>>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>>> - blade
>>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>>> nodes - is
>>>>>>>>> 
>>>>>>>>> it
>>>>>>>>> 
>>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>>> management
>>>>>>>>>>>>> node information?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>>> those IBM
>>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>>> and VCL
>>>>>>>>>>>>> 
>>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>>> server.
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>>> before using
>>>>>>>>>>>>>> VCL to
>>>>>>>>>>>>> 
>>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>>> 
>>>>>>>>>>>>> management
>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>>> 
>>>>>>> "clients"?
>>>>>>> 
>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>> -----------------
>>>>>>>>>>> 
>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> -----------------
>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>> 703-993-6175
>>>>>>>>>>> -----------------
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>>> 
>>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>>> zzem
>>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>>> qNTm
>>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>>> e62X
>>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>>> 77gD
>>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>>> pctI
>>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>>> TmA=
>>>>>>>>>>> =86fD
>>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Aaron Peeler
>>>>>>>>>> Program Manager
>>>>>>>>>> Virtual Computing Lab
>>>>>>>>>> NC State University
>>>>>>>>>> 
>>>>>>>>>> All electronic mail messages in connection with State business
>>>>>>> 
>>>>>>> which
>>>>>>> 
>>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>>> 
>>>>>>> Public
>>>>>>> 
>>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>>> 
>>>>>>>>> Thank you.
>>>>>>>>> 
>>>>>>>>> -----------------
>>>>>>>>> Dmitri Chebotarov
>>>>>>>>> dchebota@gmu.edu
>>>>>>>>> 703-993-6175
>>>>>>>>> -----------------
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> -----------------
>>>>>>> Dmitri Chebotarov
>>>>>>> dchebota@gmu.edu
>>>>>>> 703-993-6175
>>>>>>> -----------------
>>>> 
>>>> Thank you.
>>>> 
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>> - -- 
>>> - -------------------------------
>>> Josh Thompson
>>> VCL Developer
>>> North Carolina State University
>>> 
>>> my GPG/PGP key can be found at pgp.mit.edu
>>> 
>>> All electronic mail messages in connection with State business which
>>> are sent to or received by this account are subject to the NC Public
>>> Records Law and may be disclosed to third parties.
>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Mike,

Thank you for explanation. 
How did you add kickstart image to vcl.image table?
I've tried adding image by inserting record directly into vcl.image and vcl.imagemeta tables, but this didn't work.
vcld --setup only allows partimage type for bare-metal. 

Thank you.

On Feb 29, 2012, at 15:41 , Waldron, Michael H wrote:

> Dmitri,
> 
> Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid.
> 
> Example:
> 
> mysql> select prettyname, OSid from image where id=235;
> +---------------------------------------+------+
> | prettyname                            | OSid |
> +---------------------------------------+------+
> | RedHat Enterprise Linux server 5 (KS) |   19 | 
> +---------------------------------------+------+
> 1 row in set (0.00 sec)
> 
> mysql> select * from OS where id=19;
> +----+-------+----------------------------+-------+-------------+------------+----------+
> | id | name  | prettyname                 | type  | installtype | sourcepath | moduleid |
> +----+-------+----------------------------+-------+-------------+------------+----------+
> | 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart   | rhas5      |        5 | 
> +----+-------+----------------------------+-------+-------------+------------+----------+
> 1 row in set (0.00 sec)
> 
> mysql> select * from module where id=5;
> +----+----------+-----------------+-------------+------------------------+
> | id | name     | prettyname      | description | perlpackage            |
> +----+----------+-----------------+-------------+------------------------+
> |  5 | os_linux | Linux OS Module |             | VCL::Module::OS::Linux | 
> +----+----------+-----------------+-------------+------------------------+
> 1 row in set (0.00 sec)
> 
> So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use. 
> 
> You need to have the appropriate entries in your OS and module tables specific to your ESXi image.
> 
> Mike
> 
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB 3420, ITS Manning, Rm 2509
> 919-962-9778
> 
> -----Original Message-----
> From: Dmitri Chebotarov [mailto:dchebota@gmu.edu] 
> Sent: Wednesday, February 29, 2012 3:17 PM
> To: vcl-user@incubator.apache.org
> Subject: Re: VCL and xCat
> 
> Hi again,
> 
> Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. 
> But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. 
> 
> And there seems to be no column in vcl.image table which corresponds to image_os_install_type.
> 
> Help! Does VCL support kickstart image install with xCAT module?
> 
> Thank you.
> 
> On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:
> 
>> 
>> Hi
>> 
>> Is there a way to use kickstart script install with VCL/xCAT? 
>> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. 
>> 
>> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). 
>> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? 
>> 
>> Thank you for help.
>> 
>> 
>> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
>> 
>>> 
>>> Hash: SHA1
>>> 
>>> Dmitri,
>>> 
>>> Did you follow the guide for adding partimage support to xCAT?
>>> 
>>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>>> ng+to+xCAT+2.x+%28unofficial%29
>>> 
>>> You said you installed the partimage rpm.  partimage is not something that 
>>> needs to be installed on the management node.  It is part of the stateless 
>>> images mentioned on the above page.
>>> 
>>> Josh
>>> 
>>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>>> Hi All.
>>>> 
>>>> I'm trying to capture a base image using xCAT module - the server is
>>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>>> node and then fails when trying to create .tmpl file.
>>>> 
>>>> xCAT is installed and configured on the management node.
>>>> partimage rpm is installed as well.
>>>> 
>>>> Do you know what could be the issue?
>>>> 
>>>> Thank you for your help.
>>>> 
>>>> ...
>>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>> ment node identifier argument was not specified
>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>>> for image:
>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>> |12755|275:261|image| OS install type: partimage
>>>> |12755|275:261|image| OS source path: image
>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>> 
>>>> 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>>> ment node identifier argument was not specified
>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>>> for image:
>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>> |12755|275:261|image| OS install type: partimage
>>>> |12755|275:261|image| OS source path: image
>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>> 
>>>> 2012-02-21
>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>>> 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>>> were returned from database select 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>>> 35)|image owner id: 1 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>> (information_schema) does not match handle stored in $ENV{dbh}
>>>> (vcl:10.3.1.214) 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>> stored in $ENV{dbh} 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>>> (vcl) does not match handle stored in $ENV{dbh}
>>>> (information_schema:10.3.1.214) 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>>> stored in $ENV{dbh} 2012-02-21
>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>>> To: dchebota@gmu.edu, PROBLEM --
>>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>>> |12755|275:261|image| ---- CRITICAL ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>>> |ailed to find suitable base image template file in
>>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>>> |xCAT2.pm, capture (line: 836)
>>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>>> |12755|275:261|image| ---- WARNING ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>>> |xCAT2.pm, capture (line: 836)
>>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>>> |12755|275:261|image| ---- WARNING ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>>> |xCAT2.pm, capture (line: 840)
>>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>>> |12755|275:261|image| ---- WARNING ----
>>>> |12755|275:261|image| 2012-02-21
>>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>>> |s5v474-v0 image failed to be captured by provisioning module
>>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>>> 
>>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>>> Yes, we're using the latest xCAT version.
>>>>> 
>>>>> -A
>>>>> 
>>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>>> Hi Dmitri,
>>>>>> 
>>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>>> May be Aaron and his group could say more.
>>>>>> 
>>>>>> Thank you,
>>>>>> Amit
>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>> Subject: Re: VCL and xCat
>>>>>>> 
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>>> 
>>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>>> Hi Dmitri,
>>>>>>>> 
>>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>>> it
>>>>>>> 
>>>>>>> and then slowly things started to make more sense once it worked.
>>>>>>> 
>>>>>>>> Also xCAT forum was very helpful.
>>>>>>>> 
>>>>>>>> Thank you,
>>>>>>>> Amit
>>>>>>>> 
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>>> well...
>>>>>>>>> 
>>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>>> share...
>>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>>> understand
>>>>>>>>> the process.
>>>>>>>>> 
>>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>>> nodes.
>>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>>> nodes, or
>>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>>> which
>>>>>>>>> MAC gets what?
>>>>>>>>> 
>>>>>>>>> Thanks again for your help...
>>>>>>>>> 
>>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>>> Dmitri,
>>>>>>>>>> 
>>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>>> 
>>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>>> end-user
>>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>>> 
>>>>>>>>> install
>>>>>>>>> 
>>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>>> 
>>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>>> 
>>>>>>>>> partimag
>>>>>>>>> 
>>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>>> partimage
>>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>>> 
>>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>>> tool,
>>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>>> bare-metal,
>>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>>> 
>>>>>>> drivers
>>>>>>> 
>>>>>>>>>> so it can be reloaded successfully.
>>>>>>> 
>>>>>>>>>> For sysprep review step 8 on this page:
>>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>>> +
>>>>>>> 
>>>>>>>>> N
>>>>>>>>> 
>>>>>>>>>> ode+Installation
>>>>>>>>>> 
>>>>>>>>>> Hope this info helps,
>>>>>>>>>> Aaron
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>>> 
>>>>>>> <dc...@gmu.edu>
>>>>>>> 
>>>>>>>>> wrote:
>>>>>>>>>>> Amit,
>>>>>>>>>>> 
>>>>>>>>>>> Thanks a lot.
>>>>>>>>>>> 
>>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>>> 
>>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>>> 
>>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>>> path for
>>>>>>>>> 
>>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>>> configure
>>>>>>> 
>>>>>>> the
>>>>>>> 
>>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>>> the
>>>>>>>>> location where you will store your images.
>>>>>>>>> 
>>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>>> 
>>>>>>>>>>>> Best,
>>>>>>>>>>>> Amit
>>>>>>>>>>>> 
>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>>> basically
>>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>>> node(s)
>>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>>> images.
>>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>>> - blade
>>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>>> nodes - is
>>>>>>>>> 
>>>>>>>>> it
>>>>>>>>> 
>>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>>> management
>>>>>>>>>>>>> node information?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>>> those IBM
>>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>>> and VCL
>>>>>>>>>>>>> 
>>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>>> server.
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>>> before using
>>>>>>>>>>>>>> VCL to
>>>>>>>>>>>>> 
>>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>>> 
>>>>>>>>>>>>> management
>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>>> 
>>>>>>> "clients"?
>>>>>>> 
>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>> -----------------
>>>>>>>>>>> 
>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> -----------------
>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>> 703-993-6175
>>>>>>>>>>> -----------------
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>>> 
>>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>>> zzem
>>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>>> qNTm
>>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>>> e62X
>>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>>> 77gD
>>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>>> pctI
>>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>>> TmA=
>>>>>>>>>>> =86fD
>>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Aaron Peeler
>>>>>>>>>> Program Manager
>>>>>>>>>> Virtual Computing Lab
>>>>>>>>>> NC State University
>>>>>>>>>> 
>>>>>>>>>> All electronic mail messages in connection with State business
>>>>>>> 
>>>>>>> which
>>>>>>> 
>>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>>> 
>>>>>>> Public
>>>>>>> 
>>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>>> 
>>>>>>>>> Thank you.
>>>>>>>>> 
>>>>>>>>> -----------------
>>>>>>>>> Dmitri Chebotarov
>>>>>>>>> dchebota@gmu.edu
>>>>>>>>> 703-993-6175
>>>>>>>>> -----------------
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> -----------------
>>>>>>> Dmitri Chebotarov
>>>>>>> dchebota@gmu.edu
>>>>>>> 703-993-6175
>>>>>>> -----------------
>>>> 
>>>> Thank you.
>>>> 
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>> - -- 
>>> - -------------------------------
>>> Josh Thompson
>>> VCL Developer
>>> North Carolina State University
>>> 
>>> my GPG/PGP key can be found at pgp.mit.edu
>>> 
>>> All electronic mail messages in connection with State business which
>>> are sent to or received by this account are subject to the NC Public
>>> Records Law and may be disclosed to third parties.
>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



RE: VCL and xCat

Posted by "Waldron, Michael H" <mw...@email.unc.edu>.
Dmitri,

Yes, VCL supports kickstart installs with xCAT. The column in the image table that corresponds to the install type is OSid.

Example:

mysql> select prettyname, OSid from image where id=235;
+---------------------------------------+------+
| prettyname                            | OSid |
+---------------------------------------+------+
| RedHat Enterprise Linux server 5 (KS) |   19 | 
+---------------------------------------+------+
1 row in set (0.00 sec)

mysql> select * from OS where id=19;
+----+-------+----------------------------+-------+-------------+------------+----------+
| id | name  | prettyname                 | type  | installtype | sourcepath | moduleid |
+----+-------+----------------------------+-------+-------------+------------+----------+
| 19 | rhel5 | Red Hat Enterprise Linux 5 | linux | kickstart   | rhas5      |        5 | 
+----+-------+----------------------------+-------+-------------+------------+----------+
1 row in set (0.00 sec)

mysql> select * from module where id=5;
+----+----------+-----------------+-------------+------------------------+
| id | name     | prettyname      | description | perlpackage            |
+----+----------+-----------------+-------------+------------------------+
|  5 | os_linux | Linux OS Module |             | VCL::Module::OS::Linux | 
+----+----------+-----------------+-------------+------------------------+
1 row in set (0.00 sec)

So in this case OS id 19 specifies a RHEL5 kickstart install, the sourcepath where the RHEL5 installation files are under /install/rhas5. The OS entry links to the module table, id 5 which tells it the perl module to use. 

You need to have the appropriate entries in your OS and module tables specific to your ESXi image.

Mike

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

-----Original Message-----
From: Dmitri Chebotarov [mailto:dchebota@gmu.edu] 
Sent: Wednesday, February 29, 2012 3:17 PM
To: vcl-user@incubator.apache.org
Subject: Re: VCL and xCat

Hi again,

Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. 
But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. 

And there seems to be no column in vcl.image table which corresponds to image_os_install_type.

Help! Does VCL support kickstart image install with xCAT module?

Thank you.

On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:

> 
> Hi
> 
> Is there a way to use kickstart script install with VCL/xCAT? 
> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. 
> 
> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). 
> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? 
> 
> Thank you for help.
> 
> 
> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
> 
>> 
>> Hash: SHA1
>> 
>> Dmitri,
>> 
>> Did you follow the guide for adding partimage support to xCAT?
>> 
>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>> ng+to+xCAT+2.x+%28unofficial%29
>> 
>> You said you installed the partimage rpm.  partimage is not something that 
>> needs to be installed on the management node.  It is part of the stateless 
>> images mentioned on the above page.
>> 
>> Josh
>> 
>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>> Hi All.
>>> 
>>> I'm trying to capture a base image using xCAT module - the server is
>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>> node and then fails when trying to create .tmpl file.
>>> 
>>> xCAT is installed and configured on the management node.
>>> partimage rpm is installed as well.
>>> 
>>> Do you know what could be the issue?
>>> 
>>> Thank you for your help.
>>> 
>>> ...
>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>> were returned from database select 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>> 35)|image owner id: 1 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (information_schema) does not match handle stored in $ENV{dbh}
>>> (vcl:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (vcl) does not match handle stored in $ENV{dbh}
>>> (information_schema:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>> To: dchebota@gmu.edu, PROBLEM --
>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>> |12755|275:261|image| ---- CRITICAL ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>> |ailed to find suitable base image template file in
>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>> |xCAT2.pm, capture (line: 840)
>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>> |s5v474-v0 image failed to be captured by provisioning module
>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>> 
>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>> Yes, we're using the latest xCAT version.
>>>> 
>>>> -A
>>>> 
>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>> Hi Dmitri,
>>>>> 
>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>> May be Aaron and his group could say more.
>>>>> 
>>>>> Thank you,
>>>>> Amit
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: Re: VCL and xCat
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>> 
>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>> Hi Dmitri,
>>>>>>> 
>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>> it
>>>>>> 
>>>>>> and then slowly things started to make more sense once it worked.
>>>>>> 
>>>>>>> Also xCAT forum was very helpful.
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> Amit
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>> well...
>>>>>>>> 
>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>> share...
>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>> understand
>>>>>>>> the process.
>>>>>>>> 
>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>> nodes.
>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>> nodes, or
>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>> which
>>>>>>>> MAC gets what?
>>>>>>>> 
>>>>>>>> Thanks again for your help...
>>>>>>>> 
>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>> Dmitri,
>>>>>>>>> 
>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>> 
>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>> end-user
>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>> 
>>>>>>>> install
>>>>>>>> 
>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>> 
>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>> 
>>>>>>>> partimag
>>>>>>>> 
>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>> partimage
>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>> 
>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>> tool,
>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>> bare-metal,
>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>> 
>>>>>> drivers
>>>>>> 
>>>>>>>>> so it can be reloaded successfully.
>>>>>> 
>>>>>>>>> For sysprep review step 8 on this page:
>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>> +
>>>>>> 
>>>>>>>> N
>>>>>>>> 
>>>>>>>>> ode+Installation
>>>>>>>>> 
>>>>>>>>> Hope this info helps,
>>>>>>>>> Aaron
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>> 
>>>>>> <dc...@gmu.edu>
>>>>>> 
>>>>>>>> wrote:
>>>>>>>>>> Amit,
>>>>>>>>>> 
>>>>>>>>>> Thanks a lot.
>>>>>>>>>> 
>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>> 
>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>> path for
>>>>>>>> 
>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>> configure
>>>>>> 
>>>>>> the
>>>>>> 
>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>> the
>>>>>>>> location where you will store your images.
>>>>>>>> 
>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>> 
>>>>>>>>>>> Best,
>>>>>>>>>>> Amit
>>>>>>>>>>> 
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Amit,
>>>>>>>>>>>> 
>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>> basically
>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>> node(s)
>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>> images.
>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>> - blade
>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>> 
>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>> nodes - is
>>>>>>>> 
>>>>>>>> it
>>>>>>>> 
>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>> management
>>>>>>>>>>>> node information?
>>>>>>>>>>>> 
>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>> those IBM
>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>> and VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>> server.
>>>>>>>>>>>> 
>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>> before using
>>>>>>>>>>>>> VCL to
>>>>>>>>>>>> 
>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>> 
>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>> :
>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> management
>>>>>>>>>>>> 
>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>> 
>>>>>> "clients"?
>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>> 
>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>> zzem
>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>> qNTm
>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>> e62X
>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>> 77gD
>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>> pctI
>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>> TmA=
>>>>>>>>>> =86fD
>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Aaron Peeler
>>>>>>>>> Program Manager
>>>>>>>>> Virtual Computing Lab
>>>>>>>>> NC State University
>>>>>>>>> 
>>>>>>>>> All electronic mail messages in connection with State business
>>>>>> 
>>>>>> which
>>>>>> 
>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>> 
>>>>>> Public
>>>>>> 
>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> -----------------
>>>>>>>> Dmitri Chebotarov
>>>>>>>> dchebota@gmu.edu
>>>>>>>> 703-993-6175
>>>>>>>> -----------------
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> -----------------
>>>>>> Dmitri Chebotarov
>>>>>> dchebota@gmu.edu
>>>>>> 703-993-6175
>>>>>> -----------------
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>> - -- 
>> - -------------------------------
>> Josh Thompson
>> VCL Developer
>> North Carolina State University
>> 
>> my GPG/PGP key can be found at pgp.mit.edu
>> 
>> All electronic mail messages in connection with State business which
>> are sent to or received by this account are subject to the NC Public
>> Records Law and may be disclosed to third parties.
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Hi again,

Looks like vcl.os and vcl.osinstalltype tables have 'kickstart' installtype for an image. 
But I cannot find a way to set image_os_install_type to 'kickstart', it's 'partimage' by default for bare-metal. 

And there seems to be no column in vcl.image table which corresponds to image_os_install_type.

Help! Does VCL support kickstart image install with xCAT module?

Thank you.

On Feb 29, 2012, at 11:14 , Dmitri Chebotarov wrote:

> 
> Hi
> 
> Is there a way to use kickstart script install with VCL/xCAT? 
> xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. 
> 
> I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). 
> How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? 
> 
> Thank you for help.
> 
> 
> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
> 
>> 
>> Hash: SHA1
>> 
>> Dmitri,
>> 
>> Did you follow the guide for adding partimage support to xCAT?
>> 
>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>> ng+to+xCAT+2.x+%28unofficial%29
>> 
>> You said you installed the partimage rpm.  partimage is not something that 
>> needs to be installed on the management node.  It is part of the stateless 
>> images mentioned on the above page.
>> 
>> Josh
>> 
>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>> Hi All.
>>> 
>>> I'm trying to capture a base image using xCAT module - the server is
>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>> node and then fails when trying to create .tmpl file.
>>> 
>>> xCAT is installed and configured on the management node.
>>> partimage rpm is installed as well.
>>> 
>>> Do you know what could be the issue?
>>> 
>>> Thank you for your help.
>>> 
>>> ...
>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>> were returned from database select 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>> 35)|image owner id: 1 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (information_schema) does not match handle stored in $ENV{dbh}
>>> (vcl:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (vcl) does not match handle stored in $ENV{dbh}
>>> (information_schema:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>> To: dchebota@gmu.edu, PROBLEM --
>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>> |12755|275:261|image| ---- CRITICAL ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>> |ailed to find suitable base image template file in
>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>> |xCAT2.pm, capture (line: 840)
>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>> |s5v474-v0 image failed to be captured by provisioning module
>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>> 
>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>> Yes, we're using the latest xCAT version.
>>>> 
>>>> -A
>>>> 
>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>> Hi Dmitri,
>>>>> 
>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>> May be Aaron and his group could say more.
>>>>> 
>>>>> Thank you,
>>>>> Amit
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: Re: VCL and xCat
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>> 
>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>> Hi Dmitri,
>>>>>>> 
>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>> it
>>>>>> 
>>>>>> and then slowly things started to make more sense once it worked.
>>>>>> 
>>>>>>> Also xCAT forum was very helpful.
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> Amit
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>> well...
>>>>>>>> 
>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>> share...
>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>> understand
>>>>>>>> the process.
>>>>>>>> 
>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>> nodes.
>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>> nodes, or
>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>> which
>>>>>>>> MAC gets what?
>>>>>>>> 
>>>>>>>> Thanks again for your help...
>>>>>>>> 
>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>> Dmitri,
>>>>>>>>> 
>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>> 
>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>> end-user
>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>> 
>>>>>>>> install
>>>>>>>> 
>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>> 
>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>> 
>>>>>>>> partimag
>>>>>>>> 
>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>> partimage
>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>> 
>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>> tool,
>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>> bare-metal,
>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>> 
>>>>>> drivers
>>>>>> 
>>>>>>>>> so it can be reloaded successfully.
>>>>>> 
>>>>>>>>> For sysprep review step 8 on this page:
>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>> +
>>>>>> 
>>>>>>>> N
>>>>>>>> 
>>>>>>>>> ode+Installation
>>>>>>>>> 
>>>>>>>>> Hope this info helps,
>>>>>>>>> Aaron
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>> 
>>>>>> <dc...@gmu.edu>
>>>>>> 
>>>>>>>> wrote:
>>>>>>>>>> Amit,
>>>>>>>>>> 
>>>>>>>>>> Thanks a lot.
>>>>>>>>>> 
>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>> 
>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>> path for
>>>>>>>> 
>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>> configure
>>>>>> 
>>>>>> the
>>>>>> 
>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>> the
>>>>>>>> location where you will store your images.
>>>>>>>> 
>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>> 
>>>>>>>>>>> Best,
>>>>>>>>>>> Amit
>>>>>>>>>>> 
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Amit,
>>>>>>>>>>>> 
>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>> basically
>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>> node(s)
>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>> images.
>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>> - blade
>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>> 
>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>> nodes - is
>>>>>>>> 
>>>>>>>> it
>>>>>>>> 
>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>> management
>>>>>>>>>>>> node information?
>>>>>>>>>>>> 
>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>> those IBM
>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>> and VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>> server.
>>>>>>>>>>>> 
>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>> before using
>>>>>>>>>>>>> VCL to
>>>>>>>>>>>> 
>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>> 
>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>> :
>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> management
>>>>>>>>>>>> 
>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>> 
>>>>>> "clients"?
>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>> 
>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>> zzem
>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>> qNTm
>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>> e62X
>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>> 77gD
>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>> pctI
>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>> TmA=
>>>>>>>>>> =86fD
>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Aaron Peeler
>>>>>>>>> Program Manager
>>>>>>>>> Virtual Computing Lab
>>>>>>>>> NC State University
>>>>>>>>> 
>>>>>>>>> All electronic mail messages in connection with State business
>>>>>> 
>>>>>> which
>>>>>> 
>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>> 
>>>>>> Public
>>>>>> 
>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> -----------------
>>>>>>>> Dmitri Chebotarov
>>>>>>>> dchebota@gmu.edu
>>>>>>>> 703-993-6175
>>>>>>>> -----------------
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> -----------------
>>>>>> Dmitri Chebotarov
>>>>>> dchebota@gmu.edu
>>>>>> 703-993-6175
>>>>>> -----------------
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>> - -- 
>> - -------------------------------
>> Josh Thompson
>> VCL Developer
>> North Carolina State University
>> 
>> my GPG/PGP key can be found at pgp.mit.edu
>> 
>> All electronic mail messages in connection with State business which
>> are sent to or received by this account are subject to the NC Public
>> Records Law and may be disclosed to third parties.
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Hi

Is there a way to use kickstart script install with VCL/xCAT? 
xCAT2.pm code mentions use of templates, but I cannot find a way how to make use of them. 

I have working ESXi 4.1 template, and able to install ESXi 4.1 using xCAT (nodeset node install works OK). 
How would I add ESXi 4.1 image to VCL which is bases on kickstart, not on partimage? 

Thank you for help.


On Feb 22, 2012, at 14:12 , Josh Thompson wrote:

> 
> Hash: SHA1
> 
> Dmitri,
> 
> Did you follow the guide for adding partimage support to xCAT?
> 
> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
> ng+to+xCAT+2.x+%28unofficial%29
> 
> You said you installed the partimage rpm.  partimage is not something that 
> needs to be installed on the management node.  It is part of the stateless 
> images mentioned on the above page.
> 
> Josh
> 
> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>> Hi All.
>> 
>> I'm trying to capture a base image using xCAT module - the server is
>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>> node and then fails when trying to create .tmpl file.
>> 
>> xCAT is installed and configured on the management node.
>> partimage rpm is installed as well.
>> 
>> Do you know what could be the issue?
>> 
>> Thank you for your help.
>> 
>> ...
>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>> ment node identifier argument was not specified
>> 2012-02-21 16:22:30|12755|275:261|image|
> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
> for image:
>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>> |12755|275:261|image| OS install type: partimage
>> |12755|275:261|image| OS source path: image
>> |12755|275:261|image| xCAT 2.x OS source path: image
>> 
>> 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>> ment node identifier argument was not specified
>> 2012-02-21 16:22:30|12755|275:261|image|
> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
> for image:
>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>> |12755|275:261|image| OS install type: partimage
>> |12755|275:261|image| OS source path: image
>> |12755|275:261|image| xCAT 2.x OS source path: image
>> 
>> 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>> 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>> were returned from database select 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>> 35)|image owner id: 1 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>> (information_schema) does not match handle stored in $ENV{dbh}
>> (vcl:10.3.1.214) 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>> stored in $ENV{dbh} 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>> (vcl) does not match handle stored in $ENV{dbh}
>> (information_schema:10.3.1.214) 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>> stored in $ENV{dbh} 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>> has been retrieved for user: admin (id: 1) 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>> To: dchebota@gmu.edu, PROBLEM --
>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>> |12755|275:261|image| ---- CRITICAL ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>> |ailed to find suitable base image template file in
>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>> |xCAT2.pm, capture (line: 836)
>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-5) vcld, main (line: 346)
>> |12755|275:261|image| ---- WARNING ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>> |template filename could not be determined 12755|275:261|image| ( 0)
>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>> |xCAT2.pm, capture (line: 836)
>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-4) vcld, main (line: 346)
>> |12755|275:261|image| ---- WARNING ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>> |xCAT2.pm, capture (line: 840)
>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-3) vcld, main (line: 346)
>> |12755|275:261|image| ---- WARNING ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>> |s5v474-v0 image failed to be captured by provisioning module
>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-2) vcld, main (line: 346)
>> 
>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>> Yes, we're using the latest xCAT version.
>>> 
>>> -A
>>> 
>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>> Hi Dmitri,
>>>> 
>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>> May be Aaron and his group could say more.
>>>> 
>>>> Thank you,
>>>> Amit
>>>> 
>>>>> -----Original Message-----
>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>> To: vcl-user@incubator.apache.org
>>>>> Subject: Re: VCL and xCat
>>>>> 
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>> 
>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>> Hi Dmitri,
>>>>>> 
>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>> it
>>>>> 
>>>>> and then slowly things started to make more sense once it worked.
>>>>> 
>>>>>> Also xCAT forum was very helpful.
>>>>>> 
>>>>>> Thank you,
>>>>>> Amit
>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>> Subject: Re: VCL and xCat
>>>>>>> 
>>>>>>> 
>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>> well...
>>>>>>> 
>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>> share...
>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>> understand
>>>>>>> the process.
>>>>>>> 
>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>> nodes.
>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>> nodes, or
>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>> which
>>>>>>> MAC gets what?
>>>>>>> 
>>>>>>> Thanks again for your help...
>>>>>>> 
>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>> Dmitri,
>>>>>>>> 
>>>>>>>> Just to add to Amit, comments.
>>>>>>>> 
>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>> end-user
>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>> 
>>>>>>> install
>>>>>>> 
>>>>>>>> a chassis full of blades with esxi.
>>>>>>>> 
>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>> 
>>>>>>> partimag
>>>>>>> 
>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>> partimage
>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>> environments/desktops for windows and linux.
>>>>>>>> 
>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>> tool,
>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>> bare-metal,
>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>> 
>>>>> drivers
>>>>> 
>>>>>>>> so it can be reloaded successfully.
>>>>> 
>>>>>>>> For sysprep review step 8 on this page:
>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>> +
>>>>> 
>>>>>>> N
>>>>>>> 
>>>>>>>> ode+Installation
>>>>>>>> 
>>>>>>>> Hope this info helps,
>>>>>>>> Aaron
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>> 
>>>>> <dc...@gmu.edu>
>>>>> 
>>>>>>> wrote:
>>>>>>>>> Amit,
>>>>>>>>> 
>>>>>>>>> Thanks a lot.
>>>>>>>>> 
>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>> Hi Dmitri,
>>>>>>>>>> 
>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>> 
>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>> path for
>>>>>>> 
>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>> configure
>>>>> 
>>>>> the
>>>>> 
>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>> the
>>>>>>> location where you will store your images.
>>>>>>> 
>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>> 
>>>>>>>>>> Best,
>>>>>>>>>> Amit
>>>>>>>>>> 
>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Amit,
>>>>>>>>>>> 
>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>> basically
>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>> node(s)
>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>> images.
>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>> - blade
>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>> 
>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>> nodes - is
>>>>>>> 
>>>>>>> it
>>>>>>> 
>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>> management
>>>>>>>>>>> node information?
>>>>>>>>>>> 
>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>> those IBM
>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Thanks.
>>>>>>>>>>> 
>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> 
>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>> both xCAT
>>>>>>>>>>>> and VCL
>>>>>>>>>>> 
>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>> server.
>>>>>>>>>>> 
>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>> before using
>>>>>>>>>>>> VCL to
>>>>>>>>>>> 
>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>> 
>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>> 
>>>>>>>>>>>> :Amit
>>>>>>>>>>>> :
>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>> the VCL
>>>>>>>>>>> 
>>>>>>>>>>> management
>>>>>>>>>>> 
>>>>>>>>>>>>> node?
>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>> 
>>>>> "clients"?
>>>>> 
>>>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> -----------------
>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>> 703-993-6175
>>>>>>>>>>> -----------------
>>>>>>>>> 
>>>>>>>>> Thank you.
>>>>>>>>> 
>>>>>>>>> -----------------
>>>>>>>>> Dmitri Chebotarov
>>>>>>>>> dchebota@gmu.edu
>>>>>>>>> 703-993-6175
>>>>>>>>> -----------------
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>> 
>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>> zzem
>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>> qNTm
>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>> e62X
>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>> 77gD
>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>> pctI
>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>> TmA=
>>>>>>>>> =86fD
>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Aaron Peeler
>>>>>>>> Program Manager
>>>>>>>> Virtual Computing Lab
>>>>>>>> NC State University
>>>>>>>> 
>>>>>>>> All electronic mail messages in connection with State business
>>>>> 
>>>>> which
>>>>> 
>>>>>>>> are sent to or received by this account are subject to the NC
>>>>> 
>>>>> Public
>>>>> 
>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> -----------------
>>>>>>> Dmitri Chebotarov
>>>>>>> dchebota@gmu.edu
>>>>>>> 703-993-6175
>>>>>>> -----------------
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
> - -- 
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
> 
> my GPG/PGP key can be found at pgp.mit.edu
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <4d...@gmail.com>.
John,  

I got the link and I think I'm making some good progress. Also found this tread on the maillist (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you helped Prem, which is very helpful. 

Thank you 

-- 
Dmitri Chebotarov


On Wednesday, February 22, 2012 at 14:12 , Josh Thompson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dmitri,
> 
> Did you follow the guide for adding partimage support to xCAT?
> 
> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
> ng+to+xCAT+2.x+%28unofficial%29
> 
> You said you installed the partimage rpm. partimage is not something that 
> needs to be installed on the management node. It is part of the stateless 
> images mentioned on the above page.
> 
> Josh
> 
> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
> > Hi All.
> > 
> > I'm trying to capture a base image using xCAT module - the server is
> > bare-metal CentOS5.7. The process starts OK, able to communicate with the
> > node and then fails when trying to create .tmpl file.
> > 
> > xCAT is installed and configured on the management node.
> > partimage rpm is installed as well.
> > 
> > Do you know what could be the issue?
> > 
> > Thank you for your help.
> > 
> > ...
> > 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
> > modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
> > 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
> > create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
> > 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
> > ment node identifier argument was not specified
> > 2012-02-21 16:22:30|12755|275:261|image|
> 
> 
> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
> for image:
> > |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> > |12755|275:261|image| OS install type: partimage
> > |12755|275:261|image| OS source path: image
> > |12755|275:261|image| xCAT 2.x OS source path: image
> > 
> > 2012-02-21
> > 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
> > ing: /opt/xcat/share/xcat/install/image 2012-02-21
> > 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
> > ment node identifier argument was not specified
> > 2012-02-21 16:22:30|12755|275:261|image|
> 
> 
> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
> for image:
> > |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> > |12755|275:261|image| OS install type: partimage
> > |12755|275:261|image| OS source path: image
> > |12755|275:261|image| xCAT 2.x OS source path: image
> > 
> > 2012-02-21
> > 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
> > ing: /opt/xcat/share/xcat/install/image 2012-02-21
> > 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
> > ss(1557)|returning private IP address previously retrieved: 10.3.1.27
> > 2012-02-21
> > 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
> > were returned from database select 2012-02-21
> > 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
> > 35)|image owner id: 1 2012-02-21
> > 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
> > (information_schema) does not match handle stored in $ENV{dbh}
> > (vcl:10.3.1.214) 2012-02-21
> > 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
> > stored in $ENV{dbh} 2012-02-21
> > 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
> > mpting to retrieve and store data for user: user.id = '1' 2012-02-21
> > 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
> > (vcl) does not match handle stored in $ENV{dbh}
> > (information_schema:10.3.1.214) 2012-02-21
> > 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
> > stored in $ENV{dbh} 2012-02-21
> > 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
> > has been retrieved for user: admin (id: 1) 2012-02-21
> > 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
> > To: dchebota@gmu.edu (mailto:dchebota@gmu.edu), PROBLEM --
> > 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
> > |12755|275:261|image| ---- CRITICAL ----
> > |12755|275:261|image| 2012-02-21
> > |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
> > |ailed to find suitable base image template file in
> > |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
> > |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
> > |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
> > |xCAT2.pm, capture (line: 836)
> > |12755|275:261|image| (-3) image.pm, process (line: 162)
> > |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
> > |12755|275:261|image| (-5) vcld, main (line: 346)
> > |12755|275:261|image| ---- WARNING ----
> > |12755|275:261|image| 2012-02-21
> > |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
> > |template filename could not be determined 12755|275:261|image| ( 0)
> > |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
> > |xCAT2.pm, capture (line: 836)
> > |12755|275:261|image| (-2) image.pm, process (line: 162)
> > |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
> > |12755|275:261|image| (-4) vcld, main (line: 346)
> > |12755|275:261|image| ---- WARNING ----
> > |12755|275:261|image| 2012-02-21
> > |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
> > |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
> > |xCAT2.pm, capture (line: 840)
> > |12755|275:261|image| (-1) image.pm, process (line: 162)
> > |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
> > |12755|275:261|image| (-3) vcld, main (line: 346)
> > |12755|275:261|image| ---- WARNING ----
> > |12755|275:261|image| 2012-02-21
> > |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
> > |s5v474-v0 image failed to be captured by provisioning module
> > |12755|275:261|image| ( 0) image.pm, process (line: 166)
> > |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
> > |12755|275:261|image| (-2) vcld, main (line: 346)
> > 
> > On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
> > > Yes, we're using the latest xCAT version.
> > > 
> > > -A
> > > 
> > > On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AHKumar@odu.edu (mailto:AHKumar@odu.edu)> wrote:
> > > > Hi Dmitri,
> > > > 
> > > > We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
> > > > May be Aaron and his group could say more.
> > > > 
> > > > Thank you,
> > > > Amit
> > > > 
> > > > > -----Original Message-----
> > > > > From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> > > > > Sent: Friday, February 10, 2012 11:37 AM
> > > > > To: vcl-user@incubator.apache.org (mailto:vcl-user@incubator.apache.org)
> > > > > Subject: Re: VCL and xCat
> > > > > 
> > > > > 
> > > > > Thank you.
> > > > > 
> > > > > What version of xCat do you use? Since VCL supports xCat 2.x, is it
> > > > > safe to use latest xCat 2.6.10? Thanks.
> > > > > 
> > > > > On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
> > > > > > Hi Dmitri,
> > > > > > 
> > > > > > SUMAVI link that you have is a real good one, I blindly followed
> > > > > > it
> > > > > 
> > > > > 
> > > > > 
> > > > > and then slowly things started to make more sense once it worked.
> > > > > 
> > > > > > Also xCAT forum was very helpful.
> > > > > > 
> > > > > > Thank you,
> > > > > > Amit
> > > > > > 
> > > > > > > -----Original Message-----
> > > > > > > From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> > > > > > > Sent: Friday, February 10, 2012 10:15 AM
> > > > > > > To: vcl-user@incubator.apache.org (mailto:vcl-user@incubator.apache.org); aaron_peeler@ncsu.edu (mailto:aaron_peeler@ncsu.edu)
> > > > > > > Subject: Re: VCL and xCat
> > > > > > > 
> > > > > > > 
> > > > > > > Thank you, I hope we can make it work in our environment as
> > > > > > > well...
> > > > > > > 
> > > > > > > I keep searching and reading xCat docs - here is good one ->
> > > > > > > http://sumavi.com/books/xcat-administrators-guide.
> > > > > > > BTW, if you have any docs outside of xcat.org (http://xcat.org) site, please
> > > > > > > share...
> > > > > > > At this point I'm looking for xCat overview docs, i.e. to
> > > > > > > understand
> > > > > > > the process.
> > > > > > > 
> > > > > > > Looks like xCat makes extensive use of DHCP server to manage
> > > > > > > nodes.
> > > > > > > Are you using different DHCPd servers for VCL VMs and xCat
> > > > > > > nodes, or
> > > > > > > just keep everything on one DHCP server and being careful with
> > > > > > > which
> > > > > > > MAC gets what?
> > > > > > > 
> > > > > > > Thanks again for your help...
> > > > > > > 
> > > > > > > On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
> > > > > > > > Dmitri,
> > > > > > > > 
> > > > > > > > Just to add to Amit, comments.
> > > > > > > > 
> > > > > > > > We use xCAT extensively here at ncsu. From provisioning
> > > > > > > > end-user
> > > > > > > > desktops and our hypervisors. xCAT very helpful when needed to
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > install
> > > > > > > 
> > > > > > > > a chassis full of blades with esxi.
> > > > > > > > 
> > > > > > > > As your installing xCAT You'll want to review
> > > > > > > > https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > partimag
> > > > > > > 
> > > > > > > > e-ng-to-xcat-2x-unofficial.html We added in VCL support for
> > > > > > > > partimage
> > > > > > > > - which is used to capture the disk images of end-user
> > > > > > > > environments/desktops for windows and linux.
> > > > > > > > 
> > > > > > > > When your adding nodes to vcl through the manage computers
> > > > > > > > tool,
> > > > > > > > make sure to choose "xCAT 2.x" . If your doing windows
> > > > > > > > bare-metal,
> > > > > > > > you'll also need to include sysprep and related mass storage
> > > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > drivers
> > > > > 
> > > > > > > > so it can be reloaded successfully.
> > > > > 
> > > > > > > > For sysprep review step 8 on this page:
> > > > > https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
> > > > > +
> > > > > 
> > > > > > > N
> > > > > > > 
> > > > > > > > ode+Installation
> > > > > > > > 
> > > > > > > > Hope this info helps,
> > > > > > > > Aaron
> > > > > > > > 
> > > > > > > > 
> > > > > > > > On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
> > > > > 
> > > > > <dchebota@gmu.edu (mailto:dchebota@gmu.edu)>
> > > > > 
> > > > > > > wrote:
> > > > > > > > > Amit,
> > > > > > > > > 
> > > > > > > > > Thanks a lot.
> > > > > > > > > 
> > > > > > > > > On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
> > > > > > > > > > Hi Dmitri,
> > > > > > > > > > 
> > > > > > > > > > You general idea is correct to my best understanding.
> > > > > > > > > > 
> > > > > > > > > > "Install Path" in the Edit management Node will be the
> > > > > > > > > > path for
> > > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > xCAT(bare metal) image repository. In addition when you
> > > > > > > configure
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > the
> > > > > 
> > > > > > > "Site" table in xCAT you will set the "installdir" to point to
> > > > > > > the
> > > > > > > location where you will store your images.
> > > > > > > 
> > > > > > > > > > We have IBM E Blade Chassis with HS22 blade servers.
> > > > > > > > > > 
> > > > > > > > > > Best,
> > > > > > > > > > Amit
> > > > > > > > > > 
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> > > > > > > > > > > Sent: Thursday, February 09, 2012 3:44 PM
> > > > > > > > > > > To: vcl-user@incubator.apache.org (mailto:vcl-user@incubator.apache.org)
> > > > > > > > > > > Subject: Re: VCL and xCat
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > Amit,
> > > > > > > > > > > 
> > > > > > > > > > > I'm trying to get general idea about xCat/VCL : so,
> > > > > > > > > > > basically
> > > > > > > > > > > xCat needs to be installed and configured on VCL Mgm
> > > > > > > > > > > node(s)
> > > > > > > > > > > before it can be used with VCL, and I should be able to
> > > > > > > > > > > successfully provision xCat nodes/clients with different
> > > > > > > > > > > images.
> > > > > > > > > > > Once xCat is working then I can add bare-metal computers
> > > > > > > > > > > - blade
> > > > > > > > > > > with xCat 2.x engine. Does it sound right?
> > > > > > > > > > > 
> > > > > > > > > > > How do you tell VCL where to get image files for xCat
> > > > > > > > > > > nodes - is
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > it
> > > > > > > 
> > > > > > > > > > > 'Install Path' setting under Management Nodes -> Edit
> > > > > > > > > > > management
> > > > > > > > > > > node information?
> > > > > > > > > > > 
> > > > > > > > > > > What kind of hardware do you have for xCat nodes? Are
> > > > > > > > > > > those IBM
> > > > > > > > > > > blade servers or/and PCs?
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > Thanks.
> > > > > > > > > > > 
> > > > > > > > > > > On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> > > > > > > > > > > > Hi,
> > > > > > > > > > > > 
> > > > > > > > > > > > We do not need an additional/dedicated server to do
> > > > > > > > > > > > both xCAT
> > > > > > > > > > > > and VCL
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > together, your management node can serve as your xCAT
> > > > > > > > > > > server.
> > > > > > > > > > > 
> > > > > > > > > > > > I would recommend getting xCAT to work by itself
> > > > > > > > > > > > before using
> > > > > > > > > > > > VCL to
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > manage your images and guest OS.
> > > > > > > > > > > 
> > > > > > > > > > > > This has worked well for us so far.
> > > > > > > > > > > > 
> > > > > > > > > > > > :Amit
> > > > > > > > > > > > :
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> > > > > > > > > > > > > Sent: Thursday, February 09, 2012 3:03 PM
> > > > > > > > > > > > > To: vcl-user@incubator.apache.org (mailto:vcl-user@incubator.apache.org)
> > > > > > > > > > > > > Subject: VCL and xCat
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Hi All
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Anyone is using xCat with VCL?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > I have generic question about xCat and VCL - where
> > > > > > > > > > > > > do I start?
> > > > > > > > > > > > > Do I need working xCat environment before I can add
> > > > > > > > > > > > > it to VCL?
> > > > > > > > > > > > > Does xCat need dedicated server? Or does it run on
> > > > > > > > > > > > > the VCL
> > > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > management
> > > > > > > > > > > 
> > > > > > > > > > > > > node?
> > > > > > > > > > > > > Are there any special hardware requirements for xCat
> > > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > "clients"?
> > > > > 
> > > > > > > > > > > > > Thank you.
> > > > > > > > > > > 
> > > > > > > > > > > Thank you.
> > > > > > > > > > > 
> > > > > > > > > > > -----------------
> > > > > > > > > > > Dmitri Chebotarov
> > > > > > > > > > > dchebota@gmu.edu (mailto:dchebota@gmu.edu)
> > > > > > > > > > > 703-993-6175
> > > > > > > > > > > -----------------
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > Thank you.
> > > > > > > > > 
> > > > > > > > > -----------------
> > > > > > > > > Dmitri Chebotarov
> > > > > > > > > dchebota@gmu.edu (mailto:dchebota@gmu.edu)
> > > > > > > > > 703-993-6175
> > > > > > > > > -----------------
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > -----BEGIN PGP SIGNATURE-----
> > > > > > > > > 
> > > > > > > > > iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
> > > > > > > > > zzem
> > > > > > > > > eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
> > > > > > > > > qNTm
> > > > > > > > > 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
> > > > > > > > > e62X
> > > > > > > > > xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
> > > > > > > > > 77gD
> > > > > > > > > xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
> > > > > > > > > pctI
> > > > > > > > > yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
> > > > > > > > > TmA=
> > > > > > > > > =86fD
> > > > > > > > > -----END PGP SIGNATURE-----
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > --
> > > > > > > > Aaron Peeler
> > > > > > > > Program Manager
> > > > > > > > Virtual Computing Lab
> > > > > > > > NC State University
> > > > > > > > 
> > > > > > > > All electronic mail messages in connection with State business
> > > > > 
> > > > > which
> > > > > 
> > > > > > > > are sent to or received by this account are subject to the NC
> > > > > 
> > > > > Public
> > > > > 
> > > > > > > > Records Law and may be disclosed to third parties.
> > > > > > > 
> > > > > > > Thank you.
> > > > > > > 
> > > > > > > -----------------
> > > > > > > Dmitri Chebotarov
> > > > > > > dchebota@gmu.edu (mailto:dchebota@gmu.edu)
> > > > > > > 703-993-6175
> > > > > > > -----------------
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > Thank you.
> > > > > 
> > > > > -----------------
> > > > > Dmitri Chebotarov
> > > > > dchebota@gmu.edu (mailto:dchebota@gmu.edu)
> > > > > 703-993-6175
> > > > > -----------------
> > > > 
> > > 
> > 
> > 
> > 
> > Thank you.
> > 
> > -----------------
> > Dmitri Chebotarov
> > dchebota@gmu.edu (mailto:dchebota@gmu.edu)
> > 703-993-6175
> > -----------------
> 
> 
> - -- 
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
> 
> my GPG/PGP key can be found at pgp.mit.edu
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> 
> iEYEARECAAYFAk9FPgoACgkQV/LQcNdtPQMzGQCfTzYHgdDozkUgQGnmhOPfuqdm
> bSYAn2jnVqx+6An4WZ+CTzCdC09vCIOM
> =qPAU
> -----END PGP SIGNATURE-----




Re: VCL and xCat

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitri,

Thanks for the info.  If you send a diff of the change, I can include it in 
the download from our web site.

Josh

On Tuesday, February 28, 2012 1:08:51 PM Dmitri Chebotarov wrote:
> Hi
> 
> FYI
> 
> I've had a problem with partimageng, where script failed when reloading from
> a different image (ie. windows -> linux). This has to do more with
> different partition table then with OS. The install always failed on 1st
> try when restoring image using partimage and only worked on 2nd try.
> 
> I've fixed it by adding /sbin/partprobe command to partimageng script after
> sfdisk partitioned the disk.
> 
> Thanks.
> 
> On Feb 22, 2012, at 14:32 , Dmitri Chebotarov wrote:
> > John,
> > 
> > I got the link and I think I'm making some good progress.
> > Also found this tread on the maillist
> > (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:
> > partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you
> > helped Prem, which is very helpful.
> > 
> > Thank you
> > 
> > On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
> >> Hash: SHA1
> >> 
> >> Dmitri,
> >> 
> >> Did you follow the guide for adding partimage support to xCAT?
> >> 
> >> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+par
> >> timage+and+partimage- ng+to+xCAT+2.x+%28unofficial%29
> >> 
> >> You said you installed the partimage rpm.  partimage is not something
> >> that needs to be installed on the management node.  It is part of the
> >> stateless images mentioned on the above page.
> >> 
> >> Josh
> >> 
> >> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
> >>> Hi All.
> >>> 
> >>> I'm trying to capture a base image using xCAT module - the server is
> >>> bare-metal CentOS5.7. The process starts OK, able to communicate
> >>> with the node and then fails when trying to create .tmpl file.
> >>> 
> >>> xCAT is installed and configured on the management node.
> >>> partimage rpm is installed as well.
> >>> 
> >>> Do you know what could be the issue?
> >>> 
> >>> Thank you for your help.
> >>> 
> >>> ...
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
> >>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attemp
> >>> ting to create tmpl file for image: centos5image-xcatcentos5v474-v0
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084
> >>> )|manage ment node identifier argument was not specified
> >>> 2012-02-21 16:22:30|12755|275:261|image|
> >> 
> >> xCAT2.pm:_get_image_template_path(2115)|attempting to determine
> >> template path>> 
> >> for image:
> >>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> >>> |12755|275:261|image| OS install type: partimage
> >>> |12755|275:261|image| OS source path: image
> >>> |12755|275:261|image| xCAT 2.x OS source path: image
> >>> 
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)
> >>> |return ing: /opt/xcat/share/xcat/install/image 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)
> >>> |manage ment node identifier argument was not specified
> >>> 2012-02-21 16:22:30|12755|275:261|image|
> >> 
> >> xCAT2.pm:_get_image_template_path(2115)|attempting to determine
> >> template path>> 
> >> for image:
> >>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> >>> |12755|275:261|image| OS install type: partimage
> >>> |12755|275:261|image| OS source path: image
> >>> |12755|275:261|image| xCAT 2.x OS source path: image
> >>> 
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)
> >>> |return ing: /opt/xcat/share/xcat/install/image 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_i
> >>> p_addre ss(1557)|returning private IP address previously retrieved:
> >>> 10.3.1.27 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero
> >>> rows
> >>> were returned from database select 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_
> >>> name(20 35)|image owner id: 1 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database
> >>> requested (information_schema) does not match handle stored in
> >>> $ENV{dbh} (vcl:10.3.1.214) 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database
> >>> handle
> >>> stored in $ENV{dbh} 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(135
> >>> 2)|atte mpting to retrieve and store data for user: user.id = '1'
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database
> >>> requested (vcl) does not match handle stored in $ENV{dbh}
> >>> (information_schema:10.3.1.214) 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database
> >>> handle
> >>> stored in $ENV{dbh} 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(141
> >>> 5)|data has been retrieved for user: admin (id: 1) 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending
> >>> mail To: dchebota@gmu.edu, PROBLEM --
> >>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
> >>> 
> >>> |12755|275:261|image| ---- CRITICAL ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(
> >>> |2170)|f ailed to find suitable base image template file in
> >>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0)
> >>> |xCAT2.pm,
> >>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
> >>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
> >>> |xCAT2.pm, capture (line: 836)
> >>> |12755|275:261|image| (-3) image.pm, process (line: 162)
> >>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-5) vcld, main (line: 346)
> >>> |12755|275:261|image| ---- WARNING ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
> >>> |template filename could not be determined 12755|275:261|image| (
> >>> |0)
> >>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
> >>> |xCAT2.pm, capture (line: 836)
> >>> |12755|275:261|image| (-2) image.pm, process (line: 162)
> >>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-4) vcld, main (line: 346)
> >>> |12755|275:261|image| ---- WARNING ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to
> >>> |create .tmpl file for centos5image-xcatcentos5v474-v0
> >>> |12755|275:261|image| ( 0) xCAT2.pm, capture (line: 840)
> >>> |12755|275:261|image| (-1) image.pm, process (line: 162)
> >>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-3) vcld, main (line: 346)
> >>> |12755|275:261|image| ---- WARNING ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xc
> >>> |atcento s5v474-v0 image failed to be captured by provisioning
> >>> |module
> >>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
> >>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-2) vcld, main (line: 346)
> >>> 
> >>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
> >>>> Yes, we're using the latest xCAT version.
> >>>> 
> >>>> -A
> >>>> 
> >>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> 
wrote:
> >>>>> Hi Dmitri,
> >>>>> 
> >>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will
> >>>>> work.
> >>>>> May be Aaron and his group could say more.
> >>>>> 
> >>>>> Thank you,
> >>>>> Amit
> >>>>> 
> >>>>>> -----Original Message-----
> >>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>> Sent: Friday, February 10, 2012 11:37 AM
> >>>>>> To: vcl-user@incubator.apache.org
> >>>>>> Subject: Re: VCL and xCat
> >>>>>> 
> >>>>>> 
> >>>>>> Thank you.
> >>>>>> 
> >>>>>> What version of xCat do you use? Since VCL supports xCat 2.x,
> >>>>>> is it
> >>>>>> safe to use latest xCat 2.6.10? Thanks.
> >>>>>> 
> >>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
> >>>>>>> Hi Dmitri,
> >>>>>>> 
> >>>>>>> SUMAVI link that you have is a real good one, I blindly
> >>>>>>> followed
> >>>>>>> it
> >>>>>> 
> >>>>>> and then slowly things started to make more sense once it
> >>>>>> worked.
> >>>>>> 
> >>>>>>> Also xCAT forum was very helpful.
> >>>>>>> 
> >>>>>>> Thank you,
> >>>>>>> Amit
> >>>>>>> 
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
> >>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
> >>>>>>>> Subject: Re: VCL and xCat
> >>>>>>>> 
> >>>>>>>> 
> >>>>>>>> Thank you, I hope we can make it work in our environment
> >>>>>>>> as
> >>>>>>>> well...
> >>>>>>>> 
> >>>>>>>> I keep searching and reading xCat docs - here is good one
> >>>>>>>> ->
> >>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
> >>>>>>>> BTW, if you have any docs outside of xcat.org site, please
> >>>>>>>> share...
> >>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
> >>>>>>>> understand
> >>>>>>>> the process.
> >>>>>>>> 
> >>>>>>>> Looks like xCat makes extensive use of DHCP server to
> >>>>>>>> manage
> >>>>>>>> nodes.
> >>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
> >>>>>>>> nodes, or
> >>>>>>>> just keep everything on one DHCP server and being careful
> >>>>>>>> with
> >>>>>>>> which
> >>>>>>>> MAC gets what?
> >>>>>>>> 
> >>>>>>>> Thanks again for your help...
> >>>>>>>> 
> >>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
> >>>>>>>>> Dmitri,
> >>>>>>>>> 
> >>>>>>>>> Just to add to Amit, comments.
> >>>>>>>>> 
> >>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
> >>>>>>>>> end-user
> >>>>>>>>> desktops and our hypervisors. xCAT very helpful when
> >>>>>>>>> needed to
> >>>>>>>> 
> >>>>>>>> install
> >>>>>>>> 
> >>>>>>>>> a chassis full of blades with esxi.
> >>>>>>>>> 
> >>>>>>>>> As your installing xCAT  You'll want to review
> >>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimag
> >>>>>>>>> e-and-
> >>>>>>>> 
> >>>>>>>> partimag
> >>>>>>>> 
> >>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support
> >>>>>>>>> for
> >>>>>>>>> partimage
> >>>>>>>>> - which is used to capture the disk images of end-user
> >>>>>>>>> environments/desktops for windows and linux.
> >>>>>>>>> 
> >>>>>>>>> When your adding nodes to vcl through the manage
> >>>>>>>>> computers
> >>>>>>>>> tool,
> >>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
> >>>>>>>>> bare-metal,
> >>>>>>>>> you'll also need to include sysprep and related mass
> >>>>>>>>> storage
> >>>>>> 
> >>>>>> drivers
> >>>>>> 
> >>>>>>>>> so it can be reloaded successfully.
> >>>>>> 
> >>>>>>>>> For sysprep review step 8 on this page:
> >>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Mana
> >>>>>> gement
> >>>>>> +
> >>>>>> 
> >>>>>>>> N
> >>>>>>>> 
> >>>>>>>>> ode+Installation
> >>>>>>>>> 
> >>>>>>>>> Hope this info helps,
> >>>>>>>>> Aaron
> >>>>>>>>> 
> >>>>>>>>> 
> >>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
> >>>>>> 
> >>>>>> <dc...@gmu.edu>
> >>>>>> 
> >>>>>>>> wrote:
> >>>>>>>>>> Amit,
> >>>>>>>>>> 
> >>>>>>>>>> Thanks a lot.
> >>>>>>>>>> 
> >>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
> >>>>>>>>>>> Hi Dmitri,
> >>>>>>>>>>> 
> >>>>>>>>>>> You general idea is correct to my best
> >>>>>>>>>>> understanding.
> >>>>>>>>>>> 
> >>>>>>>>>>> "Install Path" in the Edit management Node will be
> >>>>>>>>>>> the
> >>>>>>>>>>> path for
> >>>>>>>> 
> >>>>>>>> xCAT(bare metal) image repository. In addition when you
> >>>>>>>> configure
> >>>>>> 
> >>>>>> the
> >>>>>> 
> >>>>>>>> "Site" table in xCAT you will set the "installdir" to
> >>>>>>>> point to
> >>>>>>>> the
> >>>>>>>> location where you will store your images.
> >>>>>>>> 
> >>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
> >>>>>>>>>>> 
> >>>>>>>>>>> Best,
> >>>>>>>>>>> Amit
> >>>>>>>>>>> 
> >>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
> >>>>>>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>>>>>> Subject: Re: VCL and xCat
> >>>>>>>>>>>> 
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Amit,
> >>>>>>>>>>>> 
> >>>>>>>>>>>> I'm trying to get general idea about xCat/VCL :
> >>>>>>>>>>>> so,
> >>>>>>>>>>>> basically
> >>>>>>>>>>>> xCat needs to be installed and configured on VCL
> >>>>>>>>>>>> Mgm
> >>>>>>>>>>>> node(s)
> >>>>>>>>>>>> before it can be used with VCL, and I should be
> >>>>>>>>>>>> able to
> >>>>>>>>>>>> successfully provision xCat nodes/clients with
> >>>>>>>>>>>> different
> >>>>>>>>>>>> images.
> >>>>>>>>>>>> Once xCat is working then I can add bare-metal
> >>>>>>>>>>>> computers
> >>>>>>>>>>>> - blade
> >>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> How do you tell VCL where to get image files for
> >>>>>>>>>>>> xCat
> >>>>>>>>>>>> nodes - is
> >>>>>>>> 
> >>>>>>>> it
> >>>>>>>> 
> >>>>>>>>>>>> 'Install Path' setting under Management Nodes ->
> >>>>>>>>>>>> Edit
> >>>>>>>>>>>> management
> >>>>>>>>>>>> node information?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> What kind of hardware do you have for xCat nodes?
> >>>>>>>>>>>> Are
> >>>>>>>>>>>> those IBM
> >>>>>>>>>>>> blade servers or/and PCs?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Thanks.
> >>>>>>>>>>>> 
> >>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> We do not need an additional/dedicated server to
> >>>>>>>>>>>>> do
> >>>>>>>>>>>>> both xCAT
> >>>>>>>>>>>>> and VCL
> >>>>>>>>>>>> 
> >>>>>>>>>>>> together, your management node can serve as your
> >>>>>>>>>>>> xCAT
> >>>>>>>>>>>> server.
> >>>>>>>>>>>> 
> >>>>>>>>>>>>> I would recommend getting xCAT to work by itself
> >>>>>>>>>>>>> before using
> >>>>>>>>>>>>> VCL to
> >>>>>>>>>>>> 
> >>>>>>>>>>>> manage your images and guest OS.
> >>>>>>>>>>>> 
> >>>>>>>>>>>>> This has worked well for us so far.
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> :Amit
> >>>>>>>>>>>>> :
> >>>>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>>>> From: dchebota@gmu.edu
> >>>>>>>>>>>>>> [mailto:dchebota@gmu.edu]
> >>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
> >>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>>>>>>>> Subject: VCL and xCat
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Hi All
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Anyone is using xCat with VCL?
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> I have generic question about xCat and VCL -
> >>>>>>>>>>>>>> where
> >>>>>>>>>>>>>> do I start?
> >>>>>>>>>>>>>> Do I need working xCat environment before I
> >>>>>>>>>>>>>> can add
> >>>>>>>>>>>>>> it to VCL?
> >>>>>>>>>>>>>> Does xCat need dedicated server? Or does it
> >>>>>>>>>>>>>> run on
> >>>>>>>>>>>>>> the VCL
> >>>>>>>>>>>> 
> >>>>>>>>>>>> management
> >>>>>>>>>>>> 
> >>>>>>>>>>>>>> node?
> >>>>>>>>>>>>>> Are there any special hardware requirements
> >>>>>>>>>>>>>> for xCat
> >>>>>> 
> >>>>>> "clients"?
> >>>>>> 
> >>>>>>>>>>>>>> Thank you.
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Thank you.
> >>>>>>>>>>>> 
> >>>>>>>>>>>> -----------------
> >>>>>>>>>>>> Dmitri Chebotarov
> >>>>>>>>>>>> dchebota@gmu.edu
> >>>>>>>>>>>> 703-993-6175
> >>>>>>>>>>>> -----------------
> >>>>>>>>>> 
> >>>>>>>>>> Thank you.
> >>>>>>>>>> 
> >>>>>>>>>> -----------------
> >>>>>>>>>> Dmitri Chebotarov
> >>>>>>>>>> dchebota@gmu.edu
> >>>>>>>>>> 703-993-6175
> >>>>>>>>>> -----------------
> >>>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>>> -----BEGIN PGP SIGNATURE-----
> >>>>>>>>>> 
> >>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l
> >>>>>>>>>> 4+D3cl
> >>>>>>>>>> zzem
> >>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB
> >>>>>>>>>> 82hWic
> >>>>>>>>>> qNTm
> >>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZB
> >>>>>>>>>> L4xFNj
> >>>>>>>>>> e62X
> >>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/
> >>>>>>>>>> gN5HIK
> >>>>>>>>>> 77gD
> >>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQ
> >>>>>>>>>> zYFbij
> >>>>>>>>>> pctI
> >>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8
> >>>>>>>>>> mY0kqb
> >>>>>>>>>> TmA=
> >>>>>>>>>> =86fD
> >>>>>>>>>> -----END PGP SIGNATURE-----
> >>>>>>>>> 
> >>>>>>>>> --
> >>>>>>>>> Aaron Peeler
> >>>>>>>>> Program Manager
> >>>>>>>>> Virtual Computing Lab
> >>>>>>>>> NC State University
> >>>>>>>>> 
> >>>>>>>>> All electronic mail messages in connection with State
> >>>>>>>>> business
> >>>>>> 
> >>>>>> which
> >>>>>> 
> >>>>>>>>> are sent to or received by this account are subject to
> >>>>>>>>> the NC
> >>>>>> 
> >>>>>> Public
> >>>>>> 
> >>>>>>>>> Records Law and may be disclosed to third parties.
> >>>>>>>> 
> >>>>>>>> Thank you.
> >>>>>>>> 
> >>>>>>>> -----------------
> >>>>>>>> Dmitri Chebotarov
> >>>>>>>> dchebota@gmu.edu
> >>>>>>>> 703-993-6175
> >>>>>>>> -----------------
> >>>>>> 
> >>>>>> Thank you.
> >>>>>> 
> >>>>>> -----------------
> >>>>>> Dmitri Chebotarov
> >>>>>> dchebota@gmu.edu
> >>>>>> 703-993-6175
> >>>>>> -----------------
> >>> 
> >>> Thank you.
> >>> 
> >>> -----------------
> >>> Dmitri Chebotarov
> >>> dchebota@gmu.edu
> >>> 703-993-6175
> >>> -----------------
> >> 
> >> - --
> >> - -------------------------------
> >> Josh Thompson
> >> VCL Developer
> >> North Carolina State University
> >> 
> >> my GPG/PGP key can be found at pgp.mit.edu
> >> 
> >> All electronic mail messages in connection with State business which
> >> are sent to or received by this account are subject to the NC Public
> >> Records Law and may be disclosed to third parties.
> > 
> > Thank you.
> > 
> > -----------------
> > Dmitri Chebotarov
> > dchebota@gmu.edu
> > 703-993-6175
> > -----------------
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk9NOssACgkQV/LQcNdtPQPtxACeIziD5ZW4mc8vuvSPzBa8m9rO
5hYAnR+mv+b1Ijq6qv+UBK8deOpyhI+1
=8REM
-----END PGP SIGNATURE-----


Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Josh

I didn't think that making any major changes to xCAT2.pm would be a good idea. In fact the solution provided at https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html is good and tested. I assume that in newer xCAT nodestat behaves differently.

To get it working again I've created new /opt/xcat/bin/vcl_nodestat script, which communicates with socket created by listener.py.

#!/usr/bin/perl -w
use strict;
my ($remote, $answer, $peerAddress, $peerPort, $sendCommand);
$peerAddress = $ARGV[0];
$peerPort = 3001;
$sendCommand = $ARGV[1];
use IO::Socket;
$remote=IO::Socket::INET->new(Proto=>'tcp',PeerAddr => $peerAddress,PeerPort => $peerPort,Type =>SOCK_STREAM) or die "$peerAddress: noping\n";
print $remote "$sendCommand\n";
while ($answer=<$remote>){
print "$peerAddress:$answer\n";
}
close $remote;

Then I made some minor changes to xCAT2.pm, replacing '$XCAT_ROOT/bin/nodestat' with '$XCAT_ROOT/bin/vcl_nodestat'.

This seems to fixed the problem.

Thanks.

On Feb 28, 2012, at 15:42 , Josh Thompson wrote:

> 
> Hash: SHA1
> 
> Dmitri,
> 
> At some point, this did work.  I'm not sure when it broke, but I never dug 
> back in to it to make it work again.  We've not noticed it causing failures; 
> so, I just let it go.  I can have a look at it again when I get a chance.
> 
> Can you send some more detailed information about the conditions when you see 
> the problem?
> 
> One other thing to look at - what does nodestat report after "install 
> <imagename>"?  If it is reporting that ssh is running, you may have a 
> postscript set to configure ssh that is getting run for the stateless image.  
> We have things set up so that ssh does not get set up for the stateless image.
> 
> Josh
> 
> On Tuesday, February 28, 2012 12:58:46 PM Dmitri Chebotarov wrote:
>> Hi
>> 
>> There seems to be a disconnect between xCAT2.pm and
>> /install/postscripts/partimageng script. The partimageng script starts
>> listener.py in background which suppose to report to nodestat in xCAT2.pm
>> module. xCAT2.pm is using 'nodestat nodename stat' to check on status, but
>> nodestat command doesn't use listener.py running on the node.
>> 
>> Is there a workaround? May be an updated version of xCAT2.pm which checks
>> /var/log/messages on round2? Looks like partimageng is using logger to
>> report back the status to xCat master...
>> 
>> B/c of this, reservation or reload is inconsistent. nodestat would report
>> "install <imagename>" for about 7-9 sec and xCAT2.pm doesn't always get it.
>> 
>> Thank you for your help.
>> 
>> On Feb 22, 2012, at 14:32 , Dmitri Chebotarov wrote:
>>> John,
>>> 
>>> I got the link and I think I'm making some good progress.
>>> Also found this tread on the maillist
>>> (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:
>>> partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you
>>> helped Prem, which is very helpful.
>>> 
>>> Thank you
>>> 
>>> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
>>>> Hash: SHA1
>>>> 
>>>> Dmitri,
>>>> 
>>>> Did you follow the guide for adding partimage support to xCAT?
>>>> 
>>>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+par
>>>> timage+and+partimage- ng+to+xCAT+2.x+%28unofficial%29
>>>> 
>>>> You said you installed the partimage rpm.  partimage is not something
>>>> that needs to be installed on the management node.  It is part of the
>>>> stateless images mentioned on the above page.
>>>> 
>>>> Josh
>>>> 
>>>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>>>> Hi All.
>>>>> 
>>>>> I'm trying to capture a base image using xCAT module - the server is
>>>>> bare-metal CentOS5.7. The process starts OK, able to communicate
>>>>> with the node and then fails when trying to create .tmpl file.
>>>>> 
>>>>> xCAT is installed and configured on the management node.
>>>>> partimage rpm is installed as well.
>>>>> 
>>>>> Do you know what could be the issue?
>>>>> 
>>>>> Thank you for your help.
>>>>> 
>>>>> ...
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attemp
>>>>> ting to create tmpl file for image: centos5image-xcatcentos5v474-v0
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084
>>>>> )|manage ment node identifier argument was not specified
>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>> 
>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine
>>>> template path>> 
>>>> for image:
>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>> |12755|275:261|image| OS install type: partimage
>>>>> |12755|275:261|image| OS source path: image
>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>> 
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)
>>>>> |return ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)
>>>>> |manage ment node identifier argument was not specified
>>>>> 2012-02-21 16:22:30|12755|275:261|image|
>>>> 
>>>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine
>>>> template path>> 
>>>> for image:
>>>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>>>> |12755|275:261|image| OS install type: partimage
>>>>> |12755|275:261|image| OS source path: image
>>>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>>>> 
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)
>>>>> |return ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_i
>>>>> p_addre ss(1557)|returning private IP address previously retrieved:
>>>>> 10.3.1.27 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero
>>>>> rows
>>>>> were returned from database select 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_
>>>>> name(20 35)|image owner id: 1 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database
>>>>> requested (information_schema) does not match handle stored in
>>>>> $ENV{dbh} (vcl:10.3.1.214) 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database
>>>>> handle
>>>>> stored in $ENV{dbh} 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(135
>>>>> 2)|atte mpting to retrieve and store data for user: user.id = '1'
>>>>> 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database
>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>> (information_schema:10.3.1.214) 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database
>>>>> handle
>>>>> stored in $ENV{dbh} 2012-02-21
>>>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(141
>>>>> 5)|data has been retrieved for user: admin (id: 1) 2012-02-21
>>>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending
>>>>> mail To: dchebota@gmu.edu, PROBLEM --
>>>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>>>> 
>>>>> |12755|275:261|image| ---- CRITICAL ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(
>>>>> |2170)|f ailed to find suitable base image template file in
>>>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0)
>>>>> |xCAT2.pm,
>>>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>>>> |xCAT2.pm, capture (line: 836)
>>>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>>>> |12755|275:261|image| ---- WARNING ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>>>> |template filename could not be determined 12755|275:261|image| (
>>>>> |0)
>>>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>>>> |xCAT2.pm, capture (line: 836)
>>>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>>>> |12755|275:261|image| ---- WARNING ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to
>>>>> |create .tmpl file for centos5image-xcatcentos5v474-v0
>>>>> |12755|275:261|image| ( 0) xCAT2.pm, capture (line: 840)
>>>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>>>> |12755|275:261|image| ---- WARNING ----
>>>>> |12755|275:261|image| 2012-02-21
>>>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xc
>>>>> |atcento s5v474-v0 image failed to be captured by provisioning
>>>>> |module
>>>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>>>> 
>>>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>>>> Yes, we're using the latest xCAT version.
>>>>>> 
>>>>>> -A
>>>>>> 
>>>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> 
> wrote:
>>>>>>> Hi Dmitri,
>>>>>>> 
>>>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will
>>>>>>> work.
>>>>>>> May be Aaron and his group could say more.
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> Amit
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x,
>>>>>>>> is it
>>>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>>>> 
>>>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>>>> Hi Dmitri,
>>>>>>>>> 
>>>>>>>>> SUMAVI link that you have is a real good one, I blindly
>>>>>>>>> followed
>>>>>>>>> it
>>>>>>>> 
>>>>>>>> and then slowly things started to make more sense once it
>>>>>>>> worked.
>>>>>>>> 
>>>>>>>>> Also xCAT forum was very helpful.
>>>>>>>>> 
>>>>>>>>> Thank you,
>>>>>>>>> Amit
>>>>>>>>> 
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Thank you, I hope we can make it work in our environment
>>>>>>>>>> as
>>>>>>>>>> well...
>>>>>>>>>> 
>>>>>>>>>> I keep searching and reading xCat docs - here is good one
>>>>>>>>>> ->
>>>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>>>> share...
>>>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>>>> understand
>>>>>>>>>> the process.
>>>>>>>>>> 
>>>>>>>>>> Looks like xCat makes extensive use of DHCP server to
>>>>>>>>>> manage
>>>>>>>>>> nodes.
>>>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>>>> nodes, or
>>>>>>>>>> just keep everything on one DHCP server and being careful
>>>>>>>>>> with
>>>>>>>>>> which
>>>>>>>>>> MAC gets what?
>>>>>>>>>> 
>>>>>>>>>> Thanks again for your help...
>>>>>>>>>> 
>>>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>>>> Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>>>> 
>>>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>>>> end-user
>>>>>>>>>>> desktops and our hypervisors. xCAT very helpful when
>>>>>>>>>>> needed to
>>>>>>>>>> 
>>>>>>>>>> install
>>>>>>>>>> 
>>>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>>>> 
>>>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimag
>>>>>>>>>>> e-and-
>>>>>>>>>> 
>>>>>>>>>> partimag
>>>>>>>>>> 
>>>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support
>>>>>>>>>>> for
>>>>>>>>>>> partimage
>>>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>>>> 
>>>>>>>>>>> When your adding nodes to vcl through the manage
>>>>>>>>>>> computers
>>>>>>>>>>> tool,
>>>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>>>> bare-metal,
>>>>>>>>>>> you'll also need to include sysprep and related mass
>>>>>>>>>>> storage
>>>>>>>> 
>>>>>>>> drivers
>>>>>>>> 
>>>>>>>>>>> so it can be reloaded successfully.
>>>>>>>> 
>>>>>>>>>>> For sysprep review step 8 on this page:
>>>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Mana
>>>>>>>> gement
>>>>>>>> +
>>>>>>>> 
>>>>>>>>>> N
>>>>>>>>>> 
>>>>>>>>>>> ode+Installation
>>>>>>>>>>> 
>>>>>>>>>>> Hope this info helps,
>>>>>>>>>>> Aaron
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>>>> 
>>>>>>>> <dc...@gmu.edu>
>>>>>>>> 
>>>>>>>>>> wrote:
>>>>>>>>>>>> Amit,
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks a lot.
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> You general idea is correct to my best
>>>>>>>>>>>>> understanding.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> "Install Path" in the Edit management Node will be
>>>>>>>>>>>>> the
>>>>>>>>>>>>> path for
>>>>>>>>>> 
>>>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>>>> configure
>>>>>>>> 
>>>>>>>> the
>>>>>>>> 
>>>>>>>>>> "Site" table in xCAT you will set the "installdir" to
>>>>>>>>>> point to
>>>>>>>>>> the
>>>>>>>>>> location where you will store your images.
>>>>>>>>>> 
>>>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Best,
>>>>>>>>>>>>> Amit
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Amit,
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL :
>>>>>>>>>>>>>> so,
>>>>>>>>>>>>>> basically
>>>>>>>>>>>>>> xCat needs to be installed and configured on VCL
>>>>>>>>>>>>>> Mgm
>>>>>>>>>>>>>> node(s)
>>>>>>>>>>>>>> before it can be used with VCL, and I should be
>>>>>>>>>>>>>> able to
>>>>>>>>>>>>>> successfully provision xCat nodes/clients with
>>>>>>>>>>>>>> different
>>>>>>>>>>>>>> images.
>>>>>>>>>>>>>> Once xCat is working then I can add bare-metal
>>>>>>>>>>>>>> computers
>>>>>>>>>>>>>> - blade
>>>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> How do you tell VCL where to get image files for
>>>>>>>>>>>>>> xCat
>>>>>>>>>>>>>> nodes - is
>>>>>>>>>> 
>>>>>>>>>> it
>>>>>>>>>> 
>>>>>>>>>>>>>> 'Install Path' setting under Management Nodes ->
>>>>>>>>>>>>>> Edit
>>>>>>>>>>>>>> management
>>>>>>>>>>>>>> node information?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> What kind of hardware do you have for xCat nodes?
>>>>>>>>>>>>>> Are
>>>>>>>>>>>>>> those IBM
>>>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> We do not need an additional/dedicated server to
>>>>>>>>>>>>>>> do
>>>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>>>> and VCL
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> together, your management node can serve as your
>>>>>>>>>>>>>> xCAT
>>>>>>>>>>>>>> server.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>>>> before using
>>>>>>>>>>>>>>> VCL to
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>>>> From: dchebota@gmu.edu
>>>>>>>>>>>>>>>> [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> I have generic question about xCat and VCL -
>>>>>>>>>>>>>>>> where
>>>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>>>> Do I need working xCat environment before I
>>>>>>>>>>>>>>>> can add
>>>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it
>>>>>>>>>>>>>>>> run on
>>>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> management
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>>>> Are there any special hardware requirements
>>>>>>>>>>>>>>>> for xCat
>>>>>>>> 
>>>>>>>> "clients"?
>>>>>>>> 
>>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>>>> -----------------
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>>>> 
>>>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l
>>>>>>>>>>>> 4+D3cl
>>>>>>>>>>>> zzem
>>>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB
>>>>>>>>>>>> 82hWic
>>>>>>>>>>>> qNTm
>>>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZB
>>>>>>>>>>>> L4xFNj
>>>>>>>>>>>> e62X
>>>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/
>>>>>>>>>>>> gN5HIK
>>>>>>>>>>>> 77gD
>>>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQ
>>>>>>>>>>>> zYFbij
>>>>>>>>>>>> pctI
>>>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8
>>>>>>>>>>>> mY0kqb
>>>>>>>>>>>> TmA=
>>>>>>>>>>>> =86fD
>>>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> Aaron Peeler
>>>>>>>>>>> Program Manager
>>>>>>>>>>> Virtual Computing Lab
>>>>>>>>>>> NC State University
>>>>>>>>>>> 
>>>>>>>>>>> All electronic mail messages in connection with State
>>>>>>>>>>> business
>>>>>>>> 
>>>>>>>> which
>>>>>>>> 
>>>>>>>>>>> are sent to or received by this account are subject to
>>>>>>>>>>> the NC
>>>>>>>> 
>>>>>>>> Public
>>>>>>>> 
>>>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> -----------------
>>>>>>>> Dmitri Chebotarov
>>>>>>>> dchebota@gmu.edu
>>>>>>>> 703-993-6175
>>>>>>>> -----------------
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>>>> 
>>>> - --
>>>> - -------------------------------
>>>> Josh Thompson
>>>> VCL Developer
>>>> North Carolina State University
>>>> 
>>>> my GPG/PGP key can be found at pgp.mit.edu
>>>> 
>>>> All electronic mail messages in connection with State business which
>>>> are sent to or received by this account are subject to the NC Public
>>>> Records Law and may be disclosed to third parties.
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
> - -- 
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
> 
> my GPG/PGP key can be found at pgp.mit.edu
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitri,

At some point, this did work.  I'm not sure when it broke, but I never dug 
back in to it to make it work again.  We've not noticed it causing failures; 
so, I just let it go.  I can have a look at it again when I get a chance.

Can you send some more detailed information about the conditions when you see 
the problem?

One other thing to look at - what does nodestat report after "install 
<imagename>"?  If it is reporting that ssh is running, you may have a 
postscript set to configure ssh that is getting run for the stateless image.  
We have things set up so that ssh does not get set up for the stateless image.

Josh

On Tuesday, February 28, 2012 12:58:46 PM Dmitri Chebotarov wrote:
> Hi
> 
> There seems to be a disconnect between xCAT2.pm and
> /install/postscripts/partimageng script. The partimageng script starts
> listener.py in background which suppose to report to nodestat in xCAT2.pm
> module. xCAT2.pm is using 'nodestat nodename stat' to check on status, but
> nodestat command doesn't use listener.py running on the node.
> 
> Is there a workaround? May be an updated version of xCAT2.pm which checks
> /var/log/messages on round2? Looks like partimageng is using logger to
> report back the status to xCat master...
> 
> B/c of this, reservation or reload is inconsistent. nodestat would report
> "install <imagename>" for about 7-9 sec and xCAT2.pm doesn't always get it.
> 
> Thank you for your help.
> 
> On Feb 22, 2012, at 14:32 , Dmitri Chebotarov wrote:
> > John,
> > 
> > I got the link and I think I'm making some good progress.
> > Also found this tread on the maillist
> > (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:
> > partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you
> > helped Prem, which is very helpful.
> > 
> > Thank you
> > 
> > On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
> >> Hash: SHA1
> >> 
> >> Dmitri,
> >> 
> >> Did you follow the guide for adding partimage support to xCAT?
> >> 
> >> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+par
> >> timage+and+partimage- ng+to+xCAT+2.x+%28unofficial%29
> >> 
> >> You said you installed the partimage rpm.  partimage is not something
> >> that needs to be installed on the management node.  It is part of the
> >> stateless images mentioned on the above page.
> >> 
> >> Josh
> >> 
> >> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
> >>> Hi All.
> >>> 
> >>> I'm trying to capture a base image using xCAT module - the server is
> >>> bare-metal CentOS5.7. The process starts OK, able to communicate
> >>> with the node and then fails when trying to create .tmpl file.
> >>> 
> >>> xCAT is installed and configured on the management node.
> >>> partimage rpm is installed as well.
> >>> 
> >>> Do you know what could be the issue?
> >>> 
> >>> Thank you for your help.
> >>> 
> >>> ...
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
> >>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attemp
> >>> ting to create tmpl file for image: centos5image-xcatcentos5v474-v0
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084
> >>> )|manage ment node identifier argument was not specified
> >>> 2012-02-21 16:22:30|12755|275:261|image|
> >> 
> >> xCAT2.pm:_get_image_template_path(2115)|attempting to determine
> >> template path>> 
> >> for image:
> >>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> >>> |12755|275:261|image| OS install type: partimage
> >>> |12755|275:261|image| OS source path: image
> >>> |12755|275:261|image| xCAT 2.x OS source path: image
> >>> 
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)
> >>> |return ing: /opt/xcat/share/xcat/install/image 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)
> >>> |manage ment node identifier argument was not specified
> >>> 2012-02-21 16:22:30|12755|275:261|image|
> >> 
> >> xCAT2.pm:_get_image_template_path(2115)|attempting to determine
> >> template path>> 
> >> for image:
> >>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> >>> |12755|275:261|image| OS install type: partimage
> >>> |12755|275:261|image| OS source path: image
> >>> |12755|275:261|image| xCAT 2.x OS source path: image
> >>> 
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)
> >>> |return ing: /opt/xcat/share/xcat/install/image 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_i
> >>> p_addre ss(1557)|returning private IP address previously retrieved:
> >>> 10.3.1.27 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero
> >>> rows
> >>> were returned from database select 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_
> >>> name(20 35)|image owner id: 1 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database
> >>> requested (information_schema) does not match handle stored in
> >>> $ENV{dbh} (vcl:10.3.1.214) 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database
> >>> handle
> >>> stored in $ENV{dbh} 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(135
> >>> 2)|atte mpting to retrieve and store data for user: user.id = '1'
> >>> 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database
> >>> requested (vcl) does not match handle stored in $ENV{dbh}
> >>> (information_schema:10.3.1.214) 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database
> >>> handle
> >>> stored in $ENV{dbh} 2012-02-21
> >>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(141
> >>> 5)|data has been retrieved for user: admin (id: 1) 2012-02-21
> >>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending
> >>> mail To: dchebota@gmu.edu, PROBLEM --
> >>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
> >>> 
> >>> |12755|275:261|image| ---- CRITICAL ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(
> >>> |2170)|f ailed to find suitable base image template file in
> >>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0)
> >>> |xCAT2.pm,
> >>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
> >>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
> >>> |xCAT2.pm, capture (line: 836)
> >>> |12755|275:261|image| (-3) image.pm, process (line: 162)
> >>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-5) vcld, main (line: 346)
> >>> |12755|275:261|image| ---- WARNING ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
> >>> |template filename could not be determined 12755|275:261|image| (
> >>> |0)
> >>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
> >>> |xCAT2.pm, capture (line: 836)
> >>> |12755|275:261|image| (-2) image.pm, process (line: 162)
> >>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-4) vcld, main (line: 346)
> >>> |12755|275:261|image| ---- WARNING ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to
> >>> |create .tmpl file for centos5image-xcatcentos5v474-v0
> >>> |12755|275:261|image| ( 0) xCAT2.pm, capture (line: 840)
> >>> |12755|275:261|image| (-1) image.pm, process (line: 162)
> >>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-3) vcld, main (line: 346)
> >>> |12755|275:261|image| ---- WARNING ----
> >>> |12755|275:261|image| 2012-02-21
> >>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xc
> >>> |atcento s5v474-v0 image failed to be captured by provisioning
> >>> |module
> >>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
> >>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
> >>> |12755|275:261|image| (-2) vcld, main (line: 346)
> >>> 
> >>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
> >>>> Yes, we're using the latest xCAT version.
> >>>> 
> >>>> -A
> >>>> 
> >>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> 
wrote:
> >>>>> Hi Dmitri,
> >>>>> 
> >>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will
> >>>>> work.
> >>>>> May be Aaron and his group could say more.
> >>>>> 
> >>>>> Thank you,
> >>>>> Amit
> >>>>> 
> >>>>>> -----Original Message-----
> >>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>> Sent: Friday, February 10, 2012 11:37 AM
> >>>>>> To: vcl-user@incubator.apache.org
> >>>>>> Subject: Re: VCL and xCat
> >>>>>> 
> >>>>>> 
> >>>>>> Thank you.
> >>>>>> 
> >>>>>> What version of xCat do you use? Since VCL supports xCat 2.x,
> >>>>>> is it
> >>>>>> safe to use latest xCat 2.6.10? Thanks.
> >>>>>> 
> >>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
> >>>>>>> Hi Dmitri,
> >>>>>>> 
> >>>>>>> SUMAVI link that you have is a real good one, I blindly
> >>>>>>> followed
> >>>>>>> it
> >>>>>> 
> >>>>>> and then slowly things started to make more sense once it
> >>>>>> worked.
> >>>>>> 
> >>>>>>> Also xCAT forum was very helpful.
> >>>>>>> 
> >>>>>>> Thank you,
> >>>>>>> Amit
> >>>>>>> 
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
> >>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
> >>>>>>>> Subject: Re: VCL and xCat
> >>>>>>>> 
> >>>>>>>> 
> >>>>>>>> Thank you, I hope we can make it work in our environment
> >>>>>>>> as
> >>>>>>>> well...
> >>>>>>>> 
> >>>>>>>> I keep searching and reading xCat docs - here is good one
> >>>>>>>> ->
> >>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
> >>>>>>>> BTW, if you have any docs outside of xcat.org site, please
> >>>>>>>> share...
> >>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
> >>>>>>>> understand
> >>>>>>>> the process.
> >>>>>>>> 
> >>>>>>>> Looks like xCat makes extensive use of DHCP server to
> >>>>>>>> manage
> >>>>>>>> nodes.
> >>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
> >>>>>>>> nodes, or
> >>>>>>>> just keep everything on one DHCP server and being careful
> >>>>>>>> with
> >>>>>>>> which
> >>>>>>>> MAC gets what?
> >>>>>>>> 
> >>>>>>>> Thanks again for your help...
> >>>>>>>> 
> >>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
> >>>>>>>>> Dmitri,
> >>>>>>>>> 
> >>>>>>>>> Just to add to Amit, comments.
> >>>>>>>>> 
> >>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
> >>>>>>>>> end-user
> >>>>>>>>> desktops and our hypervisors. xCAT very helpful when
> >>>>>>>>> needed to
> >>>>>>>> 
> >>>>>>>> install
> >>>>>>>> 
> >>>>>>>>> a chassis full of blades with esxi.
> >>>>>>>>> 
> >>>>>>>>> As your installing xCAT  You'll want to review
> >>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimag
> >>>>>>>>> e-and-
> >>>>>>>> 
> >>>>>>>> partimag
> >>>>>>>> 
> >>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support
> >>>>>>>>> for
> >>>>>>>>> partimage
> >>>>>>>>> - which is used to capture the disk images of end-user
> >>>>>>>>> environments/desktops for windows and linux.
> >>>>>>>>> 
> >>>>>>>>> When your adding nodes to vcl through the manage
> >>>>>>>>> computers
> >>>>>>>>> tool,
> >>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
> >>>>>>>>> bare-metal,
> >>>>>>>>> you'll also need to include sysprep and related mass
> >>>>>>>>> storage
> >>>>>> 
> >>>>>> drivers
> >>>>>> 
> >>>>>>>>> so it can be reloaded successfully.
> >>>>>> 
> >>>>>>>>> For sysprep review step 8 on this page:
> >>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Mana
> >>>>>> gement
> >>>>>> +
> >>>>>> 
> >>>>>>>> N
> >>>>>>>> 
> >>>>>>>>> ode+Installation
> >>>>>>>>> 
> >>>>>>>>> Hope this info helps,
> >>>>>>>>> Aaron
> >>>>>>>>> 
> >>>>>>>>> 
> >>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
> >>>>>> 
> >>>>>> <dc...@gmu.edu>
> >>>>>> 
> >>>>>>>> wrote:
> >>>>>>>>>> Amit,
> >>>>>>>>>> 
> >>>>>>>>>> Thanks a lot.
> >>>>>>>>>> 
> >>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
> >>>>>>>>>>> Hi Dmitri,
> >>>>>>>>>>> 
> >>>>>>>>>>> You general idea is correct to my best
> >>>>>>>>>>> understanding.
> >>>>>>>>>>> 
> >>>>>>>>>>> "Install Path" in the Edit management Node will be
> >>>>>>>>>>> the
> >>>>>>>>>>> path for
> >>>>>>>> 
> >>>>>>>> xCAT(bare metal) image repository. In addition when you
> >>>>>>>> configure
> >>>>>> 
> >>>>>> the
> >>>>>> 
> >>>>>>>> "Site" table in xCAT you will set the "installdir" to
> >>>>>>>> point to
> >>>>>>>> the
> >>>>>>>> location where you will store your images.
> >>>>>>>> 
> >>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
> >>>>>>>>>>> 
> >>>>>>>>>>> Best,
> >>>>>>>>>>> Amit
> >>>>>>>>>>> 
> >>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
> >>>>>>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>>>>>> Subject: Re: VCL and xCat
> >>>>>>>>>>>> 
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Amit,
> >>>>>>>>>>>> 
> >>>>>>>>>>>> I'm trying to get general idea about xCat/VCL :
> >>>>>>>>>>>> so,
> >>>>>>>>>>>> basically
> >>>>>>>>>>>> xCat needs to be installed and configured on VCL
> >>>>>>>>>>>> Mgm
> >>>>>>>>>>>> node(s)
> >>>>>>>>>>>> before it can be used with VCL, and I should be
> >>>>>>>>>>>> able to
> >>>>>>>>>>>> successfully provision xCat nodes/clients with
> >>>>>>>>>>>> different
> >>>>>>>>>>>> images.
> >>>>>>>>>>>> Once xCat is working then I can add bare-metal
> >>>>>>>>>>>> computers
> >>>>>>>>>>>> - blade
> >>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> How do you tell VCL where to get image files for
> >>>>>>>>>>>> xCat
> >>>>>>>>>>>> nodes - is
> >>>>>>>> 
> >>>>>>>> it
> >>>>>>>> 
> >>>>>>>>>>>> 'Install Path' setting under Management Nodes ->
> >>>>>>>>>>>> Edit
> >>>>>>>>>>>> management
> >>>>>>>>>>>> node information?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> What kind of hardware do you have for xCat nodes?
> >>>>>>>>>>>> Are
> >>>>>>>>>>>> those IBM
> >>>>>>>>>>>> blade servers or/and PCs?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Thanks.
> >>>>>>>>>>>> 
> >>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> We do not need an additional/dedicated server to
> >>>>>>>>>>>>> do
> >>>>>>>>>>>>> both xCAT
> >>>>>>>>>>>>> and VCL
> >>>>>>>>>>>> 
> >>>>>>>>>>>> together, your management node can serve as your
> >>>>>>>>>>>> xCAT
> >>>>>>>>>>>> server.
> >>>>>>>>>>>> 
> >>>>>>>>>>>>> I would recommend getting xCAT to work by itself
> >>>>>>>>>>>>> before using
> >>>>>>>>>>>>> VCL to
> >>>>>>>>>>>> 
> >>>>>>>>>>>> manage your images and guest OS.
> >>>>>>>>>>>> 
> >>>>>>>>>>>>> This has worked well for us so far.
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> :Amit
> >>>>>>>>>>>>> :
> >>>>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>>>> From: dchebota@gmu.edu
> >>>>>>>>>>>>>> [mailto:dchebota@gmu.edu]
> >>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
> >>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>>>>>>>> Subject: VCL and xCat
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Hi All
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Anyone is using xCat with VCL?
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> I have generic question about xCat and VCL -
> >>>>>>>>>>>>>> where
> >>>>>>>>>>>>>> do I start?
> >>>>>>>>>>>>>> Do I need working xCat environment before I
> >>>>>>>>>>>>>> can add
> >>>>>>>>>>>>>> it to VCL?
> >>>>>>>>>>>>>> Does xCat need dedicated server? Or does it
> >>>>>>>>>>>>>> run on
> >>>>>>>>>>>>>> the VCL
> >>>>>>>>>>>> 
> >>>>>>>>>>>> management
> >>>>>>>>>>>> 
> >>>>>>>>>>>>>> node?
> >>>>>>>>>>>>>> Are there any special hardware requirements
> >>>>>>>>>>>>>> for xCat
> >>>>>> 
> >>>>>> "clients"?
> >>>>>> 
> >>>>>>>>>>>>>> Thank you.
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Thank you.
> >>>>>>>>>>>> 
> >>>>>>>>>>>> -----------------
> >>>>>>>>>>>> Dmitri Chebotarov
> >>>>>>>>>>>> dchebota@gmu.edu
> >>>>>>>>>>>> 703-993-6175
> >>>>>>>>>>>> -----------------
> >>>>>>>>>> 
> >>>>>>>>>> Thank you.
> >>>>>>>>>> 
> >>>>>>>>>> -----------------
> >>>>>>>>>> Dmitri Chebotarov
> >>>>>>>>>> dchebota@gmu.edu
> >>>>>>>>>> 703-993-6175
> >>>>>>>>>> -----------------
> >>>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>>> -----BEGIN PGP SIGNATURE-----
> >>>>>>>>>> 
> >>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l
> >>>>>>>>>> 4+D3cl
> >>>>>>>>>> zzem
> >>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB
> >>>>>>>>>> 82hWic
> >>>>>>>>>> qNTm
> >>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZB
> >>>>>>>>>> L4xFNj
> >>>>>>>>>> e62X
> >>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/
> >>>>>>>>>> gN5HIK
> >>>>>>>>>> 77gD
> >>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQ
> >>>>>>>>>> zYFbij
> >>>>>>>>>> pctI
> >>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8
> >>>>>>>>>> mY0kqb
> >>>>>>>>>> TmA=
> >>>>>>>>>> =86fD
> >>>>>>>>>> -----END PGP SIGNATURE-----
> >>>>>>>>> 
> >>>>>>>>> --
> >>>>>>>>> Aaron Peeler
> >>>>>>>>> Program Manager
> >>>>>>>>> Virtual Computing Lab
> >>>>>>>>> NC State University
> >>>>>>>>> 
> >>>>>>>>> All electronic mail messages in connection with State
> >>>>>>>>> business
> >>>>>> 
> >>>>>> which
> >>>>>> 
> >>>>>>>>> are sent to or received by this account are subject to
> >>>>>>>>> the NC
> >>>>>> 
> >>>>>> Public
> >>>>>> 
> >>>>>>>>> Records Law and may be disclosed to third parties.
> >>>>>>>> 
> >>>>>>>> Thank you.
> >>>>>>>> 
> >>>>>>>> -----------------
> >>>>>>>> Dmitri Chebotarov
> >>>>>>>> dchebota@gmu.edu
> >>>>>>>> 703-993-6175
> >>>>>>>> -----------------
> >>>>>> 
> >>>>>> Thank you.
> >>>>>> 
> >>>>>> -----------------
> >>>>>> Dmitri Chebotarov
> >>>>>> dchebota@gmu.edu
> >>>>>> 703-993-6175
> >>>>>> -----------------
> >>> 
> >>> Thank you.
> >>> 
> >>> -----------------
> >>> Dmitri Chebotarov
> >>> dchebota@gmu.edu
> >>> 703-993-6175
> >>> -----------------
> >> 
> >> - --
> >> - -------------------------------
> >> Josh Thompson
> >> VCL Developer
> >> North Carolina State University
> >> 
> >> my GPG/PGP key can be found at pgp.mit.edu
> >> 
> >> All electronic mail messages in connection with State business which
> >> are sent to or received by this account are subject to the NC Public
> >> Records Law and may be disclosed to third parties.
> > 
> > Thank you.
> > 
> > -----------------
> > Dmitri Chebotarov
> > dchebota@gmu.edu
> > 703-993-6175
> > -----------------
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk9NPDsACgkQV/LQcNdtPQOA7QCePPtb74IG3oOEaZtebZ4mSOW7
FrUAn208zWq08Kz+0k3mFj+3WzkLHMqc
=+4C9
-----END PGP SIGNATURE-----


Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Hi

There seems to be a disconnect between xCAT2.pm and /install/postscripts/partimageng script. The partimageng script starts listener.py in background which suppose to report to nodestat in xCAT2.pm module. xCAT2.pm is using 'nodestat nodename stat' to check on status, but nodestat command doesn't use listener.py running on the node. 

Is there a workaround? May be an updated version of xCAT2.pm which checks /var/log/messages on round2? 
Looks like partimageng is using logger to report back the status to xCat master...

B/c of this, reservation or reload is inconsistent. nodestat would report "install <imagename>" for about 7-9 sec and xCAT2.pm doesn't always get it.

Thank you for your help.

 
On Feb 22, 2012, at 14:32 , Dmitri Chebotarov wrote:

> John,
> 
> I got the link and I think I'm making some good progress. 
> Also found this tread on the maillist (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you helped Prem, which is very helpful.
> 
> Thank you
> 
> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
> 
>> 
>> Hash: SHA1
>> 
>> Dmitri,
>> 
>> Did you follow the guide for adding partimage support to xCAT?
>> 
>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>> ng+to+xCAT+2.x+%28unofficial%29
>> 
>> You said you installed the partimage rpm.  partimage is not something that 
>> needs to be installed on the management node.  It is part of the stateless 
>> images mentioned on the above page.
>> 
>> Josh
>> 
>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>> Hi All.
>>> 
>>> I'm trying to capture a base image using xCAT module - the server is
>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>> node and then fails when trying to create .tmpl file.
>>> 
>>> xCAT is installed and configured on the management node.
>>> partimage rpm is installed as well.
>>> 
>>> Do you know what could be the issue?
>>> 
>>> Thank you for your help.
>>> 
>>> ...
>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>> were returned from database select 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>> 35)|image owner id: 1 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (information_schema) does not match handle stored in $ENV{dbh}
>>> (vcl:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (vcl) does not match handle stored in $ENV{dbh}
>>> (information_schema:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>> To: dchebota@gmu.edu, PROBLEM --
>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>> |12755|275:261|image| ---- CRITICAL ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>> |ailed to find suitable base image template file in
>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>> |xCAT2.pm, capture (line: 840)
>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>> |s5v474-v0 image failed to be captured by provisioning module
>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>> 
>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>> Yes, we're using the latest xCAT version.
>>>> 
>>>> -A
>>>> 
>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>> Hi Dmitri,
>>>>> 
>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>> May be Aaron and his group could say more.
>>>>> 
>>>>> Thank you,
>>>>> Amit
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: Re: VCL and xCat
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>> 
>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>> Hi Dmitri,
>>>>>>> 
>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>> it
>>>>>> 
>>>>>> and then slowly things started to make more sense once it worked.
>>>>>> 
>>>>>>> Also xCAT forum was very helpful.
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> Amit
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>> well...
>>>>>>>> 
>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>> share...
>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>> understand
>>>>>>>> the process.
>>>>>>>> 
>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>> nodes.
>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>> nodes, or
>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>> which
>>>>>>>> MAC gets what?
>>>>>>>> 
>>>>>>>> Thanks again for your help...
>>>>>>>> 
>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>> Dmitri,
>>>>>>>>> 
>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>> 
>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>> end-user
>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>> 
>>>>>>>> install
>>>>>>>> 
>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>> 
>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>> 
>>>>>>>> partimag
>>>>>>>> 
>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>> partimage
>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>> 
>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>> tool,
>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>> bare-metal,
>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>> 
>>>>>> drivers
>>>>>> 
>>>>>>>>> so it can be reloaded successfully.
>>>>>> 
>>>>>>>>> For sysprep review step 8 on this page:
>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>> +
>>>>>> 
>>>>>>>> N
>>>>>>>> 
>>>>>>>>> ode+Installation
>>>>>>>>> 
>>>>>>>>> Hope this info helps,
>>>>>>>>> Aaron
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>> 
>>>>>> <dc...@gmu.edu>
>>>>>> 
>>>>>>>> wrote:
>>>>>>>>>> Amit,
>>>>>>>>>> 
>>>>>>>>>> Thanks a lot.
>>>>>>>>>> 
>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>> 
>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>> path for
>>>>>>>> 
>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>> configure
>>>>>> 
>>>>>> the
>>>>>> 
>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>> the
>>>>>>>> location where you will store your images.
>>>>>>>> 
>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>> 
>>>>>>>>>>> Best,
>>>>>>>>>>> Amit
>>>>>>>>>>> 
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Amit,
>>>>>>>>>>>> 
>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>> basically
>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>> node(s)
>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>> images.
>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>> - blade
>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>> 
>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>> nodes - is
>>>>>>>> 
>>>>>>>> it
>>>>>>>> 
>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>> management
>>>>>>>>>>>> node information?
>>>>>>>>>>>> 
>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>> those IBM
>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>> and VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>> server.
>>>>>>>>>>>> 
>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>> before using
>>>>>>>>>>>>> VCL to
>>>>>>>>>>>> 
>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>> 
>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>> :
>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> management
>>>>>>>>>>>> 
>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>> 
>>>>>> "clients"?
>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>> 
>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>> zzem
>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>> qNTm
>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>> e62X
>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>> 77gD
>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>> pctI
>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>> TmA=
>>>>>>>>>> =86fD
>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Aaron Peeler
>>>>>>>>> Program Manager
>>>>>>>>> Virtual Computing Lab
>>>>>>>>> NC State University
>>>>>>>>> 
>>>>>>>>> All electronic mail messages in connection with State business
>>>>>> 
>>>>>> which
>>>>>> 
>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>> 
>>>>>> Public
>>>>>> 
>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> -----------------
>>>>>>>> Dmitri Chebotarov
>>>>>>>> dchebota@gmu.edu
>>>>>>>> 703-993-6175
>>>>>>>> -----------------
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> -----------------
>>>>>> Dmitri Chebotarov
>>>>>> dchebota@gmu.edu
>>>>>> 703-993-6175
>>>>>> -----------------
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>> - -- 
>> - -------------------------------
>> Josh Thompson
>> VCL Developer
>> North Carolina State University
>> 
>> my GPG/PGP key can be found at pgp.mit.edu
>> 
>> All electronic mail messages in connection with State business which
>> are sent to or received by this account are subject to the NC Public
>> Records Law and may be disclosed to third parties.
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Hi

FYI

I've had a problem with partimageng, where script failed when reloading from a different image (ie. windows -> linux). This has to do more with different partition table then with OS. The install always failed on 1st try when restoring image using partimage and only worked on 2nd try. 

I've fixed it by adding /sbin/partprobe command to partimageng script after sfdisk partitioned the disk.

Thanks.

On Feb 22, 2012, at 14:32 , Dmitri Chebotarov wrote:

> John,
> 
> I got the link and I think I'm making some good progress. 
> Also found this tread on the maillist (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you helped Prem, which is very helpful.
> 
> Thank you
> 
> On Feb 22, 2012, at 14:12 , Josh Thompson wrote:
> 
>> 
>> Hash: SHA1
>> 
>> Dmitri,
>> 
>> Did you follow the guide for adding partimage support to xCAT?
>> 
>> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
>> ng+to+xCAT+2.x+%28unofficial%29
>> 
>> You said you installed the partimage rpm.  partimage is not something that 
>> needs to be installed on the management node.  It is part of the stateless 
>> images mentioned on the above page.
>> 
>> Josh
>> 
>> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>>> Hi All.
>>> 
>>> I'm trying to capture a base image using xCAT module - the server is
>>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>>> node and then fails when trying to create .tmpl file.
>>> 
>>> xCAT is installed and configured on the management node.
>>> partimage rpm is installed as well.
>>> 
>>> Do you know what could be the issue?
>>> 
>>> Thank you for your help.
>>> 
>>> ...
>>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>>> ment node identifier argument was not specified
>>> 2012-02-21 16:22:30|12755|275:261|image|
>> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
>> for image:
>>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>>> |12755|275:261|image| OS install type: partimage
>>> |12755|275:261|image| OS source path: image
>>> |12755|275:261|image| xCAT 2.x OS source path: image
>>> 
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>>> 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>>> were returned from database select 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>>> 35)|image owner id: 1 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (information_schema) does not match handle stored in $ENV{dbh}
>>> (vcl:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>>> (vcl) does not match handle stored in $ENV{dbh}
>>> (information_schema:10.3.1.214) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>>> stored in $ENV{dbh} 2012-02-21
>>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>>> has been retrieved for user: admin (id: 1) 2012-02-21
>>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>>> To: dchebota@gmu.edu, PROBLEM --
>>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>>> |12755|275:261|image| ---- CRITICAL ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>>> |ailed to find suitable base image template file in
>>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-5) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>>> |template filename could not be determined 12755|275:261|image| ( 0)
>>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>>> |xCAT2.pm, capture (line: 836)
>>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-4) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>>> |xCAT2.pm, capture (line: 840)
>>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-3) vcld, main (line: 346)
>>> |12755|275:261|image| ---- WARNING ----
>>> |12755|275:261|image| 2012-02-21
>>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>>> |s5v474-v0 image failed to be captured by provisioning module
>>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>>> |12755|275:261|image| (-2) vcld, main (line: 346)
>>> 
>>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>>> Yes, we're using the latest xCAT version.
>>>> 
>>>> -A
>>>> 
>>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>>> Hi Dmitri,
>>>>> 
>>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>>> May be Aaron and his group could say more.
>>>>> 
>>>>> Thank you,
>>>>> Amit
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: Re: VCL and xCat
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>>> 
>>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>>> Hi Dmitri,
>>>>>>> 
>>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>>> it
>>>>>> 
>>>>>> and then slowly things started to make more sense once it worked.
>>>>>> 
>>>>>>> Also xCAT forum was very helpful.
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> Amit
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>>> well...
>>>>>>>> 
>>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>>> share...
>>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>>> understand
>>>>>>>> the process.
>>>>>>>> 
>>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>>> nodes.
>>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>>> nodes, or
>>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>>> which
>>>>>>>> MAC gets what?
>>>>>>>> 
>>>>>>>> Thanks again for your help...
>>>>>>>> 
>>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>>> Dmitri,
>>>>>>>>> 
>>>>>>>>> Just to add to Amit, comments.
>>>>>>>>> 
>>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>>> end-user
>>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>>> 
>>>>>>>> install
>>>>>>>> 
>>>>>>>>> a chassis full of blades with esxi.
>>>>>>>>> 
>>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>>> 
>>>>>>>> partimag
>>>>>>>> 
>>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>>> partimage
>>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>>> environments/desktops for windows and linux.
>>>>>>>>> 
>>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>>> tool,
>>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>>> bare-metal,
>>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>>> 
>>>>>> drivers
>>>>>> 
>>>>>>>>> so it can be reloaded successfully.
>>>>>> 
>>>>>>>>> For sysprep review step 8 on this page:
>>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>>> +
>>>>>> 
>>>>>>>> N
>>>>>>>> 
>>>>>>>>> ode+Installation
>>>>>>>>> 
>>>>>>>>> Hope this info helps,
>>>>>>>>> Aaron
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>>> 
>>>>>> <dc...@gmu.edu>
>>>>>> 
>>>>>>>> wrote:
>>>>>>>>>> Amit,
>>>>>>>>>> 
>>>>>>>>>> Thanks a lot.
>>>>>>>>>> 
>>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>>> Hi Dmitri,
>>>>>>>>>>> 
>>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>>> 
>>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>>> path for
>>>>>>>> 
>>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>>> configure
>>>>>> 
>>>>>> the
>>>>>> 
>>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>>> the
>>>>>>>> location where you will store your images.
>>>>>>>> 
>>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>>> 
>>>>>>>>>>> Best,
>>>>>>>>>>> Amit
>>>>>>>>>>> 
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Amit,
>>>>>>>>>>>> 
>>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>>> basically
>>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>>> node(s)
>>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>>> images.
>>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>>> - blade
>>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>>> 
>>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>>> nodes - is
>>>>>>>> 
>>>>>>>> it
>>>>>>>> 
>>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>>> management
>>>>>>>>>>>> node information?
>>>>>>>>>>>> 
>>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>>> those IBM
>>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> 
>>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>>> both xCAT
>>>>>>>>>>>>> and VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>>> server.
>>>>>>>>>>>> 
>>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>>> before using
>>>>>>>>>>>>> VCL to
>>>>>>>>>>>> 
>>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>>> 
>>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> :Amit
>>>>>>>>>>>>> :
>>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>>> the VCL
>>>>>>>>>>>> 
>>>>>>>>>>>> management
>>>>>>>>>>>> 
>>>>>>>>>>>>>> node?
>>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>>> 
>>>>>> "clients"?
>>>>>> 
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>> 
>>>>>>>>>>>> -----------------
>>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>>> 703-993-6175
>>>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> Thank you.
>>>>>>>>>> 
>>>>>>>>>> -----------------
>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>> 703-993-6175
>>>>>>>>>> -----------------
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>>> 
>>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>>> zzem
>>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>>> qNTm
>>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>>> e62X
>>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>>> 77gD
>>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>>> pctI
>>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>>> TmA=
>>>>>>>>>> =86fD
>>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Aaron Peeler
>>>>>>>>> Program Manager
>>>>>>>>> Virtual Computing Lab
>>>>>>>>> NC State University
>>>>>>>>> 
>>>>>>>>> All electronic mail messages in connection with State business
>>>>>> 
>>>>>> which
>>>>>> 
>>>>>>>>> are sent to or received by this account are subject to the NC
>>>>>> 
>>>>>> Public
>>>>>> 
>>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> -----------------
>>>>>>>> Dmitri Chebotarov
>>>>>>>> dchebota@gmu.edu
>>>>>>>> 703-993-6175
>>>>>>>> -----------------
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> -----------------
>>>>>> Dmitri Chebotarov
>>>>>> dchebota@gmu.edu
>>>>>> 703-993-6175
>>>>>> -----------------
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>> - -- 
>> - -------------------------------
>> Josh Thompson
>> VCL Developer
>> North Carolina State University
>> 
>> my GPG/PGP key can be found at pgp.mit.edu
>> 
>> All electronic mail messages in connection with State business which
>> are sent to or received by this account are subject to the NC Public
>> Records Law and may be disclosed to third parties.
>> 
>> 
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
John,

I got the link and I think I'm making some good progress. 
Also found this tread on the maillist (http://markmail.org/message/lotx3l34co6yv5nf?q=partimageng%2Epm#query:partimageng.pm+page:1+mid:lthvtrde7radude3+state:results) where you helped Prem, which is very helpful.

Thank you

On Feb 22, 2012, at 14:12 , Josh Thompson wrote:

> 
> Hash: SHA1
> 
> Dmitri,
> 
> Did you follow the guide for adding partimage support to xCAT?
> 
> https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
> ng+to+xCAT+2.x+%28unofficial%29
> 
> You said you installed the partimage rpm.  partimage is not something that 
> needs to be installed on the management node.  It is part of the stateless 
> images mentioned on the above page.
> 
> Josh
> 
> On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
>> Hi All.
>> 
>> I'm trying to capture a base image using xCAT module - the server is
>> bare-metal CentOS5.7. The process starts OK, able to communicate with the
>> node and then fails when trying to create .tmpl file.
>> 
>> xCAT is installed and configured on the management node.
>> partimage rpm is installed as well.
>> 
>> Do you know what could be the issue?
>> 
>> Thank you for your help.
>> 
>> ...
>> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
>> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
>> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>> ment node identifier argument was not specified
>> 2012-02-21 16:22:30|12755|275:261|image|
> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
> for image:
>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>> |12755|275:261|image| OS install type: partimage
>> |12755|275:261|image| OS source path: image
>> |12755|275:261|image| xCAT 2.x OS source path: image
>> 
>> 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
>> ment node identifier argument was not specified
>> 2012-02-21 16:22:30|12755|275:261|image|
> xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
> for image:
>> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
>> |12755|275:261|image| OS install type: partimage
>> |12755|275:261|image| OS source path: image
>> |12755|275:261|image| xCAT 2.x OS source path: image
>> 
>> 2012-02-21
>> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
>> ing: /opt/xcat/share/xcat/install/image 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
>> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
>> 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
>> were returned from database select 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
>> 35)|image owner id: 1 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>> (information_schema) does not match handle stored in $ENV{dbh}
>> (vcl:10.3.1.214) 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>> stored in $ENV{dbh} 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
>> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
>> (vcl) does not match handle stored in $ENV{dbh}
>> (information_schema:10.3.1.214) 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
>> stored in $ENV{dbh} 2012-02-21
>> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
>> has been retrieved for user: admin (id: 1) 2012-02-21
>> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
>> To: dchebota@gmu.edu, PROBLEM --
>> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
>> |12755|275:261|image| ---- CRITICAL ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
>> |ailed to find suitable base image template file in
>> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
>> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
>> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
>> |xCAT2.pm, capture (line: 836)
>> |12755|275:261|image| (-3) image.pm, process (line: 162)
>> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-5) vcld, main (line: 346)
>> |12755|275:261|image| ---- WARNING ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
>> |template filename could not be determined 12755|275:261|image| ( 0)
>> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
>> |xCAT2.pm, capture (line: 836)
>> |12755|275:261|image| (-2) image.pm, process (line: 162)
>> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-4) vcld, main (line: 346)
>> |12755|275:261|image| ---- WARNING ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
>> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
>> |xCAT2.pm, capture (line: 840)
>> |12755|275:261|image| (-1) image.pm, process (line: 162)
>> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-3) vcld, main (line: 346)
>> |12755|275:261|image| ---- WARNING ----
>> |12755|275:261|image| 2012-02-21
>> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
>> |s5v474-v0 image failed to be captured by provisioning module
>> |12755|275:261|image| ( 0) image.pm, process (line: 166)
>> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
>> |12755|275:261|image| (-2) vcld, main (line: 346)
>> 
>> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
>>> Yes, we're using the latest xCAT version.
>>> 
>>> -A
>>> 
>>> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>>>> Hi Dmitri,
>>>> 
>>>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>>>> May be Aaron and his group could say more.
>>>> 
>>>> Thank you,
>>>> Amit
>>>> 
>>>>> -----Original Message-----
>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>> Sent: Friday, February 10, 2012 11:37 AM
>>>>> To: vcl-user@incubator.apache.org
>>>>> Subject: Re: VCL and xCat
>>>>> 
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>>>> safe to use latest xCat 2.6.10? Thanks.
>>>>> 
>>>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>>>>> Hi Dmitri,
>>>>>> 
>>>>>> SUMAVI link that you have is a real good one, I blindly followed
>>>>>> it
>>>>> 
>>>>> and then slowly things started to make more sense once it worked.
>>>>> 
>>>>>> Also xCAT forum was very helpful.
>>>>>> 
>>>>>> Thank you,
>>>>>> Amit
>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>>>> Subject: Re: VCL and xCat
>>>>>>> 
>>>>>>> 
>>>>>>> Thank you, I hope we can make it work in our environment as
>>>>>>> well...
>>>>>>> 
>>>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>>>> BTW, if you have any docs outside of xcat.org site, please
>>>>>>> share...
>>>>>>> At this point I'm looking for xCat overview docs, i.e. to
>>>>>>> understand
>>>>>>> the process.
>>>>>>> 
>>>>>>> Looks like xCat makes extensive use of DHCP server to manage
>>>>>>> nodes.
>>>>>>> Are you using different DHCPd servers for VCL VMs and xCat
>>>>>>> nodes, or
>>>>>>> just keep everything on one DHCP server and being careful with
>>>>>>> which
>>>>>>> MAC gets what?
>>>>>>> 
>>>>>>> Thanks again for your help...
>>>>>>> 
>>>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>>>>> Dmitri,
>>>>>>>> 
>>>>>>>> Just to add to Amit, comments.
>>>>>>>> 
>>>>>>>> We use xCAT extensively here at ncsu. From provisioning
>>>>>>>> end-user
>>>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>>>> 
>>>>>>> install
>>>>>>> 
>>>>>>>> a chassis full of blades with esxi.
>>>>>>>> 
>>>>>>>> As your installing xCAT  You'll want to review
>>>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>>>> 
>>>>>>> partimag
>>>>>>> 
>>>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>>>> partimage
>>>>>>>> - which is used to capture the disk images of end-user
>>>>>>>> environments/desktops for windows and linux.
>>>>>>>> 
>>>>>>>> When your adding nodes to vcl through the manage computers
>>>>>>>> tool,
>>>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
>>>>>>>> bare-metal,
>>>>>>>> you'll also need to include sysprep and related mass storage
>>>>> 
>>>>> drivers
>>>>> 
>>>>>>>> so it can be reloaded successfully.
>>>>> 
>>>>>>>> For sysprep review step 8 on this page:
>>>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
>>>>> +
>>>>> 
>>>>>>> N
>>>>>>> 
>>>>>>>> ode+Installation
>>>>>>>> 
>>>>>>>> Hope this info helps,
>>>>>>>> Aaron
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>>>> 
>>>>> <dc...@gmu.edu>
>>>>> 
>>>>>>> wrote:
>>>>>>>>> Amit,
>>>>>>>>> 
>>>>>>>>> Thanks a lot.
>>>>>>>>> 
>>>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>>>>> Hi Dmitri,
>>>>>>>>>> 
>>>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>>>> 
>>>>>>>>>> "Install Path" in the Edit management Node will be the
>>>>>>>>>> path for
>>>>>>> 
>>>>>>> xCAT(bare metal) image repository. In addition when you
>>>>>>> configure
>>>>> 
>>>>> the
>>>>> 
>>>>>>> "Site" table in xCAT you will set the "installdir" to point to
>>>>>>> the
>>>>>>> location where you will store your images.
>>>>>>> 
>>>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>>>> 
>>>>>>>>>> Best,
>>>>>>>>>> Amit
>>>>>>>>>> 
>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Amit,
>>>>>>>>>>> 
>>>>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
>>>>>>>>>>> basically
>>>>>>>>>>> xCat needs to be installed and configured on VCL Mgm
>>>>>>>>>>> node(s)
>>>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>>>> successfully provision xCat nodes/clients with different
>>>>>>>>>>> images.
>>>>>>>>>>> Once xCat is working then I can add bare-metal computers
>>>>>>>>>>> - blade
>>>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>>>> 
>>>>>>>>>>> How do you tell VCL where to get image files for xCat
>>>>>>>>>>> nodes - is
>>>>>>> 
>>>>>>> it
>>>>>>> 
>>>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
>>>>>>>>>>> management
>>>>>>>>>>> node information?
>>>>>>>>>>> 
>>>>>>>>>>> What kind of hardware do you have for xCat nodes? Are
>>>>>>>>>>> those IBM
>>>>>>>>>>> blade servers or/and PCs?
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Thanks.
>>>>>>>>>>> 
>>>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> 
>>>>>>>>>>>> We do not need an additional/dedicated server to do
>>>>>>>>>>>> both xCAT
>>>>>>>>>>>> and VCL
>>>>>>>>>>> 
>>>>>>>>>>> together, your management node can serve as your xCAT
>>>>>>>>>>> server.
>>>>>>>>>>> 
>>>>>>>>>>>> I would recommend getting xCAT to work by itself
>>>>>>>>>>>> before using
>>>>>>>>>>>> VCL to
>>>>>>>>>>> 
>>>>>>>>>>> manage your images and guest OS.
>>>>>>>>>>> 
>>>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>>>> 
>>>>>>>>>>>> :Amit
>>>>>>>>>>>> :
>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Hi All
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I have generic question about xCat and VCL - where
>>>>>>>>>>>>> do I start?
>>>>>>>>>>>>> Do I need working xCat environment before I can add
>>>>>>>>>>>>> it to VCL?
>>>>>>>>>>>>> Does xCat need dedicated server? Or does it run on
>>>>>>>>>>>>> the VCL
>>>>>>>>>>> 
>>>>>>>>>>> management
>>>>>>>>>>> 
>>>>>>>>>>>>> node?
>>>>>>>>>>>>> Are there any special hardware requirements for xCat
>>>>> 
>>>>> "clients"?
>>>>> 
>>>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> -----------------
>>>>>>>>>>> Dmitri Chebotarov
>>>>>>>>>>> dchebota@gmu.edu
>>>>>>>>>>> 703-993-6175
>>>>>>>>>>> -----------------
>>>>>>>>> 
>>>>>>>>> Thank you.
>>>>>>>>> 
>>>>>>>>> -----------------
>>>>>>>>> Dmitri Chebotarov
>>>>>>>>> dchebota@gmu.edu
>>>>>>>>> 703-993-6175
>>>>>>>>> -----------------
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>> 
>>>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
>>>>>>>>> zzem
>>>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
>>>>>>>>> qNTm
>>>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
>>>>>>>>> e62X
>>>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
>>>>>>>>> 77gD
>>>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
>>>>>>>>> pctI
>>>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
>>>>>>>>> TmA=
>>>>>>>>> =86fD
>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Aaron Peeler
>>>>>>>> Program Manager
>>>>>>>> Virtual Computing Lab
>>>>>>>> NC State University
>>>>>>>> 
>>>>>>>> All electronic mail messages in connection with State business
>>>>> 
>>>>> which
>>>>> 
>>>>>>>> are sent to or received by this account are subject to the NC
>>>>> 
>>>>> Public
>>>>> 
>>>>>>>> Records Law and may be disclosed to third parties.
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> -----------------
>>>>>>> Dmitri Chebotarov
>>>>>>> dchebota@gmu.edu
>>>>>>> 703-993-6175
>>>>>>> -----------------
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
> - -- 
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
> 
> my GPG/PGP key can be found at pgp.mit.edu
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitri,

Did you follow the guide for adding partimage support to xCAT?

https://cwiki.apache.org/confluence/display/VCL/Adding+support+for+partimage+and+partimage-
ng+to+xCAT+2.x+%28unofficial%29

You said you installed the partimage rpm.  partimage is not something that 
needs to be installed on the management node.  It is part of the stateless 
images mentioned on the above page.

Josh

On Tuesday 21 February 2012 4:47:06 PM Dmitri Chebotarov wrote:
> Hi All.
> 
> I'm trying to capture a base image using xCAT module - the server is
> bare-metal CentOS5.7. The process starts OK, able to communicate with the
> node and then fails when trying to create .tmpl file.
> 
> xCAT is installed and configured on the management node.
> partimage rpm is installed as well.
> 
> Do you know what could be the issue?
> 
> Thank you for your help.
> 
> ...
> 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype
> modified, node bc1-7, image name centos5image-xcatcentos5v474-v0 2012-02-21
> 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to
> create tmpl file for image: centos5image-xcatcentos5v474-v0 2012-02-21
> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
> ment node identifier argument was not specified
> 2012-02-21 16:22:30|12755|275:261|image|
xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
for image:
> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> |12755|275:261|image| OS install type: partimage
> |12755|275:261|image| OS source path: image
> |12755|275:261|image| xCAT 2.x OS source path: image
> 
> 2012-02-21
> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
> ing: /opt/xcat/share/xcat/install/image 2012-02-21
> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|manage
> ment node identifier argument was not specified
> 2012-02-21 16:22:30|12755|275:261|image|
xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path 
for image:
> |12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
> |12755|275:261|image| OS install type: partimage
> |12755|275:261|image| OS source path: image
> |12755|275:261|image| xCAT 2.x OS source path: image
> 
> 2012-02-21
> 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|return
> ing: /opt/xcat/share/xcat/install/image 2012-02-21
> 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_addre
> ss(1557)|returning private IP address previously retrieved: 10.3.1.27
> 2012-02-21
> 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows
> were returned from database select 2012-02-21
> 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(20
> 35)|image owner id: 1 2012-02-21
> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
> (information_schema) does not match handle stored in $ENV{dbh}
> (vcl:10.3.1.214) 2012-02-21
> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
> stored in $ENV{dbh} 2012-02-21
> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|atte
> mpting to retrieve and store data for user: user.id = '1' 2012-02-21
> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested
> (vcl) does not match handle stored in $ENV{dbh}
> (information_schema:10.3.1.214) 2012-02-21
> 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle
> stored in $ENV{dbh} 2012-02-21
> 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data
> has been retrieved for user: admin (id: 1) 2012-02-21
> 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail
> To: dchebota@gmu.edu, PROBLEM --
> 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
> |12755|275:261|image| ---- CRITICAL ----
> |12755|275:261|image| 2012-02-21
> |16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|f
> |ailed to find suitable base image template file in
> |/opt/xcat/share/xcat/install/image 12755|275:261|image| ( 0) xCAT2.pm,
> |_get_base_template_filename (line: 2170) 12755|275:261|image| (-1)
> |xCAT2.pm, _create_template (line: 1075) 12755|275:261|image| (-2)
> |xCAT2.pm, capture (line: 836)
> |12755|275:261|image| (-3) image.pm, process (line: 162)
> |12755|275:261|image| (-4) vcld, make_new_child (line: 568)
> |12755|275:261|image| (-5) vcld, main (line: 346)
> |12755|275:261|image| ---- WARNING ----
> |12755|275:261|image| 2012-02-21
> |16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base
> |template filename could not be determined 12755|275:261|image| ( 0)
> |xCAT2.pm, _create_template (line: 1077) 12755|275:261|image| (-1)
> |xCAT2.pm, capture (line: 836)
> |12755|275:261|image| (-2) image.pm, process (line: 162)
> |12755|275:261|image| (-3) vcld, make_new_child (line: 568)
> |12755|275:261|image| (-4) vcld, main (line: 346)
> |12755|275:261|image| ---- WARNING ----
> |12755|275:261|image| 2012-02-21
> |16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl
> |file for centos5image-xcatcentos5v474-v0 12755|275:261|image| ( 0)
> |xCAT2.pm, capture (line: 840)
> |12755|275:261|image| (-1) image.pm, process (line: 162)
> |12755|275:261|image| (-2) vcld, make_new_child (line: 568)
> |12755|275:261|image| (-3) vcld, main (line: 346)
> |12755|275:261|image| ---- WARNING ----
> |12755|275:261|image| 2012-02-21
> |16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcento
> |s5v474-v0 image failed to be captured by provisioning module
> |12755|275:261|image| ( 0) image.pm, process (line: 166)
> |12755|275:261|image| (-1) vcld, make_new_child (line: 568)
> |12755|275:261|image| (-2) vcld, main (line: 346)
> 
> On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:
> > Yes, we're using the latest xCAT version.
> > 
> > -A
> > 
> > On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
> >> Hi Dmitri,
> >> 
> >> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
> >> May be Aaron and his group could say more.
> >> 
> >> Thank you,
> >> Amit
> >> 
> >>> -----Original Message-----
> >>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>> Sent: Friday, February 10, 2012 11:37 AM
> >>> To: vcl-user@incubator.apache.org
> >>> Subject: Re: VCL and xCat
> >>> 
> >>> 
> >>> Thank you.
> >>> 
> >>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
> >>> safe to use latest xCat 2.6.10? Thanks.
> >>> 
> >>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
> >>>> Hi Dmitri,
> >>>> 
> >>>> SUMAVI link that you have is a real good one, I blindly followed
> >>>> it
> >>> 
> >>> and then slowly things started to make more sense once it worked.
> >>> 
> >>>> Also xCAT forum was very helpful.
> >>>> 
> >>>> Thank you,
> >>>> Amit
> >>>> 
> >>>>> -----Original Message-----
> >>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>> Sent: Friday, February 10, 2012 10:15 AM
> >>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
> >>>>> Subject: Re: VCL and xCat
> >>>>> 
> >>>>> 
> >>>>> Thank you, I hope we can make it work in our environment as
> >>>>> well...
> >>>>> 
> >>>>> I keep searching and reading xCat docs - here is good one ->
> >>>>> http://sumavi.com/books/xcat-administrators-guide.
> >>>>> BTW, if you have any docs outside of xcat.org site, please
> >>>>> share...
> >>>>> At this point I'm looking for xCat overview docs, i.e. to
> >>>>> understand
> >>>>> the process.
> >>>>> 
> >>>>> Looks like xCat makes extensive use of DHCP server to manage
> >>>>> nodes.
> >>>>> Are you using different DHCPd servers for VCL VMs and xCat
> >>>>> nodes, or
> >>>>> just keep everything on one DHCP server and being careful with
> >>>>> which
> >>>>> MAC gets what?
> >>>>> 
> >>>>> Thanks again for your help...
> >>>>> 
> >>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
> >>>>>> Dmitri,
> >>>>>> 
> >>>>>> Just to add to Amit, comments.
> >>>>>> 
> >>>>>> We use xCAT extensively here at ncsu. From provisioning
> >>>>>> end-user
> >>>>>> desktops and our hypervisors. xCAT very helpful when needed to
> >>>>> 
> >>>>> install
> >>>>> 
> >>>>>> a chassis full of blades with esxi.
> >>>>>> 
> >>>>>> As your installing xCAT  You'll want to review
> >>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
> >>>>> 
> >>>>> partimag
> >>>>> 
> >>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
> >>>>>> partimage
> >>>>>> - which is used to capture the disk images of end-user
> >>>>>> environments/desktops for windows and linux.
> >>>>>> 
> >>>>>> When your adding nodes to vcl through the manage computers
> >>>>>> tool,
> >>>>>> make sure to choose "xCAT 2.x" .  If your doing windows
> >>>>>> bare-metal,
> >>>>>> you'll also need to include sysprep and related mass storage
> >>> 
> >>> drivers
> >>> 
> >>>>>> so it can be reloaded successfully.
> >>> 
> >>>>>> For sysprep review step 8 on this page:
> >>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management
> >>> +
> >>> 
> >>>>> N
> >>>>> 
> >>>>>> ode+Installation
> >>>>>> 
> >>>>>> Hope this info helps,
> >>>>>> Aaron
> >>>>>> 
> >>>>>> 
> >>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
> >>> 
> >>> <dc...@gmu.edu>
> >>> 
> >>>>> wrote:
> >>>>>>> Amit,
> >>>>>>> 
> >>>>>>> Thanks a lot.
> >>>>>>> 
> >>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
> >>>>>>>> Hi Dmitri,
> >>>>>>>> 
> >>>>>>>> You general idea is correct to my best understanding.
> >>>>>>>> 
> >>>>>>>> "Install Path" in the Edit management Node will be the
> >>>>>>>> path for
> >>>>> 
> >>>>> xCAT(bare metal) image repository. In addition when you
> >>>>> configure
> >>> 
> >>> the
> >>> 
> >>>>> "Site" table in xCAT you will set the "installdir" to point to
> >>>>> the
> >>>>> location where you will store your images.
> >>>>> 
> >>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
> >>>>>>>> 
> >>>>>>>> Best,
> >>>>>>>> Amit
> >>>>>>>> 
> >>>>>>>>> -----Original Message-----
> >>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
> >>>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>>> Subject: Re: VCL and xCat
> >>>>>>>>> 
> >>>>>>>>> 
> >>>>>>>>> Amit,
> >>>>>>>>> 
> >>>>>>>>> I'm trying to get general idea about xCat/VCL : so,
> >>>>>>>>> basically
> >>>>>>>>> xCat needs to be installed and configured on VCL Mgm
> >>>>>>>>> node(s)
> >>>>>>>>> before it can be used with VCL, and I should be able to
> >>>>>>>>> successfully provision xCat nodes/clients with different
> >>>>>>>>> images.
> >>>>>>>>> Once xCat is working then I can add bare-metal computers
> >>>>>>>>> - blade
> >>>>>>>>> with xCat 2.x engine. Does it sound right?
> >>>>>>>>> 
> >>>>>>>>> How do you tell VCL where to get image files for xCat
> >>>>>>>>> nodes - is
> >>>>> 
> >>>>> it
> >>>>> 
> >>>>>>>>> 'Install Path' setting under Management Nodes -> Edit
> >>>>>>>>> management
> >>>>>>>>> node information?
> >>>>>>>>> 
> >>>>>>>>> What kind of hardware do you have for xCat nodes? Are
> >>>>>>>>> those IBM
> >>>>>>>>> blade servers or/and PCs?
> >>>>>>>>> 
> >>>>>>>>> 
> >>>>>>>>> Thanks.
> >>>>>>>>> 
> >>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> >>>>>>>>>> Hi,
> >>>>>>>>>> 
> >>>>>>>>>> We do not need an additional/dedicated server to do
> >>>>>>>>>> both xCAT
> >>>>>>>>>> and VCL
> >>>>>>>>> 
> >>>>>>>>> together, your management node can serve as your xCAT
> >>>>>>>>> server.
> >>>>>>>>> 
> >>>>>>>>>> I would recommend getting xCAT to work by itself
> >>>>>>>>>> before using
> >>>>>>>>>> VCL to
> >>>>>>>>> 
> >>>>>>>>> manage your images and guest OS.
> >>>>>>>>> 
> >>>>>>>>>> This has worked well for us so far.
> >>>>>>>>>> 
> >>>>>>>>>> :Amit
> >>>>>>>>>> :
> >>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
> >>>>>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>>>>> Subject: VCL and xCat
> >>>>>>>>>>> 
> >>>>>>>>>>> Hi All
> >>>>>>>>>>> 
> >>>>>>>>>>> Anyone is using xCat with VCL?
> >>>>>>>>>>> 
> >>>>>>>>>>> I have generic question about xCat and VCL - where
> >>>>>>>>>>> do I start?
> >>>>>>>>>>> Do I need working xCat environment before I can add
> >>>>>>>>>>> it to VCL?
> >>>>>>>>>>> Does xCat need dedicated server? Or does it run on
> >>>>>>>>>>> the VCL
> >>>>>>>>> 
> >>>>>>>>> management
> >>>>>>>>> 
> >>>>>>>>>>> node?
> >>>>>>>>>>> Are there any special hardware requirements for xCat
> >>> 
> >>> "clients"?
> >>> 
> >>>>>>>>>>> Thank you.
> >>>>>>>>> 
> >>>>>>>>> Thank you.
> >>>>>>>>> 
> >>>>>>>>> -----------------
> >>>>>>>>> Dmitri Chebotarov
> >>>>>>>>> dchebota@gmu.edu
> >>>>>>>>> 703-993-6175
> >>>>>>>>> -----------------
> >>>>>>> 
> >>>>>>> Thank you.
> >>>>>>> 
> >>>>>>> -----------------
> >>>>>>> Dmitri Chebotarov
> >>>>>>> dchebota@gmu.edu
> >>>>>>> 703-993-6175
> >>>>>>> -----------------
> >>>>>>> 
> >>>>>>> 
> >>>>>>> 
> >>>>>>> -----BEGIN PGP SIGNATURE-----
> >>>>>>> 
> >>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3cl
> >>>>>>> zzem
> >>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWic
> >>>>>>> qNTm
> >>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNj
> >>>>>>> e62X
> >>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK
> >>>>>>> 77gD
> >>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbij
> >>>>>>> pctI
> >>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqb
> >>>>>>> TmA=
> >>>>>>> =86fD
> >>>>>>> -----END PGP SIGNATURE-----
> >>>>>> 
> >>>>>> --
> >>>>>> Aaron Peeler
> >>>>>> Program Manager
> >>>>>> Virtual Computing Lab
> >>>>>> NC State University
> >>>>>> 
> >>>>>> All electronic mail messages in connection with State business
> >>> 
> >>> which
> >>> 
> >>>>>> are sent to or received by this account are subject to the NC
> >>> 
> >>> Public
> >>> 
> >>>>>> Records Law and may be disclosed to third parties.
> >>>>> 
> >>>>> Thank you.
> >>>>> 
> >>>>> -----------------
> >>>>> Dmitri Chebotarov
> >>>>> dchebota@gmu.edu
> >>>>> 703-993-6175
> >>>>> -----------------
> >>> 
> >>> Thank you.
> >>> 
> >>> -----------------
> >>> Dmitri Chebotarov
> >>> dchebota@gmu.edu
> >>> 703-993-6175
> >>> -----------------
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk9FPgoACgkQV/LQcNdtPQMzGQCfTzYHgdDozkUgQGnmhOPfuqdm
bSYAn2jnVqx+6An4WZ+CTzCdC09vCIOM
=qPAU
-----END PGP SIGNATURE-----


Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Hi All.

I'm trying to capture a base image using xCAT module - the server is bare-metal CentOS5.7. 
The process starts OK, able to communicate with the node and then fails when trying to create .tmpl file. 

xCAT is installed and configured on the management node. 
partimage rpm is installed as well. 

Do you know what could be the issue? 

Thank you for your help.

...
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(827)|nodetype modified, node bc1-7, image name centos5image-xcatcentos5v474-v0
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1065)|attempting to create tmpl file for image: centos5image-xcatcentos5v474-v0
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|management node identifier argument was not specified
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path for image:
|12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
|12755|275:261|image| OS install type: partimage
|12755|275:261|image| OS source path: image
|12755|275:261|image| xCAT 2.x OS source path: image
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|returning: /opt/xcat/share/xcat/install/image
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2084)|management node identifier argument was not specified
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2115)|attempting to determine template path for image:
|12755|275:261|image| image name: centos5image-xcatcentos5v474-v0
|12755|275:261|image| OS install type: partimage
|12755|275:261|image| OS source path: image
|12755|275:261|image| xCAT 2.x OS source path: image
2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_image_template_path(2123)|returning: /opt/xcat/share/xcat/install/image
2012-02-21 16:22:30|12755|275:261|image|DataStructure.pm:get_computer_private_ip_address(1557)|returning private IP address previously retrieved: 10.3.1.27
2012-02-21 16:22:30|12755|275:261|image|utils.pm:is_inblockrequest(6164)|zero rows were returned from database select
2012-02-21 16:22:30|12755|275:261|image|DataStructure.pm:get_image_affiliation_name(2035)|image owner id: 1
2012-02-21 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested (information_schema) does not match handle stored in $ENV{dbh} (vcl:10.3.1.214)
2012-02-21 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle stored in $ENV{dbh}
2012-02-21 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1352)|attempting to retrieve and store data for user: user.id = '1'
2012-02-21 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2710)|database requested (vcl) does not match handle stored in $ENV{dbh} (information_schema:10.3.1.214)
2012-02-21 16:22:30|12755|275:261|image|utils.pm:getnewdbh(2761)|database handle stored in $ENV{dbh}
2012-02-21 16:22:30|12755|275:261|image|DataStructure.pm:retrieve_user_data(1415)|data has been retrieved for user: admin (id: 1)
2012-02-21 16:22:30|12755|275:261|image|utils.pm:mail(1268)|SUCCESS -- Sending mail To: dchebota@gmu.edu, PROBLEM -- 275:261|image|xCAT2.pm|bc1-7|centos5image-xcatcentos5v474-v0|admin
|12755|275:261|image| ---- CRITICAL ---- 
|12755|275:261|image| 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_get_base_template_filename(2170)|failed to find suitable base image template file in /opt/xcat/share/xcat/install/image
|12755|275:261|image| ( 0) xCAT2.pm, _get_base_template_filename (line: 2170)
|12755|275:261|image| (-1) xCAT2.pm, _create_template (line: 1075)
|12755|275:261|image| (-2) xCAT2.pm, capture (line: 836)
|12755|275:261|image| (-3) image.pm, process (line: 162)
|12755|275:261|image| (-4) vcld, make_new_child (line: 568)
|12755|275:261|image| (-5) vcld, main (line: 346)
|12755|275:261|image| ---- WARNING ---- 
|12755|275:261|image| 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:_create_template(1077)|base template filename could not be determined
|12755|275:261|image| ( 0) xCAT2.pm, _create_template (line: 1077)
|12755|275:261|image| (-1) xCAT2.pm, capture (line: 836)
|12755|275:261|image| (-2) image.pm, process (line: 162)
|12755|275:261|image| (-3) vcld, make_new_child (line: 568)
|12755|275:261|image| (-4) vcld, main (line: 346)
|12755|275:261|image| ---- WARNING ---- 
|12755|275:261|image| 2012-02-21 16:22:30|12755|275:261|image|xCAT2.pm:capture(840)|failed to create .tmpl file for centos5image-xcatcentos5v474-v0
|12755|275:261|image| ( 0) xCAT2.pm, capture (line: 840)
|12755|275:261|image| (-1) image.pm, process (line: 162)
|12755|275:261|image| (-2) vcld, make_new_child (line: 568)
|12755|275:261|image| (-3) vcld, main (line: 346)
|12755|275:261|image| ---- WARNING ---- 
|12755|275:261|image| 2012-02-21 16:22:30|12755|275:261|image|image.pm:process(166)|centos5image-xcatcentos5v474-v0 image failed to be captured by provisioning module
|12755|275:261|image| ( 0) image.pm, process (line: 166)
|12755|275:261|image| (-1) vcld, make_new_child (line: 568)
|12755|275:261|image| (-2) vcld, main (line: 346)



On Feb 10, 2012, at 11:44 , Aaron Peeler wrote:

> Yes, we're using the latest xCAT version.
> 
> -A
> 
> On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
>> Hi Dmitri,
>> 
>> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
>> May be Aaron and his group could say more.
>> 
>> Thank you,
>> Amit
>> 
>> 
>>> -----Original Message-----
>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>> Sent: Friday, February 10, 2012 11:37 AM
>>> To: vcl-user@incubator.apache.org
>>> Subject: Re: VCL and xCat
>>> 
>>> 
>>> Thank you.
>>> 
>>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>>> safe to use latest xCat 2.6.10? Thanks.
>>> 
>>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>> 
>>>> Hi Dmitri,
>>>> 
>>>> SUMAVI link that you have is a real good one, I blindly followed it
>>> and then slowly things started to make more sense once it worked.
>>>> Also xCAT forum was very helpful.
>>>> 
>>>> Thank you,
>>>> Amit
>>>> 
>>>>> -----Original Message-----
>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>> Sent: Friday, February 10, 2012 10:15 AM
>>>>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>>>>> Subject: Re: VCL and xCat
>>>>> 
>>>>> 
>>>>> Thank you, I hope we can make it work in our environment as well...
>>>>> 
>>>>> I keep searching and reading xCat docs - here is good one ->
>>>>> http://sumavi.com/books/xcat-administrators-guide.
>>>>> BTW, if you have any docs outside of xcat.org site, please share...
>>>>> At this point I'm looking for xCat overview docs, i.e. to understand
>>>>> the process.
>>>>> 
>>>>> Looks like xCat makes extensive use of DHCP server to manage nodes.
>>>>> Are you using different DHCPd servers for VCL VMs and xCat nodes, or
>>>>> just keep everything on one DHCP server and being careful with which
>>>>> MAC gets what?
>>>>> 
>>>>> Thanks again for your help...
>>>>> 
>>>>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>>>>> 
>>>>>> Dmitri,
>>>>>> 
>>>>>> Just to add to Amit, comments.
>>>>>> 
>>>>>> We use xCAT extensively here at ncsu. From provisioning end-user
>>>>>> desktops and our hypervisors. xCAT very helpful when needed to
>>>>> install
>>>>>> a chassis full of blades with esxi.
>>>>>> 
>>>>>> As your installing xCAT  You'll want to review
>>>>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>>>>> partimag
>>>>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>>>>>> partimage
>>>>>> - which is used to capture the disk images of end-user
>>>>>> environments/desktops for windows and linux.
>>>>>> 
>>>>>> When your adding nodes to vcl through the manage computers tool,
>>>>>> make sure to choose "xCAT 2.x" .  If your doing windows bare-metal,
>>>>>> you'll also need to include sysprep and related mass storage
>>> drivers
>>>>>> so it can be reloaded successfully.
>>>>>> 
>>>>>> For sysprep review step 8 on this page:
>>>>>> 
>>>>> 
>>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+
>>>>> N
>>>>>> ode+Installation
>>>>>> 
>>>>>> Hope this info helps,
>>>>>> Aaron
>>>>>> 
>>>>>> 
>>>>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>>> <dc...@gmu.edu>
>>>>> wrote:
>>>>>>> 
>>>>>>> Amit,
>>>>>>> 
>>>>>>> Thanks a lot.
>>>>>>> 
>>>>>>> 
>>>>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>>>>> 
>>>>>>>> Hi Dmitri,
>>>>>>>> 
>>>>>>>> You general idea is correct to my best understanding.
>>>>>>>> 
>>>>>>>> "Install Path" in the Edit management Node will be the path for
>>>>> xCAT(bare metal) image repository. In addition when you configure
>>> the
>>>>> "Site" table in xCAT you will set the "installdir" to point to the
>>>>> location where you will store your images.
>>>>>>>> 
>>>>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>>>>> 
>>>>>>>> Best,
>>>>>>>> Amit
>>>>>>>> 
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>> Subject: Re: VCL and xCat
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Amit,
>>>>>>>>> 
>>>>>>>>> I'm trying to get general idea about xCat/VCL : so, basically
>>>>>>>>> xCat needs to be installed and configured on VCL Mgm node(s)
>>>>>>>>> before it can be used with VCL, and I should be able to
>>>>>>>>> successfully provision xCat nodes/clients with different images.
>>>>>>>>> Once xCat is working then I can add bare-metal computers - blade
>>>>>>>>> with xCat 2.x engine. Does it sound right?
>>>>>>>>> 
>>>>>>>>> How do you tell VCL where to get image files for xCat nodes - is
>>>>> it
>>>>>>>>> 'Install Path' setting under Management Nodes -> Edit management
>>>>>>>>> node information?
>>>>>>>>> 
>>>>>>>>> What kind of hardware do you have for xCat nodes? Are those IBM
>>>>>>>>> blade servers or/and PCs?
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Thanks.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>>>>> 
>>>>>>>>>> Hi,
>>>>>>>>>> 
>>>>>>>>>> We do not need an additional/dedicated server to do both xCAT
>>>>>>>>>> and VCL
>>>>>>>>> together, your management node can serve as your xCAT server.
>>>>>>>>>> 
>>>>>>>>>> I would recommend getting xCAT to work by itself before using
>>>>>>>>>> VCL to
>>>>>>>>> manage your images and guest OS.
>>>>>>>>>> 
>>>>>>>>>> This has worked well for us so far.
>>>>>>>>>> 
>>>>>>>>>> :Amit
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>>>>> Subject: VCL and xCat
>>>>>>>>>>> 
>>>>>>>>>>> Hi All
>>>>>>>>>>> 
>>>>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>>>>> 
>>>>>>>>>>> I have generic question about xCat and VCL - where do I start?
>>>>>>>>>>> Do I need working xCat environment before I can add it to VCL?
>>>>>>>>>>> Does xCat need dedicated server? Or does it run on the VCL
>>>>>>>>> management
>>>>>>>>>>> node?
>>>>>>>>>>> Are there any special hardware requirements for xCat
>>> "clients"?
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Thank you.
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Thank you.
>>>>>>>>> 
>>>>>>>>> -----------------
>>>>>>>>> Dmitri Chebotarov
>>>>>>>>> dchebota@gmu.edu
>>>>>>>>> 703-993-6175
>>>>>>>>> -----------------
>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Thank you.
>>>>>>> 
>>>>>>> -----------------
>>>>>>> Dmitri Chebotarov
>>>>>>> dchebota@gmu.edu
>>>>>>> 703-993-6175
>>>>>>> -----------------
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>> 
>>>>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
>>>>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
>>>>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
>>>>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
>>>>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
>>>>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
>>>>>>> =86fD
>>>>>>> -----END PGP SIGNATURE-----
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Aaron Peeler
>>>>>> Program Manager
>>>>>> Virtual Computing Lab
>>>>>> NC State University
>>>>>> 
>>>>>> All electronic mail messages in connection with State business
>>> which
>>>>>> are sent to or received by this account are subject to the NC
>>> Public
>>>>>> Records Law and may be disclosed to third parties.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Thank you.
>>>>> 
>>>>> -----------------
>>>>> Dmitri Chebotarov
>>>>> dchebota@gmu.edu
>>>>> 703-993-6175
>>>>> -----------------
>>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Thank you.
>>> 
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>>> 
>> 
> 
> 
> 
> -- 
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Aaron Peeler <aa...@ncsu.edu>.
Yes, we're using the latest xCAT version.

-A

On Fri, Feb 10, 2012 at 11:42 AM, Kumar, Amit H. <AH...@odu.edu> wrote:
> Hi Dmitri,
>
> We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work.
> May be Aaron and his group could say more.
>
> Thank you,
> Amit
>
>
>> -----Original Message-----
>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> Sent: Friday, February 10, 2012 11:37 AM
>> To: vcl-user@incubator.apache.org
>> Subject: Re: VCL and xCat
>>
>>
>> Thank you.
>>
>> What version of xCat do you use? Since VCL supports xCat 2.x, is it
>> safe to use latest xCat 2.6.10? Thanks.
>>
>> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
>>
>> > Hi Dmitri,
>> >
>> > SUMAVI link that you have is a real good one, I blindly followed it
>> and then slowly things started to make more sense once it worked.
>> > Also xCAT forum was very helpful.
>> >
>> > Thank you,
>> > Amit
>> >
>> >> -----Original Message-----
>> >> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> >> Sent: Friday, February 10, 2012 10:15 AM
>> >> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>> >> Subject: Re: VCL and xCat
>> >>
>> >>
>> >> Thank you, I hope we can make it work in our environment as well...
>> >>
>> >> I keep searching and reading xCat docs - here is good one ->
>> >> http://sumavi.com/books/xcat-administrators-guide.
>> >> BTW, if you have any docs outside of xcat.org site, please share...
>> >> At this point I'm looking for xCat overview docs, i.e. to understand
>> >> the process.
>> >>
>> >> Looks like xCat makes extensive use of DHCP server to manage nodes.
>> >> Are you using different DHCPd servers for VCL VMs and xCat nodes, or
>> >> just keep everything on one DHCP server and being careful with which
>> >> MAC gets what?
>> >>
>> >> Thanks again for your help...
>> >>
>> >> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>> >>
>> >>> Dmitri,
>> >>>
>> >>> Just to add to Amit, comments.
>> >>>
>> >>> We use xCAT extensively here at ncsu. From provisioning end-user
>> >>> desktops and our hypervisors. xCAT very helpful when needed to
>> >> install
>> >>> a chassis full of blades with esxi.
>> >>>
>> >>> As your installing xCAT  You'll want to review
>> >>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>> >> partimag
>> >>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
>> >>> partimage
>> >>> - which is used to capture the disk images of end-user
>> >>> environments/desktops for windows and linux.
>> >>>
>> >>> When your adding nodes to vcl through the manage computers tool,
>> >>> make sure to choose "xCAT 2.x" .  If your doing windows bare-metal,
>> >>> you'll also need to include sysprep and related mass storage
>> drivers
>> >>> so it can be reloaded successfully.
>> >>>
>> >>> For sysprep review step 8 on this page:
>> >>>
>> >>
>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+
>> >> N
>> >>> ode+Installation
>> >>>
>> >>> Hope this info helps,
>> >>> Aaron
>> >>>
>> >>>
>> >>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
>> <dc...@gmu.edu>
>> >> wrote:
>> >>>>
>> >>>> Amit,
>> >>>>
>> >>>> Thanks a lot.
>> >>>>
>> >>>>
>> >>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>> >>>>
>> >>>>> Hi Dmitri,
>> >>>>>
>> >>>>> You general idea is correct to my best understanding.
>> >>>>>
>> >>>>> "Install Path" in the Edit management Node will be the path for
>> >> xCAT(bare metal) image repository. In addition when you configure
>> the
>> >> "Site" table in xCAT you will set the "installdir" to point to the
>> >> location where you will store your images.
>> >>>>>
>> >>>>> We have IBM E Blade Chassis with HS22 blade servers.
>> >>>>>
>> >>>>> Best,
>> >>>>> Amit
>> >>>>>
>> >>>>>> -----Original Message-----
>> >>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> >>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>> >>>>>> To: vcl-user@incubator.apache.org
>> >>>>>> Subject: Re: VCL and xCat
>> >>>>>>
>> >>>>>>
>> >>>>>> Amit,
>> >>>>>>
>> >>>>>> I'm trying to get general idea about xCat/VCL : so, basically
>> >>>>>> xCat needs to be installed and configured on VCL Mgm node(s)
>> >>>>>> before it can be used with VCL, and I should be able to
>> >>>>>> successfully provision xCat nodes/clients with different images.
>> >>>>>> Once xCat is working then I can add bare-metal computers - blade
>> >>>>>> with xCat 2.x engine. Does it sound right?
>> >>>>>>
>> >>>>>> How do you tell VCL where to get image files for xCat nodes - is
>> >> it
>> >>>>>> 'Install Path' setting under Management Nodes -> Edit management
>> >>>>>> node information?
>> >>>>>>
>> >>>>>> What kind of hardware do you have for xCat nodes? Are those IBM
>> >>>>>> blade servers or/and PCs?
>> >>>>>>
>> >>>>>>
>> >>>>>> Thanks.
>> >>>>>>
>> >>>>>>
>> >>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>> >>>>>>
>> >>>>>>> Hi,
>> >>>>>>>
>> >>>>>>> We do not need an additional/dedicated server to do both xCAT
>> >>>>>>> and VCL
>> >>>>>> together, your management node can serve as your xCAT server.
>> >>>>>>>
>> >>>>>>> I would recommend getting xCAT to work by itself before using
>> >>>>>>> VCL to
>> >>>>>> manage your images and guest OS.
>> >>>>>>>
>> >>>>>>> This has worked well for us so far.
>> >>>>>>>
>> >>>>>>> :Amit
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>> -----Original Message-----
>> >>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> >>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>> >>>>>>>> To: vcl-user@incubator.apache.org
>> >>>>>>>> Subject: VCL and xCat
>> >>>>>>>>
>> >>>>>>>> Hi All
>> >>>>>>>>
>> >>>>>>>> Anyone is using xCat with VCL?
>> >>>>>>>>
>> >>>>>>>> I have generic question about xCat and VCL - where do I start?
>> >>>>>>>> Do I need working xCat environment before I can add it to VCL?
>> >>>>>>>> Does xCat need dedicated server? Or does it run on the VCL
>> >>>>>> management
>> >>>>>>>> node?
>> >>>>>>>> Are there any special hardware requirements for xCat
>> "clients"?
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> Thank you.
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> Thank you.
>> >>>>>>
>> >>>>>> -----------------
>> >>>>>> Dmitri Chebotarov
>> >>>>>> dchebota@gmu.edu
>> >>>>>> 703-993-6175
>> >>>>>> -----------------
>> >>>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> Thank you.
>> >>>>
>> >>>> -----------------
>> >>>> Dmitri Chebotarov
>> >>>> dchebota@gmu.edu
>> >>>> 703-993-6175
>> >>>> -----------------
>> >>>>
>> >>>>
>> >>>>
>> >>>> -----BEGIN PGP SIGNATURE-----
>> >>>>
>> >>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
>> >>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
>> >>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
>> >>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
>> >>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
>> >>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
>> >>>> =86fD
>> >>>> -----END PGP SIGNATURE-----
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Aaron Peeler
>> >>> Program Manager
>> >>> Virtual Computing Lab
>> >>> NC State University
>> >>>
>> >>> All electronic mail messages in connection with State business
>> which
>> >>> are sent to or received by this account are subject to the NC
>> Public
>> >>> Records Law and may be disclosed to third parties.
>> >>
>> >>
>> >>
>> >>
>> >> Thank you.
>> >>
>> >> -----------------
>> >> Dmitri Chebotarov
>> >> dchebota@gmu.edu
>> >> 703-993-6175
>> >> -----------------
>> >>
>> >
>>
>>
>>
>>
>> Thank you.
>>
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>>
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

RE: VCL and xCat

Posted by "Kumar, Amit H." <AH...@odu.edu>.
Hi Dmitri,

We use xCAT 2.5.2; I am not a pro to say if xCAT 2.6.x will work. 
May be Aaron and his group could say more.

Thank you,
Amit


> -----Original Message-----
> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> Sent: Friday, February 10, 2012 11:37 AM
> To: vcl-user@incubator.apache.org
> Subject: Re: VCL and xCat
> 
> 
> Thank you.
> 
> What version of xCat do you use? Since VCL supports xCat 2.x, is it
> safe to use latest xCat 2.6.10? Thanks.
> 
> On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:
> 
> > Hi Dmitri,
> >
> > SUMAVI link that you have is a real good one, I blindly followed it
> and then slowly things started to make more sense once it worked.
> > Also xCAT forum was very helpful.
> >
> > Thank you,
> > Amit
> >
> >> -----Original Message-----
> >> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >> Sent: Friday, February 10, 2012 10:15 AM
> >> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
> >> Subject: Re: VCL and xCat
> >>
> >>
> >> Thank you, I hope we can make it work in our environment as well...
> >>
> >> I keep searching and reading xCat docs - here is good one ->
> >> http://sumavi.com/books/xcat-administrators-guide.
> >> BTW, if you have any docs outside of xcat.org site, please share...
> >> At this point I'm looking for xCat overview docs, i.e. to understand
> >> the process.
> >>
> >> Looks like xCat makes extensive use of DHCP server to manage nodes.
> >> Are you using different DHCPd servers for VCL VMs and xCat nodes, or
> >> just keep everything on one DHCP server and being careful with which
> >> MAC gets what?
> >>
> >> Thanks again for your help...
> >>
> >> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
> >>
> >>> Dmitri,
> >>>
> >>> Just to add to Amit, comments.
> >>>
> >>> We use xCAT extensively here at ncsu. From provisioning end-user
> >>> desktops and our hypervisors. xCAT very helpful when needed to
> >> install
> >>> a chassis full of blades with esxi.
> >>>
> >>> As your installing xCAT  You'll want to review
> >>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
> >> partimag
> >>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for
> >>> partimage
> >>> - which is used to capture the disk images of end-user
> >>> environments/desktops for windows and linux.
> >>>
> >>> When your adding nodes to vcl through the manage computers tool,
> >>> make sure to choose "xCAT 2.x" .  If your doing windows bare-metal,
> >>> you'll also need to include sysprep and related mass storage
> drivers
> >>> so it can be reloaded successfully.
> >>>
> >>> For sysprep review step 8 on this page:
> >>>
> >>
> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+
> >> N
> >>> ode+Installation
> >>>
> >>> Hope this info helps,
> >>> Aaron
> >>>
> >>>
> >>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov
> <dc...@gmu.edu>
> >> wrote:
> >>>>
> >>>> Amit,
> >>>>
> >>>> Thanks a lot.
> >>>>
> >>>>
> >>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
> >>>>
> >>>>> Hi Dmitri,
> >>>>>
> >>>>> You general idea is correct to my best understanding.
> >>>>>
> >>>>> "Install Path" in the Edit management Node will be the path for
> >> xCAT(bare metal) image repository. In addition when you configure
> the
> >> "Site" table in xCAT you will set the "installdir" to point to the
> >> location where you will store your images.
> >>>>>
> >>>>> We have IBM E Blade Chassis with HS22 blade servers.
> >>>>>
> >>>>> Best,
> >>>>> Amit
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>> Sent: Thursday, February 09, 2012 3:44 PM
> >>>>>> To: vcl-user@incubator.apache.org
> >>>>>> Subject: Re: VCL and xCat
> >>>>>>
> >>>>>>
> >>>>>> Amit,
> >>>>>>
> >>>>>> I'm trying to get general idea about xCat/VCL : so, basically
> >>>>>> xCat needs to be installed and configured on VCL Mgm node(s)
> >>>>>> before it can be used with VCL, and I should be able to
> >>>>>> successfully provision xCat nodes/clients with different images.
> >>>>>> Once xCat is working then I can add bare-metal computers - blade
> >>>>>> with xCat 2.x engine. Does it sound right?
> >>>>>>
> >>>>>> How do you tell VCL where to get image files for xCat nodes - is
> >> it
> >>>>>> 'Install Path' setting under Management Nodes -> Edit management
> >>>>>> node information?
> >>>>>>
> >>>>>> What kind of hardware do you have for xCat nodes? Are those IBM
> >>>>>> blade servers or/and PCs?
> >>>>>>
> >>>>>>
> >>>>>> Thanks.
> >>>>>>
> >>>>>>
> >>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> >>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> We do not need an additional/dedicated server to do both xCAT
> >>>>>>> and VCL
> >>>>>> together, your management node can serve as your xCAT server.
> >>>>>>>
> >>>>>>> I would recommend getting xCAT to work by itself before using
> >>>>>>> VCL to
> >>>>>> manage your images and guest OS.
> >>>>>>>
> >>>>>>> This has worked well for us so far.
> >>>>>>>
> >>>>>>> :Amit
> >>>>>>>
> >>>>>>>
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
> >>>>>>>> To: vcl-user@incubator.apache.org
> >>>>>>>> Subject: VCL and xCat
> >>>>>>>>
> >>>>>>>> Hi All
> >>>>>>>>
> >>>>>>>> Anyone is using xCat with VCL?
> >>>>>>>>
> >>>>>>>> I have generic question about xCat and VCL - where do I start?
> >>>>>>>> Do I need working xCat environment before I can add it to VCL?
> >>>>>>>> Does xCat need dedicated server? Or does it run on the VCL
> >>>>>> management
> >>>>>>>> node?
> >>>>>>>> Are there any special hardware requirements for xCat
> "clients"?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Thank you.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Thank you.
> >>>>>>
> >>>>>> -----------------
> >>>>>> Dmitri Chebotarov
> >>>>>> dchebota@gmu.edu
> >>>>>> 703-993-6175
> >>>>>> -----------------
> >>>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Thank you.
> >>>>
> >>>> -----------------
> >>>> Dmitri Chebotarov
> >>>> dchebota@gmu.edu
> >>>> 703-993-6175
> >>>> -----------------
> >>>>
> >>>>
> >>>>
> >>>> -----BEGIN PGP SIGNATURE-----
> >>>>
> >>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
> >>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
> >>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
> >>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
> >>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
> >>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
> >>>> =86fD
> >>>> -----END PGP SIGNATURE-----
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Aaron Peeler
> >>> Program Manager
> >>> Virtual Computing Lab
> >>> NC State University
> >>>
> >>> All electronic mail messages in connection with State business
> which
> >>> are sent to or received by this account are subject to the NC
> Public
> >>> Records Law and may be disclosed to third parties.
> >>
> >>
> >>
> >>
> >> Thank you.
> >>
> >> -----------------
> >> Dmitri Chebotarov
> >> dchebota@gmu.edu
> >> 703-993-6175
> >> -----------------
> >>
> >
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 


Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Thank you. 

What version of xCat do you use? Since VCL supports xCat 2.x, is it safe to use latest xCat 2.6.10? Thanks.

On Feb 10, 2012, at 11:27 , Kumar, Amit H. wrote:

> Hi Dmitri,
> 
> SUMAVI link that you have is a real good one, I blindly followed it and then slowly things started to make more sense once it worked.
> Also xCAT forum was very helpful. 
> 
> Thank you,
> Amit
> 
>> -----Original Message-----
>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> Sent: Friday, February 10, 2012 10:15 AM
>> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
>> Subject: Re: VCL and xCat
>> 
>> 
>> Thank you, I hope we can make it work in our environment as well...
>> 
>> I keep searching and reading xCat docs - here is good one ->
>> http://sumavi.com/books/xcat-administrators-guide.
>> BTW, if you have any docs outside of xcat.org site, please share... At
>> this point I'm looking for xCat overview docs, i.e. to understand the
>> process.
>> 
>> Looks like xCat makes extensive use of DHCP server to manage nodes. Are
>> you using different DHCPd servers for VCL VMs and xCat nodes, or just
>> keep everything on one DHCP server and being careful with which MAC
>> gets what?
>> 
>> Thanks again for your help...
>> 
>> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
>> 
>>> Dmitri,
>>> 
>>> Just to add to Amit, comments.
>>> 
>>> We use xCAT extensively here at ncsu. From provisioning end-user
>>> desktops and our hypervisors. xCAT very helpful when needed to
>> install
>>> a chassis full of blades with esxi.
>>> 
>>> As your installing xCAT  You'll want to review
>>> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
>> partimag
>>> e-ng-to-xcat-2x-unofficial.html We added in VCL support for partimage
>>> - which is used to capture the disk images of end-user
>>> environments/desktops for windows and linux.
>>> 
>>> When your adding nodes to vcl through the manage computers tool, make
>>> sure to choose "xCAT 2.x" .  If your doing windows bare-metal, you'll
>>> also need to include sysprep and related mass storage drivers so it
>>> can be reloaded successfully.
>>> 
>>> For sysprep review step 8 on this page:
>>> 
>> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+N
>>> ode+Installation
>>> 
>>> Hope this info helps,
>>> Aaron
>>> 
>>> 
>>> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov <dc...@gmu.edu>
>> wrote:
>>>> 
>>>> Amit,
>>>> 
>>>> Thanks a lot.
>>>> 
>>>> 
>>>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>>>> 
>>>>> Hi Dmitri,
>>>>> 
>>>>> You general idea is correct to my best understanding.
>>>>> 
>>>>> "Install Path" in the Edit management Node will be the path for
>> xCAT(bare metal) image repository. In addition when you configure the
>> "Site" table in xCAT you will set the "installdir" to point to the
>> location where you will store your images.
>>>>> 
>>>>> We have IBM E Blade Chassis with HS22 blade servers.
>>>>> 
>>>>> Best,
>>>>> Amit
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: Re: VCL and xCat
>>>>>> 
>>>>>> 
>>>>>> Amit,
>>>>>> 
>>>>>> I'm trying to get general idea about xCat/VCL : so, basically xCat
>>>>>> needs to be installed and configured on VCL Mgm node(s) before it
>>>>>> can be used with VCL, and I should be able to successfully
>>>>>> provision xCat nodes/clients with different images. Once xCat is
>>>>>> working then I can add bare-metal computers - blade with xCat 2.x
>>>>>> engine. Does it sound right?
>>>>>> 
>>>>>> How do you tell VCL where to get image files for xCat nodes - is
>> it
>>>>>> 'Install Path' setting under Management Nodes -> Edit management
>>>>>> node information?
>>>>>> 
>>>>>> What kind of hardware do you have for xCat nodes? Are those IBM
>>>>>> blade servers or/and PCs?
>>>>>> 
>>>>>> 
>>>>>> Thanks.
>>>>>> 
>>>>>> 
>>>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> We do not need an additional/dedicated server to do both xCAT and
>>>>>>> VCL
>>>>>> together, your management node can serve as your xCAT server.
>>>>>>> 
>>>>>>> I would recommend getting xCAT to work by itself before using VCL
>>>>>>> to
>>>>>> manage your images and guest OS.
>>>>>>> 
>>>>>>> This has worked well for us so far.
>>>>>>> 
>>>>>>> :Amit
>>>>>>> 
>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>>>> To: vcl-user@incubator.apache.org
>>>>>>>> Subject: VCL and xCat
>>>>>>>> 
>>>>>>>> Hi All
>>>>>>>> 
>>>>>>>> Anyone is using xCat with VCL?
>>>>>>>> 
>>>>>>>> I have generic question about xCat and VCL - where do I start?
>>>>>>>> Do I need working xCat environment before I can add it to VCL?
>>>>>>>> Does xCat need dedicated server? Or does it run on the VCL
>>>>>> management
>>>>>>>> node?
>>>>>>>> Are there any special hardware requirements for xCat "clients"?
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thank you.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> -----------------
>>>>>> Dmitri Chebotarov
>>>>>> dchebota@gmu.edu
>>>>>> 703-993-6175
>>>>>> -----------------
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Thank you.
>>>> 
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>>> 
>>>> 
>>>> 
>>>> -----BEGIN PGP SIGNATURE-----
>>>> 
>>>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
>>>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
>>>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
>>>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
>>>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
>>>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
>>>> =86fD
>>>> -----END PGP SIGNATURE-----
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Aaron Peeler
>>> Program Manager
>>> Virtual Computing Lab
>>> NC State University
>>> 
>>> All electronic mail messages in connection with State business which
>>> are sent to or received by this account are subject to the NC Public
>>> Records Law and may be disclosed to third parties.
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



RE: VCL and xCat

Posted by "Kumar, Amit H." <AH...@odu.edu>.
Hi Dmitri,

SUMAVI link that you have is a real good one, I blindly followed it and then slowly things started to make more sense once it worked.
Also xCAT forum was very helpful. 

Thank you,
Amit

> -----Original Message-----
> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> Sent: Friday, February 10, 2012 10:15 AM
> To: vcl-user@incubator.apache.org; aaron_peeler@ncsu.edu
> Subject: Re: VCL and xCat
> 
> 
> Thank you, I hope we can make it work in our environment as well...
> 
> I keep searching and reading xCat docs - here is good one ->
> http://sumavi.com/books/xcat-administrators-guide.
> BTW, if you have any docs outside of xcat.org site, please share... At
> this point I'm looking for xCat overview docs, i.e. to understand the
> process.
> 
> Looks like xCat makes extensive use of DHCP server to manage nodes. Are
> you using different DHCPd servers for VCL VMs and xCat nodes, or just
> keep everything on one DHCP server and being careful with which MAC
> gets what?
> 
> Thanks again for your help...
> 
> On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:
> 
> > Dmitri,
> >
> > Just to add to Amit, comments.
> >
> > We use xCAT extensively here at ncsu. From provisioning end-user
> > desktops and our hypervisors. xCAT very helpful when needed to
> install
> > a chassis full of blades with esxi.
> >
> > As your installing xCAT  You'll want to review
> > https://cwiki.apache.org/VCL/adding-support-for-partimage-and-
> partimag
> > e-ng-to-xcat-2x-unofficial.html We added in VCL support for partimage
> > - which is used to capture the disk images of end-user
> > environments/desktops for windows and linux.
> >
> > When your adding nodes to vcl through the manage computers tool, make
> > sure to choose "xCAT 2.x" .  If your doing windows bare-metal, you'll
> > also need to include sysprep and related mass storage drivers so it
> > can be reloaded successfully.
> >
> > For sysprep review step 8 on this page:
> >
> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+N
> > ode+Installation
> >
> > Hope this info helps,
> > Aaron
> >
> >
> > On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov <dc...@gmu.edu>
> wrote:
> >>
> >> Amit,
> >>
> >> Thanks a lot.
> >>
> >>
> >> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
> >>
> >>> Hi Dmitri,
> >>>
> >>> You general idea is correct to my best understanding.
> >>>
> >>> "Install Path" in the Edit management Node will be the path for
> xCAT(bare metal) image repository. In addition when you configure the
> "Site" table in xCAT you will set the "installdir" to point to the
> location where you will store your images.
> >>>
> >>> We have IBM E Blade Chassis with HS22 blade servers.
> >>>
> >>> Best,
> >>> Amit
> >>>
> >>>> -----Original Message-----
> >>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>> Sent: Thursday, February 09, 2012 3:44 PM
> >>>> To: vcl-user@incubator.apache.org
> >>>> Subject: Re: VCL and xCat
> >>>>
> >>>>
> >>>> Amit,
> >>>>
> >>>> I'm trying to get general idea about xCat/VCL : so, basically xCat
> >>>> needs to be installed and configured on VCL Mgm node(s) before it
> >>>> can be used with VCL, and I should be able to successfully
> >>>> provision xCat nodes/clients with different images. Once xCat is
> >>>> working then I can add bare-metal computers - blade with xCat 2.x
> >>>> engine. Does it sound right?
> >>>>
> >>>> How do you tell VCL where to get image files for xCat nodes - is
> it
> >>>> 'Install Path' setting under Management Nodes -> Edit management
> >>>> node information?
> >>>>
> >>>> What kind of hardware do you have for xCat nodes? Are those IBM
> >>>> blade servers or/and PCs?
> >>>>
> >>>>
> >>>> Thanks.
> >>>>
> >>>>
> >>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> We do not need an additional/dedicated server to do both xCAT and
> >>>>> VCL
> >>>> together, your management node can serve as your xCAT server.
> >>>>>
> >>>>> I would recommend getting xCAT to work by itself before using VCL
> >>>>> to
> >>>> manage your images and guest OS.
> >>>>>
> >>>>> This has worked well for us so far.
> >>>>>
> >>>>> :Amit
> >>>>>
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >>>>>> Sent: Thursday, February 09, 2012 3:03 PM
> >>>>>> To: vcl-user@incubator.apache.org
> >>>>>> Subject: VCL and xCat
> >>>>>>
> >>>>>> Hi All
> >>>>>>
> >>>>>> Anyone is using xCat with VCL?
> >>>>>>
> >>>>>> I have generic question about xCat and VCL - where do I start?
> >>>>>> Do I need working xCat environment before I can add it to VCL?
> >>>>>> Does xCat need dedicated server? Or does it run on the VCL
> >>>> management
> >>>>>> node?
> >>>>>> Are there any special hardware requirements for xCat "clients"?
> >>>>>>
> >>>>>>
> >>>>>> Thank you.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Thank you.
> >>>>
> >>>> -----------------
> >>>> Dmitri Chebotarov
> >>>> dchebota@gmu.edu
> >>>> 703-993-6175
> >>>> -----------------
> >>>>
> >>>
> >>
> >>
> >>
> >>
> >> Thank you.
> >>
> >> -----------------
> >> Dmitri Chebotarov
> >> dchebota@gmu.edu
> >> 703-993-6175
> >> -----------------
> >>
> >>
> >>
> >> -----BEGIN PGP SIGNATURE-----
> >>
> >> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
> >> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
> >> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
> >> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
> >> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
> >> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
> >> =86fD
> >> -----END PGP SIGNATURE-----
> >>
> >
> >
> >
> > --
> > Aaron Peeler
> > Program Manager
> > Virtual Computing Lab
> > NC State University
> >
> > All electronic mail messages in connection with State business which
> > are sent to or received by this account are subject to the NC Public
> > Records Law and may be disclosed to third parties.
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 


Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Thank you, I hope we can make it work in our environment as well...

I keep searching and reading xCat docs - here is good one -> http://sumavi.com/books/xcat-administrators-guide. 
BTW, if you have any docs outside of xcat.org site, please share... At this point I'm looking for xCat overview docs, i.e. to understand the process.

Looks like xCat makes extensive use of DHCP server to manage nodes. Are you using different DHCPd servers for VCL VMs and xCat nodes, or just keep everything on one DHCP server and being careful with which MAC gets what? 

Thanks again for your help...

On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:

> Dmitri,
> 
> Just to add to Amit, comments.
> 
> We use xCAT extensively here at ncsu. From provisioning end-user
> desktops and our hypervisors. xCAT very helpful when needed to install
> a chassis full of blades with esxi.
> 
> As your installing xCAT  You'll want to review
> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html
> We added in VCL support for partimage  - which is used to capture the
> disk images of end-user environments/desktops for windows and linux.
> 
> When your adding nodes to vcl through the manage computers tool, make
> sure to choose "xCAT 2.x" .  If your doing windows bare-metal, you'll
> also need to include sysprep and related mass storage drivers so it
> can be reloaded successfully.
> 
> For sysprep review step 8 on this page:
> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+Node+Installation
> 
> Hope this info helps,
> Aaron
> 
> 
> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
>> 
>> Amit,
>> 
>> Thanks a lot.
>> 
>> 
>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>> 
>>> Hi Dmitri,
>>> 
>>> You general idea is correct to my best understanding.
>>> 
>>> "Install Path" in the Edit management Node will be the path for xCAT(bare metal) image repository. In addition when you configure the "Site" table in xCAT you will set the "installdir" to point to the location where you will store your images.
>>> 
>>> We have IBM E Blade Chassis with HS22 blade servers.
>>> 
>>> Best,
>>> Amit
>>> 
>>>> -----Original Message-----
>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>> To: vcl-user@incubator.apache.org
>>>> Subject: Re: VCL and xCat
>>>> 
>>>> 
>>>> Amit,
>>>> 
>>>> I'm trying to get general idea about xCat/VCL : so, basically xCat
>>>> needs to be installed and configured on VCL Mgm node(s) before it can
>>>> be used with VCL, and I should be able to successfully provision xCat
>>>> nodes/clients with different images. Once xCat is working then I can
>>>> add bare-metal computers - blade with xCat 2.x engine. Does it sound
>>>> right?
>>>> 
>>>> How do you tell VCL where to get image files for xCat nodes - is it
>>>> 'Install Path' setting under Management Nodes -> Edit management node
>>>> information?
>>>> 
>>>> What kind of hardware do you have for xCat nodes? Are those IBM blade
>>>> servers or/and PCs?
>>>> 
>>>> 
>>>> Thanks.
>>>> 
>>>> 
>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> We do not need an additional/dedicated server to do both xCAT and VCL
>>>> together, your management node can serve as your xCAT server.
>>>>> 
>>>>> I would recommend getting xCAT to work by itself before using VCL to
>>>> manage your images and guest OS.
>>>>> 
>>>>> This has worked well for us so far.
>>>>> 
>>>>> :Amit
>>>>> 
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: VCL and xCat
>>>>>> 
>>>>>> Hi All
>>>>>> 
>>>>>> Anyone is using xCat with VCL?
>>>>>> 
>>>>>> I have generic question about xCat and VCL - where do I start?
>>>>>> Do I need working xCat environment before I can add it to VCL?
>>>>>> Does xCat need dedicated server? Or does it run on the VCL
>>>> management
>>>>>> node?
>>>>>> Are there any special hardware requirements for xCat "clients"?
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Thank you.
>>>> 
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
>> 
>> 
>> -----BEGIN PGP SIGNATURE-----
>> 
>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
>> =86fD
>> -----END PGP SIGNATURE-----
>> 
> 
> 
> 
> -- 
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Aaron

You mentioned using xCAT to provision end-use desktops at ncsu. 
How do you handle xCAT r* commands? Did you have to add a remote management card to each desktop to support rpower, etc? 

Thanks.

On Feb 10, 2012, at 9:30 , Aaron Peeler wrote:

> Dmitri,
> 
> Just to add to Amit, comments.
> 
> We use xCAT extensively here at ncsu. From provisioning end-user
> desktops and our hypervisors. xCAT very helpful when needed to install
> a chassis full of blades with esxi.
> 
> As your installing xCAT  You'll want to review
> https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html
> We added in VCL support for partimage  - which is used to capture the
> disk images of end-user environments/desktops for windows and linux.
> 
> When your adding nodes to vcl through the manage computers tool, make
> sure to choose "xCAT 2.x" .  If your doing windows bare-metal, you'll
> also need to include sysprep and related mass storage drivers so it
> can be reloaded successfully.
> 
> For sysprep review step 8 on this page:
> https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+Node+Installation
> 
> Hope this info helps,
> Aaron
> 
> 
> On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
>> 
>> Amit,
>> 
>> Thanks a lot.
>> 
>> 
>> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>> 
>>> Hi Dmitri,
>>> 
>>> You general idea is correct to my best understanding.
>>> 
>>> "Install Path" in the Edit management Node will be the path for xCAT(bare metal) image repository. In addition when you configure the "Site" table in xCAT you will set the "installdir" to point to the location where you will store your images.
>>> 
>>> We have IBM E Blade Chassis with HS22 blade servers.
>>> 
>>> Best,
>>> Amit
>>> 
>>>> -----Original Message-----
>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>> Sent: Thursday, February 09, 2012 3:44 PM
>>>> To: vcl-user@incubator.apache.org
>>>> Subject: Re: VCL and xCat
>>>> 
>>>> 
>>>> Amit,
>>>> 
>>>> I'm trying to get general idea about xCat/VCL : so, basically xCat
>>>> needs to be installed and configured on VCL Mgm node(s) before it can
>>>> be used with VCL, and I should be able to successfully provision xCat
>>>> nodes/clients with different images. Once xCat is working then I can
>>>> add bare-metal computers - blade with xCat 2.x engine. Does it sound
>>>> right?
>>>> 
>>>> How do you tell VCL where to get image files for xCat nodes - is it
>>>> 'Install Path' setting under Management Nodes -> Edit management node
>>>> information?
>>>> 
>>>> What kind of hardware do you have for xCat nodes? Are those IBM blade
>>>> servers or/and PCs?
>>>> 
>>>> 
>>>> Thanks.
>>>> 
>>>> 
>>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> We do not need an additional/dedicated server to do both xCAT and VCL
>>>> together, your management node can serve as your xCAT server.
>>>>> 
>>>>> I would recommend getting xCAT to work by itself before using VCL to
>>>> manage your images and guest OS.
>>>>> 
>>>>> This has worked well for us so far.
>>>>> 
>>>>> :Amit
>>>>> 
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>>> To: vcl-user@incubator.apache.org
>>>>>> Subject: VCL and xCat
>>>>>> 
>>>>>> Hi All
>>>>>> 
>>>>>> Anyone is using xCat with VCL?
>>>>>> 
>>>>>> I have generic question about xCat and VCL - where do I start?
>>>>>> Do I need working xCat environment before I can add it to VCL?
>>>>>> Does xCat need dedicated server? Or does it run on the VCL
>>>> management
>>>>>> node?
>>>>>> Are there any special hardware requirements for xCat "clients"?
>>>>>> 
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Thank you.
>>>> 
>>>> -----------------
>>>> Dmitri Chebotarov
>>>> dchebota@gmu.edu
>>>> 703-993-6175
>>>> -----------------
>>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
>> 
>> 
>> -----BEGIN PGP SIGNATURE-----
>> 
>> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
>> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
>> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
>> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
>> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
>> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
>> =86fD
>> -----END PGP SIGNATURE-----
>> 
> 
> 
> 
> -- 
> Aaron Peeler
> Program Manager
> Virtual Computing Lab
> NC State University
> 
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



Re: VCL and xCat

Posted by Aaron Peeler <aa...@ncsu.edu>.
Dmitri,

Just to add to Amit, comments.

We use xCAT extensively here at ncsu. From provisioning end-user
desktops and our hypervisors. xCAT very helpful when needed to install
a chassis full of blades with esxi.

As your installing xCAT  You'll want to review
https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html
We added in VCL support for partimage  - which is used to capture the
disk images of end-user environments/desktops for windows and linux.

When your adding nodes to vcl through the manage computers tool, make
sure to choose "xCAT 2.x" .  If your doing windows bare-metal, you'll
also need to include sysprep and related mass storage drivers so it
can be reloaded successfully.

For sysprep review step 8 on this page:
https://cwiki.apache.org/confluence/display/VCL/VCL+2.2.1+Management+Node+Installation

Hope this info helps,
Aaron


On Thu, Feb 9, 2012 at 4:03 PM, Dmitri Chebotarov <dc...@gmu.edu> wrote:
>
> Amit,
>
> Thanks a lot.
>
>
> On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:
>
>> Hi Dmitri,
>>
>> You general idea is correct to my best understanding.
>>
>> "Install Path" in the Edit management Node will be the path for xCAT(bare metal) image repository. In addition when you configure the "Site" table in xCAT you will set the "installdir" to point to the location where you will store your images.
>>
>> We have IBM E Blade Chassis with HS22 blade servers.
>>
>> Best,
>> Amit
>>
>>> -----Original Message-----
>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>> Sent: Thursday, February 09, 2012 3:44 PM
>>> To: vcl-user@incubator.apache.org
>>> Subject: Re: VCL and xCat
>>>
>>>
>>> Amit,
>>>
>>> I'm trying to get general idea about xCat/VCL : so, basically xCat
>>> needs to be installed and configured on VCL Mgm node(s) before it can
>>> be used with VCL, and I should be able to successfully provision xCat
>>> nodes/clients with different images. Once xCat is working then I can
>>> add bare-metal computers - blade with xCat 2.x engine. Does it sound
>>> right?
>>>
>>> How do you tell VCL where to get image files for xCat nodes - is it
>>> 'Install Path' setting under Management Nodes -> Edit management node
>>> information?
>>>
>>> What kind of hardware do you have for xCat nodes? Are those IBM blade
>>> servers or/and PCs?
>>>
>>>
>>> Thanks.
>>>
>>>
>>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>>>
>>>> Hi,
>>>>
>>>> We do not need an additional/dedicated server to do both xCAT and VCL
>>> together, your management node can serve as your xCAT server.
>>>>
>>>> I would recommend getting xCAT to work by itself before using VCL to
>>> manage your images and guest OS.
>>>>
>>>> This has worked well for us so far.
>>>>
>>>> :Amit
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>>> To: vcl-user@incubator.apache.org
>>>>> Subject: VCL and xCat
>>>>>
>>>>> Hi All
>>>>>
>>>>> Anyone is using xCat with VCL?
>>>>>
>>>>> I have generic question about xCat and VCL - where do I start?
>>>>> Do I need working xCat environment before I can add it to VCL?
>>>>> Does xCat need dedicated server? Or does it run on the VCL
>>> management
>>>>> node?
>>>>> Are there any special hardware requirements for xCat "clients"?
>>>>>
>>>>>
>>>>> Thank you.
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>>
>>> Thank you.
>>>
>>> -----------------
>>> Dmitri Chebotarov
>>> dchebota@gmu.edu
>>> 703-993-6175
>>> -----------------
>>>
>>
>
>
>
>
> Thank you.
>
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
>
>
>
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBAgAGBQJPNDStAAoJEMRKpymufl8aAxkH/iCGHjBRUMR85l4+D3clzzem
> eb4+RtsjvqfnJO7IjjF3Ajs73labFWvoEgpJrbFous2v6ou/gNsUgB82hWicqNTm
> 5+ZKkdncM2qWl2QI1ED6kvZt0OHmG/cUbRk0XRlPSjf99dIYgjqPZBL4xFNje62X
> xzNNPCEC7S5lixouyUcFPh7KhVR+11zvZsliV19CYH6HqXLpSphRt/gN5HIK77gD
> xNpfymdAPf2iJ1Dur5MNngnJIYTgdNgYq8pTvmrxPNEixumYsTU1UQzYFbijpctI
> yL8gUhP2kX2Yd45mVGzZxmJXDrOkg0rLxmIxVrrmGH2/iLSHpSFE+8mY0kqbTmA=
> =86fD
> -----END PGP SIGNATURE-----
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Amit,

Thanks a lot.


On Feb 9, 2012, at 15:57 , Kumar, Amit H. wrote:

> Hi Dmitri,
> 
> You general idea is correct to my best understanding.
> 
> "Install Path" in the Edit management Node will be the path for xCAT(bare metal) image repository. In addition when you configure the "Site" table in xCAT you will set the "installdir" to point to the location where you will store your images. 
> 
> We have IBM E Blade Chassis with HS22 blade servers.
> 
> Best,
> Amit
> 
>> -----Original Message-----
>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> Sent: Thursday, February 09, 2012 3:44 PM
>> To: vcl-user@incubator.apache.org
>> Subject: Re: VCL and xCat
>> 
>> 
>> Amit,
>> 
>> I'm trying to get general idea about xCat/VCL : so, basically xCat
>> needs to be installed and configured on VCL Mgm node(s) before it can
>> be used with VCL, and I should be able to successfully provision xCat
>> nodes/clients with different images. Once xCat is working then I can
>> add bare-metal computers - blade with xCat 2.x engine. Does it sound
>> right?
>> 
>> How do you tell VCL where to get image files for xCat nodes - is it
>> 'Install Path' setting under Management Nodes -> Edit management node
>> information?
>> 
>> What kind of hardware do you have for xCat nodes? Are those IBM blade
>> servers or/and PCs?
>> 
>> 
>> Thanks.
>> 
>> 
>> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
>> 
>>> Hi,
>>> 
>>> We do not need an additional/dedicated server to do both xCAT and VCL
>> together, your management node can serve as your xCAT server.
>>> 
>>> I would recommend getting xCAT to work by itself before using VCL to
>> manage your images and guest OS.
>>> 
>>> This has worked well for us so far.
>>> 
>>> :Amit
>>> 
>>> 
>>>> -----Original Message-----
>>>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>>>> Sent: Thursday, February 09, 2012 3:03 PM
>>>> To: vcl-user@incubator.apache.org
>>>> Subject: VCL and xCat
>>>> 
>>>> Hi All
>>>> 
>>>> Anyone is using xCat with VCL?
>>>> 
>>>> I have generic question about xCat and VCL - where do I start?
>>>> Do I need working xCat environment before I can add it to VCL?
>>>> Does xCat need dedicated server? Or does it run on the VCL
>> management
>>>> node?
>>>> Are there any special hardware requirements for xCat "clients"?
>>>> 
>>>> 
>>>> Thank you.
>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
>> 
>> 
>> Thank you.
>> 
>> -----------------
>> Dmitri Chebotarov
>> dchebota@gmu.edu
>> 703-993-6175
>> -----------------
>> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



RE: VCL and xCat

Posted by "Kumar, Amit H." <AH...@odu.edu>.
Hi Dmitri,

You general idea is correct to my best understanding.

"Install Path" in the Edit management Node will be the path for xCAT(bare metal) image repository. In addition when you configure the "Site" table in xCAT you will set the "installdir" to point to the location where you will store your images. 

We have IBM E Blade Chassis with HS22 blade servers.

Best,
Amit

> -----Original Message-----
> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> Sent: Thursday, February 09, 2012 3:44 PM
> To: vcl-user@incubator.apache.org
> Subject: Re: VCL and xCat
> 
> 
> Amit,
> 
> I'm trying to get general idea about xCat/VCL : so, basically xCat
> needs to be installed and configured on VCL Mgm node(s) before it can
> be used with VCL, and I should be able to successfully provision xCat
> nodes/clients with different images. Once xCat is working then I can
> add bare-metal computers - blade with xCat 2.x engine. Does it sound
> right?
> 
> How do you tell VCL where to get image files for xCat nodes - is it
> 'Install Path' setting under Management Nodes -> Edit management node
> information?
> 
> What kind of hardware do you have for xCat nodes? Are those IBM blade
> servers or/and PCs?
> 
> 
> Thanks.
> 
> 
> On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:
> 
> > Hi,
> >
> > We do not need an additional/dedicated server to do both xCAT and VCL
> together, your management node can serve as your xCAT server.
> >
> > I would recommend getting xCAT to work by itself before using VCL to
> manage your images and guest OS.
> >
> > This has worked well for us so far.
> >
> > :Amit
> >
> >
> >> -----Original Message-----
> >> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> >> Sent: Thursday, February 09, 2012 3:03 PM
> >> To: vcl-user@incubator.apache.org
> >> Subject: VCL and xCat
> >>
> >> Hi All
> >>
> >> Anyone is using xCat with VCL?
> >>
> >> I have generic question about xCat and VCL - where do I start?
> >> Do I need working xCat environment before I can add it to VCL?
> >> Does xCat need dedicated server? Or does it run on the VCL
> management
> >> node?
> >> Are there any special hardware requirements for xCat "clients"?
> >>
> >>
> >> Thank you.
> >>
> >>
> >>
> >
> 
> 
> 
> 
> Thank you.
> 
> -----------------
> Dmitri Chebotarov
> dchebota@gmu.edu
> 703-993-6175
> -----------------
> 


Re: VCL and xCat

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Amit,

I'm trying to get general idea about xCat/VCL : so, basically xCat needs to be installed and configured on VCL Mgm node(s) before it can be used with VCL, and I should be able to successfully provision xCat nodes/clients with different images. Once xCat is working then I can add bare-metal computers - blade with xCat 2.x engine. Does it sound right?

How do you tell VCL where to get image files for xCat nodes - is it 'Install Path' setting under Management Nodes -> Edit management node information?  

What kind of hardware do you have for xCat nodes? Are those IBM blade servers or/and PCs?


Thanks.


On Feb 9, 2012, at 15:16 , Kumar, Amit H. wrote:

> Hi,
> 
> We do not need an additional/dedicated server to do both xCAT and VCL together, your management node can serve as your xCAT server.
> 
> I would recommend getting xCAT to work by itself before using VCL to manage your images and guest OS.
> 
> This has worked well for us so far. 
> 
> :Amit
> 
> 
>> -----Original Message-----
>> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
>> Sent: Thursday, February 09, 2012 3:03 PM
>> To: vcl-user@incubator.apache.org
>> Subject: VCL and xCat
>> 
>> Hi All
>> 
>> Anyone is using xCat with VCL?
>> 
>> I have generic question about xCat and VCL - where do I start?
>> Do I need working xCat environment before I can add it to VCL?
>> Does xCat need dedicated server? Or does it run on the VCL management
>> node?
>> Are there any special hardware requirements for xCat "clients"?
>> 
>> 
>> Thank you.
>> 
>> 
>> 
> 




Thank you.

-----------------
Dmitri Chebotarov
dchebota@gmu.edu
703-993-6175
-----------------



RE: VCL and xCat

Posted by "Kumar, Amit H." <AH...@odu.edu>.
Hi,

We do not need an additional/dedicated server to do both xCAT and VCL together, your management node can serve as your xCAT server.
 
I would recommend getting xCAT to work by itself before using VCL to manage your images and guest OS.

This has worked well for us so far. 

:Amit


> -----Original Message-----
> From: dchebota@gmu.edu [mailto:dchebota@gmu.edu]
> Sent: Thursday, February 09, 2012 3:03 PM
> To: vcl-user@incubator.apache.org
> Subject: VCL and xCat
> 
> Hi All
> 
> Anyone is using xCat with VCL?
> 
> I have generic question about xCat and VCL - where do I start?
> Do I need working xCat environment before I can add it to VCL?
> Does xCat need dedicated server? Or does it run on the VCL management
> node?
> Are there any special hardware requirements for xCat "clients"?
> 
> 
> Thank you.
> 
> 
>