...Running the controllers in active/active mode we're using RedHats Device Mapper Multipath software to create multiple paths to our SAN... I hope this helps you out a little...
It sure did! Since CentOS uses the 'yum' system some searching on the web and within the yum respositories led me to this:
Now I just need to find a good HOWTO and give this a shot. Thanks a LOT!
I have a script that i need to run from different paths.
for example
mypc/path1/path2/,
mypc/path1/path2/path3/, and
mypc/path1/path2/path3/path4
How do i set up that script so that it can execute in any
of the above paths or how can i make it run on any path on my computer?? (5 Replies)
How do i find files in more than one directory? I searched through forums, but could not land into the right thread.
I tried something like
find dir1|dir2 -name file1
but it doesn't work. Please suggest. (5 Replies)
Hi all
Right, Im a little bit thick when it comes to SAN :-) IVe got a dual port qlc in a solaris 10 server. Its all connected and I can see a number of disks. The SAN guy here has asked me about preferred paths, i.e. as the dual ports are connected to two fabrics, etc device will have 4... (2 Replies)
Hey everyone.
I am working on designing a logging solution for a deployment we have going out in a few months. Right now we have a single storage head end, connected via fibre to a SAN. Basically the plan is to create a number of smaller LUNs on the SAN, and then use LVM2 to handle concatenating... (5 Replies)
Hello All,
We have a script which when run on the host gives us the status of the internal and SAN attached disks, its paths and other information. The output of which is as follows:
Nm DEVICE VEND PROD LunID SYM DevID DISKGROUP SIZE N E... (3 Replies)
I need to update about 2400 files in a directory subtree, with a new directory path inside the files
I need to change this occurence in all files: /d2/R12AB/VIS/apps/tech_st/10.1.2
with this: /u01/PROD/apps/apps_st/10.1.3
I know how to change single words using "find . -type f -print0 |... (6 Replies)
Hi ,
I am a newbie!!!
I want to develop a script for deleting files older than x days from multiple paths. Now I could reach upto this piece of code which deletes files older than x days from a particular path. How do I enhance it to have an input from a .txt file or a .dat file? For eg:... (12 Replies)
I am working on a script for Mac OS X that, among many other things, gets a list of all the installed Applications. I am pulling the list from the system_profiler command and formatting it using grep and awk. The problem is that I want to be able to use each result individually later in the script.... (3 Replies)
HACMP two-node cluster with mirrored LVM.
HACMP two-node cluster with two SAN storages mirrored using LVM. Configured 2 disk heartbeat networks - 1 per each SAN storage. While performing redundancy tests. Once one of SAN storage is down - cluster is going to ERROR state. What are the guidelines... (2 Replies)
if I have these wildcards to download from:
path1/*.txt
path2/*.txt
path3/*.txt
path4/*.txt
path5/*.txt
under a link such as this:
http://abc .com/]abc.com
Can wget be written in such a way to extract only those files and create the corresponding paths under a target folder? So the... (4 Replies)
Discussion started by: Devyn
4 Replies
LEARN ABOUT CENTOS
mpathconf
MPATHCONF(8) Linux Administrator's Manual MPATHCONF(8)NAME
mpathconf - A tool for configuring device-mapper-multipath
SYNOPSIS
mpathconf [commands] [options]
DESCRIPTION
mpathconf is a utility that creates or modifies /etc/multipath.conf. It can enable or disable multipathing and configure some common
options. mpathconf can also load the dm_multipath module, start and stop the multipathd daemon, and configure the multipathd service to
start automatically or not. If mpathconf is called with no commands, it will display the current configuration.
The default options for mpathconf are --with_module The --with_multipathd option is not set by default. Enabling multipathing will load
the dm_multipath module but it will not immediately start it. This is so that users can manually edit their config file if necessary,
before starting multipathd.
If /etc/multipath.conf already exists, mpathconf will edit it. If it does not exist, mpathconf will use /usr/share/doc/device-mapper-multi-
path-0.4.9/multipath.conf as the starting file. This file has user_friendly_names set. If this file does not exist, mpathconf will create
/etc/multipath.conf from scratch. For most users, this means that user_friendly_names will be set by default, unless they use the
--user_friendly_names n command.
COMMANDS --enable
Removes any line that blacklists all device nodes from the /etc/multipath.conf blacklist section.
--disable
Adds a line that blacklists all device nodes to the /etc/multipath.conf blacklist section. If no blacklist section exists, it will
create one.
--user_friendly_name { y | n }
If set to y, this adds the line user_friendly_names yes to the /etc/multipath.conf defaults section. If set to n, this removes the
line, if present. This command can be used along with any other command.
--find_multipaths { y | n }
If set to y, this adds the line find_multipaths yes to the /etc/multipath.conf defaults section. If set to n, this removes the line,
if present. This command can be used aldong with any other command.
OPTIONS --with_module { y | n }
If set to y, this runs modprobe dm_multipath to install the multipath modules. This option only works with the --enable command.
This option is set to y by default.
--with_multipathd { y | n }
If set to y, this runs service multipathd start to start the multipathd daemon on --enable, service multipathd stop to stop the mul-
tipathd daemon on --disable, and service multipathd reload to reconfigure multipathd on --user_frindly_names and --find_multipaths.
This option is set to n by default.
FILES
/etc/multipath.conf
SEE ALSO multipath.conf(5), modprobe(8), multipath(8), multipathd(8), service(8),
AUTHOR
Benjamin Marzinski <bmarzins@redhat.com>
June 2010 MPATHCONF(8)