2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

93 Commits

Author SHA1 Message Date
ertaozh
75bc7d91f4 refine hardware discovery framework, put mtms based hardware discovery to typemtms.pm module 2016-06-24 01:58:34 -04:00
Kilian Cavalotti
3112a006d0 bmcsetup: allow to specify which port to share the BMC with
it would actually make sense to reverse the logic, and keep
ipmi.bmcport="0" for dedicated mode, and ipmi.bmcport="1" (or "2", "3",
"4") for shared with LOM1 (or LOM2, LOM3, LOM4) modes
2016-06-17 16:34:35 -07:00
Kilian Cavalotti
39e8480ade bmcsetup: remove &> bash-ism 2016-06-16 15:18:06 -07:00
Kilian Cavalotti
195f80ee6e bmcsetup: add support for Dell iDRAC
Sets the BMC NIC selection to either dedicated (ipmi.bmcport=1) or shared with failover all LOMs (ipmi.bmcport=0)
2016-06-16 15:12:54 -07:00
zet809
57478143d9 Fix variable user using issue
The variable (user) whose value is BMC username is reset as userid in line 365
2016-06-15 15:15:27 +08:00
Xiaopeng Wang
650dadf406 Merge pull request #1283 from whowutwut/openpower_workaround
bmcsetup requires some changes to work around some issues with OpenPower BMC
2016-06-15 14:14:08 +08:00
Victor Hu
4a03ed50dd After the network commands are issued, pause for OpenPower case 2016-06-14 21:03:47 -04:00
Victor Hu
761ff38a2e Change the echo messages to logger messages
Add the -s option to logger to output the message to stderr
2016-06-14 19:32:03 -04:00
Victor Hu
0dbdd8d5de Fixed the code based on Er Tao's code review to put the status
check for non OpenPower based servers.  OpenPower will use a different
method to check that bmc is ready
2016-06-14 11:46:04 -04:00
Victor Hu
5860235832 The xCAT-nbroot has been replaced by xCAT-genesis
Removing the old files associated with nbroot/nbroot2
2016-06-10 15:45:26 -04:00
Victor Hu
7f818a7066 Change the logging messages to reuse a single message for each IPMITOOL command 2016-06-10 15:22:30 -04:00
Victor Hu
e8b6841eb1 Additional enhancement/cleanup for the bmcsetup scripts
- Move the TIMEOUT to be a global at the to of the script
- Ensure we are resetting the TRIES=0 right before using it  (clean up some code format)
- Clean up the code for detecting the LAN channel, print out the detected channel
- Create a snooze function for OpenPower to sleep longer after network commands are issued
2016-06-10 13:26:31 -04:00
Victor Hu
08e6606dca Use a different ipmitool command for the OpenPower BMC to identify the light 2016-06-10 13:24:15 -04:00
Victor Hu
fb93154806 Fix the formatting of this file, the indentations were incorrect 2016-06-10 13:23:35 -04:00
Victor Hu
0f2b4be4c9 Add workaround code specific to OpenPower BMC where the BMC requires more
time to boot into a "ready" state after doing a cold reset
2016-06-10 11:41:44 -04:00
Victor Hu
d1c1aad5c5 Add comments into bmcsetup to better understand the actions
of the ipmitool raw commands
2016-06-10 11:31:37 -04:00
Victor Hu
2d193ad6bf Merge pull request #1206 from xuweibj/S101003
Add genesis log in doxcat, dodiscovery and bmcsetup
2016-06-10 11:24:50 -04:00
XuWei
547176bf58 Add genesis log in doxcat 2016-05-31 23:03:59 -04:00
ertaozh
d4a8bc6b6a fix issue 1115: Don't run rspconfig after hardware discovery finished for servers Other than S822L(TLT) 2016-05-19 04:36:18 -04:00
Jarrod Johnson
dd6c9d0837 Have bmcsetup apply dual-byte bmcport right
bmcport can have a space in it.  At least work somewhat
with that by removing the special IFS to allow it
2016-05-09 14:24:50 -04:00
XuWei
4ca5938c4a Fix issue 437, go to next state when exit shell 2016-04-28 03:33:34 -04:00
ertaozh
04dd30211f mini refine for genesis script doxcat to have it run into bash if no NIC with IP facing xcat MN found 2016-04-15 03:56:53 -04:00
Jarrod Johnson
9869d148ac Change to recognize newer Lenovo mfg id 2016-04-11 16:06:48 -04:00
tingtli
322f769271 Merge pull request #891 from bybai/lsf
I don't have test environment now. Will merge this and add a comment in defect 445 @bybai
2016-04-07 10:53:15 +08:00
bybai
2f7b48f120 fix issue445 deleteraid/configraid enhancement 2016-04-05 03:21:29 -04:00
Mark Gurevich
2dc8cf330d Eliminate some Genesis boot errors 2016-04-04 15:21:21 -04:00
XuWei
e47447bc1e Make genesis to include bmc ip in the findme package 2016-04-01 02:15:43 -04:00
Victor Hu
f0d96b30ca For IBM Power 822LC and 812LC, it seems there is something wrong with
the firmware that causes the BMC to stop replying to ping a few seconds
after the changes are made.  To work around this issue, sleep 30 before
doing the cold reset.  Once the firmware is fixed, this reset is NOT
needed
2016-01-26 09:09:47 -05:00
Victor Hu
709a6cb8ad Fix the formatting of the bmcsetup script.
- replace the tabs wiht 4 spaces
   - change the if statements to multiple lines to improve readability
