Entering content frame

 Installation Directory of the Database Software: -R 

Use

Several versions of the database system software can be installed on a database server. If you create a new database instance or DBM command that does not refer to a particular database instance or, consequently, to a particular software version, you have to specify the software version to which the subsequent DBM command is to refer. To do so, you use the DBM option –R.

When a session is set up, the system checks whether the specified version on the server is recorded in the list of registered versions. If it is not, the session connection is refused.

When you call the Database Manager CLI with the option -R, a specified database software version can be connected only if the database software version has been registered correctly.

If you specify the option -d and the name of a database instance in addition to the option -R, option -R is ignored. In this case, the Database Manager CLI uses the database software version assigned to the specified database instance.

Syntax

-R <dependent_path>

Examples

Creating a New Database Instance

Log on to the Database Manager CLI as operator DBM with password DBM, create database instance HOTELDB with the software version stored under C:\Program Files\SDB\V75 on the remote server GENUA, identification on this server as operating system user ANNA with password MAY:

dbmcli -R "C:\Program Files\SDB\7500" –n GENUA db_create HOTELDB DBM,DBM ANNA,MAY

OK

Displaying All the Database Instances Available for a Particular Software Version

Log on to the Database Manager CLI as operator DBM with password DBM using the option –R and the installation path for software version 7.5, execute the DBM command for displaying a list of all the database instances registered for the specified version on the server GENUA:

dbmcli -R "C:\Program Files\SDB\7500" –n GENUA db_enum

OK
HOTELDB C:\Program Files\SDB\7500 7.5.0.5  fast  online
HOTELDB C:\Program Files\SDB\7500 7.5.0.5  quick offline
HOTELDB C:\Program Files\SDB\7500 7.5.0.5  slow  offline

 

 

 

Leaving content frame