更新无限无线连接更新服务器,02-H3C WBC560多业务无线控制器软件升级操作指导...
本文中的綠洲平臺指的是WBC560多業務無線控制器中的本地綠洲。
1.1.1? 軟件升級方式簡介
AC支持通過命令行進行軟件升級和通過Web頁面進行軟件升級,命令行升級方式只能通過以太網口telnet到AC進行升級,無法通過HDM進行升級。
升級方式
說明
·需要重啟AC來實現AC軟件的升級
·使用該方式升級AC軟件時會導致當前業務中斷
在升級AC啟動文件前,請完成如下準備工作:
·配置AC與文件服務器路由可達。
·開啟文件服務器的TFTP/FTP Server功能。
·通過配置終端登錄到AC的命令行配置界面中。
·將AC的升級啟動文件拷貝到文件服務器上,并正確設置TFTP/FTP Server的訪問路徑。
升級AC的啟動文件后,需要重新啟動AC,在重啟過程完成前,AC的各項業務功能將不可用。
圖1-1 AC的升級環境
1.保存當前配置并查看存儲介質剩余空間
(1)在任意視圖下,執行save命令保存AC當前配置信息。
(2)在用戶視圖下,執行dir命令查看AC當前的文件系統,確認啟動文件及配置文件名,以及存儲介質的剩余空間,保證存儲介質有足夠空間放入新的啟動文件。
用戶可以將AC做為客戶端,通過TFTP或FTP協議,將升級軟件包下載到設備的存儲介質上。
·使用TFTP協議
在用戶視圖下,執行tftp get命令將升級軟件包wbc560_ac.ipe下載到設備的硬盤中。
tftp 192.168.0.1 get wbc560_ac.ipe
Press CTRL+C to abort.
% Total??? %
Received % Xferd? Average Speed?? Time??? Time???? Time? Current
Dload? Upload?? Total?? Spent??? Left? Speed
100? 295M? 100? 295M ???0???? 0?? 651k????? 0? 0:07:43? 0:07:43 --:--:--? 531k
Writing file...Done.
·使用FTP協議
在FTP客戶端視圖下,執行get命令將啟動文件wbc560_ac.ipe下載到設備的硬盤中。
get wbc560_ac.ipe
227 Entering passive mode
(192,168,0,1,5,20)
125 Using existing data connection
226 Closing data connection; File transfer successful.
309370880 bytes received in 17.7 seconds (2.03 Mbyte/s)
quit
221 Service closing control connection
(1)在用戶視圖下,執行boot-loader命令設置AC下次啟動使用的啟動文件為wbc560_ac.ipe,并指定啟動文件類型為main。
boot-loader file flash:/wbc560_ac.ipe main
Verifying the file flash:/wbc560_ac.ipe on the device.....Done.
H3C WBC560 images in IPE:
boot.bin
system.bin
This command will set the main startup software images. Please do not reboot the
device during the upgrade. Continue? [Y/N:y
Add images to the device.
File flash:/boot.bin already exists on the device.
File flash:/system.bin already exists on the device.
Overwrite the existing files?
[Y/N]:y
Decompressing file boot.bin to flash:/boot.bin......Done.
Decompressing file system.bin to flash:/system.bin...Done.
Verifying the file flash:/boot.bin on the device.....Done.
Verifying the file flash:/system.bin on the device...Done.
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on the device.
Decompression completed.
You are recommended to delete the .ipe file after you set startup software image
s for all slots.
Do you want to delete flash:/wbc560_ac.ipe now? [Y/N]:y
(2)在用戶視圖下,執行display boot-loader命令查看AC的啟動程序文件信息。
display boot-loader
Software images on slot 1:
Current software images:
Image???????????????????????????????????????????????? Version
flash:/boot.bin?????????????????????????????????????? ESS 5425
flash:/system.bin???????????????????????????????????? ESS 5425
Main startup software images:
Image???????????????????????????????????????????????? Version
flash:/boot.bin?????????????????????????????????????? ESS 5425
flash:/system.bin???????????????????????????????????? ESS 5425
Backup startup software images:
None
如上顯示信息中,下一次啟動的程序文件已經設置為:
?boot.bin
?system.bin
(1)在用戶視圖下,執行reboot命令重啟AC。
reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
System is starting...
(2)AC重啟后,通過display version命令查看AC的啟動文件版本信息是否與升級的啟動文件一致。
display version
H3C Comware Software, Version 7.1.064, ESS 5406P02
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C WBC560 uptime is 0 weeks,
0 days, 0 hours, 37 minutes
Last reboot reason : Power on
Boot image: flash:/boot.bin
Boot image version: 7.1.064, ESS 5406P02
Compiled May 16 2019 16:00:00
System image: flash:system.bin
System image version: 7.1.064,
ESS 5406P02
Compiled May 16 2019 16:00:00
with 1 1696MHz Multi-core Processor
15914M bytes SDRAM
15328M bytes Flash
Hardware Version is Ver.B
Basic Bootrom Version is 1.03
Extend Bootrom Version is 1.03
[Subslot 0]WBC560 Hardware Version is Ver.B
1.1.4? 通過BootWare菜單升級啟動文件
·在軟件升級時,配置文件將自動清空,請備份當前版本對應的配置文件,等系統升級后根據備份文件重新進行配置。
·由于WBC560沒有實體Console口,因此需要通過HDM登錄到“H3C WBC系統監控平臺”,選擇“AC console”,通過虛擬Console來進行Bootware升級。
·在BootWare中通過設備以太網接口升級啟動文件時,只能使用GE1/0/1接口(1000 Base-T以太網接口1/HDM共享網絡接口)升級。
1. 備份當前配置文件
(1)將AC上當前運行的配置保存至設備存儲介質。
save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Configuration is saved to device successfully.
(2)將配置文件備份到PC上。
tftp 192.168.0.1 put startup.cfg
File will be transferred in binary mode
Sending file to remote TFTP server. Please wait... \
TFTP: 1914 bytes sent in 0 second(s).
File uploaded successfully.
2. 進入BootWare主菜單
(1)給設備上電和重啟,啟動的過程中,在配置終端的屏幕上首先將顯示如下信息:
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extended BootWare
The Extended BootWare is self-decompressing.................................
...Done.
****************************************************************************
*
*
*?????????????????? H3C WBC560 BootWare, Version 1.03??? ??????????????????*
*
*
****************************************************************************
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd.
Compiled Date : May 16 2017
BootWare Validating...
Press Ctrl+B to access EXTENDED-BOOTWARE MENU...
為了閱讀和便于理解,如果不做特殊說明,本菜單都將稱為BootWare主菜單。
(2)當出現“Press Ctrl+B to access EXTENDED-BOOTWARE MENU...”時,鍵入,系統進入BootWare主菜單:
Password recovery capability is enabled.
===================================================
|<1> Boot System
|
|<2> Enter Ethernet SubMenu
|
|<3> File Control
|
|<4> Restore to Factory Default Configuration
|
|<5> Skip Current System Configuration
|
|<6>SkipAuthentication forConsoleLogin
|
|<7> BootWare Operation Menu
|
|<0> Reboot
|
============================================================================
Ctrl+F: Format File System
Ctrl+C: Display Copyright
Enter your choice(0-7):
表1-2 BootWare主菜單描述表
菜單項
說明
<1> Boot System
引導啟動文件
<2> Enter Ethernet SubMenu
進入以太網口子菜單
<3> File Control
文件控制子菜單
<4> Restore to Factory Default Configuration
恢復AC的出廠配置
<5> Skip Current System Configuration
跳過當前配置進行啟動,只是本次生效。該功能一般在用戶丟失口令之后使用
<6> Skip Authentication for Console Login
清除Console口登錄密碼
<7> BootWare Operation Menu
BootWare操作子菜單。
BootWare程序會隨AC啟動文件的升級而同步升級,不推薦用戶單獨升級BootWare程序
<0> Reboot
重新啟動AC
在BootWare菜單下鍵入<2>,進入以太網口子菜單,系統顯示如下:
====================================================
|Note:the operating device is flash
|
|<1> Download Image Program To SDRAM And Run
|
|<2> Update Main Image File
|
|<3> Update Backup Image File
|
|<4> Download Files(*.*)
|
|<5> Modify Ethernet Parameter
|
|<0> Exit To Main Menu
|
|
|
============================================================================
Enter your choice(0-5):
表1-3 以太網口子菜單描述表
菜單項
說明
<1> Download Image Program To SDRAM And Run
下載啟動文件到內存并啟動
<2> Update Main Image File
升級主啟動文件
<3> Update Backup Image File
升級備份啟動文件
<4> Download Files(*.*)
下載啟動文件到存儲
<5> Modify Ethernet Parameter
修改以太網口參數
<0> Exit To Main Menu
返回BootWare主菜單
在以太網口子菜單下鍵入<5>,修改以太網口參數,系統顯示如下:
==================================================
|Note:
'.' = Clear field.
|
|
'-' = Go to previous field.
|
|????????? Ctrl+D = Quit.
|
==========================================================================
Protocol (FTP or TFTP) :tftp
Load File Name???????? :wbc560_ac.ipe
:
Target File Name?????? :wbc560_ac.ipe
:
Server IP Address????? :192.168.0.1
Local IP Address?????? :192.168.0.100
Subnet Mask
:255.255.255.0
Gateway IP Address???? :0.0.0.0
表1-4 以太網口參數描述表
顯示
說明
'.' = Clear field
快捷鍵:“.”表示清除當前輸入
'-' = Go to previous field
快捷鍵:“-”表示返回到前一個參數域
Ctrl+D = Quit
快捷鍵:表示退出參數配置界面
Protocol (FTP or TFTP)
使用的傳輸協議,可以為FTP或者TFTP
Load File Name
下載文件名,要與下載的實際文件名一致
Target File Name
存儲的目標文件名。缺省情況下與服務器端文件名一致
Server IP Address
TFTP/FTP服務器的IP地址。需要設置掩碼請使用冒號“:”格開,如:192.168.80.10:24
Local IP Address
本地IP地址,為TFTP/FTP客戶端設置的IP地址
Subnet Mask
本地IP地址的子網掩碼
Gateway IP Address
網關IP地址。當與服務器不在同一網段時需要配置網關地址。
FTP User Name
FTP用戶名,傳輸協議為TFTP時,無此選項
FTP User Password
FTP用戶密碼,傳輸協議為TFTP時,無此選項
(1)以升級主啟動文件為例,在以太網口子菜單下鍵入<2>,升級主啟動文件。
Loading.....................................................................
.........................................Done.
309370880 bytes downloaded!
The file is exist,will you overwrite it? [Y/N]Y
Image file boot.bin is self-decompressing...
Saving file flash:/boot.bin
...........................Done.
Image file system.bin is self-decompressing...
Saving file flash:/system.bin
.........................Done.
(2)在以太網口子菜單下鍵入<0>,返回BootWare主菜單。
Enter your choice(0-5): 0
=====================================================
|<1> Boot System
|
|<2> Enter Ethernet SubMenu
|
|<3> File Control
|
|<4> Modify BootWare Password
|
|<5> Skip Current System Configuration
|
|<6> Skip Authentication for Console Login
|
|<7> BootWare Operation Menu
|
|<0> Reboot
|
============================================================================
Ctrl+F: Format File System
Ctrl+C: Display Copyright
Enter your choice(0-9):
(3)在BootWare主菜單下鍵入<1>,引導系統:
Enter your choice(0-9): 1
Loading the main image files...
Loading file flash:/system.bin...........................Done.
Loading file flash:/boot.bin..............Done.
Image file flash:/boot.bin is self-decompressing..............Done.
System image is starting...
Cryptographic algorithms tests passed.
Line con0 is available.
Press ENTER to get started.
1. Web網管使用限制
·建議使用以下瀏覽器訪問Web:Internet Explorer 10及以上版本、Firefox 30.0.0.5269及以上版本、Chrome 35.0.1916.114及以上版本、Safari 5.1及以上版本。
·使用的瀏覽器必須要設置能接受第一方Cookie(即來自站點的Cookie),并啟用活動腳本(或JavaScript),才能正常訪問Web。以上功能在不同瀏覽器中的名稱及設置方法可能不同,請以實際情況為準。
·使用Internet Explorer瀏覽器時,還必須啟用以下兩個功能,才能正常訪問Web:對標記為可安全執行腳本的ActiveX控件執行腳本、運行ActiveX控件和插件。
·更改設備的軟件版本后,建議在登錄Web頁面之前先清除瀏覽器的緩存,以便正確地顯示Web頁面。
2. 升級前的準備
在升級AC啟動文件前,請完成如下準備工作:
·配置AC與客戶端路由可達。
·將AC的升級啟動文件拷貝到客戶端上。
圖1-2 AC的升級環境
3. 升級操作步驟
(1)將管理員客戶端的IP地址設置為192.168.0.0/24網段中的一個地址(192.168.0.100除外),例如192.168.0.1,如
圖1-3 配置客戶端IP地址
(2)在客戶端上啟動瀏覽器,在地址欄中輸入AC的IP地址后回車,即可進入AC的Web登錄頁面。首次登錄時請輸入缺省用戶名和密碼均為admin(進入管理界面后可更改此密碼),然后單擊按鈕即可登錄,如
(3)單擊頁面底部的按鈕,進入“系統”菜單頁面,然后單擊頁面左側導航欄的“文件管理”,進入“文件管理”頁面,可以查看存儲介質的剩余空間,保證存儲介質有足夠空間放入新的啟動文件。
(4)升級之前建議備份一下配置文件,在“系統”菜單頁面,單擊頁面左側導航欄的“管理”,進入“配置文件”頁面,點擊“導出當前配置”,如
(5)在
(6)重啟設備之后,在“管理”欄目的“關于”頁面中,查看升級系統軟件之后的“版本信息”,確定系統軟件是否升級成功。
·綠洲平臺微服務升級只能通過HDM共享網絡接口(第一個以太網接口)登錄H3C WBC系統監控平臺進行操作,無法通過HDM專用網絡接口進行升級。
·通過HDM共享網絡接口登錄H3C WBC系統監控平臺的頁面顯示與HDM專用網絡接口登錄不同,從HDM共享網絡接口登錄后,AC Console部分變成AC web,即只能進入AC的Web頁面,無法通過虛擬Console口進入AC的命令行頁面,同時多了微服務升級頁面。
(1)在瀏覽器地址欄輸入http://192.168.0.101:9998,登錄H3C WBC系統監控平臺,其中192.168.0.101為HDM共享網絡接口的IP地址,這里采用缺省地址。
圖1-7 登錄H3C WBC系統監控平臺
(2)單擊
,顯示更多信息。
圖1-8 顯示微服務升級
(3)單擊“微服務升級”,進入微服務升級頁面。
圖1-9 進入微服務升級頁面
(4)單擊“上傳文件”,然后單擊按鈕選擇版本文件或直接將版本文件拖拽到頁面中,然后單擊按鈕。
圖1-10 上傳文件
(5)單擊版本包后面的“
”圖標,在彈出的更新對話框中單擊按鈕。
圖1-11 確認信息
(6)等待微服務更新完畢,單擊按鈕,完成微服務升級。
圖1-12 升級頁面
Update軟件包主要作為WBC560設備的系統升級包,為了確保設備可以正常使用最新功能,建議及時升級Update軟件包。
在升級Update軟件包前,請完成如下準備工作:
·配置設備與文件服務器路由可達。
·通過配置終端登錄到設備的命令行配置界面中。
·將Update軟件包拷貝到文件服務器上。
·文件服務器上已安裝好WinScp軟件。
1.3.3? 升級操作步驟
1. 上傳Update軟件包到設備
(1)打開WinSCP軟件,配置連接到設備的基本參數,點擊按鈕。
?Host name:設備地址(缺省為192.168.0.101)
?User name:root
?Password:admin@h3c.Default.0506
圖1-13 配置設備基本參數
(2)在軟件的路徑選擇框中選擇“packages”,進入設備的/opt/h3c/packages路徑,將本地Update軟件包通過拖拽的方式上傳到設備。
圖1-14 上傳Update軟件包到設備
2. 安裝Update軟件包
(1)通過配置終端登錄到設備的命令行配置界面中。
?設備地址:192.168.0.101(同步驟1中的Host name)
?用戶名:root
?密碼:admin@h3c.Default.0506
圖1-15 登錄設備命令行配置界面
(2)創建一個新目錄并進入,通過tar xvzf xxx(xxx為上傳到設備的Update軟件包名稱)命令將Update軟件包加壓到該目錄下。
[root@wlan101 ~]# cd
/opt/h3c/packages
[root@wlan101 packages]# mkdir tmp1
[root@wlan101 packages]# cd tmp1
[root@wlan101 tmp1]# tar xvzf
/opt/h3c/packages/wbc560_update-e5417p01.bin
./
./wbc560_oasis-e5417p01.bin
./wbc560_otb-v1.2.0.bin
./global.def
./wbc560_security-v2.0.0.bin
./wbc_update.sh
./wbc560_h2vm-v1.0.0.bin
./wbc560_ixgbe-v1.0.0.bin
./tool/
./tool/inimanage.sh
./tool/updateip.sh
./wbc560_lics-e1303.bin
./wbc560_wbcweb-v1.0.0.bin
./wbc560_ac-e5417p01.bin
./wbc560_vnet-v1.0.0.bin
./wbc560_desktop-v1.0.0.bin
./wbc560_igb-v2.0.0.bin
[root@wlan101 tmp1]# ls
global.def???????????????? wbc560_lics-e1303.bin
tool?????????????????????? wbc560_oasis-e5417p01.bin
wbc560_ac-e5417p01.bin???? wbc560_otb-v1.2.0.bin
wbc560_desktop-v1.0.0.bin? wbc560_security-v2.0.0.bin
wbc560_h2vm-v1.0.0.bin???? wbc560_vnet-v1.0.0.bin
wbc560_igb-v2.0.0.bin????? wbc560_wbcweb-v1.0.0.bin
wbc560_ixgbe-v1.0.0.bin??? wbc_update.sh
(3)執行sh wbc_update.sh或sh wbc_update.sh –f完成update軟件包的升級(以sh wbc_update.sh為例)。
?sh wbc_update.sh命令:設備會進行新舊組件版本號對比,對于版本相差較大的組件,設備會先卸載舊版本組件,然后重新安裝新版本的組件;對于版本相差不大的組件,設備會進行舊版本組件的更新升級;對于無版本差異的組件,設備不進行升級處理,此過程用時和版本差異有關,請以實際用時為準。
?sh wbc_update.sh –f命令:設備不進行新舊組件版本號的對比,直接將所有舊版本組件卸載,然后重新安裝新版本的組件,此過程大約需要25分鐘。
[root@wlan101 tmp1]# sh wbc_update.sh
[2018-12-25 17:02:44] INFO:xAC configuration saved?(y or n)y
[2018-12-25 17:02:45] INFO:shut down xAC?(y or n)y
[2018-12-25 17:02:52] INFO:Domain AC destroyed
[2018-12-25 17:02:52] INFO:Start save user configuration, please wait...
[2018-12-25 17:02:53] INFO:Start uninstall security, please wait...
[2018-12-25 17:02:55] INFO:Start uninstall igb, please wait...
[2018-12-25 17:05:03] INFO:desktop now is the latest version.
[2018-12-25 17:05:03] INFO:Start install igb, please wait...
[2018-12-25 17:08:06] INFO:igb install successfully.
[2018-12-25 17:08:06] INFO:ixgbe now is the latest version.
[2018-12-25 17:08:06] INFO:h2vm now is the latest version.
[2018-12-25 17:08:06] INFO:Start update ac, please wait...
[2018-12-25 17:08:06] INFO:xAC related script is the latest version.
[2018-12-25 17:08:06] INFO:Start update oasis, please wait...
[2018-12-25 17:08:06] INFO:OASIS related script is the latest version.
[2018-12-25 17:08:08] INFO:lics now is the latest version.
[2018-12-25 17:08:08] INFO:wbcweb now is the latest version.
[2018-12-25 17:08:08] INFO:vnet now is the latest version.
[2018-12-25 17:08:08] INFO:Start install security, please wait...
[2018-12-25 17:08:54] INFO:security install successfully.
[2018-12-25 17:08:54] INFO:Start update otb, please wait...
[2018-12-25 17:08:55] INFO:otb update successfully.
[2018-12-25 17:08:55] INFO:Start restore user configuration, please wait...
[2018-12-25 17:09:51] INFO:Domain AC started.
[2018-12-25 17:09:51] INFO:wbc560 update successfully.
總結
以上是生活随笔為你收集整理的更新无限无线连接更新服务器,02-H3C WBC560多业务无线控制器软件升级操作指导...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql的内外连接_MYSQL的内外连
- 下一篇: 在python语言中语句的续行符是_Py