ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(8)升級交換機

shsnchyw發表於2015-01-15


InfiniBand交換機的軟體安裝介質也是在cells裡面自帶的。使用和cells一樣的升級命令和方式。不過需要注意的一點是,交換機的網路卡資訊要和交換機主機下的/etc/hosts所配置的內容相同,如果不同,升級過程中會失敗。如下所示:

[FAIL     ] Mismatch between address in ifcfg-eth[0,1] and /etc/hosts in gxx2sw-ib3. ACTION: Correct entry in /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 or /etc/hosts

此時需要我們登陸到InfiniBand交換機的主機上,透過ifconfig –a和more /etc/hosts兩個命令去查詢,修改好自己的/etc/hosts檔案後再次執行預檢測命令就能夠成功透過檢測了。

[root@gxx2db01 patch_11.2.3.3.0.131014.1]# ./patchmgr -ibswitches -upgrade -ibswitch_precheck

2014-09-07 14:10:25 +0800 1 of 1 :SUCCESS: DO: Initiate pre-upgrade validation check on InfiniBand switch(es).
 ----- InfiniBand switch update process started Sun Sep  7 14:10:25 CST 2014 -----
[NOTE     ] Log file at /var/log/cellos/upgradeIBSwitch.log

[INFO     ] List of InfiniBand switches for upgrade: ( gxx2sw-ib3 gxx2sw-ib2 )
[PROMPT   ] Use the default password for all switches? (y/n) [n]: y
[PROMPT   ] Updating only 2 switch(es). Are you sure you want to continue? (y/n) [n]: y
[SUCCESS  ] Verifying Network connectivity to gxx2sw-ib3
[SUCCESS  ] Verifying Network connectivity to gxx2sw-ib2
[SUCCESS  ] Validating verify-topology output
[INFO     ] Master Subnet Manager is set to gxx2sw-ib2 in all Switches

[INFO     ] ---------- Starting with IBSwitch gxx2sw-ib2
[SUCCESS  ] gxx2sw-ib2 is at 1.3.3-2. Meets minimal patching level 1.3.3-2
[SUCCESS  ] Verifying that /tmp has 120M in gxx2sw-ib2, found 249M
[SUCCESS  ] Verifying that / has 80M in gxx2sw-ib2, found 200M
[SUCCESS  ] Verifying that gxx2sw-ib2 has 120M free memory, found 408M
[SUCCESS  ] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 for gxx2sw-ib2
[SUCCESS  ] Verifying that gxx2sw-ib2 has at least 1 NTP Server, found 1
[INFO     ] Manually validate the following entries Date:(YYYY-MM-DD) 2014-09-07 Time:(HH:MM:SS) 20:12:34
[SUCCESS  ] Pre-update validation on gxx2sw-ib2

[INFO     ] ---------- Starting with InfiniBand Switch gxx2sw-ib3
[SUCCESS  ] gxx2sw-ib3 is at 1.3.3-2. Meets minimal patching level 1.3.3-2
[SUCCESS  ] Verifying that /tmp has 120M in gxx2sw-ib3, found 249M
[SUCCESS  ] Verifying that / has 80M in gxx2sw-ib3, found 200M
[SUCCESS  ] Verifying that gxx2sw-ib3 has 120M free memory, found 410M
[SUCCESS  ] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 for gxx2sw-ib3
[SUCCESS  ] Verifying that gxx2sw-ib3 has at least 1 NTP Server, found 1
[INFO     ] Manually validate the following entries Date:(YYYY-MM-DD) 2014-09-07 Time:(HH:MM:SS) 20:17:29
[SUCCESS  ] Pre-update validation on gxx2sw-ib3
[SUCCESS  ] Overall status

 ----- InfiniBand switch update process ended Sun Sep  7 14:11:07 CST 2014 -----
2014-09-07 14:11:07 +0800 1 of 1 :SUCCESS: DONE: Initiate pre-upgrade validation check on InfiniBand switch(es).

檢測完成之後,就可以正式進行升級了,如下所示,是一個升級的輸出。

[root@gxx2db01 patch_11.2.3.3.0.131014.1]# ./patchmgr -ibswitches -upgrade

2014-09-07 14:11:34 +0800 1 of 1 :SUCCESS: DO: Initiate upgrade of InfiniBand switches to 2.1.3-4. Expect up to 15 minutes for each switch
 ----- InfiniBand switch update process started Sun Sep  7 14:11:35 CST 2014 -----
[NOTE     ] Log file at /var/log/cellos/upgradeIBSwitch.log

[INFO     ] List of InfiniBand switches for upgrade: ( gxx2sw-ib3 gxx2sw-ib2 )
[PROMPT   ] Use the default password for all switches? (y/n) [n]: y
[PROMPT   ] Updating only 2 switch(es). Are you sure you want to continue? (y/n) [n]: y
[SUCCESS  ] Verifying Network connectivity to gxx2sw-ib3
[SUCCESS  ] Verifying Network connectivity to gxx2sw-ib2
[SUCCESS  ] Validating verify-topology output
[INFO     ] Proceeding with upgrade of InfiniBand switches to version 2.1.3_4
[INFO     ] Master Subnet Manager is set to gxx2sw-ib2 in all Switches

