[互联网]H3CEX1000盘柜配置文档

上传人:沈*** 文档编号:75453362 上传时间:2022-04-15 格式:DOC 页数:38 大小:6.64MB
收藏 版权申诉 举报 下载
[互联网]H3CEX1000盘柜配置文档_第1页
第1页 / 共38页
[互联网]H3CEX1000盘柜配置文档_第2页
第2页 / 共38页
[互联网]H3CEX1000盘柜配置文档_第3页
第3页 / 共38页
资源描述:

《[互联网]H3CEX1000盘柜配置文档》由会员分享,可在线阅读,更多相关《[互联网]H3CEX1000盘柜配置文档(38页珍藏版)》请在装配图网上搜索。

1、H3C-EX1000盘柜重新安装过程2011.06.13技术部翟树云一 盘柜操作过程(这个盘柜原来做过RAID,现在是重做,如第一次安装,需安装初始安装文档操作)注意:每个RAID空间不能超过2T,如超过,物理设备无法认出设备信息1.在IE浏览器地址栏输入http:/192.168.0.1/2.输入用户名密码,默认root /passwd3.右键单击服务器名称-RAID管理4. 创建RAID以表格形式列出磁盘列表右键单击热备盘,选择“Remove as Globel Spare”点击“OK”取消全局热备盘开始做第一个RAID5,勾选前5块盘(每块500G),Type选RAID5;Capacit

2、y默认容全部量;填写Array Name(可以任意取字母和数字组成的字符串名称),这里我选h3c001;第一个RAID5做完后,如下图所示接着创建第二个RAID5创建完两个RAID后,如下图所示下边开始创建全局热备盘,选择Disk12,右键单击,选择“Assign as Global Spare”,点击“OK”回到控制台界面,查看SCSI设备“重新扫描”物理设备选“扫描现有设备”,点“确定”点“关闭”,不保存报告(如果想保存报告,也可以点击“保存报告”)重新扫描后,设备出现在列表中新建SAN逻辑资源,右键单击“SAN资源”,点击“新建”右键点击SCSI设备菜单,选择“设置设备类型”直接点击下一

3、步选择“虚拟化”,点下一步全选物理设备,点击下一步点击完成输入yes,点击确定提示物理设备已经虚拟化,点击确定右键单击 SAN资源新建弹出创建SAN资源向导界面,直接单击“下一步”选择“自定义”,点击下一步左键点击第一个设备选择“整个磁盘”选项点击下一步默认SAN资源名称(也可修改资源名称)单击“完成”提示“已成功创建SAN资源,问是否要为该资源分配SAN客户端”,这里选择“否”,因为,SAN客户端还没创建新建第二个SAN资源这里只显示剩余的物理设备添加SAN客户端输入客户端名称,这里客户端名称就是服务器主机名,客户端类型选“Linux”,手动填写客户端IP地址,并点击查找;这一步开始,要保证

4、服务器和盘柜正常连通勾选启用永久保留选项只勾选“ISCSI”,点击下一步控制台自动查找并列出客户端的Initiater名称和IP地址,选择对应的即可选择“不需要认证”点击“完成”右键单击刚才创建的SAN客户端,点击“创建Target”,为客户端创建标签标签名称按照默认(这里可以复制出来,放到记事本里,系统文件修改时使用),选择相应的IP地址;访问方式按默认“读/写”注意:也可以按照这个格式,修改成其他名称全选SAN资源如果全部显示绿色,代表SAN资源正常,直接点击下一步点击“完成”提示成功创建iSCSI Targat,点击“确定”标签创建完成后,如下图所示二 下边是操作系统里操作步骤1. vi

5、 /etc/iscsi.conf添加两行DiscoveryAddress=10.1.1.1:3260(盘柜地址,默认端口)TargetName=iqn.2000-.h3c:.h3c-1.localhost-2(这个名称就是在盘柜里创建的标签名称)2. 执行/etc/init.d/iscsi start3. 执行fdisk -l命令,查看是否识别到盘柜分区4. 执行fdisk /dev/sdb fdisk /dev/sdc对识别到的识别进行分区5. 重启服务器6. 格式化分区,命令:mkfs -j -b 4096 -m1 /dev/sdb1和mkfs -j -b 4096 -m1 /dev/sd

