04-19-2013
[Q] zpool mirror; read from preferred vdev(s)
Hallo,
Using a zpool mirror; is there a way to set something like a primary storage / preferred vdevs / read-first devices like it was in disksuite using "metaparam -r [roundrobin | geometric | first]" or the "vxvol rdpol [prefer | round | select | siteread]" to define a preferred plex in VxVM? Will ZFS always use round-robin?
In our example we want to use a brand-new fast storage with hot-data tiering (ssd-caching) mirrored/combined to an older/slower one... with round-robin we could assume that every second read will be slower?
Will the write acknowledgement be commited after both writes so we will have no advantage from the faster storage?
Thanks in advance
- pressy
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I was using windowsXP I encountered a file manager called UltraExplorer http://www.mustangpeak.net/ultraexplorer.html that appeared really impressive.
Now in the Linux/UNIX world I was pointed towards a similar idea called 4Pane
http://www.4pane.co.uk/
I'm surprised to do a search on... (3 Replies)
Discussion started by: catch22
3 Replies
2. Solaris
I've looked a little but haven't found a solid answer, assuming there is one.
What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies
3. Solaris
Hello All,
In the output of the command "mpdcontrol -no xlist", I found that, some of the preferred paths are marked as "err". You can see the output below:
# mpdcontrol -noxlist
Unit Dev# MPD_ID/Policy DeviceName FC_AL DevMajMin IOcnt State... (0 Replies)
Discussion started by: sundar3350
0 Replies
4. Solaris
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies
5. AIX
Hi,
lets say we have two boot interfaces en0 en1
and two resource groups, with two service ips, sip1 and sip2, one persistent ip pers1
both persistend and service ips are applied as ip-alias
when I start the cluster, and bring the resource groups up, it looks like
en0: sip1 and sip2
... (4 Replies)
Discussion started by: funksen
4 Replies
6. IP Networking
I rotate between a static lan, dhcp lan, and various wireless networks daily. Is there a way to set preferred network connections? I use some static ip's daily, some static ip's like once a month, and almost never use the dhcp lan. The same I do with my various wireless networks. Some I use daily... (0 Replies)
Discussion started by: cokedude
0 Replies
7. Solaris
Hi all,
After being dumped in a Solaris sysadmin role, i have been trying to tidy the unpatched mess I have inherited. Part of this task is to update the current AMP stack.
The current stack is Webstack 1.5, which was current in 2009, and as far as I can see, no longer supported. Post the... (2 Replies)
Discussion started by: Sol-nova
2 Replies
8. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
9. Solaris
Hello,
I am upgrading Veritas from 5.1 to 6.0.1/6.0.5 in a Solaris 10 u8 server with OS mirrored (rpool) in zfs/zpool configuration.
I need to split it to have a quick way to backout in case of failure (make splitted mirror side bootable for a quick revert, like booting from it). I remember... (3 Replies)
Discussion started by: feroccimx
3 Replies
LEARN ABOUT HPUX
cmvxserviced
cmvxserviced(1m) cmvxserviced(1m)
NAME
cmvxserviced - monitor VxVM and CVM volumes for a high availability package.
SYNOPSIS
cmvxserviced [-h|-v] [-O log_file] [-D log_level] [-t poll_interval] volume_path...
DESCRIPTION
cmvxserviced monitors VxVM and CVM volumes. It runs as a service within a package that depends on the monitored storage. When a monitored
volume fails or becomes inaccessible (see Scope of Monitoring), the service will exit, causing the package to fail on the current node.
The package's failover behavior depends on its configured settings.
cmvxserviced periodically probes each volume named by volume_path, which must identify a block device file.
Scope of Monitoring
The VxVM Volume Monitor detects the following failures:
o Failure of the last link to a storage device or set of devices critical to volume operation
o Failure of a storage device or set of devices critical to volume operation
o An unexpected detachment or disablement of a volume
The VxVM Volume Monitor does not detect the following failures:
o Failure of a redundant link to a storage device or set of devices if a functioning link remains
o Failure of a mirrored plex within a volume (assuming at least one plex is functional)
o Corruption of data on a volume which VxVM or CVM regards as enabled and active
Options
cmvxserviced supports the following options:
-h Displays the usage, as listed above, and exits.
-v Displays the monitor version and exits.
NOTE Do not include the -h or -v parameters in your service command; this will result in immediate package failure
at runtime.
-O log_file Specifies a file for logging (log messages are printed to the console by default).
-D log_level Specifies the log level. The level of detail logged is directly proportional to the numerical value of the log
level. That is, a log level of 7 will provide the greatest amount of log information. The default log level is 0.
-t poll_interval Specifies the interval between volume probes.
You can specify a polling interval of as little as 1 (one second), but bear in mind that a short polling interval
(less than 10 seconds) may impair system performance if you are monitoring a large number of volumes. HP recom-
mends a polling interval of at least 10 seconds if 50 or more volumes are being monitored by a single service com-
mand.
The default polling interval is 60 seconds.
EXAMPLES
/usr/sbin/cmvxserviced -O /pkg1/monlog.log -D 3 /dev/vx/dsk/cvm_dg0/lvol2
This command monitors a single volume, /dev/vx/dsk/cvm_dg0/lvol2, at log level 3, with a polling interval of 60 seconds, and prints all log
messages to the file /pkg1/monlog.log.
There should be a one to one relationship between monitoring services and log files. This provides a means to correlate log messages with
the originating monitor.
/usr/sbin/cmvxserviced /dev/vx/dsk/cvm_dg0/lvol1 dev/vx/dsk/cvm_dg0/lvol2
This command monitors two volumes at the default log level of 0, with a polling interval of 60 seconds, and prints all log messages to the
console.
/usr/sbin/cmvxserviced -t 10 /dev/vx/dsk/cvm_dg2/lvol3
This command monitors a single volume at log level 0, with a polling interval of 10 seconds, and prints all log messages to the console.
AUTHOR
cmvxserviced was developed by HP.
Requires Optional Serviceguard Software cmvxserviced(1m)