Commit Graph

38 Commits

Author SHA1 Message Date
nott
61203f6dd8 If xcatd processes are running then stop them.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 16:38:09 +00:00
nott
d3a029156a Fix syslog setup code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 14:24:55 +00:00
nott
8b2d19f070 Addeed syslog setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 13:14:29 +00:00
linggao
230bfd5f19 hierarchical management support for xcatmon which does node liveness monitoring for xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-16 04:51:42 +00:00
jbjohnso
91855f9af6 Fix problem where backticks in plugins got no useful return code in 0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-15 14:54:46 +00:00
linggao
391fd50d7d remove rmc monitoring releated files from the server package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-08 17:56:53 +00:00
jbjohnso
b271ec7039 -Change name for booting to iscsi device to iscsiboot from netboot
-Save the singular set of kernel/initrd/command line arguments when switching away from iscsi to, say, shell
-Add implicit imgserver to destiny, assume the management node if nothing else specified
-Reorder tftp boot directory hosting iscsi bootstrap, avoid race condition
-Change wcons to a perl script in preparation for more sophisticated operation/syntax
-Schema changes to iscsi table, place the vlan column after port to reflect relative importance to user


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 21:48:21 +00:00
linggao
106a7f2053 calling fping without specify absolute path in xcatnodemon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 20:08:31 +00:00
lissav
61057b0002 Set version to 2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-06 16:03:32 +00:00
jbjohnso
54fc7ea33b -Stop forking off nodeset next on installmonitor request, avoid race condition
-Prevent empty responses from triggering bug warning in the dispatch_callback
-Give servicenode attribute value weight in $master deterimination in templates and postage


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-05 15:45:58 +00:00
nott
c00ac45f26 Echo in responses to certificate setup scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 16:34:30 +00:00
jbjohnso
a9fc0b885e Have a clause for udp service to use to skip dispatch function
-correct rcons shell syntax
-Move Table objects in MacMap to exist in a lifetime amenable to SQL server reality


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 16:23:20 +00:00
lissav
de809309f4 Fix path to ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-30 18:50:19 +00:00
jbjohnso
a0a692eacb Relocate the nbroot to /opt/xcat/share/netboot
-Override init with our own in order to preserve control of PID 1 (for switch_root)
-Change nbroot shell to actually call shell and loop, rather than exit since that would be init trying to exit now
-Increase destiny retrieval interval a bit to be less harsh, don't background as this must continue to be PID 1


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 21:22:34 +00:00
jbjohnso
254432e82d -Add -f flag to xcatd to keep in foreground
-Fix xcatd subprocesses to not overwrite their own parent fd when spawning more subprocesses
-Add hierarchy function to fedora plugin


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-27 17:37:24 +00:00
jbjohnso
d58a5c0f34 -Give dhcp plugin hierarchical capability
-Have dhcp plugin reuse omapi key if already stored
-Allow preprocessing functions to callback just like processing functions
-tabedit accepts/prefors 'TABEDITOR' variable, defaults to vi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-26 17:55:34 +00:00
jbjohnso
1efa566c88 Parallelize xcatd dispatched requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-26 00:23:23 +00:00
nott
bb240e7708 Allow prompting from certificate setup scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 17:40:04 +00:00
jbjohnso
c1b03f38fd Make ipmi requests fan out to service nodes, fix problem where serverdone flags were erroneously propogated to client from a dispatched request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 16:17:19 +00:00
jbjohnso
1812d2e372 -Change '!xcat' hash members to '_xcat', which can survive XML-ization
-Have the xcatd service script source a /etc/sysconfig/xcat if available (to allow setting of XCATCFG)
-Modify xcatd to be able to relay requests to service nodes if the plugin can provide a map, using it's server key and certificate as client credentials
-Provide a more helpful message for SSL connection issue
-Modify Client.pm to accept custome key/cert/ca files to facilitate the aforementioned request relay.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 15:07:53 +00:00
jbjohnso
7f2a3b8ea4 -Correct node deletion if a simple format mac entry is referenced, or none at all.
-Factor out plugin call in preparation for hierarchical dispatch


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-24 13:37:34 +00:00
nott
66a9cb639c Added full paths for all commands that are called.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 17:48:33 +00:00
nott
51d357c012 Added the xcatconfig configuration script. This
script is run from the meta package post process
and can also be called directly to re-configure.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 18:53:53 +00:00
jbjohnso
b8b4e74f04 Fix most instances of fork by replacing with xfork, name xfork correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:49:59 +00:00
jbjohnso
c8c7d356f0 -Report error on DB problems in chnode
-Fix UDP listening select semantics to allow clean exit again
-Alter lifespan of sitetab object in xcatd to avoid attempting to persist across forks (needed for PostgreSQL)
-Allow for possible quotation marks in DBI return data that happen in certain interactions with PostgreSQL
-Cleanup a few unfinished statements and unclosed tables, which might have adversely impacted DBI behavior


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 19:20:46 +00:00
jbjohnso
decc71ac21 Provide enhanced iSCSI support for the opportunity for more seamless operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 21:14:50 +00:00
jbjohnso
3b2b02b3e1 Improve performance of discovery process
-Pull UDP queue in to remove duplicates
-Query all caches before slow refresh activities
-Decrease timeout on nodediscover notification
-Switch now only bothers refreshing a cache older than 20 seconds


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 20:55:28 +00:00
nott
db049e6f2a Added conditionals around INET6 references so IPv6
will not be used on AIX systems for now.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 14:31:45 +00:00
jbjohnso
411810ea10 Fix remaining XCATPREFIX references, add an AF_INET failback for AF_INET6 lookup, fix ipmi perl script to properly include perl libraries from XCATROOT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-03 15:55:47 +00:00
sakolish
51f39769e1 Initial version - netboot/getmacs support script or IVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-02 16:35:12 +00:00
lissav
d75a65da27 Add support for xdsh -K to update ssh keys on the nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-20 19:04:51 +00:00
linggao
a6d725c23d added mkrmcresources command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-14 20:56:07 +00:00
linggao
7f032336fb minor changes for packaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 19:56:37 +00:00
linggao
b83c08c43e minor changes for packaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 19:44:58 +00:00
linggao
7cade470d5 packaging changes. Default installation direcotry is /opt/xcat now. environmental variables XCATROOT, PATH and MANPATH got updated by installed the packages. Did not touch xCAT and xcatnbroot yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 19:14:43 +00:00
lissav
25f5ad1a5d Change use of syslog local1 to local4 to match MsgUtils. Think this
would be less used by other applications. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-11 14:25:55 +00:00
nott
6408b3d1c7 Added a temporay conditional for IPv6 support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-03 13:10:23 +00:00
jbjohnso
884bfd04d6 Move directory structure to not imply /usr prefix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-30 15:27:48 +00:00