2016-01-26 09:00:57 -05:00
chenglch
c6e663d1fd Use fifo pipe to enhance getadapter
Currently the getadapter implementation store the nics information
in multiple files. This implementaion will store the records in the
database and add the following changes:

1. Add taskstate table to record the getadapter request.
2. Add route_request hook in xcatd to avoid of too much process.
3. Add adapterinfo column to keep the adapter information.
4. Use fifo pipe to send/recv the adapter message and wake up the waiting process.
5. Use alarm signal to handle the timeout event.
2016-01-25 01:53:54 -05:00
neo954
c15027d4bb Merge pull request #452 from hu-weihua/getadapters
Cool. Will merge it, eventually.
2015-12-15 12:44:26 +08:00
huweihua
b0bf7931ac modify depending on samveen 's comment 2015-11-27 03:02:02 -05:00
huweihua
1aab9c6227 modify depending on gongjie's comment 2015-11-25 05:25:24 -05:00
huweihua
acd8570324 modify depending on gongjie's comment 2015-11-24 03:20:10 -05:00
ertaozh
b5717ba88b fix issue 457: xCAT 2.11 / S822LC: Node Discovery failed due to MTM with spaces 2015-11-24 02:19:34 -05:00
huweihua
0c74d06835 remove debug info 2015-11-24 01:47:24 -05:00
huweihua
a381f2ee06 modify depending on gongjie's new comment 2015-11-24 01:44:59 -05:00
huweihua
cb01dac7ae modify depending on the comment 2015-11-23 23:18:07 -05:00
huweihua
2729ec1ec9 used for support getadapters command 2015-11-22 03:37:10 -05:00
Xiaopeng Wang
eac16d9ce2 Merge pull request #356 from zet809/fs_bmcsetup
IBM Power S822LC machine support bmcsetup, build genesis based on Fedora 22 ppc64
2015-11-06 16:36:20 +08:00
ertaozh
307f7958e1 support bmcsetup on Firestone machine, build genesis on Fedora 22 ppc64 2015-11-05 02:07:02 -05:00
bybai
ed6427da31 fix xdsh p8euh configraid delete_raid=all hangs when delete raid 0 2015-10-23 08:18:42 -04:00
bybai
97ce3ff5c7 fix delete raild failed with wait_for_ipr_device_status: command not found 2015-10-19 04:40:23 -04:00
bybai
837552f31a configraid support scripts 2015-09-29 03:52:33 -04:00
bybai
5a98bf491a restuct diskdiscover as raidutils,raidcmd,diskdiscover 2015-09-25 02:29:37 -04:00
bybai
5e92c1762e add diskdiscover 2015-09-11 03:38:23 -04:00
ertaozh
465fc18b2a fix bug 4600: p8LE hardware discovery will hung when the first LINK UP nic is not in Management Network 2015-03-19 03:10:47 -04:00
zhaoertao
053225fb26 fix bug 4296 :p8le hw discovery error info about syslog and dmidecode 2014-10-15 00:21:48 -07:00
zhaoertao
dd636f8108 support firmware update for p8LE 2014-10-10 03:14:52 -07:00
daniceexi
ac34247aba defect 4726: cold reset bmc for specific firmware in the end of bmcsetup to make bmc take effect. 2014-09-24 03:14:32 -04:00