[INFO     ] ---------- Starting with IBSwitch gxx2sw-ib2
[SUCCESS  ] Disable Subnet Manager on gxx2sw-ib2
[SUCCESS  ] Copy firmware packages to gxx2sw-ib2
[SUCCESS  ] gxx2sw-ib2 is at 1.3.3-2. Meets minimal patching level 1.3.3-2
[SUCCESS  ] Verifying that /tmp has 120M in gxx2sw-ib2, found 139M
[SUCCESS  ] Verifying that / has 80M in gxx2sw-ib2, found 200M
[SUCCESS  ] Verifying that gxx2sw-ib2 has 120M free memory, found 299M
[SUCCESS  ] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 for gxx2sw-ib2
[SUCCESS  ] Verifying that gxx2sw-ib2 has at least 1 NTP Server, found 1
[INFO     ] Manually validate the following entries Date:(YYYY-MM-DD) 2014-09-07 Time:(HH:MM:SS) 20:14:12
[SUCCESS  ] Pre-update validation on gxx2sw-ib2
[INFO     ] Starting upgrade on gxx2sw-ib2 to 2.1.3_4. Please give upto 10 mins for the process to complete. DO NOT INTERRUPT or HIT CTRL+C during the upgrade
[SUCCESS  ] Load firmware 2.1.3_4 onto gxx2sw-ib2
[SUCCESS  ] Disable Subnet Manager on gxx2sw-ib2
[SUCCESS  ] Verify that /conf/configvalid is set to 1 on gxx2sw-ib2
[SUCCESS  ] Set SMPriority to 5 on gxx2sw-ib2
[INFO     ] Rebooting gxx2sw-ib2. Wait for 240 secs before continuing
[SUCCESS  ] Reboot gxx2sw-ib2
[SUCCESS  ] Restart Subnet Manager on gxx2sw-ib2
[INFO     ] Starting post-update validation on gxx2sw-ib2
[SUCCESS  ] Inifiniband switch gxx2sw-ib2 is at target patching level
[SUCCESS  ] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 for gxx2sw-ib2
[SUCCESS  ] Verifying that gxx2sw-ib2 has at least 1 NTP Server, found 1
[INFO     ] Manually validate the following entries Date:(YYYY-MM-DD) 2014-09-07 Time:(HH:MM:SS) 12:27:27
[SUCCESS  ] Firmware verification on InfiniBand switch gxx2sw-ib2
[INFO     ] Post-check validation on IBSwitch gxx2sw-ib2
[SUCCESS  ] Update switch gxx2sw-ib2 to 2.1.3_4

[INFO     ] ---------- Starting with InfiniBand Switch gxx2sw-ib3
[SUCCESS  ] Disable Subnet Manager on gxx2sw-ib3
[SUCCESS  ] Copy firmware packages to gxx2sw-ib3
[SUCCESS  ] gxx2sw-ib3 is at 1.3.3-2. Meets minimal patching level 1.3.3-2
[SUCCESS  ] Verifying that /tmp has 120M in gxx2sw-ib3, found 139M
[SUCCESS  ] Verifying that / has 80M in gxx2sw-ib3, found 200M
[SUCCESS  ] Verifying that gxx2sw-ib3 has 120M free memory, found 300M
[SUCCESS  ] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 for gxx2sw-ib3
[SUCCESS  ] Verifying that gxx2sw-ib3 has at least 1 NTP Server, found 1
[INFO     ] Manually validate the following entries Date:(YYYY-MM-DD) 2014-09-07 Time:(HH:MM:SS) 20:37:06
[SUCCESS  ] Pre-update validation on gxx2sw-ib3
[INFO     ] Starting upgrade on gxx2sw-ib3 to 2.1.3_4. Please give upto 10 mins for the process to complete. DO NOT INTERRUPT or HIT CTRL+C during the upgrade
[SUCCESS  ] Load firmware 2.1.3_4 onto gxx2sw-ib3
[SUCCESS  ] Disable Subnet Manager on gxx2sw-ib3
[SUCCESS  ] Verify that /conf/configvalid is set to 1 on gxx2sw-ib3
[SUCCESS  ] Set SMPriority to 5 on gxx2sw-ib3
[INFO     ] Rebooting gxx2sw-ib3. Wait for 240 secs before continuing
[SUCCESS  ] Reboot gxx2sw-ib3
[SUCCESS  ] Restart Subnet Manager on gxx2sw-ib3
[INFO     ] Starting post-update validation on gxx2sw-ib3
[SUCCESS  ] Inifiniband switch gxx2sw-ib3 is at target patching level
[SUCCESS  ] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 for gxx2sw-ib3
[SUCCESS  ] Verifying that gxx2sw-ib3 has at least 1 NTP Server, found 1
[INFO     ] Manually validate the following entries Date:(YYYY-MM-DD) 2014-09-07 Time:(HH:MM:SS) 12:49:54
[SUCCESS  ] Firmware verification on InfiniBand switch gxx2sw-ib3
[INFO     ] Post-check validation on IBSwitch gxx2sw-ib3
[SUCCESS  ] Update switch gxx2sw-ib3 to 2.1.3_4
[INFO     ] InfiniBand Switches ( gxx2sw-ib3 gxx2sw-ib2 ) updated to 2.1.3_4
[SUCCESS  ] Overall status

 ----- InfiniBand switch update process ended Sun Sep  7 14:47:43 CST 2014 -----
2014-09-07 14:47:43 +0800 1 of 1 :SUCCESS: DONE: Upgrade InfiniBand switch(es) to 2.1.3-4.

 (本文轉自“新炬網路”官網技術分享欄目)

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29960155/viewspace-1402872/,如需轉載,請註明出處,否則將追究法律責任。

相關文章