当前位置: 首页 > 技术与资源 > 技术分享 > 正文

ORACLE EXADATA升级—从11.2.3.1.0到11.2.3.3.0–(8)升级交换机

2015-01-05 16:38:52

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.

上一篇:ORACLE EXADATA升级—从11.2.3.1.0到11.2.3.3.0–(7)升级Bundle Patch 23
下一篇:ORACLE EXADATA升级—从11.2.3.1.0到11.2.3.3.0–(9)升级后的检查