Commit Graph

821 Commits

Author SHA1 Message Date
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
linggao
5c5d965f76 changes in monitoring code to accommodate to the nodetype changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 15:15:26 +00:00
nott
4bd389077b Moved the nodetype attr from the nodelist table
to the nodetype table.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 14:41:00 +00:00
nott
cc3a397df9 Move the nodetype attr from the nodelist table
to the nodetype table.  The nodetype attr can be 
associated with a group but group names are not 
used as keys to the nodelist table.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 14:35:13 +00:00
nott
facbb5a71f The nodetype attr is now in the nodetype table and not the
nodelist table.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 14:23:29 +00:00
nott
57d7118fcf The nodetype attr is now in the nodetype table not
the nodelist table.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 14:18:39 +00:00
nott
2cd2305107 Fix so group objects get created & deleted correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 14:15:47 +00:00
mellor
bcd5a85f42 fix xcatd status call for RH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 14:13:13 +00:00
lissav
d9aa52d8f8 fix permissions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 13:54:35 +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
mellor
8aaab724f0 service node stateles pklist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 13:47:55 +00:00
lissav
9b5bff68db add perl-XML-Parser to dep list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 13:45:24 +00:00
lissav
38a935ec89 add perl-XML-Parser to dep list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 13:44:11 +00:00
lissav
07aef4a35a add requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 13:24:47 +00:00
sakolish
ba81e050ce Added -w option to write MAC-address to xCAT 'mac' database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 12:44:22 +00:00
lissav
1729943234 Add required rpms for postgreql setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 12:14:38 +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
7af9e8f6de Rename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 12:09:49 +00:00