The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-19-2008
prvnrk prvnrk is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 138
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
  #2 (permalink)  
Old 04-20-2008
ramen_noodle ramen_noodle is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 251
Which operating system?
  #3 (permalink)  
Old 04-20-2008
prvnrk prvnrk is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 138
Hi Ramen,

I mentioned in my post that OS can be Linux or Solaris.

i know DFS in Windows is something related to my requirement.


Thanks
  #4 (permalink)  
Old 04-20-2008
ramen_noodle ramen_noodle is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 251
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0