簡介
本文檔介紹在Ultra-M設定中更換故障枝葉交換機(Nexus 93180YC-EX)所需的步驟。
此過程適用於使用NEWTON版本的Openstack環境,其中ESC不管理Cisco Prime Access Registrar(CPAR),而CPAR直接安裝在Openstack上部署的VM上。
背景資訊
Ultra-M是經過預打包和驗證的虛擬化移動資料包核心解決方案,旨在簡化VNF的部署。Ultra-M設定中的伺服器連線到三種不同型別的交換機:
Ultra-M設定的網路拓撲如圖所示:
附註:網路拓撲只是一個表示形式,交換機之間的連線可能略有不同,具體取決於所部署的解決方案。
本文檔面向熟悉Cisco Ultra-M設定和Nexus交換機的思科人員。
縮寫
VNF |
虛擬網路功能 |
API |
應用程式程式設計介面 |
澳門幣 |
程式方法 |
DI |
分散式例項 |
FTP |
檔案傳輸通訊協定 |
SFTP |
安全檔案傳輸通訊協定 |
BGP |
邊界網關協定 |
BFD |
雙向轉送檢測 |
MoP的工作流程
此圖顯示了替換過程的高級工作流。
UltraM設定中的枝葉交換機
在UltraM設定中,枝葉交換機處理以下網路:
- Openstack網路 — 處理租戶、內部API、儲存網路和儲存管理網路。
- StarOS VNF網路 — 處理DI網路和服務網路。
- 上行鏈路網路 — 到主幹交換機的上行鏈路連線。
UltraM設定中的每個機架都有一對枝葉交換機。枝葉交換機所處理的網路具有跨 機架的枝葉交換機,以便網路不受更換枝葉交換機的影響。
必備條件
步驟1.在用交換機替換配置檔案之前,通過FTP/SFTP從枝葉交換機備份配置檔案。
AL03-N93180-POD2-leaf1# copy running-config sftp:
Enter destination filename: [AL03-N93180-POD2-leaf1-running-config] backup-leaf-1-cfg
Enter vrf (If no input, current vrf 'default' is considered): management
Enter hostname for the sftp server: 10.10.10.10
Enter username: admin
The authenticity of host '10.10.10.10 (10.10.10.10)' can't be established.
ECDSA key fingerprint is SHA256:dnHSXQ6fyYX5v8DU87oqVkCoA8CSPW7CpT+o2qilNI4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.10.10' (ECDSA) to the list of known hosts.
admin@10.10.10.10's password:
Connected to 10.10.10.10.
sftp> put /var/tmp/vsh/backup-leaf-1-cfg backup-leaf-1-cfg
Uploading /var/tmp/vsh/backup-leaf-1-cfg to /root/backup-leaf-1-cfg
/var/tmp/vsh/backup-leaf-1-cfg 0% 0 0.0KB/s --:-- ETA /var/tmp/vsh/backup-leaf-1-cfg 100% 8588 8.4KB/s 00:00
sftp> exit
Copy complete, now saving to disk (please wait)...
Copy complete.
步驟2.檢查交換器中執行的目前軟體版本,並記下它。
AL03-N93180-POD2-leaf1# show version
<snip>
Software
BIOS: version 07.59
NXOS: version 7.0(3)I7(3)
BIOS compile time: 08/26/2016
NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]
步驟3.檢查當前的許可證權利。
AL03-N93180-POD2-leaf1# show license usage
Feature Ins Lic Status Expiry Date Comments
Count
--------------------------------------------------------------------------------
N9K_LIC_1G No - Unused -
VPN_FABRIC No - Unused -
FCOE_NPV_PKG No - Unused -
SECURITY_PKG No 0 Unused -
N9K_UPG_EX_10G No - Unused -
TP_SERVICES_PKG No - Unused -
NXOS_ADVANTAGE_GF No - Unused -
NXOS_ADVANTAGE_M4 No - Unused -
NXOS_ADVANTAGE_XF No - Unused -
NXOS_ESSENTIALS_GF No - Unused -
NXOS_ESSENTIALS_M4 No - Unused -
NXOS_ESSENTIALS_XF No - Unused -
SAN_ENTERPRISE_PKG No - Unused -
PORT_ACTIVATION_PKG No 0 Unused -
NETWORK_SERVICES_PKG No - Unused -
NXOS_ADVANTAGE_M8-16 No - Unused -
NXOS_ESSENTIALS_M8-16 No - Unused -
FC_PORT_ACTIVATION_PKG No 0 Unused -
LAN_ENTERPRISE_SERVICES_PKG No - Unused -
--------------------------------------------------------------------------------
步驟4.記下連線到交換機的物理電纜和埠狀態。
AL03-N93180-POD2-leaf1# show int status
步驟5.檢查連線埠通道、BGP對等體和BFD鄰居的目前狀態。
AL03-N93180-POD2-leaf1# show port-channel summary
AL03-N93180-POD2-leaf1# show ip bgp summary vrf all
AL03-N93180-POD2-leaf1# show ipv6 bgp summary vrf all
AL03-N93180-POD2-leaf1# show bfd neighbor vrf all
AL03-N93180-POD2-leaf1# show bfd ipv6 neighbor vrf all
交換機更換過程
步驟1.將新交換機安裝到機架中,並將電纜連線到交換機,如前所述。交換機的安裝步驟可以在以下連結中找到:
Cisco Nexus 93180YC-EX NX-OS模式硬體安裝指南
步驟2.執行初始IP配置,以啟用通過管理IP地址對交換機的訪問,以進行進一步配置。執行初始IP設定的步驟在此連結中:
將交換機連線到網路
步驟3.檢查Nexus交換機的軟體版本,並根據給定連結升級到以前的軟體版本:
Cisco Nexus 9000系列NX-OS軟體升級和降級指南
步驟4.檢查新Nexus交換機的許可證級別,確認其是否符合舊許可證設定。
AL03-N93180-POD2-leaf1# show license usage
Feature Ins Lic Status Expiry Date Comments
Count
--------------------------------------------------------------------------------
N9K_LIC_1G No - Unused -
VPN_FABRIC No - Unused -
FCOE_NPV_PKG No - Unused -
SECURITY_PKG No 0 Unused -
N9K_UPG_EX_10G No - Unused -
TP_SERVICES_PKG No - Unused -
NXOS_ADVANTAGE_GF No - Unused -
NXOS_ADVANTAGE_M4 No - Unused -
NXOS_ADVANTAGE_XF No - Unused -
NXOS_ESSENTIALS_GF No - Unused -
NXOS_ESSENTIALS_M4 No - Unused -
NXOS_ESSENTIALS_XF No - Unused -
SAN_ENTERPRISE_PKG No - Unused -
PORT_ACTIVATION_PKG No 0 Unused -
NETWORK_SERVICES_PKG No - Unused -
NXOS_ADVANTAGE_M8-16 No - Unused -
NXOS_ESSENTIALS_M8-16 No - Unused -
FC_PORT_ACTIVATION_PKG No 0 Unused -
LAN_ENTERPRISE_SERVICES_PKG No - Unused -
--------------------------------------------------------------------------------
步驟5.將配置備份轉移到新交換機。
server-backup$ sftp admin@10.10.10.10
The authenticity of host '10.10.10.10 (10.10.10.10)' can't be established.
RSA key fingerprint is SHA256:fnbUmd2mL5yE94zxrRoKAlvYfQbheXJfQox7m3XfpIU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.10.10' (RSA) to the list of known hosts.
User Access Verification
Password:
Password:
Connected to 10.10.10.10.
sftp> ls
20170607_193430_poap_15489_1.log 20170607_193430_poap_15489_2.log 20170607_193430_poap_15489_init.log backup-leaf-1-cfg
sftp> put backup-leaf-1-cfg
Uploading backup-spine-cfg-2 to /backup-leaf-1-cfg
backup-leaf-1-cfg 100% 33KB 23.5KB/s 00:01
sftp> bye
AL03-N93180-POD2-leaf1# copy bootflash:///backup-leaf-1-cfg startup-config
Copy progress 100% 33KB
Copy complete, now saving to disk (please wait)...
Copy complete.
步驟6.載入備份組態後,重新載入交換器。
AL03-N93180-POD2-leaf1# reload
步驟7.檢驗埠狀態、埠通道、BGP對等體和BFD鄰居。
AL03-N93180-POD2-leaf1# show int status
AL03-N93180-POD2-leaf1# show port-channel summary
AL03-N93180-POD2-leaf1# show ip bgp summary vrf all
AL03-N93180-POD2-leaf1# show ipv6 bgp summary vrf all
AL03-N93180-POD2-leaf1# show bfd neighbor vrf all
AL03-N93180-POD2-leaf1# show bfd ipv6 neighbor vrf all