jbjohnso
fafdc03373
-Correctly detect RHEL6 VMs in dodestiny
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-12 15:08:07 +00:00
jbjohnso
f680da48fb
-Correct for ID change
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-10 15:21:04 +00:00
jbjohnso
ab4a734014
-Remove leading space in discovery packets
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-28 13:54:18 +00:00
jbjohnso
57537180be
-Workaround systems with duplicate DMI entries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 20:46:04 +00:00
jbjohnso
64b4e85ddc
-Revert overly complicated dhcp dance, recommend makedns -d instead (failed too many times)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 15:02:52 +00:00
jbjohnso
6b88d50446
-Have xCAT only attempt to change user privilege if not currently accurate
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-16 19:47:05 +00:00
jbjohnso
efccd5bf5d
-BMC setup enhancements for other models
...
-Fix insecurity introduced by Vallard
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-25 19:46:00 +00:00
jbjohnso
a0d928d7e7
-Correct errors in bmcsetup enhancements
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-25 14:37:18 +00:00
jbjohnso
51cfe10216
-Add IBM product support, enhance LAN channel autodetection algorithm to check for working channels
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-25 14:16:46 +00:00
jbjohnso
1e9377fea0
-Further try to cover apparent lack of reliability for udhcpc to dhcprelease
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 19:48:18 +00:00
jbjohnso
379999e08e
-Try to increase reliability of DHCPRELEASE attempts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 18:15:42 +00:00
jbjohnso
76a34b6644
-With the nic coming up spuriously to clear conflicting leases, add a check to prevent activation on the first nic bringup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 17:35:42 +00:00
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
jbjohnso
9e03e9e3fe
-Use a rebootnode script that releases DHCP leases when exiting nbfs (for floating nodes)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 20:15:00 +00:00
vallard
dd1006a3d1
check which lan to use so can be used with other machines besides IBM machines
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 20:34:25 +00:00
vallard
68b44ada10
undo changes for bad bmcsetup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 18:07:06 +00:00
vallard
64d4295cbe
added detection of bmc port 2 if the hardware only supports port 2. If this is not set in the ipmi table then defaults to bmc port/channel 1
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 17:52:00 +00:00
jbjohnso
eaf4771f2f
-Fix missing output from diagnostic message
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-04 19:35:42 +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
7337f8f75a
-aggressively use discoverednics
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-26 00:02:22 +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
c3baf8051d
-Add check for VMWare guest execution
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-08 15:54:54 +00:00
jbjohnso
5b095239c1
-Add outer retry loop for bmcsetup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-22 18:45:00 +00:00
jbjohnso
e300b6795e
-Avoid switch searches for virtual nics for now
...
-Fix wvid title for supported IPMI devices
-Have nbfs provide clue to xCATd that a virtual guest is booted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-16 17:31:15 +00:00
jbjohnso
dc8c982e6f
-Provide bmcport implementation for YUOO bmcs
...
-Provide workaround for YUOO username quirk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 20:12:48 +00:00
jbjohnso
d05271857c
-Change bmcsetup to enable any supported non-zero cipher priv for admin access
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 15:55:29 +00:00
jbjohnso
271b5d924d
-Fix bmcsetup for x336/x346/e32x servers
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 15:22:31 +00:00
jbjohnso
b399d2ce70
-Add retries for inband commands in bmcsetup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-02 19:01:40 +00:00
andywray
3504d16098
Add dx320.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-30 13:59:10 +00:00
jbjohnso
e25a09e4ba
-Add nbroot facility to request server rewrite of fru on completion of bmcsetup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-22 23:40:33 +00:00
andywray
5ea6eef558
Add commands for setting BMCs to defaults.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-18 21:12:21 +00:00
jbjohnso
9c1ce3d91c
-Have bmcsetup use the credential allowance scheme to reinforce security authentication to more definitive host-based
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:36:02 +00:00
jbjohnso
658d2e4b0d
-Have getipmi in nbroot block on error and give a lound error when server gives error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-06 22:25:07 +00:00
jbjohnso
263b5c109f
-Fix various awk xCAT clients to be proper to avoid many 'Unexpected client disconnect' messages
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-22 13:56:56 +00:00
jbjohnso
f124883d39
Light identify LED at end of bmcsetup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-21 18:03:46 +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
cf20516682
Fix nbroot discovery broadcast domain collision semantics
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-17 18:58:45 +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
7e7e33bc0b
-Force SOL to work on x3450 systems
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-03 20:22:45 +00:00
jbjohnso
043722e6e7
Add explicit enablement of SOL for channel 1 to bmcsetup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-26 20:35:07 +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
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
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