iTP Secure WebServer System Administrator's Guide (Version 7.0)
Using the Resource Locator Service (RLS)
iTP Secure WebServer System Administrator’s Guide—523346-012
10-5
Modifying the Database
Relative_ID
assigns a record number. No two records in the table can have the same value for
this field. The first record is numbered 0. The maximum record number is
4294967295. You do not have to list the records in order in dbload.sqlci, but in
most cases, it is practical not to leave gaps in the numbering; for example, if you
create five records, they should be numbered 0, 1, 2, 3, and 4.
Example
In the following example, the prefixes /WEB and /Images will cause invocation of the
Web server whose domain name is net.myco.com. Similarly the prefixes /samples
and /index1.html will cause invocation of the Web server at IP address
172.16.10.22. RLS will use a different TCP/IP process to reach each server. The prefix
/MlplSrvs can cause invocation of either of two Web servers, whichever RLS
predicts will offer better response time. In this case, the Web servers are both on the
same system (as indicated by their common IP address).
insert into =dbaccess values ("/WEB","net.myco.com",80,"$ztc2",1,2);
insert into =dbaccess values ("/Images","net.myco.com",80,"$ztc2",1,1);
insert into =dbaccess values ("/samples","172.16.10.22",3366,"$ztc0",1,0);
insert into =dbaccess values ("/index.html","172.16.10.22”,3366,"$ztc0",1,3);
insert into =dbaccess values ("/MlplSrvs","172.16.10.22",3376,"$ztc0",2,4);
insert into =dbaccess values ("/MlplSrvs","172.16.10.22",3366,"$ztc0",2,5);
Modifying the Database
When you build and install RLS as described in Building and Installing the Resource
Locator Service (RLS) on page 10-6, the make utility loads the database with the data
in dbload.sqlci, but you do not need to reinstall RLS to make changes later. In fact, an
administrator should periodically review and update the database to check that it
reflects any changes in Web-server configurations.
To update the database without changing the locations of the database files:
1. Update the dbload.sqlci file.
2. Use the NonStop TS/MP PATHCOM utility to stop the RLS server class.
3. Return to the OSS environment and issue the command make dbload to load your
new data into the DBACCESS table.
4. Use the PATHCOM utility to start the RLS server class.
To change the location of the database:
1. Stop the iTP Secure WebServer environment.
2. Issue the rm command in OSS to remove the file rmt.pway.
3. Issue the command make dbdelete to delete the existing database.
4. Change the values of DB_VOLUME and DB_SUBVOLUME in the make file. The
database files will be created in the Guardian volume and subvolume you specify.