In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment IBM DS8K + SAN192 + Redhat6.1+Multipath software
It is divided into three steps: first zone, then storage, and finally multi-path binding on the host side.
one。 Zone
In order to back up the tsm later, zone both the POS and DS8700,TS3500 of the mobile phone, and in order to ensure the safety of production, the two switches are marked zone respectively.
1. Connect to the SAN384 switch and back up the original config
The native IP is set to 10.77.77.88 Universe 255.255.255.0
Telnet 10.77.77.77
User name: admin password: xxxx
Switch 1 backup file name: config-san.txt
Backup file name of switch 2: config-san2.txt
IBM_2499_192:FID128:admin > configupload
Protocol (scp, ftp, local) [ftp]: ftp
Server Name or IP Address [host]: 10.77.77.88
User Name [user]: ftp
Path/Filename [/ config.txt]: / upload/config-san.txt
Section (all | chassis | FID# [all]): all
Password:
ConfigUpload complete: All selected config parameters are uploaded
two。 Pos of mobile phone calls zone
(1) switch 1 implementation
Zonecreate "MPOS_SW1_GZDS8K" 1, 2; 1, 3; 1, 4; 1, 5; 1, 6, 1, 7; 1, 8; 1, 9, 2, 0; 2, 1, 1, 2, 1, 2, 2, 3 "."
@ linlf-what is the meaning of the last four 2s? 2-indicates the domain of the SAN switch
-- Note:
1-indicates Domain
0-connected tape library
2-indicates domain
1Jing 2; 1Jing 3 yes. 1M 9-stores the PortIndex connected to the SAN switch (Portindex viewed by switchshow, not Port)
The Port of the new host connected to the SAN switch.
Zonecreate "TS35a_MPOS1_R1", "1meme0pince2jin1"
Zonecreate "TS35a_MPOS2_R1", "1meme0pince2jin3"
Zonecreate "TS35b_MPOS1_R1", "1Magazine 1Chin 2Jing 1"
Zonecreate "TS35b_MPOS2_R1", "1meme 1x 2jin3"
Cfgadd "TYZF_SW1", "MPOS_SW1_GZDS8K"
Cfgadd "TYZF_SW1", "TS35a_MPOS1_R1"
Cfgadd "TYZF_SW1", "TS35a_MPOS2_R1"
Cfgadd "TYZF_SW1", "TS35b_MPOS1_R1"
Cfgadd "TYZF_SW1", "TS35b_MPOS2_R1"
After the configuration is complete, save and enable
Cfgsave
Cfgenable "TYZF_SW1"
Query whether the status is normal
Switchshow
Query whether it is online and whether each port has been connected
(2) switch 2 implementation
Zonecreate "MPOS_SW2_GZDS8K" 1, 2; 1, 3; 1, 4; 1, 5; 1, 6, 1, 7; 1, 8; 1, 9, 2, 0; 2, 1, 1, 2, 1, 2, 2, 3 "."
Zonecreate "TS35c_MPOS1_L2", "1meme0pince2jin1"
Zonecreate "TS35c_MPOS2_L2", "1meme0pince2jin3"
Zonecreate "TS35d_MPOS1_L2", "1Magazine 1Chin 2Jing 1"
Zonecreate "TS35d_MPOS2_L2", "1meme 1x 2jin3"
Cfgadd "TYZF_SW2", "MPOS_SW2_GZDS8K"
Cfgadd "TYZF_SW2", "TS35c_MPOS1_L2"
Cfgadd "TYZF_SW2", "TS35c_MPOS2_L2"
Cfgadd "TYZF_SW2", "TS35d_MPOS1_L2"
Cfgadd "TYZF_SW2", "TS35d_MPOS2_L2"
After the configuration is complete, enable
Cfgsave
Cfgenable "TYZF_SW2"
Query whether the status is normal
Switchshow
Query whether it is online and whether each port has been connected
3. Fallback scheme
Restore Profil
Admin > switchdisable
Admin > configdownload
Follow the prompts to enter the user name and backup file name
Config-san.txt
Admin > switchenable
Admin > switchshow
Query whether it is online and whether each port has been connected
@ linlf One by one
two。 Create a group in DS8700 based on the wwid number of the host HBA card of the mobile phone pos, and the newly drawn lun is mapped to this group.
(1) Log in to DS8700
The ip of the two controllers is 172.16.0.3 and 172.17.0.4 respectively.
The host ip connects to the DS8700 array through automatic DHCP, and then finds the array management IP for login below (ping 172.17.0.4)
Enter the console with the client software, and then enter the command > dscli, which will pop up
Dscli >
C:\ Program Files\ IBM\ dscli > dscli
Enter the primary management console IP address:172.17.0.4
User name: admin password: xxx
(2) establish volumegroup
Mkvolgrp-type scsimap256 mpos
-- reverse operation: rmvolgrp v9
Query the newly created volume group
Dscli > lsvolgrp
The ID of the new volume group should be v9
(3) lun
A total of 5 200g lun,4 and 5G lun need to be delimited (which extpool is divided to be determined)
DS8700 has a total of 8 extent pool of P0murP7
The remaining space is as follows:
Name ID stgtype rankgrp status availstor (2 ^ 30B)% allocated available reserved numvols
=
Ext_P0 P0 fb 0 below 1199 62 1199 0 14
Ext_P1 P1 fb 1 below 1199 62 1199 0 14
Ext_P2 P2 fb 0 below 1199 62 1199 0 14
Ext_P3 P3 fb 1 below 1149 64 1149 0 24
Ext_P4 P4 fb 0 below 1732 53 1732 0 14
Ext_P5 P5 fb 1 below 1732 53 1732 0 14
Ext_P6 P6 fb 0 below 1732 53 1732 0 14
Ext_P7 P7 fb 1 below 1732 53 1732 0 14
According to the principle of decentralized IO, draw a 200G lun from P3-P7 and a 5G lun from P4-P7.
According to the previous naming rules and the order of the vol
Mkfbvol-extpool P3-cap 200-name vol_#h 1321
Mkfbvol-extpool P4-cap 200-name vol_#h 1417
Mkfbvol-extpool P5-cap 200-name vol_#h 1514
Mkfbvol-extpool P6-cap 200-name vol_#h 1614
Mkfbvol-extpool P7-cap 200-name vol_#h 1714
Mkfbvol-extpool P4-cap 5-name vol_#h 1418
Mkfbvol-extpool P5-cap 5-name vol_#h 1515
Mkfbvol-extpool P6-cap 5-name vol_#h 1615
Mkfbvol-extpool P7-cap 5-name vol_#h 1715
-- reverse operation: rmfbvol-safe 1321
Rmfbvol-safe 1417
Rmfbvol-safe 1514
Rmfbvol-safe 1614
Rmfbvol-safe 1714
Rmfbvol-safe 1418
Rmfbvol-safe 1515
Rmfbvol-safe 1615
Rmfbvol-safe 1715
In the POOL of P3-P7, there are five 200G lun in total.
In the POOL of P4-P7, four 5G lun are divided into 1418, 1515, 1615 and 1715 lun.
(4) Map lun to group of the host
Chvolgrp-action add-volume 1321, 1417, 1514, 1614, 1714, 141815, 1515, 1615, 1715 v9.
-- reverse operation: chvolgrp-action remove-volume 1321 141414141414141414151515151515v9
Create an Map connection between the array and the host.
Mkhostconnect-wwname 21000024ff50ce3c-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos1_fc0
Mkhostconnect-wwname 21000024ff50ce3d-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos1_fc1
Mkhostconnect-wwname 21000024ff50c9dc-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos1_fc2
Mkhostconnect-wwname 21000024ff50c9dd-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos1_fc3
Mkhostconnect-wwname 21000024ff50cada-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos2_fc0
Mkhostconnect-wwname 21000024ff50cadb-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos2_fc1
Mkhostconnect-wwname 21000024ff50cb78-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos2_fc2
Mkhostconnect-wwname 21000024ff50cb79-profile "Intel-Linux RHEL"-volgrp v9-ioport all mpos2_fc3
-- reverse operation: lshostconnect-volgrp v9 to get host_connect_id
Rmhostconnect
View the lun of v9 mapping
Showvolgrp v9
three。 Bind multipath
1. Install multipath and generate / etc/multipath.conf file
# fdisk-l | grep sd checks the hard disk. For linux, you can't see the new storage device, so you need to restart the host.
Use scsi_id-g-u to check the wwid number of the newly drawn lun
# yum install device-mapper-multipath.x86_64
Generate multipath.conf file
# cp / usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf / etc/multipath.conf
two。 Configuration / etc/multipath.conf file
Configure the / etc/multipath.conf file according to the queried wwid number and edit it according to the / etc/multipath.conf file of other hosts on the production
Blacklist_exceptions {
Devnode "^ (sd) [bmurz]"
Devnode "^ (dm-) [0-9]"
}
Defaults {
User_friendly_names yes
Path_grouping_policy group_by_prio
Features "1 queue_if_no_path"
Path_checker tur
}
Multipaths {
Multipath {
Wwid
Alias mpathdsk1
}
Multipath {
Wwid
Alias mpathdsk2
}
Multipath {
Wwid
Alias mpathdsk3
}
Multipath {
Wwid
Alias mpathdsk4
}
Multipath {
Wwid
Alias mpathdsk5
}
Multipath {
Wwid
Alias crsdsk1
}
Multipath {
Wwid
Alias crsdsk2
}
Multipath {
Wwid
Alias crsdsk3
}
Multipath {
Wwid
Alias crsdsk4
}
}
After configuration / etc/multipath.conf
# / etc/init.d/multipathd start
# multipath-ll command queries the multipath disk and restarts the server to make sure the server is OK
# ll / dev/mapper/ to view the multipath disk under this path
The disk bare device is bound, and the database installation is completed by the integrator.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.