Veritas in Local Zones
Hi -
I have applications running in different local zones which need to access filesystems managed by RAID/Veritas. These applications execute veritas commands for failsafe operations and availability. Is there any way that veritas volumes can be accessed from local zones?
Your help will be greatly appreciated
# 1
If I understand correctly then absolutely!
If you need to access them as file systems, simply run zonecfg -z <zonename> then enter this:
add fs
set dir=<mountpoint>(eg. /dba00 (relative to zoneroot))
set special=<block volume device>(eg. the /dev/vx/dsk/ device)
set raw=<char volume device>(eg. the /dev/vx/rdsk/ device)
set type=<fs type, ufs or vxfs>
set options=<mount options, eg largefiles,nosuid>
end
commit
exit
If you need access to them as raw volumes, use the "add device" then use "set match=/dev/vx/...." (we don't do this, so I don't have a cut-and-paste example to stick in...)
# 3
Probably not. Most Veritas commands must run in the global zone so that it can talk to the Veritas configuration daemon.
It sounds like you have a specific task and the only real answer I can say is -- try it. Creating a zone is dead simple (there's tons of cookbooks on the web). No matter what advice you get her, testing your own application is going to be the only way you'll know for sure
Best of luck!