Commit Graph

70 Commits

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