VCS - Mirror based Application Storage
Hello,
I'm planning a evaluation of VCS 6 on RHEL 6.2.
Every Cluster-Application (e.g. apache) should use two SAN Luns from different storage arrays.
When the ressource-group starts, it should build a raid-1 mirror (mdadm), scan/build the lvm, mount the filesystem and start the application.
Is this possible with VCS?
Thanks,
Christian
I don't know anything about mdada, but if you are still using Linux LVM (i.e if mdada is at a lower level than LVM or is a tool for LVM rather than replaces LVM - like VxVM replaces LVM), then you should be able to use VCS. If you need to run any command (like mdada --scan in your case), you can put this in a preonline script if it is the very first command to run in a resource group or if it needs to run at a certain point (like after you import volume group) then you can run it using Application resource where the application resource just creates/monitors ad offlines a lock file for StartProgram,MonitorProgram/StopProgram attributes of Application resource, but also runs custom command as part of StartProgram
You can use SFHA with ext3, where you use ext3 on a VxVM volume - i.e you only use the VxVM part of SF and don't use vxfs.
VCS is VERY flexible and if your storgae solution works with other cluster soltuions then it will almost certianly work with VCS. VCS provides agents like LVM to make life easier, but even if you are using a storage solution that does not use LVM or VxVM, you can use Application agent or write your own agent.
Mike