Create new web instance on iPlanet

Here’s guide on how to create new web instance on iPlanet

this is based on Linux installed Oracle iPlanet Web Server version 7.0

Prepare a new IP Address to apply to the new web instance

Best way to create new instance is via iPlanet WEB GUI

-> login to IP admin-server with port default 8888

-> go to configurations tab

-> go to new…

1. Configuration information

create name / server name (make it the same)

Document Root: ./docs (which is the default)

Server User: webservd (which is the default)

 

2. Listener Properties

Pick a port which is not used in server

use command “netstat -ntlp | grep ‘desiredPortNumber‘ ” for http/https

IP Address should be * (wildcard for all IP address)

 

3. Configuration Properties

Do not change anything

 

4. Create Instances

Select Nodes as necessary

 

5. Review

Click “Finish” and wait for the result

Best way to create the SSL is by following how to create SSL on iPlanet tutorial

Configure listener for http and https ports

go to configurations > click the configuration > click HTTP Listeners > click New…

Name: leave as is

Port: use the https port availabl e (not used in server)

IP Address: *

Server Name: enter the domain name

Default Virtual Server: enter whichever that is active & running

SSL: Enabled and select SSL installed

Add new virtual servers

configurations > virtual servers> new…

1. Enter Virtual Server Information

use the web URL for Name & Hosts

use default “../docs” directory

2. Choose HTTP Listener(s)

use HTTP & HTTPS Listeners created

Create new obj.conf file inside config directory

copy from default obj.conf and use assigned WebLogic plugin port informations

make sure chown & chmod is set the same as other

Register and check firewall between webserver and weblogic server

make sure to submit for permanent

make sure to check the connectivity

Edit the file /config/server.xml

add the tag below to inside of <virtual-server>

“<object-file>instance_name-obj.conf</object-file>”

it’ll use this specific obj.conf on the virtual server created

Configure the logs to run and use the pre-configured log format as needed

Configurations > General > Log Preferences

Make sure to enable weblogic plugin modules by adding following lines on magnus.conf file

Init fn=”load-modules” funcs=”wl_proxy” shlib=”/iPlanetDirectory/wlsplugin/lib/mod_wl.so”

Test the connectivity by following commands

wget –header ‘Host: marvins.work‘ http://127.0.0.1:8443/api-O-

wget –header ‘Host: marvins.work’ http://127.0.0.1:8443/api/login -O-