• 1 reply
  • Latest Post - ‏2012-07-09T21:06:30Z by SystemAdmin
18 Posts

Pinned topic instance configuration

‏2012-06-27T10:34:06Z |
Hallo everyone,

I created the instance db2inst2 (instance owner is db2inst2):

sudo ./db2icrt -u db2fenc2 db2inst2

After this, I want to create a database. I am assuming, before creating a database, I dont need any configurations on the instance?

A question:
In the folder from instance owner db2inst1 (installation wizard created automatically this user), I have 2 folders:
1. db2inst2
2. sqllib

But in the folder from instance owner db2inst2 (I created with the above command), there is only one folder:
1. sqllib

Is it because in the instance db2inst2 still no database created?

Thank you..

Updated on 2012-07-09T21:06:30Z at 2012-07-09T21:06:30Z by SystemAdmin
  • SystemAdmin
    5837 Posts

    Re: instance configuration

    Hello Ratna,

    It's correct : the CREATE DATABASE without specifying the PATH/DBPATH keywords will create the subdirectory db2inst2 (for all the databases created in the instance db2inst2).

    Yves-Antoine Emmanuelli