Olcmd dbconfig, A-10 – Paradyne OpenLane SLM 5.5 User Manual

Page 80

Advertising
background image

A. OLCmd Reference

A-10

January

2002

7800-A2-GB32-00

OLCmd dbconfig

Information that OpenLane uses to connect to a database is stored in a
naming/directory service. The dbconfig command creates or modifies the
naming/directory service database entry that points to the performance statistics
database.

Format:

Solaris:

OLCmd dbconfig '

[[

-d c

|

o

] | [

-a

instance ]] | [

-l

] | [

-h

] |

[[

-c

new_instance ]] [

-m

host ] [

-n

dbname ] [

-u

user ] [

-p

password ]

[Advanced Parameters]

'

Windows:

OLCmd dbconfig "

[[

-d c

|

o

] | [

-a

instance ]] | [

-l

] | [

-h

] |

[[

-c

new_instance ]] [

-m

host ] [

-n

dbname ] [

-u

user ] [

-p

password ]

[Advanced Parameters]

"

Parameters may be set to null by specifying null. Example:

-u null

.

Where:

-d c

|

o

Sets the default database to Cloudscape (c) or Oracle
(o).

-a

instance

Alters the options specified on a specific database
instance. If -a is omitted, the default database is
assumed.

-c

new-instance

Creates a new database instance. If the -c parameter is
not followed by a -d parameter, the database type is
derived from the default instance.

-m

host

Sets the host machine name or IP address (and port if
needed) where the database is located. The default is
localhost:1521.

-n

dbname

Specifies the database name (SID in Oracle). The
default is OpenLane for Cloudscape or OLDB for
Oracle.

-u

user

Specifies the database user. The default is empty for
Cloudscape or pdyn for Oracle.

-p

password

Specifies the database user password. The default is
empty for Cloudscape or pdyn for Oracle.

-l

Lists all the database instances in the naming/directory
service.

-h

Prints usage notes similar to those shown here.

Advertising