To start the server from the instance
user ID, log in with the instance user ID and issue the appropriate
command from the server instance directory.
Before you begin
Ensure that access rights and user limits are set correctly.
Procedure
-
Log in to the system where IBM
Storage Protect is installed by using the instance user ID for the server.
- If you do not have a user profile that runs the
db2profile script,
issue the following command: . /home/tsminst1/sqllib/db2profile
Tip: For instructions about updating the user ID login script to run the
db2profile script automatically, see the
Db2® product information.
-
Start the server by issuing the following command on one line from the server instance
directory:

LDR_CNTRL=TEXTPSIZE=64K@DATAPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K
/usr/bin/dsmserv
Ensure that you include a space after
SHMPSIZE=64K. By starting the server with this command, you enable 64 KB memory
pages for the server. This setting helps you optimize server performance.

/usr/bin/dsmserv
Tip: The command runs in the foreground so that you can set an administrator ID and
connect to the server instance.

For example, if the name of the server instance is
tsminst1
and the server instance directory is
/tsminst1, you can start the instance by
issuing the following commands:
cd /tsminst1
. ~/sqllib/db2profile
LDR_CNTRL=TEXTPSIZE=64K@DATAPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K
/usr/bin/dsmserv

For example, if the name of the server instance is
tsminst1 and the server instance directory is
/tsminst1,
you can start the instance by issuing the following
commands:
cd /tsminst1
. ~/sqllib/db2profile
/usr/bin/dsmserv