iPlanet server.xml file

Posted on 2005-04-07
Medium Priority
Last Modified: 2013-12-27
I am new to iPlanet Web Server 6.0 - and new to a company who's previous Sysadmin set up the iPlanet web server- with no documentation, or verbal "passing down" of information.  This weekend, we're doing system maintenance, and my boss said there is a default maintenance webpage on one of our lab servers (running iPlanet Webserver) that we will point the live websites to, so that the maintenance page shows, while our live sites are temporarily disconnected.  

I have the following iPlanet instances running on the production servers: (i used x's to block our company name :)

ns-httpd -d /www/appl/iws-6.0sp5/https-surveys.xxx.xxx/config
ns-httpd -d /www/appl/iws-6.0sp5/https-wwwlogs.xxx.xxx/config
ns-httpd -d /www/appl/iws-6.0sp5/https-www.xxx.xxx/config
ns-httpd -d /www/appl/iws-6.0sp5/https-admserv/config
ns-httpd -d /www/appl/iws-6.0sp5/https-www.xxx.xxx/config

./uxwdog -d /www/appl/iws-6.0sp5/https-admserv/config
./uxwdog -d /www/appl/iws-6.0sp5/https-wwwlogs.xxx.xxx/config

I found the following info on our lab server:

root@labserver:/opt/iws-6.0sp5/https-maintenance> ls
ClassCache   conf_bk      logs         restart      search       stop
SessionData  config       reconfig     rotate       start

Here is the server.xml file:
root@labops:/opt/iws-6.0sp5/https-maintenance/config> more server.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- declare any variables to be used in the server.conf file in the ATTLIST bel
ow -->
<!DOCTYPE SERVER SYSTEM "server.dtd" [
   docroot CDATA #IMPLIED
   adminusers CDATA #IMPLIED
   webapps_file CDATA #IMPLIED
   webapps_enable CDATA #IMPLIED
   chroot CDATA #IMPLIED
   accesslog CDATA #IMPLIED

<SERVER legacyls="ls1" qosactive="no" qosmetricsinterval="30" qosrecomputeinterv
al="100" >
<VARS accesslog="/opt/iws-6.0sp5/https-maintenance/logs/access"/>
<LS id="ls1" ip="192.168.x.x" port="80" security="off" acceptorthreads="1" bloc
  <CONNECTIONGROUP id="group1" matchingip="default" servername="maintenance.ici.
org" defaultvs="https-maintenance"/>
<LS id="ls2" ip="192.168.x.x" port="80" security="off" acceptorthreads="1" bloc
  <CONNECTIONGROUP id="ls2_default" matchingip="default" servername="maintenance
" defaultvs="https-maintenance"/>
<LS id="ls3" ip="192.168.x.x" port="80" security="off" acceptorthreads="1" bloc
  <CONNECTIONGROUP id="ls3_default" matchingip="default" servername="maintenance
" defaultvs="https-maintenance"/>
<LS id="ls4" ip="192.168.x.x" port="80" security="off" acceptorthreads="1" bloc
  <CONNECTIONGROUP id="ls4_default" matchingip="default" servername="maintenance
" defaultvs="https-maintenance"/>
<LS id="ls5" ip="192.168.x.x" port="80" security="off" acceptorthreads="1" bloc
  <CONNECTIONGROUP id="ls5_default" matchingip="default" servername="maintenance
" defaultvs="https-maintenance"/>
<LS id="ls6" ip="192.168.x.x" port="80" security="off" acceptorthreads="1" bloc
  <CONNECTIONGROUP id="ls6_default" matchingip="default" servername="maintenance
" defaultvs="https-maintenance"/>
<MIME id="mime1" file="mime.types"/>
<ACLFILE id="acl1" file="/opt/iws-6.0sp5/httpacl/generated.https-maintenance.acl
<VSCLASS id="defaultclass" objectfile="obj.conf" rootobject="default" acceptlang
  <VARS docroot="/opt/maintenance-pages" user="" group="" chroot="" dir="" nice=
  <VS id="https-maintenance" connections="group1" mime="mime1" urlhosts="mainten
ance.x.x" aclids="acl1">
    <VARS docroot="/opt/maintenance-pages/docs" webapps_file="web-apps.xml" weba
    <USERDB id="default" database="default"/>

What steps are needed to point our production server websites running iPlanet 6.0 to the lab machine (https-maintenance) site, so all websites on the production machine will point to the maintenance page instead of the live site?

Please let me know if you need any other info or config information.

Thanks for your help!!!
Question by:juli_ann
1 Comment
LVL 10

Accepted Solution

neteducation earned 2000 total points
ID: 13732119
run the stop-script in all production-instances, then start the maintenance instance. that should do

to make it back, first stop the maintenance instance then start the normal instances again.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question