Hello, I am about to cluster intranet on 2-node cluster.
I have intranet website on NSS: /media/nss/WWWVOL/intranet on shared device.
I can migrate my resource by load script, but Apache must be already
running. Apache can't start if virtual host server for intranet points on
non-existing directory (because it is just mounted on an another server)

Starting httpd2 (worker) Warning: DocumentRoot [/media/nss/WWWVOL/intranet]
does not exist failed

I need Apache to start even if Document root of Virtual server doesn't
exist, how can I make it?



Virtual intranet server:
<VirtualHost *:80>
ServerAdmin admins@domaincz
ServerName int.domain.cz
DocumentRoot /media/nss/WWWVOL/intranet

ErrorLog /media/nss/WWWVOL/logs/intranet-error_log
CustomLog /media/nss/WWWVOL/logs/intranet-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature On

<IfModule mod_userdir.c>
UserDir public_html
# /etc/apache2/mod_userdir.conf.
Include /etc/apache2/mod_userdir.conf
</IfModule>

<Directory "/media/nss/WWWVOL/intranet/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


Cluster load script:
#!/bin/bash
.. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=WWW
exit_on_error ncpcon mount WWWVOL=254
exit_on_error add_secondary_ipaddress 172.16.0.39
exit_on_error ncpcon
bind --ncpservername=CHUMEL_WWW_SERVER --ipaddress=172.16.0.39
exit_on_error rcapache2 reload
exit 0