feizi111
作者feizi111·2012-08-11 14:35
系统工程师·深圳市科维思信息技术有限公司

IBM存储交换机配置文件备份和恢复

字数 1676阅读 6111评论 1赞 0
注:IBM B24存储交换机配置文件备份
    /var/config本地备份存放路径
1、交换机版本为(fabos version为6.4.0c)支持(scp, ftp, local)协议
2、配置文件备份
   1>用telnet命令登录存储交换。用户名:admin 密码:password
   2>IBM_B24A:admin> configupload
Protocol (scp, ftp, local) [ftp]: ftp
Server Name or IP Address [host]: 10.12.119.200
User Name [user]: admin
Path/Filename [<home dir>/config.txt]: pools/A/A0/Backups/config2012.txt
Section (all|chassis|switch [all]): all
Password:
configUpload complete: All selected config parameters are uploaded
3、备份过程并不会保存以下信息:
IP地址
交换机名
dnsConfig information
Passwords

4、配置文件恢复信息
当需要备份中恢复交换机配置时,可以通过configdownload命令将博科交换机的配置从远程服务器恢复到交换机。博科交换机支持将旧版本的配置文件导入新版本固件的交换机,例如将v6.2.0的配置文件导入v6.3.0固件版本的交换机,或者将v6.4.1 配置文件导入 v7.0.0 版本的交换机。
如果将配置文件导入到不兼容的固件版本交换机,可能导致交换机故障。建议经常保存配置文件,确保备份的配置文件与交换机固件版本相同。
固件v6.1.0及以后的版本,恢复配置文件时不需要disableswitch。某些特殊情况下,恢复配置文件以后会提示你重启交换机。
switch:admin> 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.

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论1 条评论

drjonesdrjones软件开发工程师江中集团
2013-01-30 09:01
所以理论上rm删除的文件是还能恢复的。删掉文件其实只是将指向数据块的索引点(information nodes)释放,只要不被覆盖,数据其实还在硬盘上,关键在于找出索引点,然后将其所指数据块内的数据抓出,再保存到另外的分区。在用rm误删除文件后,我们要做的第一件事就是保证不再向误删文件的分区写数据。
Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广