Commit Graph

54 Commits

Author SHA1 Message Date
jbjohnso
eb7dadcc95 Revise noderange fix to allow nodels to work again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:57:27 +00:00
jbjohnso
848c7b6e8c Fix sourceforge bug #1908128, nodels returning all nodes instead of none on noderange with zero members
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:31:35 +00:00
nott
7652d4b437 Changed syslog setup code to check for existing
backup file.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 14:24:06 +00:00
sakolish
7e38a920c4 Return "lpar_netboot: error message" on error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-03 19:57:37 +00:00
lissav
a87927d54b Fix file permissions. Make /etc/sysconfig/xcat executable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-03 17:59:08 +00:00
linggao
e66af64ba9 added ipmi support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-01 22:08:04 +00:00
linggao
bbd920a50c added RSA II support for SNMP monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-29 16:51:03 +00:00
linggao
1c4a33daef added multi-line support in snmp trap hanlder
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-29 03:20:20 +00:00
linggao
e77ad65c55 SNMP monitoring support. more to come.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-28 20:21:35 +00:00
lissav
abf6e6cccd Fix directory paths to cert data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-28 18:15:14 +00:00
lissav
54cea108be Fix perl error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-28 15:03:45 +00:00
jbjohnso
1e84cb6c43 Have xCAT daemon produce helpful error messages when commands fail to get matched to a plugin due to table errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-28 04:52:08 +00:00
jbjohnso
cbf46ec99c Put mknb back as a link to xcatclientnnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-25 14:26:53 +00:00
jbjohnso
97f53573a5 Remove interim mknb script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-25 14:26:07 +00:00
lissav
522ce838e2 Add a little more documentation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-19 13:41:22 +00:00
lissav
fdd2c4e60f This routine copies the required certificate to the service node
from the mounted /xcatpost directory during an install of a 
Service Node.  Run from  servicenode postinstall script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-19 13:39:58 +00:00
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