iPlanet server.xml file

Posted on 2005-04-07
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/
ns-httpd -d /www/appl/iws-6.0sp5/
ns-httpd -d /www/appl/iws-6.0sp5/
ns-httpd -d /www/appl/iws-6.0sp5/https-admserv/config
ns-httpd -d /www/appl/iws-6.0sp5/

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

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

    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

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    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.:
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now