- Community Home
- >
- HPE Community, China
- >
- 服务器
- >
- Itanium服务器
- >
- 博科SAN SWITCH固件升级和 zone调整步骤一例
Itanium服务器
1830845
成员
3368
在线
110017
解答
论坛
类别
Company
Local Language
返回
论坛
讨论平台
论坛
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
讨论平台
论坛
讨论平台
返回
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
博客
信息
社区语言
语言
论坛
博客
- 将帖子标记为未读
- 加注书签
- 订阅
- 禁止
- 订阅此主题的 RSS 提要
- 高亮显示此帖
- 打印此帖
- 报告不当内容
修改时间 05-11-2015 04:54 PM
修改时间 05-11-2015 04:54 PM
博科SAN SWITCH固件升级和 zone调整步骤一例
步骤:
1,备份交换机原有配置信息,上传到ftp服务器上;
2,建立新zone;
4,把新配置生效;
5,检查连通性和业务;
FCSwitch:root> configupload Protocol (scp, ftp, sftp, local) [ftp]: ftp Server Name or IP Address [host]: ftp.liaojl.com User Name [user]: liaojl Path/Filename [<home dir>/config.txt]: FCSwitch/FCSwitch-all.txt Section (all|chassis|switch [all]): all Password: configUpload complete: All selected config parameters are uploaded
备份过程并不会保存以下信息:
- dnsConfig information
- Passwords
配置文件恢复
当需要备份中恢复交换机配置时,可以通过configdownload命令将博科交换机的配置从远程服务器恢复到交换机。博科交换机支持将旧版本的配置文件导入新版本固件的交换机,例如将v6.2.0的配置文件导入v6.3.0固件版本的交换机,或者将v6.4.1 配置文件导入 v7.0.0 版本的交换机。
如果将配置文件导入到不兼容的固件版本交换机,可能导致交换机故障。建议经常保存配置文件,确保备份的配置文件与交换机固件版本相同。
固件v6.1.0及以后的版本,恢复配置文件时不需要disableswitch。某些特殊情况下,恢复配置文件以后会提示你重启交换机。
FCSwitch:root> configdownload Protocol (scp, ftp, local) [ftp]: Server Name or IP Address [host]: ftp.liaojl.com User Name [user]: liaojl Path/Filename [<home dir>/config.txt]: FCSwitch/FCSwitch-all.txt Section (all|chassis|FID# [all]): all *** CAUTION *** This command is used to download a backed-up configuration for a specific switch. If using a file from a different switch, this file's configuration settings will override any current switch settings. Downloading a configuration file, which was uploaded from a different type of switch, may cause this switch to fail. A switch reboot might be required for some parameter changes to take effect. configDownload operation may take several minutes to complete for large files. Do you want to continue [y/n]: y Password: <hidden> configDownload complete.
固件升级
升级固件前,查看一下根分区的磁盘容量,如果使用率超过60%,建议联系Brodecade技术支持处理。
FCSwitch:root> df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 495016 165432 304032 35% / /dev/hda1 494984 165712 303724 35% /mnt
查看交换机当前固件版本:
FCSwitch:root> version Kernel: 2.6.14.2 Fabric OS: v6.4.1a Made on: Tue Dec 14 03:02:28 2010 Flash: Mon Sep 12 11:03:46 2011 BootProm: 1.0.9 FCSwitch:root> firmwareShow Appl Primary/Secondary Versions ----------------------------------------- FOS v6.4.1a v6.4.1a
使用firmwareDownload工具从FTP服务器下载固件并升级。
FCSwitch:root> firmwareDownload Server Name or IP Address: ftp.liaojl.com User Name: liaojl File Name: v6.4.2b Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 2 Password: Do you want to continue (Y/N) [Y]: y All packages have been downloaded successfully. Firmware has been downloaded to the secondary partition of the switch HA Rebooting ...
升级过程一般需要10到30分钟,你可以使用firmwareDownloadStatus 命令来查看升级状态。
FCSwitch:root> firmwareDownloadStatus [1]: Tue Feb 14 06:29:33 2012 Firmware is being downloaded to the switch. This step may take up to 30 minutes. [2]: Tue Feb 14 06:33:27 2012 Firmware has been downloaded to the secondary partition of the switch. [3]: Tue Feb 14 06:35:49 2012 The firmware commit operation has started. This may take up to 10 minutes. [4]: Tue Feb 14 06:38:44 2012 The commit operation has completed successfully. [5]: Tue Feb 14 06:38:44 2012 Firmwaredownload command has completed successfully. Use firmwareshow to verify the firmware versions.
编辑的脚本中,交换机不认减号,只可以使用下划线,请注意!
以下是脚本,供参考!
zonecreate "HWe9000A_1_HW5900","1,0; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_2_HW5900","1,1; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_3_HW5900","1,2; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_4_HW5900","1,3; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_1_HW5900","1,4; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_2_HW5900","1,5; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_3_HW5900","1,6; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_4_HW5900","1,7; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM1_1_HW5900","1,8; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM1_2_HW5900","1,9; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM2_1_HW5900","1,10; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM2_2_HW5900","1,11; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM3_1_HW5900","1,12; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM3_2_HW5900","1,13; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM4_1_HW5900","1,14; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM4_2_HW5900","1,15; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM5_1_HW5900","1,16; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM5_2_HW5900","1,17; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM6_1_HW5900","1,18; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM6_2_HW5900","1,19; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_1_FJ8700","1,0; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000A_2_FJ8700","1,1; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000A_3_FJ8700","1,2; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000A_4_FJ8700","1,3; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_1_FJ8700","1,4; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_2_FJ8700","1,5; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_3_FJ8700","1,6; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_4_FJ8700","1,7; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM1_1_FJ8700","1,8; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM1_2_FJ8700","1,9; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM2_1_FJ8700","1,10; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM2_2_FJ8700","1,11; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM3_1_FJ8700","1,12; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM3_2_FJ8700","1,13; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM4_1_FJ8700","1,14; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM4_2_FJ8700","1,15; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM5_1_FJ8700","1,16; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM5_2_FJ8700","1,17; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM6_1_FJ8700","1,18; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM6_2_FJ8700","1,19; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
switchname hp8_80_1
cfgcreate "hp2015cfg","HWe9000A_1_HW5900;HWe9000A_2_HW5900;HWe9000A_3_HW5900;HWe9000A_4_HW5900;HWe9000B_1_HW5900;HWe9000B_2_HW5900;HWe9000B_3_HW5900;HWe9000B_4_HW5900;IBM1_1_HW5900;IBM1_2_HW5900;IBM2_1_HW5900;IBM2_2_HW5900;IBM3_1_HW5900;IBM3_2_HW5900;IBM4_1_HW5900;IBM4_2_HW5900;IBM5_1_HW5900;IBM5_2_HW5900;IBM6_1_HW5900;IBM6_2_HW5900;HWe9000A_1_FJ8700;HWe9000A_2_FJ8700;HWe9000A_3_FJ8700;HWe9000A_4_FJ8700;HWe9000B_1_FJ8700;HWe9000B_2_FJ8700;HWe9000B_3_FJ8700;HWe9000B_4_FJ8700;IBM1_1_FJ8700;IBM1_2_FJ8700;IBM2_1_FJ8700;IBM2_2_FJ8700;IBM3_1_FJ8700;IBM3_2_FJ8700;IBM4_1_FJ8700;IBM4_2_FJ8700;IBM5_1_FJ8700;IBM5_2_FJ8700;IBM6_1_FJ8700;IBM6_2_FJ8700"
cfgenable "hp2015cfg"
cfgsave
zonecreate "HWe9000A_1_HW5900","1,0; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_2_HW5900","1,1; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_3_HW5900","1,2; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_4_HW5900","1,3; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_1_HW5900","1,4; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_2_HW5900","1,5; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_3_HW5900","1,6; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000B_4_HW5900","1,7; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM1_1_HW5900","1,8; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM1_2_HW5900","1,9; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM2_1_HW5900","1,10; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM2_2_HW5900","1,11; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM3_1_HW5900","1,12; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM3_2_HW5900","1,13; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM4_1_HW5900","1,14; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM4_2_HW5900","1,15; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM5_1_HW5900","1,16; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM5_2_HW5900","1,17; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM6_1_HW5900","1,18; 1,24; 1,25; 1,26; 1,27"
zonecreate "IBM6_2_HW5900","1,19; 1,24; 1,25; 1,26; 1,27"
zonecreate "HWe9000A_1_FJ8700","1,0; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000A_2_FJ8700","1,1; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000A_3_FJ8700","1,2; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000A_4_FJ8700","1,3; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_1_FJ8700","1,4; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_2_FJ8700","1,5; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_3_FJ8700","1,6; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "HWe9000B_4_FJ8700","1,7; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM1_1_FJ8700","1,8; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM1_2_FJ8700","1,9; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM2_1_FJ8700","1,10; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM2_2_FJ8700","1,11; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM3_1_FJ8700","1,12; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM3_2_FJ8700","1,13; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM4_1_FJ8700","1,14; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM4_2_FJ8700","1,15; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM5_1_FJ8700","1,16; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM5_2_FJ8700","1,17; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM6_1_FJ8700","1,18; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
zonecreate "IBM6_2_FJ8700","1,19; 1,32; 1,33; 1,34; 1,35; 1,36; 1,37; 1,38; 1,39"
switchname hp8_80_2
cfgcreate "hp2015cfg","HWe9000A_1_HW5900;HWe9000A_2_HW5900;HWe9000A_3_HW5900;HWe9000A_4_HW5900;HWe9000B_1_HW5900;HWe9000B_2_HW5900;HWe9000B_3_HW5900;HWe9000B_4_HW5900;IBM1_1_HW5900;IBM1_2_HW5900;IBM2_1_HW5900;IBM2_2_HW5900;IBM3_1_HW5900;IBM3_2_HW5900;IBM4_1_HW5900;IBM4_2_HW5900;IBM5_1_HW5900;IBM5_2_HW5900;IBM6_1_HW5900;IBM6_2_HW5900;HWe9000A_1_FJ8700;HWe9000A_2_FJ8700;HWe9000A_3_FJ8700;HWe9000A_4_FJ8700;HWe9000B_1_FJ8700;HWe9000B_2_FJ8700;HWe9000B_3_FJ8700;HWe9000B_4_FJ8700;IBM1_1_FJ8700;IBM1_2_FJ8700;IBM2_1_FJ8700;IBM2_2_FJ8700;IBM3_1_FJ8700;IBM3_2_FJ8700;IBM4_1_FJ8700;IBM4_2_FJ8700;IBM5_1_FJ8700;IBM5_2_FJ8700;IBM6_1_FJ8700;IBM6_2_FJ8700"
cfgenable "hp2015cfg"
cfgsave
以上表述为作者个人观点,不代表惠普公司,使用本网站,请遵守网站使用规则和条款