DB2 10.5 for Linux, UNIX, and Windows

db2rfe - Enable root features for non-root installations command

Enables the supported root features, in non-root installations of DB2® database systems, according to the configuration file. The DB2 non-root instance needs to be stopped before the db2rfe command is executed.

Authorization

Root user authority

Required Connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-db2rfe-- -f--db2rfe_config_file--+-----+--------------------><
                                    +- -h-+   
                                    '- -?-'   

Command parameters

-f db2rfe_config_file
Specifies the configuration file to be used to enable root features.
-h | -?
Displays help information.

Usage notes

Each root feature, in the configuration file, will be in a separate section. Each section will have a start and end mark, comments describing what the section will enable, and the command to enable the root feature. The sample configuration file db2rfe.cfg will be installed to the $DB2DIR/instance directory.

The sample configuration file will look like the following (the non-root install owner is db2inst3 in this example):
** ============================================================================
**
** Sample configuration file for db2rfe of IBM DB2
** -----------------------------------------------
**
** To select features and settings to configure, uncomment the corresponding
** keywords and specify values for those keywords.
**
** Comments are made by placing either an asterisk (*) or a number sign (#) at
** the start of a line
**
** ============================================================================


INSTANCENAME=db2inst3
** This is required keyword.



** ----------------------------------------------------------------------------
** Set hard/soft data ulimit to unlimited, and hard/soft nofile ulimit to 65536.
**
** Note: This is for AIX only. On other platforms, refer to system documentation
** to set it manually.
** ----------------------------------------------------------------------------
** Valid value is NO and YES. Change to YES if you need to set the ulimit.

SET_ULIMIT=NO


** ----------------------------------------------------------------------------
** Enable DB2 High Availability (HA) feature
** ----------------------------------------------------------------------------
** Valid value is NO and YES. Change to YES if you need to enable this feature.

ENABLE_HA=NO


** ------------------------------------------------------------------------------
** ENABLE DB2 Authentication on the server using local operating system security.
** ------------------------------------------------------------------------------
** Valid value is NO and YES. Change to YES if you need to enable this feature.

ENABLE_OS_AUTHENTICATION=NO


** --------------------------------------------
** Reserve DB2 remote connection service entry
** --------------------------------------------
** Valid value is NO and YES. Change to YES if you need to enable this feature.

RESERVE_REMOTE_CONNECTION=NO

*SVCENAME=db2c_db2inst3
** char(14)

*SVCEPORT=48000
** Valid value: 1024 - 65535


** --------------------------------------
** Reserve DB2 text search service entry
** --------------------------------------
** Valid value is NO and YES. Change to YES if you need to enable this feature.

RESERVE_TEXT_SEARCH_CONNECTION=NO

*SVCENAME_TEXT_SEARCH=db2j_db2inst3
** char(14)

*SVCEPORT_TEXT_SEARCH=55000
** Valid value: 1024 - 65535