Commit Graph

114 Commits

Author SHA1 Message Date
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
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