Database Instance Registration
Use
You register a new database instance using an operating system user.
Prerequisites
The following prerequisites must be fulfilled in accordance with the operating system on the server on which the database instance is to be created:
Communication |
Windows NT |
UNIX |
local |
Operating system user has administration rights for database server * (Logon to the operating system is implicitly given) |
Logon to the operating system using option -s (Local Operation) when Calling the Database Manager CLI |
remote |
Operating system user has administration rights for database server and right log on as batch job * Log on to the operating system using db_create and option <os_user>,<password> |
Log on to the operating system using db_create and option <os_user>,<password> |
If several versions of the database software are available on the database server, you must specify the path of the version to which this database instance is to be assigned when registering the database instance. To do this, use the option
-R (Installations Directory of the Database Instance) when calling the Database Manager CLI.*(You can find information about maintaining operating system users in your operating system documentation.)
Syntax
db_create [<option>] <database_name> <userid>,<password> [<os_user>,<password>]
<database_name> |
Name of database instance, maximum length 8 characters |
<userid>,<password> |
DBM Operator This operator is stored on the database server when creating the database instance. Subsequent access to the database instance is possible only with this operator. |
[<os_user>,<password>] |
Operating System User If you want to install the database instance on a remote server, you must also specify the operating system user for this server. If the logon to the operating system fails, the database instance cannot be installed. |
From now on, to access this database instance on you need the
<userid> and <password> specified at registration.Options
Options
(<option>) that determine which database instance kernel variant is registered: -f | -fast -a | –autoThe options
-q | –quick and -s | –slow should only be used in case of error and in consultation with Support.If you do not specify an option the system makes a service entry for the fastest available variant of the database kernel.
All parameters listed here apply to the Windows NT operating system only.
Under the UNIX operating system these parameters are ignored.
Creating a local database instance under Windows NT:
Creating a remote database instance under Windows NT:
Reply
There is an OK message after the command has been executed successfully.
In the event of errors, see
Reply Format.Example: How to Create a Database Instance