directories failover


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users directories failover
# 1  
Old 04-19-2008
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  
Old 04-20-2008
Which operating system?
# 3  
Old 04-20-2008
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  
Old 04-20-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Apache Mod_Proxy with failover

I have the following setup in my apache vhost: ProxyPass /abc http://www.newest.com/ ProxyPassReverse /abc http://www.newest.com/ I want to setup a failover approach in which if after a particular timeout say 10secs the load shifts to some other website like Refer.com | The world. The timeout... (0 Replies)
Discussion started by: ankur328
0 Replies

2. IP Networking

Interface failover in AIX

Hello, Recent we had oracle clusterware issues which happened because one of the interfaces (eth0) went down on the node and we had a public vip defined on that interface(eth0) since that alos went offline and application went down Is there a way that interface failover happens automatically ... (0 Replies)
Discussion started by: Vishal_dba
0 Replies

3. Gentoo

How to failover the cluster ?

How to failover the cluster ? GNU/Linux By which command, My Linux version 2008 x86_64 x86_64 x86_64 GNU/Linux What are the prerequisites we need to take while failover ? if any Regards (3 Replies)
Discussion started by: sidharthmellam
3 Replies

4. Solaris

Sun Cluster 3.1 failover

Hi, We have two sun SPARC server in Clustered (Sun Cluster 3.1). For some reason, System 1 failed over to System 2. Where can I find the logs which could tell me the reason for this failover? Thanks (5 Replies)
Discussion started by: Mack1982
5 Replies

5. IP Networking

IP failover needed

All, I am looking to setup a simple IP failover setup, but it seems every place i look has some difficult setup like pacemaker or LVS. I only want to handle the IP piece to failover a VIP. Any suggestions? I checked out keepalived and that my work for me. (4 Replies)
Discussion started by: markdjones82
4 Replies

6. Solaris

EMC Failover

Hi guys, I'm running vxdmp and powerpath at the same time. Vxdmp for internal disks and powerpath for external. The problem is that, on the failover tests which a fiber cable should be removed, the system cannot recognize the disks. Any hints on how to configure powerpath in order to... (4 Replies)
Discussion started by: glenioborges
4 Replies

7. Solaris

IPMP failover: Why is it occurring?

The active NIC has been failing back and forth on two of our T2000s. I don't know when the problem originally began, but I can see failovers in the messages.* files. The network guy says the switches are clean (no errors) so I'm left looking at the configuration or any other issue that may be... (5 Replies)
Discussion started by: dangral
5 Replies

8. UNIX for Advanced & Expert Users

LAMP Server Failover

How does everyone else handle this? My Setup: Server A: CentOS 5.x 10.0.0.1 Apache MySQL Master Server B: CentOS 5.x 10.0.0.2 Apache MySQL Slave My Domains: dom1.com A record: 10.0.0.1 A Record: 10.0.0.2 dom2.com A record: 10.0.0.1 A Record: 10.0.0.2 (3 Replies)
Discussion started by: Ikon
3 Replies

9. AIX

failover on 4.5 hacmp

Hi All, How do I trigger the failover on the second hacmp server? Please give me idea and I will do the rest. Thanks, itik (2 Replies)
Discussion started by: itik
2 Replies

10. Solaris

Interfaces do not failover

Would anyone know why a V440 Solaris 9 machine's interfaces (ce0 and ce1) will not failover? Both interfaces are on the same subnet, but different IPs. I can pull the plug on once interface (ce0) and ce1 will be accessible. I can reverse it and pull ce1, and ce0 will NOT be accessible. ... (5 Replies)
Discussion started by: StorageGuy
5 Replies
Login or Register to Ask a Question