CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  Yes Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Novell Forums > novell.support.cluster-services Tags:
Item Type: Date Entered: 7/21/2008 11:31:46 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 8 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
Jakub Talas <ku
NewsGroup User
Clustering intranet7/21/2008 11:31:46 AM
Reply

0

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
Jakub Talas <ku
NewsGroup User
Re: Clustering intranet7/21/2008 12:13:11 PM
Reply

0

Probably solved with these scripts:
Hope this helps.

-----------load------------
#!/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


if [ -f /etc/apache2/vhosts.d/intranet.off ]
then
mv /etc/apache2/vhosts.d/intranet.off /etc/apache2/vhosts.d/intranet.conf
fi

exit_on_error rcapache2 restart
exit 0

-----------unload---------

#!/bin/bash
.. /opt/novell/ncs/lib/ncsfuncs
ignore_error ncpcon
unbind --ncpservername=CHUMEL_WWW_SERVER --ipaddress=172.16.0.39
ignore_error del_secondary_ipaddress 172.16.0.39
ignore_error nss /pooldeact=WWW


if [ -f /etc/apache2/vhosts.d/intranet.conf ]
then

mv /etc/apache2/vhosts.d/intranet.conf /etc/apache2/vhosts.d/intranet.off
fi

ignore_error rcapache2 restart
exit 0
snidelydev <sni
NewsGroup User
Re: Clustering intranet7/21/2008 7:56:02 PM
Reply

0


Thanks for the update!

/dps


--
snidelydev
------------------------------------------------------------------------
snidelydev's Profile: http://forums.novell.com/member.php?userid=294
View this thread: http://forums.novell.com/showthread.php?t=336977

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:







databases and frustration....

please help - simple problem

automatic refresh on pages that have been posted back

creating common components

asp.net 2.0 providers

cookies in a frame

activestepchangedhandler event order

dealing with tables???

webdav handler? thanks

parsing and compilation

adding up values in querystring - to be shown in detailsview

mask control

latest coding conventions

message box in c#

display a different html page in my asp.net page

i have problem when a try to give name to the table

how to add time more than a day

how to receive a value return from other website in asp.net?

using dll

webpage and messenger

will visual studio 6 still work if i install asp.net??

news - best option

problem with sending email when including a certain string

ie problems faced on lan on asp.net

about web services

asp.net books

using windows 2003 remote desktop web client

looking for asp.net online newspaper script(or dnn module)

what is aspnet_setreg.exe??

type dataobjectattribute is not defined

session lost after deleting folder recursively

permissions issue

searching a database

open a new window inside datagrid passing querystring? need info

purpose of "javascript:__" before function name

variable '' is used before it has been assigned a value. a null reference exception could result at runtime.

data table control scrollable

what level of expertise ???? help me !!!!

datatable/arraylist/hashtable/dataset

google link in aspx page

datareader vs. dataset/datatable in n-tier applications

secure a hyperlink querystring

three dimensional array

argumentexception encountered

oledbdataadapter configuration on server? :(

what to handover to client after completing project?

download file from server

how easy is this

display popup message server side

how to run in asp.net and schedule

   
  Privacy | Contact Us
All Times Are GMT