Unsolved
This post is more than 5 years old
1 Message
0
1477
December 13th, 2006 12:00
Powerpath on Gentoo.
Hi.
I was wandering if anyone has any experience with installing/running powerpath correctly under the Gentoo distro ? Because I just can't get the darn thing to work at all.
Now, I know that EMC doesn't officially support Gentoo, but perhaps someone here has worked some magic with it ? (I hope).
Right now I am stuck with Gentoo on some of my boxes (long story) and I can't switch to redhat or suse, even though I have full support for my AX100 box. 8-(
Thanks for any advice/help.
Eisenhorn.
I was wandering if anyone has any experience with installing/running powerpath correctly under the Gentoo distro ? Because I just can't get the darn thing to work at all.
Now, I know that EMC doesn't officially support Gentoo, but perhaps someone here has worked some magic with it ? (I hope).
Right now I am stuck with Gentoo on some of my boxes (long story) and I can't switch to redhat or suse, even though I have full support for my AX100 box. 8-(
Thanks for any advice/help.
Eisenhorn.
No Events found!


kernel2000
3 Posts
0
October 19th, 2012 10:00
You say this:
At the end of the day, the Responsibility is yours.
always so, they run redhat, SuSE or Gentoo.
You say this:
That I would not recommend you install EMC on an unsupported platform SW at all.
Linux kernel is an unsupported platform?
Gentoo Linux is a great distribution that enables a low-level hacking.
cris_danci
39 Posts
0
October 20th, 2012 06:00
I've been down this path before, save yourself some time and just merge sys-fs/multipath-tools.
kernel2000
3 Posts
0
October 20th, 2012 07:00
Many thanks cris.dance. Our company buy a vnx5300. We have seven gentoo Linux servers for connectivity (proxy, routing, mail, vpn, firewall, web, etc), some SLES11 (file server, virtualization), and many ubuntu LTS server (file server, virtualization). In a few weeks will tell in this post my experiences. byes!
kernel2000
3 Posts
0
November 19th, 2012 07:00
iscsi and multipath on gentoo to access LUNs on vnx5300.
Run the following commands to install required packages in gentoo linux.
server1 # emerge sg3_utils multipath-tools open-iscsi
server1 # USE="device-mapper" emerge parted
Configure kernel:
Device Drivers --->
SCSI device support --->
<*> SCSI target support
<*> SCSI disk support
- SCSI low-level drivers --->
ISCSI Initiator over TCP / IP<*> SCSI Device Handlers --->
<*> EMC CLARiiON Device Handler
- Multiple devices driver support (RAID and LVM) --->
<*> Multipath I / O support<*> Device mapper support
- Device mapper debugging support
<*> Multipath targetI / O Path Selector based on the number of in-flight I / Os
I / O Path Selector based on the service time
(Select your device from the list))
<*> EMC CX / AX multipath support
<*> LSI / Engenio RDAC multipath support
<*> HP MSA multipath support
The NIC has a mtu of 9000, put in file '/etc/conf.d/net' this:
mtu_eth1="9000"
Use the same MTU setting if using bonding.
iscsi gentoo:
Configure the initiator name and alias in the file:
/etc/iscsi/initiatorname.iscsi
with values similar to:
InitiatorName = iqn.2012-11.ar.com.fortix.proxy-1: initiator-proxy-1
InitiatorAlias = initiator-proxy-1
replace with your own domain and date.
Put in the file '/etc/iscsi/iscsid.conf' the following parameters:
node.startup=automatic
node.session.timeo.replacement_timeout=15
Then:
server1 # /etc/init.d/iscsid stop
and
server1 # /etc/init.d/iscsid start
Discover the target:
server1 # iscsiadm-m discovery-t st-p 192.168.1.250
The LUN that provides the target can be seen with:
server1 # iscsiadm-m node
The results are automatically saved in directory '/etc/iscsi/nodes/*'
To Login:
server1 # iscsiadm-m node - targetname iqn.1992-04.com.emc: cx.ckm00122400615.b8 - portal 192.168.1.250:3260 - login
and
server1 # /etc/init.d/iscsid restart
MULTIPATH GENTOO:
Put in fikle '/etc/multipath.conf' this:
defaults {
udev_dir / dev
yes user_friendly_names
}
blacklist {
devnode "^ (ram | raw | loop | fd | md | dm-| sr | scd | st) [0-9] *"
devnode "^ hd [a-z] [[0-9] *]"
devnode "^ cciss! c [0-9] d [0-9] * [p [0-9] *]"
devnode sda
}
devices {
device {
vendor "DGC *"
product "*"
path_grouping_policy group_by_prio
getuid_callout "/ lib / udev / scsi_id-g-u-d / dev /% n"
prio_callout "/ sbin / mpath_prio_emc / dev /% n"
path_checker emc_clariion
path_selector "round-robin 0"
features "1 queue_if_no_path"
no_path_retry 300
hardware_handler "1 emc"
failback immediate
}
}
multipaths {
multipath {
wwid 3600601603c6031008ce731e7081de211
alias stdisk1
}
}
discover wwid with command:
server1 # multipath-l
execute the following commands:
server1 # /etc/init.d/multipath-tools stop
server1 # /etc/init.d/multipath-tools start
The following command clears the devices that are mapped to directory '/dev/mapper':
server1 # multipath-F
The following command creates devices that are mapped to directory '/dev/mapper':
server1 # multipath-v2
See values:
server1 # multipath-ll
Partitioning:
server1 # fdisk / dev/mapper/stdisk1
Make new partitions read without reboot:
server1 # partprobe
Format in ext3 filesystem:
server1 # mkfs.ext3 / dev/mapper/stdisk1p1
mount:
server1 # mount /dev/mapper/stdisk1p1 /mnt/storage
Automatically mount at boot time
put in file '/etc/fstab' a line similar to:
/dev/mapper/stdisk1p1 /mnt/storage ext3 defaults, auto, _netdev 0 2
Then add to default run level:
rc-update add default iscsid
rc-update add multipathd default
Message was edited by: kernel2000