xCAT should be installed on the management node. It doesn't need to be installed on other machines. There are a few different xCAT installation instruction pages on their site. You may want to start with this simpler one: http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Basic_Install_DHCP
-Andy On Wed, Mar 7, 2012 at 3:16 PM, Evelio Quiros <evq...@fiu.edu> wrote: > Hello, > > After working a while with VmWare images, we have started experimenting with > Xcat bare metal images. To accommodate the added level of complexity with > Xcat, I created a separate development environment with VCL and some dell > 6100 high density nodes. I have installed RHEL 6.1 with Xcat on all the > nodes. Following the instructions on the doc page, I installed partimage to > the xcat installation. I think its correct, except that these are not IBM > blades, so I am unsure how to build a stateless image on this hardware. Just > attempting to capture the image "as-is" failed, and the error messages are > below. Is there any more documentation on this process, and how to make Xcat > work with VCL? Being new to Xcat, I guess that I am missing some background > material on what is supposed to happen here. For example, the error log > states that /opt/xcat does not exist, but it does exist on the node I was > attempting to capture. Does Xcat need to be on the management node too ? > > The information I am using is located at: > > http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Setting_Up_a_Linux_xCAT_Mgmt_Node > > And > > https://cwiki.apache.org/VCL/adding-support-for-partimage-and-partimage-ng-to-xcat-2x-unofficial.html > > Any other information available ? > > Thanks, > Al Quiros > Florida International University > > ********************************************** > > Error message from my attempt at capturing the image below: > > VCL::image object could not be created and initialized > ------------------------------------------------------------------------ > time: 2012-03-07 14:49:31 > caller: vcld:make_new_child(571) > ( 0) vcld, make_new_child (line: 571) > (-1) vcld, main (line: 346) > ------------------------------------------------------------------------ > management node: vcldev01.p.fiu.edu > reservation PID: 12372 > parent vcld PID: 2044 > > request ID: 1 > reservation ID: 1 > request state/laststate: image/image > request start time: 2012-03-07 14:49:30 > request end time: 2012-03-07 15:49:30 > for imaging: no > log ID: none > > computer: 6100a > computer id: 1 > computer type: blade > computer eth0 MAC address: <undefined> > computer eth1 MAC address: <undefined> > computer private IP address: 10.0.0.25 > computer public IP address: 10.106.128.14 > computer in block allocation: no > provisioning module: VCL::Module::Provisioning::xCAT2 > > image: rh5image-rh6xcat5-v0 > image display name: rh6xcat > image ID: 5 > image revision ID: 5 > image size: 1450 MB > use Sysprep: yes > root access: yes > image owner ID: 1 > image owner affiliation: Local > image revision date created: 2012-03-07 14:49:29 > image revision production: yes > OS module: VCL::Module::OS::Linux > > user: admin > user name: vcl admin > user ID: 1 > user affiliation: Local > ------------------------------------------------------------------------ > RECENT LOG ENTRIES FOR THIS PROCESS: > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'id' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'PID' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'DURATION' key > for VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'PPID' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'datemodified' > key for VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set > 'RESERVATIONCOUNT' key for VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'end' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'stateid' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'PARENTIMAGE' key > for VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'checkuser' key > for VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'preload' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'NOTICEINTERVAL' > key for VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'start' key for > VCL::image object from arguments > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(172)|set 'logid' key for > VCL::image object from arguments > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_mn_os_object(361)|VCL::Module::OS::Linux::ManagementNode > module loaded > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:new(196)|VCL::Module::OS::Linux::ManagementNode > object created for image <not set>, address: 2417400 > 2012-03-07 14:49:31|12372|1:1|image|DataStructure.pm:_automethod(834)|data > structure updated: $self->request_data->{reservation}{0}{computer}{hostname} > |12372|1:1|image| computer_hostname = vcldev01.p.fiu.edu > 2012-03-07 14:49:31|12372|1:1|image|DataStructure.pm:_automethod(834)|data > structure updated: $self->request_data->{reservation}{0}{computer}{NODENAME} > |12372|1:1|image| computer_node_name = vcldev01 > 2012-03-07 14:49:31|12372|1:1|image|DataStructure.pm:_automethod(834)|data > structure updated: > $self->request_data->{reservation}{0}{computer}{SHORTNAME} > |12372|1:1|image| computer_short_name = vcldev01 > 2012-03-07 14:49:31|12372|1:1|image|DataStructure.pm:_automethod(834)|data > structure updated: > $self->request_data->{reservation}{0}{computer}{IPaddress} > |12372|1:1|image| computer_ip_address = 10.106.128.12 > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_mn_os_object(366)|VCL::Module::OS::Linux::ManagementNode > OS object created, address: 2417400 > 2012-03-07 14:49:31|12372|1:1|image|Module.pm:new(192)|VCL::image object > created for state image, address: 223a460 > 2012-03-07 14:49:31|12372|1:1|image|State.pm:initialize(86)|obtained a > database handle for this state process, stored as $ENV{dbh} > 2012-03-07 14:49:31|12372|1:1|image|State.pm:check_image_os(762)|no > corrections need to be made to image OS: rh5image > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:is_parent_reservation(991)|returning > true: parent reservation ID for this request: 1 > 2012-03-07 > 14:49:31|12372|1:1|image|utils.pm:rename_vcld_process(7098)|reservation > count: 1 > 2012-03-07 > 14:49:31|12372|1:1|image|utils.pm:rename_vcld_process(7117)|PARENTIMAGE: 1 > 2012-03-07 > 14:49:31|12372|1:1|image|utils.pm:rename_vcld_process(7118)|SUBIMAGE: 0 > 2012-03-07 > 14:49:31|12372|1:1|image|utils.pm:rename_vcld_process(7136)|renamed process > to 'vcld 1:1 image 6100a rh5image-rh6xcat5-v0 admin' > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:is_parent_reservation(991)|returning > true: parent reservation ID for this request: 1 > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:is_parent_reservation(991)|returning > true: parent reservation ID for this request: 1 > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_os_object(298)|VCL::Module::OS::Linux > module loaded > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_mn_os_object(335)|management node > OS object has already been created, address: 2417400, returning 1 > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:new(196)|VCL::Module::OS::Linux object > created for image rh5image-rh6xcat5-v0, address: 241a3b0 > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_os_object(304)|VCL::Module::OS::Linux > OS object created for rh5image-rh6xcat5-v0, address: 241a3b0 > 2012-03-07 14:49:31|12372|1:1|image|xCAT.pm:initialize(110)|XCATROOT > environment variable is not set, using /opt/xcat > |12372|1:1|image| ---- WARNING ---- > |12372|1:1|image| 2012-03-07 > 14:49:31|12372|1:1|image|xCAT.pm:initialize(119)|unable to initialize xCAT > module, /opt/xcat directory does not exist > |12372|1:1|image| ( 0) xCAT.pm, initialize (line: 119) > |12372|1:1|image| (-1) xCAT.pm, (eval) (line: 3239) > |12372|1:1|image| (-2) (eval 156), (eval) (line: 3) > |12372|1:1|image| (-3) base.pm, import (line: 91) > |12372|1:1|image| (-4) xCAT2.pm, BEGIN (line: 47) > |12372|1:1|image| (-5) xCAT.pm, (eval) (line: 0) > 2012-03-07 14:49:31|12372|1:1|image|xCAT2.pm:initialize(110)|XCATROOT > environment variable is not set, using /opt/xcat > |12372|1:1|image| ---- WARNING ---- > |12372|1:1|image| 2012-03-07 > 14:49:31|12372|1:1|image|xCAT2.pm:initialize(119)|unable to initialize xCAT > module, /opt/xcat directory does not exist > |12372|1:1|image| ( 0) xCAT2.pm, initialize (line: 119) > |12372|1:1|image| (-1) xCAT2.pm, (eval) (line: 2178) > |12372|1:1|image| (-2) (eval 155), BEGIN (line: 2) > |12372|1:1|image| (-3) xCAT2.pm, (eval) (line: 0) > |12372|1:1|image| (-4) xCAT2.pm, (eval) (line: 0) > |12372|1:1|image| (-5) Module.pm, create_provisioning_object (line: 415) > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_provisioning_object(420)|VCL::Module::Provisioning::xCAT2 > module loaded > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_mn_os_object(335)|management node > OS object has already been created, address: 2417400, returning 1 > 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:new(200)|VCL::Module::Provisioning::xCAT2 > object created for computer 6100a, address: 241a548 > 2012-03-07 14:49:31|12372|1:1|image|xCAT2.pm:initialize(110)|XCATROOT > environment variable is not set, using /opt/xcat > |12372|1:1|image| ---- WARNING ---- > |12372|1:1|image| 2012-03-07 > 14:49:31|12372|1:1|image|xCAT2.pm:initialize(119)|unable to initialize xCAT > module, /opt/xcat directory does not exist > |12372|1:1|image| ( 0) xCAT2.pm, initialize (line: 119) > |12372|1:1|image| (-1) Module.pm, new (line: 207) > |12372|1:1|image| (-2) Module.pm, create_provisioning_object (line: 423) > |12372|1:1|image| (-3) State.pm, initialize (line: 117) > |12372|1:1|image| (-4) Module.pm, new (line: 207) > |12372|1:1|image| (-5) vcld, make_new_child (line: 564) > |12372|1:1|image| ---- WARNING ---- > |12372|1:1|image| 2012-03-07 > 14:49:31|12372|1:1|image|Module.pm:create_provisioning_object(431)|provisioning > object could not be created, returning 0 > |12372|1:1|image| ( 0) Module.pm, create_provisioning_object (line: 431) > |12372|1:1|image| (-1) State.pm, initialize (line: 117) > |12372|1:1|image| (-2) Module.pm, new (line: 207) > |12372|1:1|image| (-3) vcld, make_new_child (line: 564) > |12372|1:1|image| (-4) vcld, main (line: 346) > |12372|1:1|image| ---- WARNING ---- > |12372|1:1|image| 2012-03-07 > 14:49:31|12372|1:1|image|State.pm:initialize(118)|failed to create > provisioning object > |12372|1:1|image| ( 0) State.pm, initialize (line: 118) > |12372|1:1|image| (-1) Module.pm, new (line: 207) > |12372|1:1|image| (-2) vcld, make_new_child (line: 564) > |12372|1:1|image| (-3) vcld, main (line: 346) > 2012-03-07 14:49:31|12372|1:1|image|State.pm:DESTROY(829)|VCL::image > destructor called, address: 223a460 > 2012-03-07 > 14:49:31|12372|1:1|image|utils.pm:delete_computerloadlog_reservation(6742)|removing > computerloadlog entries matching loadstate = begin > 2012-03-07 > 14:49:31|12372|1:1|image|utils.pm:delete_computerloadlog_reservation(6789)|deleted > rows from computerloadlog for reservation id=1 > 2012-03-07 14:49:31|12372|1:1|image|State.pm:DESTROY(848)|number of database > handles state process created: 1 > 2012-03-07 14:49:31|12372|1:1|image|State.pm:DESTROY(876)|VCL::image process > duration: 0 seconds > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:get_computer_private_ip_address(1581)|attempting > to retrieve private IP address for computer: 6100a > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:get_computer_private_ip_address(1585)|retrieved > contents of /etc/hosts on this management node, contains 9 lines > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:get_computer_private_ip_address(1645)|returning > IP address from /etc/hosts file: 10.0.0.25 > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:getnewdbh(2703)|unable to use > database handle stored in $ENV{dbh} > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:getnewdbh(2760)|database handle > stored in $ENV{dbh} > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:is_inblockrequest(6163)|zero > rows were returned from database select > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:get_image_affiliation_name(2035)|image > owner id: 1 > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:getnewdbh(2709)|database > requested (information_schema) does not match handle stored in $ENV{dbh} > (vcl:localhost) > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:getnewdbh(2760)|database handle > stored in $ENV{dbh} > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:retrieve_user_data(1352)|attempting > to retrieve and store data for user: user.id = '1' > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:getnewdbh(2709)|database > requested (vcl) does not match handle stored in $ENV{dbh} > (information_schema:localhost) > 2012-03-07 14:49:31|12372|1:1|image|utils.pm:getnewdbh(2760)|database handle > stored in $ENV{dbh} > 2012-03-07 > 14:49:31|12372|1:1|image|DataStructure.pm:retrieve_user_data(1415)|data has > been retrieved for user: admin (id: 1) >