Linux operating systemsAIX operating systems

Starting the server from the instance user ID

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

  1. Log in to the system where IBM Storage Protect is installed by using the instance user ID for the server.
  2. 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.
  3. Start the server by issuing the following command on one line from the server instance directory:
    AIX operating systems
    LDR_CNTRL=TEXTPSIZE=64K@DATAPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K 
    /usr/bin/dsmserv

    AIX operating systemsEnsure 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.

    Linux operating systems
    /usr/bin/dsmserv
    Tip: The command runs in the foreground so that you can set an administrator ID and connect to the server instance.
    AIX operating systemsFor 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
    Linux operating systemsFor 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