Commit Graph

104 Commits

Author SHA1 Message Date
jbjohnso
c6edb78635 -xCATd portion of solution to sourceforge bug 1822784, plugin instances now receive SIGINT and things shut down. Plugins with children still have to manage exit intelligently, but the same is true for standalone programs to begin with, so shouldn't be harder on developer than that
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 15:27:11 +00:00
jbjohnso
ebf6b955be -Fix problem where SIGPIPE wasn't exiting, fixes ghost plugin instances on client connection loss
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-18 19:15:26 +00:00
jbjohnso
6a6be9a70b -If an SSL handshake takes 10 seconds, abort the connection from the server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1122 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-18 18:52:45 +00:00
jbjohnso
d6400134ea Force exit of processes on SIGTERM with 5 second clean-shutdown grace period
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-18 16:12:52 +00:00
nott
5728f694d7 Set PREFERRED_PARSER for Linux only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-16 17:03:37 +00:00
lissav
51b33b53ba add debug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 19:17:12 +00:00
lissav
fc923f29dc touch xCATSN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 19:02:56 +00:00
lissav
f8e0d8baea add touch of xCATSN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 18:33:55 +00:00
jbjohnso
ba99420a4f -Don't add to IO::Select object until the socket is confirmed to have been created normally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 18:26:59 +00:00
lissav
6d0a889c80 fix copy??
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 16:26:46 +00:00
lissav
95d9795551 fix copy of xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 16:10:20 +00:00
lissav
461d249018 add copy of cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 15:12:03 +00:00
nott
5084e12763 Add default settings to the postscripts table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 12:53:58 +00:00
jbjohnso
125101d535 -Restrict discovery to require binding to a privileged port on the node end
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-11 18:12:10 +00:00
linggao
fb37227ab5 added support for centralized logging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-04 18:33:40 +00:00
jbjohnso
bd9ad989ff -Fix xcatd DoS/SSL negotiation global hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-31 14:21:16 +00:00
datajerk
7220eb513a cfgloc was already there. sysconfig/xcat is depreicated, removed. Update docs please.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-28 22:06:51 +00:00
datajerk
a96d0fe86c tmpfs for /tmp and /var/tmp not required for service nodes,
only compute nodes to prevent users from hosing nodes.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-28 21:54:31 +00:00
datajerk
83f2e914f9 changed sysconfig to cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-28 21:49:21 +00:00
jbjohnso
55524bb351 Allow client to conduct anonymous operations, flesh out argument checking in validate, better clarity on connection failures in xCAT client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-28 15:55:41 +00:00
jbjohnso
b528d8144c -Actually have logging work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 21:37:15 +00:00
jbjohnso
d4aff32345 Fix xCATd logging to work appropriately
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 20:58:10 +00:00
jbjohnso
92fb8a305b -dhcp plugin returns a more specific error message when ambiguous dynamic range ownership detected
-xCATd now logs startup, explicitly blocks the 'cons' syslog backend, and exits out if syslog unable to provide a suitable logging situation (cons forked if things were that bad and broke DB handles, syslogd needs to run anyway)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 20:44:36 +00:00
jbjohnso
250e37795c -Have Client startup faster by not doing use on xCAT::* unless XCATBYPASS
-Change some output forwarding loops to exit tenths of a second sooner than before (no further child output in a detectible fashion can be detected by filehandles in the fdset much sooner than child process exit completion)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 16:14:59 +00:00
jbjohnso
754185352b Fix for 'missing ParserDetails.ini' error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 14:16:00 +00:00
jbjohnso
ae2bece3ec -Have discovery refuse to give the same IP address to multiple nics by default
-Have nbroot explicitly try to send packets out of each up interface
-Prevent empty /etc/motd warnings
-Fix issue where discovery failed with classic MM
-Change check for network sameness to a live check instead of table check in nodediscover
-Have nbroot quiet by default to alleviate conserver log usage
-Have dhcp plugin mac deletion be a bit more aggressive, delete matching mac addresses
-Have discovery disable DHCP offers for multiple NICs on the same network if nothing resembling a proper guess can be made


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:00:07 +00:00
linggao
64a797479a monitoring code cleanup and logging error to syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 15:54:51 +00:00
lissav
566a891442 add fstab setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 16:17:04 +00:00
lissav
e927c17498 remove update xcatsn.sh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 13:51:49 +00:00
lissav
d1c2b9bf6a Rename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 12:10:37 +00:00
lissav
6f62ff3027 Add mkdir /root/.xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 12:04:36 +00:00
lissav
2c176de2a6 Renamed routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-18 12:57:06 +00:00
lissav
4c7ff17613 rename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-18 12:54:11 +00:00
lissav
b767f42235 No longer needed, the install process creates the db entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-18 12:50:40 +00:00
lissav
ae91a2385c new routine to update SN image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-15 13:43:10 +00:00
linggao
8657e2740a use getNodeAttribs instead of getAttribs to make sure the snmp trap handler work with the db rows that have regular expression.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-14 14:39:26 +00:00
lissav
4896783e1b fix get of TIME
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-14 13:03:36 +00:00
linggao
c59eed7325 made changes to startmon and stopmon commands to support hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-13 02:13:29 +00:00
lissav
b955e729e9 Make permission 0600
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-12 15:40:42 +00:00
lissav
0cd7e3c09d Add more setup including the creation of the /etc/xcat/cfgloc file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-12 15:35:40 +00:00
lissav
549078cdd5 This routine will initiate the site table and policy table for a
new database like postgresql.    Replaces the manual setup now in 
the  Cookbook  ( all the chtabs).   Can expand in the future do
do the entire db setup. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-12 13:34:51 +00:00
linggao
b76f9e56bc more on ipmi support for snmp monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-12 02:57:01 +00:00
lissav
a2646ccad8 Remove start of postgresql on service node. Not needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 16:23:13 +00:00
jbjohnso
5cf09a4701 -Place yield in a few more places where there is more important work to be done at the time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 13:10:58 +00:00
jbjohnso
ac0b54f66b Make the INET6 support check more direct and to the point
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 18:05:26 +00:00
jbjohnso
129af8ee3e -Use yield in child process data collection loops to avoid cycling needlessly, what was happing implicitly with sleep, the part that mattered
-Copy hardeths redundantly, still need to pick one definitive place and go with that


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 15:36:44 +00:00
linggao
e9d4ef60ff bug fix for monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 21:01:14 +00:00
nott
77cfc892c1 Add rsh & rcp to site table for AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 19:52:29 +00:00
linggao
f121301e82 added event filter and action customization for SNMP traps handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 13:24:23 +00:00
jbjohnso
ff222e3ffd -Adjust timings to be not noticably slower, but slow enough to allow the management node to work with a larger scale of clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 04:13:21 +00:00