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: 16 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:







accessing configurationmanager from class library

how to move web.sitemap

accessing parent master page function from child master page

menus that expand on click

sitemap questions

treeview

orientation issue with the asp navigation menu. please help!!!!!!!!!!!!!!!!!!!!!!

don't know how to set menu fields to overlay the other forms.

changing themes programatically from master page

css for web user control

navigating url for child nodes

adding a header on every content page

drop down menu: how do i get menu and submenu's to display without the menu having a url

changing colour of little triangles in menu

wizard question

keep selected menu pick highlighted

list of javascript methods/events/properties for treeview

css not being applied to content or master page

how to update page everytime it is shown

adding content pages to master pages

persist viewstate in masterpage across different urls

really simple: send var from content page to master page

want asp menu control to work onclick instead of mouse over.

can this be done ?

problem with treeview control inside tabs structure and inside multiview control

sitemap path problem --- urgent

how can i include in asp.net 2.0 like in asp

menu image next to selected item

masterpage and theme not being applied

tree view - not upto the requirements

accessing controls on a masterpage

design problem i could use some hints or help

menu staticitemtemplate in skin file?

javascript __dopostback() gone missing!

using roles with sitemaps to display menus

how can i create new object of page when it requested with different parameters?

multiple stiemaps with multiple master pages

menu control does not appear the same in ie and firefox

override masterpage

change the url of the page

how to set the space between differnet line to 0 for treeview?

frames vs. master pages

in a treeview, hovernodestyle does not take precedence/overrides style sheet hyperlink ('a') styles

treeview issue

where to put my javascript function? content page or master page?

getting nowhere fast with database driven title and meta tags

how to use tab control?

treeview without image of collapse/expand, but with possibility of expand

set the page title by looking at the web.sitemap?

find value of root node when child node is selected

   
  Privacy | Contact Us
All Times Are GMT