Pages

Thursday 8 January 2015

Initialize PE region by command


  • copy sample properties file from <P8_Install>/tools/PE/samples/PEInitD.properties.sample, and rename to PEInitD.properties. Edit the file with correct configuraion:

DBConnectionName=<database connection name>
DataSourceName=<data source name>
XADataSourceName=<XA data source name>
#SiteName=<site name (optional)>

#------------------------------------------------------------------------------
# Security group names
#
SysAdminGroup=<administrators group>
SysConfigGroup=<configuration group>

#------------------------------------------------------------------------------
# General system information
#
# examples:
#   date/time mask: mm/dd/yyyy hh\:tt\:ss
#   default locale: en_US
#
DateTimeMask=<date/time mask>
DefaultLocale=<locale language code and (optional) country code>

#------------------------------------------------------------------------------
# Tablespace/Filegroup Information
# Specify the tablespace or filegroup names in your database.  A value for
# pe_data is required.  Other values may be required or optional depending on
# your database type.  To specify values for pe_index or pe_blob, be sure to
# remove the preceding comment character '#'.
#
pe_data=<data tablespace>
#pe_index=<index tablespace>
#pe_blob=<blob tablespace (DB2 only)>

#------------------------------------------------------------------------------
# Region Information
# Note: the connection point name will be specified on the command line.
#
RegionDisplayName=<isolated region display name>
IsolatedRegionNumber=<isolated region number>
DBSchemaName=<database schema name>
EnableRegionForBackup=<true/false>

#------------------------------------------------------------------------------
# (optional) Specify the tablespace or filegroup names to be used by the region.
# To specify values for these items, be sure to remove the preceding comment
# character '#'.
#
#region_data=<data tablespace>
#region_index=<index tablespace>
#region_blob=<blob tablespace (DB2 only)>


  • run command : ./peinit <ConnectionPointName> -D PEInitD.properties

No comments:

Post a Comment