Commit Graph

84 Commits

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