Commit Graph

126 Commits

Author SHA1 Message Date
sakolish
4e85065eb5 Added "ifconfig -a" for AIX inplace of "ip addr" for Linux. "ip" command is not available on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-14 14:57:37 +00:00
jbjohnso
fd5e1a73f7 -Awk file transfers to xcatd are retried in most places
-blade plugin will retry more to scale reliably


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 23:33:16 +00:00
linggao
ed9c761a01 cleaned up copycerts, added safeguard for conserver startup in CONSsn.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 19:08:16 +00:00
jbjohnso
bbf82cc55d -Put in missed '#THROTTLE' code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 17:38:46 +00:00
jbjohnso
bff6ff5b9e -Try throttling for mass deployments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 17:30:56 +00:00
linggao
d572735255 fixed conserver problem on service node boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 01:15:53 +00:00
jbjohnso
8d07642cf4 -Check in a throttling solution, but leave completely in comments, search for #THROTTLE for relevant code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-08 15:22:22 +00:00
lissav
8ff27083df routine to create DNS conf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 17:10:30 +00:00
nott
5a5e0c7dc1 Updates for AIX diskless support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-03 13:01:21 +00:00
jbjohnso
ebccf9c788 -Fix problem where dispatched requests weren't using the new semantics for key/cert combination
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 21:13:31 +00:00
jbjohnso
be24ac6b23 -Move to single file for certificate and key for simplicity
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 19:38:44 +00:00
jbjohnso
bc951b2525 -Fix improper lack of 'serverdone' tag
-Fix syntax error in conserver plugin

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-02 12:53:09 +00:00
jbjohnso
5540ae512b -Change .directories in postscripts dir for wget traversal
-Change remoteshell to retrieve ssh host keys via credentials plugin
-Change allowcred.awk to be persistant in execution for multiple runs
-Move stunnel setup to the post.rh scripts (post.sles to do)
-Migrate to no longer have per-node postscripts generated for redhat installs
-Change to no longer use a postscripts tar file, recursive ftp instead
-Change to setup vsftpd



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-30 20:54:57 +00:00
jbjohnso
db91ec3a80 -Fix problem where xCATd server could occasionally hang while fulfilling a command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-28 13:47:20 +00:00
jbjohnso
37c0e9303b -Have client detect prematurely ended xCAT sessions (i.e. without serverdone performed)
-Fix problem where server would prematurely end xCAT sessions.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-25 21:09:18 +00:00
jbjohnso
b5f9d956f4 -Migrate kernel, initrd, kcmdline to new bootparams table from noderes
-Migrate serialport to nodehm from noderes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-25 15:36:56 +00:00
linggao
3e60f15126 hierarchy support in conserver.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 18:08:41 +00:00
jbjohnso
5ad7de36fb -Fix perl segfaults on process exits (sourceforge bug 1949798)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 17:26:30 +00:00
jbjohnso
2ba8b9f800 -Have SLES plugin correctly handly ctrl-c
-Fixed problem in xcatd where stale children dying off are counted toward the wrong tallies with new aggressive loop exits


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 20:43:07 +00:00
jbjohnso
b58eacc9b1 Fix BUGs in client interrupt code that would crop up in syslog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 18:48:07 +00:00
jbjohnso
e0840e7367 -Have anaconda plugin abort copycds cleanly when ctrl-c pressed
-Have xcatd be a bit more thorough about killing processes on certain events


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 18:31:27 +00:00
jbjohnso
c779a9fb05 -Fix problem with server portion of ctrl-c bug
-Have blade plugin propogate ctrl-c induced abort to mpa processes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-21 15:37:39 +00:00
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