![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IPMP failover: Why is it occurring? | dangral | SUN Solaris | 5 | 01-12-2009 05:37 PM |
| Listing directories and sub directories | jinxor | UNIX for Advanced & Expert Users | 3 | 03-11-2008 10:27 AM |
| moving directories to new directories on multiple servers | mackdaddy07 | Shell Programming and Scripting | 0 | 04-06-2007 11:30 AM |
| Can anyone shed some light on this HACMP failover? | Wez | AIX | 0 | 11-14-2006 12:05 PM |
| Interfaces do not failover | StorageGuy | SUN Solaris | 5 | 08-06-2005 06:39 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
directories failover
Hi,
I have 3 directories (/1 /2 and /3) with same contents and want to achieve fail over among them. The Solution i thought of: 1. link /data to /1 (and provide users with /data to access) 2. CRON a script (to run every minute) to verify if /1 exist or not, if it does not exist (or its contents not available) then link /data to /2 (or /3 etc.) But, i don't want to use this solution as it is not 100% perfect. i want to know if this can be done using OS (Linux/Solaris) in-built features itself? Thanks Prvn |
|
||||
|
Saw that..was slow editing.
I think you have a couple options. If the directories in question are mounted via network you can use one of a few highly available clustering methods to provide redundancy. If local storage then under solaris 10 you could use ZFS to create a zpool using the directories in question as vdev members and configure the whole as a mirror or raidz. Under linux if the directory content is located on separate partitions you could use md or lvm to the same effect, but it's less straightforward. The last option is some ad-hoc analog to your suggestion where you perform a check against 'sentinel' content or access to the directory and then perform synchronization with your hot spares, or relink the directory to one of the hot spares if you need to fail over. I'd think this last would be very expensive in terms of synchronization however. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|