6、c17. 执行chkconfig iscsi on命令8. 修改 vi /etc/rc.local文件,添加以下三行mount /dev/sdb1 /home/apache/media/media1mount /dev/sdc1 /home/apache/media/media2chown -R vcomkp.ftpadmin:gvodadmin /home/apache/media9. 重启服务器,df -h查看盘柜是否挂载成功iqn.2000-.h3c:.H3C.localhost-3rootlocalhost # vi /etc/iscsi.conf# with the initiato

7、r requesting a preference of disabling the checking,# uncomment one or both of the following lines:#HeaderDigest=prefer-off#DataDigest=prefer-off# The global digest settings can be overridden on a per target name basis. An# example of enabling header and data digest checking just for target iqn.1987

8、-# .cisco:00.0d1d898e8d66.t0 would be:#TargetName=iqn.1987-.cisco:00.0d1d898e8d66.t0TargetName=iqn.2000-.h3c:.H3C.localhost-3# HeaderDigest=always# DataDigest=always# It should also be noted that if the initiator and the target have incompatible# settings (e.g., target set for always and initiator s

9、et for never), the# login will fail.# -# ENABLE/DISABLE TARGETS# -# To globally enable/disable group of targets use the following option.rootlocalhost # vi /etc/iscsi.conf# The maximum length for both the password and username is 256 characters.# An example username and password would be:#IncomingUs

10、ername=bill#IncomingPassword=ghot67# The global authentication settings can be overridden on a per discovery# address basis. An example of a unique username and password for all targets# found at address 192.168.10.94 would be:#DiscoveryAddress=10.1.1.1:3260# OutgoingUsername=fred# OutgoingPassword=

11、uhyt6h# and/or#DiscoveryAddress=192.168.10.94# IncomingUsername=mary# IncomingPassword=kdhjkd9l# -# DIGEST SETTINGSrootlocalhost # vi /etc/initiatorname.iscsi# DO NOT EDIT OR REMOVE THIS FILE!# If you remove this file, the iSCSI daemon will not start.# If you change the InitiatorName, existing acces

12、s control lists# may reject this initiator. The InitiatorName must be unique# for each iSCSI initiator. Do NOT duplicate iSCSI InitiatorNames.InitiatorName=iqn.2000-.h3c:.H3C.localhost-3rootlocalhost #rootlocalhost # /etc/init.d/iscsi restartStopping iscsid: 确定 Removing iscsi driver: 确定 Checking isc

13、si config: 确定 Loading iscsi driver: 确定 Starting iscsid: 确定 rootlocalhost # iscsi-ls*SFNet iSCSI Driver Version .4:0.1.11(12-Jan-2005)*TARGET NAME : iqn.2000-.h3c:.H3C.localhost-3TARGET ALIAS : HOST ID : 3BUS ID : 0TARGET ID : 0TARGET ADDRESS : 10.1.1.1:3260,0SESSION STATUS : ESTABLISHED AT 五 7月 16 1

14、3:52:52 CST 2010SESSION ID : ISID 00023d000001 TSIH ecbf*rootlocalhost # fdisk -lDisk /dev/sda: 145.9 GB, 145999527936 bytes255 heads, 63 sectors/track, 17750 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 16603 133363566 83 Linux/dev/sd

15、a2 16604 17750 9213277+ 82 Linux swapDisk /dev/sdb: 1986.3 GB, 1986335473664 bytes255 heads, 63 sectors/track, 241491 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdb doesnt contain a valid partition tableDisk /dev/sdc: 1489.7 GB, 1489748754432 bytes255 heads, 63 sectors/track,

16、 181118 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdc doesnt contain a valid partition tablerootlocalhost # fdisk /dev/sdbDevice contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabelBuilding a new DOS disklabel. Changes will remain in memory only,until

