I expect xcatd restarted cleanly for some reason. Did you run yum update '*xCAT*' finally instead of yum update xcat. That would have done it also.
Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Josh Nielsen <[email protected]> To: xCAT Users Mailing list <[email protected]>, Date: 01/14/2014 03:37 PM Subject: Re: [xcat-user] Update schema after upgrade prematurely terminated Suddenly the lsxcatd command is returning 2.8.3 to me now. I'm not sure why it would take time to update, but it looks fine now: [root@x3650-head01 init.d]# lsxcatd -a Version 2.8.3 (built Tue Nov 12 23:16:15 EST 2013) This is a Management Node cfgloc=mysql:dbname=xcatdb;host=10.X.X.X|xxxxxx dbengine=mysql dbname=xcatdb dbhost=10.X.X.X dbadmin=xxxxxx And here is my rpm query: [root@x3650-head01 init.d]# rpm -qa | grep xCAT xCAT-nbroot-oss-ppc64-2.0-snap200801291320 xCAT-nbkernel-x86-2.6.18_128-8 xCAT-genesis-scripts-x86_64-2.8.3-snap201311122318 perl-xCAT-2.8.3-snap201311122316 xCAT-server-2.8.3-snap201311122316 xCAT-nbroot-core-x86-2.3.1-snap200911062009 xCAT-2.8.3-snap201311122318 xCAT-nbroot-oss-x86_64-2.0-snap200801291344 xCAT-nbroot-core-x86_64-2.3.1-snap200911062009 xCAT-nbkernel-x86_64-2.6.18_128-8 xCAT-genesis-base-x86_64-2.8-snap201308090229 xCAT-nbroot-oss-x86-2.0-snap200804021050 xCAT-nbroot-core-ppc64-2.3.1-snap200911062009 xCAT-nbkernel-ppc64-2.6.18_92-4 xCAT-buildkit-2.8.3-snap201311122318 xCAT-client-2.8.3-snap201311122316 Except for the ppc64 packages (which I don't really need anyway since we use x86_64) everything is up to the current version. The xCAT nbroot-core and nbkernel RPMs aren't up to 2.8.X but it seems that they are still at the most current version available (I have my yum repos pointing to the latest tarballs of the core and dep packages). Thanks for all the help & suggestions. I'm just going to try using it now. This was all prep so that I can deploy some service nodes (as mentioned in my other emails to the mailing list). Thanks, Josh On Tue, Jan 14, 2014 at 1:55 PM, Lissa Valletta <[email protected]> wrote: Two possibilities the daemon did not restart correctly and that has been common when upgrading from < 2.7.6 to higher levels. service xcatd stop ps -ef | grep xcatd kill -9 any hung xcatd processes service xcatd start The other thing is make sure your rpms are all at the 2.8.3 level. rpm -qa | grep xCAT Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 Inactive hide details for Josh Nielsen ---01/14/2014 01:05:08 PM---I seem to be getting myself in all kinds of trouble with xCAJosh Nielsen ---01/14/2014 01:05:08 PM---I seem to be getting myself in all kinds of trouble with xCAT lately. I was upgrading from xCAT 2.7. From: Josh Nielsen <[email protected]> To: xCAT Users Mailing list <[email protected]>, Date: 01/14/2014 01:05 PM Subject: [xcat-user] Update schema after upgrade prematurely terminated I seem to be getting myself in all kinds of trouble with xCAT lately. I was upgrading from xCAT 2.7.3 to 2.8.3, I grabbed the latest core and dep tarballs, and made local yum repos, and installed all the newer packages from them. Then to check if the daemon had been upgraded I did an 'lsxcatd -v' and it still said 2.7.3. So I decided to run the xcat daemon manually from the command line with the verbose flag but wasn't expecting to see the schema updates (honestly all I saw were SQL commands scrolling in the screen - I didn't know they were for the schema at the time) and I panicked and hit CRTL+C. This halted the daemon & updates but the next time I tried to run it I got an error although the daemon ran in the background. This is from my terminal: root@x3650-head01 yum.repos.d]# /opt/xcat/sbin/xcatd -v updateschema: Running ALTER TABLE mpa ADD `displayname` TEXT updateschema: Running ALTER TABLE mpa ADD `slots` TEXT updateschema: Running ALTER TABLE mpa ADD `urlpath` TEXT updateschema: Running ALTER TABLE servicenode ADD `dhcpinterfaces` TEXT updateschema: Running ALTER TABLE switches ADD `protocol` TEXT updateschema: Running ALTER TABLE hypervisor ADD `interface` TEXT updateschema: Running ALTER TABLE vmmaster ADD `specializeparameters` TEXT updateschema: Running ALTER TABLE linuximage ADD `boottarget` TEXT updateschema: Running ALTER TABLE linuximage ADD `addkcmdline` TEXT updateschema: Running ALTER TABLE linuximage ADD `partitionfile` TEXT updateschema: Running ALTER TABLE linuximage ADD `driverupdatesrc` TEXT updateschema: Running ALTER TABLE nodelist ADD `updatestatus` TEXT updateschema: Running ALTER TABLE nodelist ADD `updatestatustime` TEXT updateschema: Running ALTER TABLE networks ADD `staticrange` TEXT updateschema: Running ALTER TABLE networks ADD `staticrangeincrement` TEXT updateschema: Running ALTER TABLE vm ADD `mgr` TEXT updateschema: Running ALTER TABLE vm ADD `storagecache` TEXT updateschema: Running ALTER TABLE vm ADD `storageformat` TEXT updateschema: Running ALTER TABLE vm ADD `cluster` TEXT updateschema: Running ALTER TABLE vm ADD `physlots` TEXT updateschema: Running ALTER TABLE litetree ADD `mntopts` TEXT updateschema: Running ALTER TABLE domain ADD `authdomain` TEXT updateschema: Running ALTER TABLE domain ADD `adminuser` TEXT updateschema: Running ALTER TABLE domain ADD `adminpassword` TEXT updateschema: Running ALTER TABLE domain ADD `type` TEXT updateschema: Running ALTER TABLE nodegroup ADD `membergroups` TEXT updateschema: Running ALTER TABLE noderes ADD `nameservers` TEXT updateschema: Running ALTER TABLE osimage ADD `groups` TEXT updateschema: Running ALTER TABLE osimage ADD `description` TEXT updateschema: Running ALTER TABLE osimage ADD `osdistroname` TEXT updateschema: Running ALTER TABLE osimage ADD `osupdatename` VARCHAR (1024) updateschema: Running ALTER TABLE osimage ADD `cfmdir` TEXT updateschema: Running ALTER TABLE osimage ADD `serverrole` TEXT updateschema: Running ALTER TABLE osimage ADD `isdeletable` TEXT updateschema: Running ALTER TABLE osimage ADD `kitcomponents` TEXT updateschema: Running ALTER TABLE passwd ADD `authdomain` TEXT updateschema: Running ALTER TABLE nodepos ADD `height` TEXT updateschema: Running ALTER TABLE nodehm ADD `cmdmapping` TEXT [root@x3650-head01 yum.repos.d]# /opt/xcat/sbin/xcatd -v Unrecognized escape \h passed through at /opt/xcat/lib/perl/xCAT/zvmUtils.pm line 2408. Despite this I can still use 'service xcatd restart' and start the daemon, and I can run psh commands and tabdump etcetera, but now I'm unsure whether the xCAT MySQL database is in an inconsistent state and has not received all the schema updates it was supposed to. I was hoping that by running xcatd -v again I would see it try again but I haven't. And even after all that I still see 2.7.3 when I type 'lsxcatd'. Maybe I need to restart the node. Any clue if there is a way to rerun the schema changes? Thanks, Josh Nielsen ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
