Commit Graph

22 Commits

Author SHA1 Message Date
jbjohnso
34b6d457f8 -Turns out udhcpc will refuse to send a DHCPRELEASE if the interface wasn't set up, use real script to setup instead of /bin/true
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 15:16:46 +00:00
jbjohnso
0373a6671f -Put in code to nbfs to clear conflicting DHCP leases a mac may hold, to have DDNS happy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-17 20:39:20 +00:00
cjhardee
b86a96b510 Messed up the conversion to strict POSIX, just cleaning it up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5918 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-28 19:06:31 +00:00
cjhardee
4b5bfaf8d2 Made these scripts more POSIX compliant by replacing 'let' and '=='. Per bug 2919217
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-26 18:04:35 +00:00
jbjohnso
9578b35974 -Refactor network detection to tolerate arbitrary number of interfaces appearing as part of driver load
-Load the mellanox ethernet layer if loading mellanox core for now


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:01:06 +00:00
jbjohnso
3bf6c124cc -Fix for PPC systems with multiple virtual network devices or EHEA devices (for example, quad-socket JS23)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-18 19:12:19 +00:00
jbjohnso
6e81a3ce2c -Be more specific about locating a module (if their is any ambiguity in the fs structure, drivers failed to load)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 18:02:44 +00:00
jbjohnso
48850f4df8 -Workaround to tolerate SANs that seem to hang the storage drivers on load on ocassion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 17:41:53 +00:00
jbjohnso
31e4ea7279 -Explicitly bind stunnel to localhost to reduce security exposure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-14 15:17:26 +00:00
jbjohnso
24c610374d -Fix issue where network diagnostic suggestions were not being displayed both on the console and on ssh login
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-09 20:41:44 +00:00
jbjohnso
2c703ff14b -Modify nbroot to be able to function without xcatd= being in /proc/cmdline (still honors it)
-Eliminate a lot of output  (debug and expected error messages)
-Properly failover to all dhcpservers for getdestiny, nextdestiny, and getipmi
-Randomly vary some sleep intervals to self-segregate nodes in time to take it easy on xCATd
-Enhance x86 architecture detection to differentiate x86_64 and x86 with an x86 kernel
-Only down nics during discovery if the broadcast domains conflict


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-09 20:22:46 +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
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
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
jbjohnso
419aa05c18 -Fix off-by-one bug in the autodetect script with respect to NICs
-Relax cipher suite 1, which still requires a password, cipher suite 0 remains banned from access as it cannot be secured at all


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 00:01:14 +00:00
jbjohnso
2fe6e7300a Attempt more tolerance of slow ethernet issues
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-06 18:46:46 +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
872284c2d3 Increase discovery performance and resolve stale blade macmap issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-15 19:37:30 +00:00
jbjohnso
eaa59e55c0 Autodetect script pick up ibmveth devices provided by VIOS in a Power LPAR.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@75 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-26 18:43:11 +00:00
jbjohnso
af0a807551 Add support for eHEA ethernet adapters to autodetect, change formatting of rvitals summary for blade, add RHEL 5.1 discids and basic netboot support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@44 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-12 18:30:02 +00:00
jbjohnso
48102cee50 Take measures to try DHCP SIaddr as a xCAT master substitute if xCAT master ip is evidently unreachable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@27 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-31 03:42:29 +00:00
jbjohnso
c99d72a179 Initial xCAT 2.0 import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-26 22:44:33 +00:00