17、you decide to write them. After that, of course, the previouscontent wont be recoverable.The number of cylinders for this disk is set to 241491.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old

18、 versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)Command (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1First cylinder (1-24149

19、1, default 1): Using default value 1Last cylinder or +size or +sizeM or +sizeK (1-241491, default 241491): Using default value 241491Command (m for help): pDisk /dev/sdb: 1986.3 GB, 1986335473664 bytes255 heads, 63 sectors/track, 241491 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Devic

20、e Boot Start End Blocks Id System/dev/sdb1 1 241491 1939776426 83 LinuxCommand (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.Syncing disks.rootlocalhost # fdisk /dev/sdcDevice contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

21、Building a new DOS disklabel. Changes will remain in memory only,until you decide to write them. After that, of course, the previouscontent wont be recoverable.The number of cylinders for this disk is set to 181118.There is nothing wrong with that, but this is larger than 1024,and could in certain s

22、etups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)Command (m for help): nCommand action e extended p p

23、rimary partition (1-4)pPartition number (1-4): 1First cylinder (1-181118, default 1): Using default value 1Last cylinder or +size or +sizeM or +sizeK (1-181118, default 181118): Using default value 181118Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition

24、 table.Syncing disks.rootlocalhost #rootlocalhost # rebootBroadcast message from root (pts/0) (Fri Jul 16 13:55:36 2010):The system is going down for reboot NOW!rootlocalhost #rootlocalhost # Last login: Fri Jul 16 13:38:07 2010 from 192.168.11.206root.adminsshlocalhost $ su -Password: rootlocalhost

25、 # fdisk -lDisk /dev/sda: 145.9 GB, 145999527936 bytes255 heads, 63 sectors/track, 17750 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 16603 133363566 83 Linux/dev/sda2 16604 17750 9213277+ 82 Linux swaprootlocalhost # fdisk -lDisk /dev

26、/sda: 145.9 GB, 145999527936 bytes255 heads, 63 sectors/track, 17750 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 16603 133363566 83 Linux/dev/sda2 16604 17750 9213277+ 82 Linux swaprootlocalhost # /etc/init.d/iscsi restartStopping isc

27、sid: 确定 Checking iscsi config: 确定 Loading iscsi driver: 确定 Starting iscsid: 确定 rootlocalhost # fdisk -lDisk /dev/sda: 145.9 GB, 145999527936 bytes255 heads, 63 sectors/track, 17750 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 16603 133

28、363566 83 Linux/dev/sda2 16604 17750 9213277+ 82 Linux swapDisk /dev/sdb: 1986.3 GB, 1986335473664 bytes255 heads, 63 sectors/track, 241491 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdb1 1 241491 1939776426 83 LinuxDisk /dev/sdc: 1489.7 GB,

29、1489748754432 bytes255 heads, 63 sectors/track, 181118 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdc1 1 181118 1454830303+ 83 Linuxrootlocalhost # mkfs -j -b 4096 -m1 /dev/sdb1mke2fs 1.35 (28-Feb-2004)Filesystem label=OS type: LinuxBlock siz

30、e=4096 (log=2)Fragment size=4096 (log=2)242483200 inodes, 484944106 blocks4849441 blocks (1.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=48653926414800 block groups32768 blocks per group, 32768 fragments per group16384 inodes per groupSuperblock backups stored on block

31、s: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848Writing inode tables: done Creating journal (8192 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesy

32、stem will be automatically checked every 34 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.rootlocalhost # mkfs -j -b 4096 -m1 /dev/sdc1mke2fs 1.35 (28-Feb-2004)Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)181862400 inodes, 363707575 blo

33、cks3637075 blocks (1.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=36490444811100 block groups32768 blocks per group, 32768 fragments per group16384 inodes per groupSuperblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 26542

34、08, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848Writing inode tables: done Creating journal (8192 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 20 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.rootlocalhost # rebootBroadcast message from root (pts/0) (Fri Jul 16 14:30:10 2010):The system is going down for reboot NOW!rootlocalhost #

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!