Commit Graph

152 Commits

Author SHA1 Message Date
jbjohnso
7c64bb6b05 Have xCAT more aggressively drain the listen queue on the main listening socket.
This change manages to have xCAT successfully field a large amount of incoming connections with a relatively small listen queue.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 15:14:07 +00:00
jbjohnso
85a3468e0f Have xCATd more robustly give client 5 seconds to receive message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 18:41:47 +00:00
daniceexi
8797bd6954 fix the issue for xcatdebug:1. aix cannot recognize the signal NUM50,NUM51. 2. the xcatdeug -f does not work after the change that loading plugin when really running of command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 11:54:28 +00:00
jbjohnso
9538a08566 Have install monitor fall back to IPv4 resolution specific if the v6/v4 agnostic call fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 19:22:48 +00:00
jbjohnso
8d65490894 Have xCATd more clearly report when registering a plugin fails, also be resiliant to the situation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 16:21:27 +00:00
jbjohnso
ec0d7025aa Add the ability for site to tune the number of allowed SSL clients if needed.
also fix warning on new init strategy while I'm at it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-19 03:16:51 +00:00
jbjohnso
b460198863 Reduce memory usage of xCAT by about 66%
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-18 19:34:57 +00:00
jbjohnso
f2fad48d34 Fix log messag on discover packet receipt
Also fix bmcsetup output to remove useless call

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-06 22:28:07 +00:00
jbjohnso
0bfa217540 Fixtypo in the preprocess_requst case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 17:51:51 +00:00
jbjohnso
416021e681 Put more useful messages in logging around discovery indicating failed discovery attempts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 17:37:47 +00:00
jbjohnso
f813d2e20f Take a stab at having xcatd itself filter out potentially circular preprocess_request invocations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-03 18:21:28 +00:00
jbjohnso
017a1526ed Add a feature for xCATd to delay subrequests as dictated by plugin preprocess_request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-31 14:19:53 +00:00
daniceexi
9931cd58a5 code drop for the trace facility of xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-04 13:04:58 +00:00
jbjohnso
56becc5546 Correct missing close brace
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 15:10:21 +00:00
sjing
496c97c6c5 Hitachi PMR fix - swapnfs is not available when paging resource is chaged.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-26 03:43:35 +00:00
jbjohnso
a91c441719 Tighten up pid file management for coordinated xCATD shutdown/startup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-25 17:07:23 +00:00
jjhua
5381851d96 fixed 3393278, if noderange is not empty and missed not is empty, at the meantime, the @nodes is also empty, we can make sure that no node/noderange specified in the command line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-18 02:48:34 +00:00
mellor
78b442171e clear out any garbage left in ARGV before calling plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 18:19:07 +00:00
jbjohnso
ec291f8fc9 Fix problem where an xcatd instance consumes lots of processor time while shutting down
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 13:59:30 +00:00
jbjohnso
43a08cb0e9 Correct xcatd behavior when serializing data to client incurred by XML formatting work change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 18:22:28 +00:00
jbjohnso
52f149e76f -Move XML formatting from plugin worker process to parent, allowing worker to get back to working faster while parent concurrently does XML stuff
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-15 18:36:22 +00:00
jbjohnso
3d6e5c65ef Defer message logging until after plugins have started doing work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-15 15:09:39 +00:00
jbjohnso
602e91700b Shave a few more milliseconds off profiling by using seemingly faster non-OO style autoflush syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-08 18:46:01 +00:00
jbjohnso
52e1831585 Eliminate two calls to site table and provide ability to skip syslogging for non-auditlog calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-08 17:56:23 +00:00
jbjohnso
a73acc645d Note why xcatd spews errors sometimes for me
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-26 18:29:08 +00:00
lissav
cb28c19cc7 comment out user Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 16:11:27 +00:00
mellor
1ea136fffb xcatd - export EXTSHM and DB2INSTANCE for db2 use, LL calls, CNM calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 15:06:13 +00:00
jbjohnso
bcf565c6e7 -Fix crash when a plugin provides callback data with something other than a list reference when called from another plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-08 16:58:40 +00:00
mellor
ab7dbd2ff8 defect 3168885 - improve error msgs for xcatd connection failures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 19:52:54 +00:00
daniceexi
343ce58a7e defect 3111381: added the missing ;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 09:30:09 +00:00
sjing
a3de90b7df support xcatmon push model for HPC software.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-24 07:07:23 +00:00
lissav
8f8173b0a8 add more infor on denial of request in syslog for defect 3097568
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-31 12:44:06 +00:00
jbjohnso
e11c52a9d4 -Actually fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-22 13:28:22 +00:00
jbjohnso
aa9b852f86 -Fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 20:17:43 +00:00
jbjohnso
f5921d7852 -Populate a hash of site table attributes for easy lookup in various places
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-20 18:37:09 +00:00
daniceexi
5c92a9fb45 defect 3085064: fixed the problem that strip off hostname from CN when not set site.domain
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-11 05:59:45 +00:00
lissav
86830fab88 increase loop checkin can access site table from 20 to 200 starting up. DB2 is real slow after reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-04 17:06:20 +00:00
lissav
df6bfd2bcc fix error when new table added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-15 12:42:45 +00:00
mellor
9b6954d30d Rolling Update support for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 22:29:41 +00:00
lissav
b5b4c667cd move updateschema from Table->new to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-01 14:10:18 +00:00
lissav
87a696b516 add call to runsqlcmd to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 13:53:46 +00:00
jbjohnso
478cd92c19 -Fix default variable value mixup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 18:13:20 +00:00
jbjohnso
9935eed1f0 Add missing close parenthesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:55:58 +00:00
jbjohnso
2412471724 -Allow plugins to specify multiple specifications of how to be selected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 17:46:09 +00:00
jbjohnso
e032aa9375 -Nonstop xCAT, xcatd starting replaces old xCAT instance with nearly no interruption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-08 20:49:12 +00:00
lissav
fe3bb7e344 fix for defect 3023413 xcatd putting out error message when hierarchical commands like xdsh run on service node when there are service node pools defined
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 16:22:27 +00:00
jbjohnso
afe254b5ce -Bad XML data can still come down, UTF-8 doesn't protect everything
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-24 18:29:50 +00:00
jbjohnso
aa289f030f -Fix problem where nested eval assigned $@ could break commands (a la the ip6 support)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 18:04:25 +00:00
lissav
6862b48dbd implement support for auditskipcmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5996 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 18:47:25 +00:00
jbjohnso
a770e38e48 -Change missing node message to reflect that nodes or groups may not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-26 21:41:39 +00:00