Operating System - HP-UX
1846975 Members
4439 Online
110257 Solutions
New Discussion

symbolic links on non-SG volumes pointing to SG volume.

 
SOLVED
Go to solution
John Kittel
Trusted Contributor

symbolic links on non-SG volumes pointing to SG volume.

Will this work and is it a good idea?

In our MC/SG active-active configuration, I'm considering making symbolic links in each node's local/dedicated disk that both point to the same directory on a MC/SG volume. Specifically, link from /opt/apache/cgi-bin/subdir to the SG volume. The idea is that I want these cgi programs to be available via the package relocatable IP address, on the SG logical volume.

Thanks,
John Kittel
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: symbolic links on non-SG volumes pointing to SG volume.

Nothing wrong with that at all although on a non-active node the softlink will point to the Twilight Zone. As long as you know that then no harm, no foul.

Plan B. You could create the soft links upon package startup and clobber then on package halt.
If it ain't broke, I can fix that.
Mic V.
Esteemed Contributor

Re: symbolic links on non-SG volumes pointing to SG volume.

Hopefully I'm not too fuzzy after a week of work.

I agree with the previous post. My answer's on the philosophical side.

If Apache is started by SG and runs only on one server (you can't share an lvol between nodes, unless you're doing NFS, right?), then IMO it makes the most sense to put Apache *and* the CGI on a SG disk. If it's not, then IMO it would make the most sense to keep an Apache installation on each node (sounds like it's what you have) and package/swinstall your CGIs on each node.

Kind of like, either it's all SG or all non-SG -- not a mix. Just my $.02.

Mic
What kind of a name is 'Wolverine'?