-
Notifications
You must be signed in to change notification settings - Fork 174
Cumulus_OS_Upgrade_Support_Test
Weihua Hu edited this page Oct 20, 2017
·
22 revisions
xCAT version: 2.13.8
xCAT MN: briggs01
, OS version is Pegas Beta
Cumulus switch: mid05tor25
, OS version is 3.2.1
Cumulus switch OS binary: The binaries are saved in c910gpfs02:/gpfs/cnfs01/data/xcat/iso/cumulus
Reference links:
Reinstall Cumulus switch by image
- save one physical information about
mid05tor25
, such like mother board Serial Number
root@mid05tor25:/usr/cumulus/bin# dmidecode
......
Serial Number: 11S01FT690YA50YD775ACN
......
- Leverage mid05tor25 original dhcp configuration in
briggs01
[root@briggs01 ~]# cat /var/lib/dhcpd/dhcpd.leases
.....
host mid05tor25 {
dynamic;
hardware ethernet a8:2b:b5:59:ac:40;
fixed-address 172.11.205.25;
supersede server.ddns-hostname = "mid05tor25";
supersede host-name = "mid05tor25";
}
....
- reinstall
mid05tor25
by cumulus-linux-3.4.1-bcm-armel.bin
[root@briggs01 ~]# mkdir -p /install/onie/
[root@briggs01 ~]# cp cumulus-linux-3.4.1-bcm-armel.bin /install/onie/
[root@briggs01 ~]# xdsh mid05tor25 "/usr/cumulus/bin/onie-install -a -f -i http://172.11.253.27/install/onie/cumulus-linux-3.4.1-bcm-armel.bin && reboot"
- After 30 minutes, check if the ip
172.11.205.25
pingable and it is `mid05tor25``
[root@briggs01 ~]#ping 172.11.205.25
[root@briggs01 ~]#ssh 172.11.205.25 -l <usrid>
[[email protected] ~]dmidecode
# To check the SN is 11S01FT690YA50YD775ACN
[[email protected] ~]cat /etc/*release*
# To check VERSION="Cumulus Linux 3.4.1"
[[email protected] ~] cat /etc/network/interfaces
#The ip should come from DHCP
Switch discovery and configuration base on 3.4.1
- Based on the result of
Test Case 1
to do follow test - Do switch based switch discovery and setup against
mid05tor25
which OS was 3.4.1.
# predefine mid05tor25 for discovery
[root@briggs01 ~]# lsdef mid05tor25
Object name: mid05tor25
groups=switch,edge_switch
ip=172.11.205.25
mgt=switch
nodetype=switch
switch=mgmtsw01
switchport=25
snmpauth=sha
snmppassword=xcatpassw0rd
snmpprivacy=DES
snmpusername=xcatadmin
snmpversion=3
usercomment=Edgecore Networks Switch
[root@briggs01 ~]# makehosts mid05tor25
[root@briggs01 ~]# switchdiscover --range 172.11.205.25 -w --setup
[root@briggs01 ~]# lsdef mid05tor25
Object name: mid05tor25
groups=switch,edge_switch
ip=172.11.205.25
mac=A8:2B:B5:59:AC:40
mgt=switch
nodetype=switch
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
snmpauth=sha
snmppassword=xcatpassw0rd
snmpprivacy=DES
snmpusername=xcatadmin
snmpversion=3
status=configured
switch=mgmtsw01
switchport=25
switchtype=onie
updatestatus=synced
updatestatustime=10-17-2017 17:03:07
usercomment=Edgecore Networks Switch
- Check the ip, login without password
[root@briggs01 ~]# ping 172.11.205.25
PING 172.11.205.25 (172.11.205.25) 56(84) bytes of data.
64 bytes from 172.11.205.25: icmp_seq=1 ttl=64 time=0.195 ms
--- 172.11.205.25 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.189/0.192/0.195/0.003 ms
[[email protected] ~] cat /etc/network/interfaces
source /etc/network/interfaces.d/*.intf
auto eth0
iface eth0 inet static
address 172.11.205.25
netmask 255.255.0.0
broadcast 172.11.255.255
[root@briggs01 ~]# makehosts
[root@briggs01 ~]# makedhcp
[root@briggs01 ~]# ssh mid05tor25
# can login without passwd
- check SNMP V3
[root@briggs01 ~] snmpwalk -v 3 -u xcatadmin -l authPriv -a sha -x DES -A xcatpassw0rd -X xcatpassw0rd mid05tor25 1.3.6.1.2.1.1.1
- Activate the License
[root@briggs01 ~] xdsh mid05tor25 /usr/cumulus/bin/cl-license
# record output as A
[root@briggs01 ~] xdcp mid05tor25 /install/custom/sw_os/cumulus/licensefile.txt /root/
[root@briggs01 ~] xdsh mid05tor25 "/usr/cumulus/bin/cl-license -i /root/licensefile.txt"
[root@briggs01 ~] xdsh mid05tor25 /usr/cumulus/bin/cl-license
# record output as B
# A != B
[root@briggs01 ~] xdsh mid05tor25 reboot
- Check
switch_macmap
[root@briggs01 ~]# xcatprobe switch_macmap mid05tor25
#should work
Upgrade Cumulus switch on line.
- Download OS repo to MN
briggs01
. - install
mid05tor25
by binary image which version is 3.2.1. - Discover and configure
mid05tor25
. The step refer toTest Case2
- Make sure
mid05tor25
work as expect
[root@briggs01 ~]# ping mid05tor25
#should pingable
[root@briggs01 ~]# ssh mid05tor25
#should login without password
[root@mid05tor25 ~] cat /etc/network/interfaces
source /etc/network/interfaces.d/*.intf
auto eth0
iface eth0 inet static
address 172.11.205.25
netmask 255.255.0.0
broadcast 172.11.255.255
[root@briggs01 ~]# snmpwalk -v 3 -u xcatadmin -l authPriv -a sha -x DES -A xcatpassw0rd -X xcatpassw0rd mid05tor25 1.3.6.1.2.1.1.1
[root@briggs01 ~]# xdsh mid05tor25 "cat /etc/*release*"
#should be 3.2.1
[root@briggs01 cumulus_test]# xdsh mid05tor25 "/usr/cumulus/bin/cl-license"
#license is A
- Follow the first method of Cumulus OS upgrade to upgrade
mid05tor25
- check
mid05tor25
os, should not be 3.2.1
[root@briggs01 ~]# xdsh mid05tor25 "cat /etc/*release*"
#should not be 3.2.1
- original settings(specific ip/login without password/enable SNMP v3) should still work.
[root@briggs01 ~]# ping mid05tor25
#should pingable
[root@briggs01 ~]# ssh mid05tor25
#should login without password
[root@mid05tor25 ~] cat /etc/network/interfaces
source /etc/network/interfaces.d/*.intf
auto eth0
iface eth0 inet static
address 172.11.205.25
netmask 255.255.0.0
broadcast 172.11.255.255
[root@briggs01 ~]# snmpwalk -v 3 -u xcatadmin -l authPriv -a sha -x DES -A xcatpassw0rd -X xcatpassw0rd mid05tor25 1.3.6.1.2.1.1.1
#should get result
[root@briggs01 cumulus_test]# xdsh mid05tor25 "/usr/cumulus/bin/cl-license"
#license should also be A
- Nov 13, 2024: xCAT 2.17 released.
- Mar 08, 2023: xCAT 2.16.5 released.
- Jun 20, 2022: xCAT 2.16.4 released.
- Nov 17, 2021: xCAT 2.16.3 released.
- May 25, 2021: xCAT 2.16.2 released.
- Nov 06, 2020: xCAT 2.16.1 released.
- Jun 17, 2020: xCAT 2.16 released.
- Mar 06, 2020: xCAT 2.15.1 released.
- Nov 11, 2019: xCAT 2.15 released.
- Mar 29, 2019: xCAT 2.14.6 released.
- Dec 07, 2018: xCAT 2.14.5 released.
- Oct 19, 2018: xCAT 2.14.4 released.
- Aug 24, 2018: xCAT 2.14.3 released.
- Jul 13, 2018: xCAT 2.14.2 released.
- Jun 01, 2018: xCAT 2.14.1 released.
- Apr 20, 2018: xCAT 2.14 released.
- Mar 14, 2018: xCAT 2.13.11 released.
- Jan 26, 2018: xCAT 2.13.10 released.
- Dec 18, 2017: xCAT 2.13.9 released.
- Nov 03, 2017: xCAT 2.13.8 released.
- Sep 22, 2017: xCAT 2.13.7 released.
- Aug 10, 2017: xCAT 2.13.6 released.
- Jun 30, 2017: xCAT 2.13.5 released.
- May 19, 2017: xCAT 2.13.4 released.
- Apr 14, 2017: xCAT 2.13.3 released.
- Feb 24, 2017: xCAT 2.13.2 released.
- Jan 13, 2017: xCAT 2.13.1 released.
- Dec 09, 2016: xCAT 2.13 released.
- Dec 06, 2016: xCAT 2.9.4 (AIX only) released.
- Nov 11, 2016: xCAT 2.12.4 released.
- Sep 30, 2016: xCAT 2.12.3 released.
- Aug 19, 2016: xCAT 2.12.2 released.
- Jul 08, 2016: xCAT 2.12.1 released.
- May 20, 2016: xCAT 2.12 released.
- Apr 22, 2016: xCAT 2.11.1 released.
- Mar 11, 2016: xCAT 2.9.3 (AIX only) released.
- Dec 11, 2015: xCAT 2.11 released.
- Nov 11, 2015: xCAT 2.9.2 (AIX only) released.
- Jul 30, 2015: xCAT 2.10 released.
- Jul 30, 2015: xCAT migrates from sourceforge to github
- Jun 26, 2015: xCAT 2.7.9 released.
- Mar 20, 2015: xCAT 2.9.1 released.
- Dec 12, 2014: xCAT 2.9 released.
- Sep 5, 2014: xCAT 2.8.5 released.
- May 23, 2014: xCAT 2.8.4 released.
- Jan 24, 2014: xCAT 2.7.8 released.
- Nov 15, 2013: xCAT 2.8.3 released.
- Jun 26, 2013: xCAT 2.8.2 released.
- May 17, 2013: xCAT 2.7.7 released.
- May 10, 2013: xCAT 2.8.1 released.
- Feb 28, 2013: xCAT 2.8 released.
- Nov 30, 2012: xCAT 2.7.6 released.
- Oct 29, 2012: xCAT 2.7.5 released.
- Aug 27, 2012: xCAT 2.7.4 released.
- Jun 22, 2012: xCAT 2.7.3 released.
- May 25, 2012: xCAT 2.7.2 released.
- Apr 20, 2012: xCAT 2.7.1 released.
- Mar 19, 2012: xCAT 2.7 released.
- Mar 15, 2012: xCAT 2.6.11 released.
- Jan 23, 2012: xCAT 2.6.10 released.
- Nov 15, 2011: xCAT 2.6.9 released.
- Sep 30, 2011: xCAT 2.6.8 released.
- Aug 26, 2011: xCAT 2.6.6 released.
- May 20, 2011: xCAT 2.6 released.
- Feb 14, 2011: Watson plays on Jeopardy and is managed by xCAT!
- xCAT OS And Hw Support Matrix
- Oct 22, 2010: xCAT 2.5 released.
- Apr 30, 2010: xCAT 2.4 is released.
- Oct 31, 2009: xCAT 2.3 released. xCAT's 10 year anniversary!
- Apr 16, 2009: xCAT 2.2 released.
- Oct 31, 2008: xCAT 2.1 released.
- Sep 12, 2008: Support for xCAT 2 can now be purchased!
- June 9, 2008: xCAT breaths life into (at the time) the fastest supercomputer on the planet
- May 30, 2008: xCAT 2.0 for Linux officially released!
- Oct 31, 2007: IBM open sources xCAT 2.0 to allow collaboration among all of the xCAT users.
- Oct 31, 1999: xCAT 1.0 is born!
xCAT started out as a project in IBM developed by Egan Ford. It was quickly adopted by customers and IBM manufacturing sites to rapidly deploy clusters.