Commit Graph

838 Commits

Author SHA1 Message Date
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
0db3a569b6 -pping exits cleanly with empty or invalid noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 20:18:14 +00:00
lissav
4bf35a8a80 Always start syslogd when daemon started
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 19:59:14 +00:00
sakolish
de818eeca0 Removed HMC/IVM power control support - Line #45
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 18:10:11 +00:00
datajerk
2cec4ce690 Removed syslinux from PPC.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 14:35:32 +00:00
lissav
27ac11ef23 Rename so it will run first during Service Node install.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 12:01:15 +00:00
jbjohnso
7014946c36 Add support for building ppc on x86 for metapackage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-25 01:37:51 +00:00
linggao
82d396a8e4 Linux cookbook update to reflect the monitoring command name changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 19:42:28 +00:00
sakolish
5b10614e20 Handle radio->menu being hash or scalar - Line #1339
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 19:42:01 +00:00
jbjohnso
e22e1c9b92 Fix bug where node discovery was unable to recognize two layer 3 networks as being on the same layer 2 network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 19:32:02 +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
linggao
6df1ac73c9 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-24 15:37:53 +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
8bf44b15fa -Have nbroot set to be picky about form of arp responses
-Have nbroot do a ping, to force the discover server to have correct arp table, avoid race by having it done client side instead of server side

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 21:17:57 +00:00
linggao
ea9f8750f8 handle startmon, stopmon and updatemon name changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:59:14 +00:00
linggao
6056d7d4b3 renamed startmon, stopmon and lsmon for the pod files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:34:36 +00:00
linggao
b6866cc758 added synamic handling for node changes in the monitoring plug-in infrastructure. renamed the startmon to monstart, stopmon to monstop, lsmon to monls and added monaddnode and monrmnode commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:32:41 +00:00
jbjohnso
1b53a0cc5d -Eliminate redundant loop in nbroot when going to try everything and everything to get discovered
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:20:54 +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
jbjohnso
91577c2132 -Be more specific abount looking for -n argument on makedhcp
-Have nodeonmynet function more gracefully handle being passed an unresolvable name

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 21:36:49 +00:00
jbjohnso
8ffc30fdca Be less paranoid about backing up dhcpd.conf files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 21:29:58 +00:00
jbjohnso
f6ada02492 -makedhcp with -a and -d does a more thorough elimination
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 21:20:06 +00:00
jbjohnso
b84a67462b -Add -a to makedhcp to update everything seen in the mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 21:15:34 +00:00
jbjohnso
7b4cee2d25 -Have makedns be more tolerant of different whitespace delimiters
-Warn on invalid IPv4 addresses (think this may have caused tracker issue 1912698)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 18:56:14 +00:00
jbjohnso
d9d048d61d -Suppress warning on blank /etc/hosts lines
-Fix expansion of sub-class-c networks (i.e. zone per node)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 18:44:20 +00:00
sakolish
718ce6228b Replaced ppc.profile with ppc.pprofile (power-on profile)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 18:38:50 +00:00
sakolish
34213a12dc Changed xCAT database ppc.profile to ppc.pprofile (power-on profile)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 18:32:18 +00:00
jbjohnso
b7e516b8ca Suppress error output when omitting iscsi username and password from table (banking on host-based authentication)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 17:38:25 +00:00
jbjohnso
51d8830fb2 -Change iscsi semantics to be group membership agnostic, now nodetype.profile=iscsi is sufficient.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 17:26:54 +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
bdf7d0f41c Add manpage and usage and version to packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 14:45:08 +00:00
jbjohnso
0c0ec38b6e -Change psh to tend to group readily available output together
-Prevent psh from uselessly looping on an impossible condition (checking for new data from children when they haven't gotten to run(
-Change buffer flushes to happen less frequently


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 14:19:12 +00:00
lissav
38ca232e0b pod for packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 13:23:27 +00:00
jbjohnso
eaf972e020 Check validity of gateway before committing to dhcpd.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 13:13:28 +00:00
lissav
66316efd9f add bzip2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 21:33:10 +00:00
lissav
ed7fb98ad2 Remove export of /install and /tftpboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 21:18:25 +00:00
lissav
796d18a705 Add mkdir of autoinst if it does not exist in create_postscripts_tar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 21:09:38 +00:00
jbjohnso
cb0d2b76db Use a more accurate check for Intel BMC design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 20:58:29 +00:00
lissav
dd613cbdce remove exports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 20:46:55 +00:00
jbjohnso
bc6bcc869e -More complex network wait semantics:
-Move all waiting to a common loop, waiting a total of no more than 80 seconds for all nics
   -Give up after 15 seconds with no link-up reported by ethtool
   -Detect suspect spanning-tree.
   -Record spanning-tree suspicion, no link, and total dhcp timeouts to /etc/motd
-Have /etc/profile in nbroot cat /etc/motd, to make ssh into shell report diagnostic messages


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 18:33:48 +00:00
linggao
32fa58e7fc use Jarrold ipmi code instead of ipmitool for bmc configuration for monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 18:27:20 +00:00
sakolish
718e2f2d93 Add -w option to usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 18:01:56 +00:00
sakolish
57a645b5f8 Removed -S, -G, -C, and -m from usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 17:57:24 +00:00
sakolish
7a351521ab Use -S, -G, -C, and -m from xCAT database instead of command-line for rnetboot command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 17:44:30 +00:00
sakolish
ed635fbddb Use -S, -G, -C, and -m from xCAT database instead of from command-line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 17:16:24 +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
jbjohnso
b5fd684575 Fix the function previously commited to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 15:36:51 +00:00
jbjohnso
ba7c3e00ab Add a function to extract all classful-looking subnets from a potentially classless network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 15:22:03 +00:00
linggao
999c199386 made changes in xcatmon.pm because the cron job syntax are different between linux and aix.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 15:20:19 +00:00