欢迎来到天天文库
浏览记录
ID:59252111
大小:431.69 KB
页数:8页
时间:2020-09-08
《VX1600单用户模式配置保存与恢复.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、VX1600单用户模式配置保存与恢复1说明由于系统异常,导致无法登录存储系统来获取配置信息;可通过进入单用户模式,导出相关的数据库文件,转存为配置文件后,通过GUI配置恢复到新的存储服务器上。选择导出的数据库文件只有initiator和target相关的,其他配置信息如果需要,请手动配置。2单用户模式下保存配置信息2.1进入单用户模式打开存储设备的超级终端,(1)启动存储设备(2)在串口观察设备的重启过程,当出现“SystemNormalStart”时,按e键,如下图所示(3)进入grub界面,通过上下键选择进入kernel/vm
2、linuz-2.6.32……,如下图所示(4)继续按e键,进入编辑界面,在末尾加上“single”,如下图所示:(5)按Enter键,回到步骤3的界面,按b键,boot加载完成,如下图所示:2.2给存储配置一个IP地址用于传输数据库文件如下配置eth0192.168.11.84,确保跟ftp服务器192.168.11.83网络正常。2.3获取数据库文件,备份在/tmp目录下在单用户模式下执行如下命令获取数据库的txt文件:(1).配置环境变量source/etc/profile(2).启动数据库cfgmgt_start(3).备份
3、数据库到/tmp目录mysqldump-umysql-pmysql--socket=/usr/local/hstor/sms_install/etc/storware_db_file/stor_db_loc.sock-T/tmpstore_configure如下图:2.4配置FTP服务器用户名密码与共享文件夹保存FTPserver程序到个人电脑上,双击直接运行按照下图,添加FTP用户,配置密码、共享文件夹路径、访问权限等,并点击Apply按钮;最后点击绿色箭头按钮,开启FTP服务。2.5/tmp目录下的对应文件传输到FTP服务器上
4、在/tmp目录下把如下文件取出到windows上(FTP服务器)-rw-r--r--1rootroot1491Apr2114:10tb_iscsi_common_para.sql-rw-r--r--1rootroot451Apr2114:10tb_iscsi_common_para.txt-rw-r--r--1rootroot1424Apr2114:10tb_iscsi_initiator.sql-rw-r--r--1rootroot4Apr2114:10tb_iscsi_initiator.txt-rw-r--r--1rootr
5、oot1896Apr2114:10tb_iscsi_it.sql-rw-r--r--1rootroot38Apr2114:10tb_iscsi_it.txt-rw-r--r--1rootroot1647Apr2114:10tb_iscsi_pr_itl.sql-rw-r--r--1rootroot0Apr2114:10tb_iscsi_pr_itl.txt-rw-r--r--1rootroot1745Apr2114:10tb_iscsi_pr_l.sql-rw-r--r--1rootroot184Apr2114:10tb_iscs
6、i_pr_l.txt-rw-r--r--1rootroot1499Apr2114:10tb_iscsi_target_lun.sql-rw-r--r--1rootroot252Apr2114:10tb_iscsi_target_lun.txt-rw-r--r--1rootroot1536Apr2114:10tb_iscsi_target.sql-rw-r--r--1rootroot40Apr2114:10tb_iscsi_target.txt-rw-r--r--1rootroot1852Apr2114:10tb_lv.sql-rw
7、-r--r--1rootroot533Apr2114:10tb_lv.txt-rw-r--r--1rootroot1627Apr2114:10tb_metadata.sql-rw-r--r--1rootroot0Apr2114:10tb_metadata.txt-rw-r--r--1rootroot1809Apr2114:10tb_segment.sql-rw-r--r--1rootroot376Apr2114:10tb_segment.txt-rw-r--r--1rootroot1578Apr2114:10tb_vd.sql-r
8、w-r--r--1rootroot46Apr2114:10tb_vd.txt在串口单用户模式下,输入ftp192.168.11.83(FTP服务器地址),再输入2.4中配置的用户名和密码,如下通过mput命令将tb_iscsi_common_par
此文档下载收益归作者所有