You can create a new database in HPE IDOL Server by using one of the following methods:
Send a DRECREATEDBASE
index action to HPE IDOL Server.
This action does not complete if the configuration file is read-only.
Add a database to the HPE IDOL Server configuration file.
To create a new database by this method, send a DRECREATEDBASE
action (case sensitive) from your Web browser:
http://IDOLhost:indexPort/DRECREATEDBASE?DREDbName=databaseName
where:
IDOLhost
|
is the IP address or host name of the machine on which HPE IDOL Server is installed. |
indexPort
|
is the HPE IDOL Server index port (specified as IndexPort in the [Server] section of the HPE IDOL Server configuration file). |
databaseName
|
is the name of the database that you want to create. |
For example:
http://12.3.4.56:20001/DRECREATEDBASE?DREDbName=Archive
This action uses port 20001
to create a new database named Archive
on the HPE IDOL Server machine with the IP address 12.3.4.56
.
For information about other available parameters, refer to the IDOL Server Reference.
Use the following procedure to add a database to the HPE IDOL Server configuration file.
Open the HPE IDOL Server configuration file in a text editor.
Find the [Databases]
section. This section contains the NumDBs
setting, which indicates how many databases HPE IDOL Server currently contains. It also contains a section for each of these databases, with settings that apply to them. The names of the individual database sections use the format DatabaseN
, where N
numbers the databases in consecutive order, starting from 0 (zero).
For example:
[Databases] NumDBs=2 [Database0] Name=News [Database1] Name=Archive
Increase the NumDBs
setting by one.
For example:
[Databases] NumDBs=3
Create a section for the new database. The name of the section must use the format DatabaseN
, where N
numbers the databases in consecutive order, starting from 0 (zero).
Use the Name
parameter to specify a name for your new database.
For example:
[Databases] NumDBs=3 [Database0] Name=News [Database1] Name=Archive [Database2] Name=myNewDatabase
Save and close the configuration file. Restart HPE IDOL Server for your changes to take effect.
You can add a new database for the Content or Agentstore components, or IDOL Proxy, from the Databases page in the Control section of the IDOL Admin interface.
Click Create.
|