I have a need to provide an high-availability ftp/http file repository. Upload will happne to one server, but the uploaded file must be immediately visisble on all other servers
I can handle the failover of the servers themeselves using load balancers. But in the event of failure of one server, the other servers must see the same contents of the repository. Normally, I'd use a SAN for this, but in this case the data centre standards do not allow SAN/external storage - all storage will be local to the servers.
Cam I use Veritas Storage Manager (or any other product) to manage mirroring hte contents between servers in this way? Or does that require a SAN? I couldn't tell either way from a quick look at the data sheets etc.
Since you are using colocated redhat systems you can use a number of solutions.
First of all - yes Veritas Volume manager can do this - you can set it up to replicate to a remote volume. It has been a while ago that I have been using this feature as integrated solution for a remote HA-NFS solution using Veritas Filesystem, Volume Manager, Cluster and Global Cluster.
I think that replication feature is now built into the standard volume-manager, but I am not sure if you need an additional licence.
With RedHat you can use a number of additional alternatives:
mdadm
gamin
seems to contain fam-libs)The simplest solution will possibly to rig together
fam
andrsync
.To have the files really fast on other locations use one of the other solutions.
You will have to couple those with a cluster-aware-file-system.
If you already have a redhat-cluster up and running, you can use GFS2.
For anything else I can recommend OCFS2, which is part of Oracle-Linux (a binary compatible redhat-clone, so you can use the rpms).