#****************************************************************** #* * #* @START_COPYRIGHT@ * #* * #* Licensed Materials - Property of IBM; * #* 5655-G97 (c) Copyright IBM Corp. 2004; * #* All Rights Reserved; * #* US Government Users Restricted Rights - use, * #* duplication or disclosure restricted by GSA * #* ADP Schedule Contract with IBM Corp.; * #* See Copyright Instructions * #* * #* @END_COPYRIGHT@ * #* * #****************************************************************** #* IBM WebSphere Event/Message Brokers * #* * #* Sample profile for a broker. * #* * #****************************************************************** #* MORE INFORMATION - See: * #* * #* WebSphere Event/Message Brokers Information Centre. * #* * #* IMPORTANT: * #* * #* You must submit BIPGEN each time you update this profile! * #* * #****************************************************************** #* CUSTOMIZE HERE FOR YOUR INSTALLATION #* YOU MUST DO GLOBAL CHANGES ON THESE PARAMETERS USING YOUR EDITOR #* * #* Replace ++INSTALL++ #* WBI Brokers installation directory. #* e.g. '/usr/lpp/mqsi' #* #* Replace ++COMPONENTDIRECTORY++ #* Broker directory. #* e.g. '/mqsi/brokers/MQ01BRK' #* #* Replace ++COMPONENTDATASET++ #* Component dataset. #* e.g. 'BIP.BROKER.MQ01BRK' #* #* Replace ++COMPONENTNAME++ #* Broker name. #* e.g. 'MQ01BRK' #* #* Replace ++LOCALE++ #* Locale. #* e.g. 'C' #* #* Replace ++TIMEZONE++ #* Time zone. #* e.g. 'GMT0BST' #* #* Replace ++JAVA++ #* Java location. #* e.g. '/usr/lpp/java/IBM/J1.4' #* #* Replace ++XMLTOOLKIT++ #* IBM XML Toolkit location. #* e.g. '/usr/lpp/ixm/IBM/xml4c-5_5' #* #* Replace ++DB2CONVERSION++ #* Specifies the DB2 Converter. #* e.g. 'SINGLE' #* #* Replace ++DB2DATABASE++ #* Needed by the mqsicreatebroker command to #* determine the DB2 database. #* e.g. 'DMQ01BRK' #* #* Replace ++DB2STORAGEGROUP++ #* Needed by the mqsicreatebroker command to #* determine the DB2 storagegroup. #* e.g. 'MQ01STOR' #* #****************************************************************** # 1. Component Settings #****************************************************************** # # 1.1 MQSI_REGISTRY references the component path. Also needed by # commands. # e.g. MQSI_REGISTRY=/mqsi/brokers/MQ01BRK # # 1.2 MQSI_COMPONENT_NAME is set to the broker name. # e.g. MQSI_COMPONENT_NAME=MQ01BRK # # 1.3 MQSI_FILEPATH needed by commands to reference the component # version install path. # e.g. MQSI_FILEPATH=usr/lpp/mqsi/V6R0M0 # # 1.4 MQSI_LILPATH needed by components to find LILs # e.g. MQSI_FILEPATH=usr/lpp/mqsi/V6R0M0/lil # export MQSI_REGISTRY=++COMPONENTDIRECTORY++ export MQSI_COMPONENT_NAME=++COMPONENTNAME++ export MQSI_FILEPATH=++INSTALL++ export MQSI_LILPATH=$MQSI_FILEPATH/lil #****************************************************************** # 2. NLS Settings #****************************************************************** # # 2.1 LANG and LC_ALL determine in which locale the component # will run. # e.g. LANG=Ja_JP.IBM-939 and LC_ALL=Ja_JP.IBM-939 for # japanese locale. # LANG=C, LC_ALL=C for US English locale. # # 2.2 TZ has the timezone setting in which you are located. # e.g. TZ=EST5 for USA Eastern Standard Time # TZ=MEZ-1MES,M3.5.0,M10.5.0 for Central Europe # TZ=GMT0BST for the UK # Please refer to the IBM Manual # "Unix System Services Command Reference SC28-1892. # # 2.3 NLSPATH contains the location of the message catalog(s). # (NO NEED TO CHANGE FROM DEFAULT!) # # 2.4 MQSI_CONSOLE_NLSPATH is used to locate the messages for # the console. # For Japanese or S-Chinese messages, change En_US to # Ja_JP or Zh_CN below. For English messages these can be # displayed in mixed or upper case only. (see MC_MESSAGES) # Note that MQSI_CONSOLE_NLSPATH does not use %L or %N # export LANG=++LOCALE++ export LC_ALL=++LOCALE++ export TZ=++TIMEZONE++ export NLSPATH=$MQSI_FILEPATH/messages/%L/%N export NLSPATH=$NLSPATH:$MQSI_FILEPATH/nnsy/MIF/messages/%N export MQSI_CONSOLE_NLSPATH=$MQSI_FILEPATH/messages/En_US #****************************************************************** # 3. Automatic Restart Management (ARM) Settings #****************************************************************** # # 3.1 MQSI_USE_ARM specifies whether to use ARM. # e.g. MQSI_USE_ARM=YES for ARM enabled. # MQSI_USE_ARM=NO for ARM not enabled. # # 3.2 MQSI_ARM_ELEMENTNAME required if ARM enabled. # # 3.3 MQSI_ARM_ELEMENTTYPE required if ARM enabled. # export MQSI_USE_ARM=NO export MQSI_ARM_ELEMENTNAME=++COMPONENTNAME++ export MQSI_ARM_ELEMENTTYPE= #****************************************************************** # 4. DB2 Settings #****************************************************************** # # 4.1 MQSI_DB2_ALWAYS_PREPARE # (NO NEED TO CHANGE FROM DEFAULT!) # # 4.2 MQSI_DB2_CONVERSION specifies the DB2 Converter. # e.g. MQSI_DB2_CONVERSION=SINGLE # WBIMB uses a SQL_EBCDIC_SCCSID to determine # the DB2 converter. # Note that this setting reflects the current # WBIMB behavior. # MQSI_DB2_CONVERSION=MIXED # WBIMB uses SQL_EBCDIC_MCCSID to determine # the DB2 converter. # Note that this setting requires that DB2 is # configured to accept mixed byte data. This # setting should be used when the customer # wants data to be stored in the configured # DB2 EBCDIC mixed byte code page. # MQSI_DB2_CONVERSION=LOCAL # WBIMB uses localConverter identified by # LC_ALL/LANG settings. This complies to what # is done on distributed. This setting # requires that WBIMB and DB2 are using the same # codepage, otherwise only WBIMB can read DB2 # data correctly, it gets unreadable for other # ( non-WBIMB ) applications that want to read # the data. # # 4.3 MQSI_DB2_DATABASE needed by the mqsicreatebroker command to # determine the DB2 database. # e.g. MQSI_DB2_DATABASE=DMQ01BRK # # 4.4 MQSI_DB2_STORAGEGROUP needed by the mqsicreatebroker command # to determine the DB2 storagegroup. # e.g. MQSI_DB2_STORAGEGROUP=MQ01STOR # # 4.5 DSNAOINI references the component dsnaoini file. # (NO NEED TO CHANGE FROM DEFAULT!) # export MQSI_DB2_ALWAYS_PREPARE=NO export MQSI_DB2_CONVERSION=++DB2CONVERSION++ export MQSI_DB2_DATABASE=++DB2DATABASE++ export MQSI_DB2_STORAGEGROUP=++DB2STORAGEGROUP++ export DSNAOINI=//\'++COMPONENTDATASET++\(BIPDSNAO\)\' #****************************************************************** # 5. Java Settings #****************************************************************** # # 5.1 JAVAHOME contains the root directory of the JAVA install. # e.g. JAVAHOME=/usr/lpp/java/IBM/J1.4 # Note that the Java version must be at least 1.4.1 # export JAVAHOME=++JAVA++ #****************************************************************** # 6. DistHub Settings #****************************************************************** # # 6.1 DISTHUB_PATH is the path to DistHub product executables # (NO NEED TO CHANGE DEFAULT UNLESS USING A NON-STANDARD # INSTALLATION PATH FOR DISTHUB!) # export DISTHUB_PATH=$MQSI_FILEPATH #****************************************************************** # 7. Broker de Mensagens com Regras e Configurações de Extensões do Formatador #****************************************************************** # # 7.1 NNSY_ROOT references NNSY executables. # (NO NEED TO CHANGE FROM DEFAULT!) # # 7.2 NNSY_CATALOGUES references NNSY catalogues. # (NO NEED TO CHANGE FROM DEFAULT!) # # 7.3 NN_CONFIG_FILE_PATH default location of nnsyreg.dat # configuration file. # Regardless of where NN_CONFIG_FILE_PATH points, the first # place that will be checked for the nnsyreg.dat files, is # $MQSI_FILEPATH/bin. Any nnsyreg.dat file in this directory # will be used, even if another exists in the location pointed # to by the NN_CONFIG_FILE_PATH environment variable. It is # recommended that any instances of the nnsyreg.dat in the # $MQSI_FILEPATH/bin directory be removed, and placed in # environment specific locations, to preserve multi-user # capability. # e.g. NN_CONFIG_FILE_PATH=/usr/lpp/NNSY/bin # # Consulte a documentação fornecida com as Regras e o Formatador # Extensões para informações adicionais. # export NNSY_ROOT=$MQSI_FILEPATH/nnsy export NNSY_CATALOGUES=$MQSI_FILEPATH/nnsy/NNSYCatalogues/en_US export NN_CONFIG_FILE_PATH= #****************************************************************** # 8. WBI Broker Settings #****************************************************************** # # 8.1 _BPX_BATCH_SPAWN # (MUST NOT CHANGE FROM DEFAULT!) # # 8.2 MQSI_MC_MESSAGES determines if messages should appear in # mixed case or upper case. # e.g. MQSI_MC_MESSAGES=YES for mixed case # MQSI_MC_MESSAGES=NO for upper case # # 8.3 MQSI_COMMAND_DATABASE_ECHO if defined, mqsi commands # display information when creating DB2 tables/indexes. # # 8.4 MQSI_COMMAND_ZOS_MQ_ECHO if defined, mqsi commands display # information returned from the MQ command server when # creating/deleting queues. # # 8.5 MQSI_COMMAND_ZOS_MQ_ECHO_RC if defined, mqsi commands display # reason and return codes from the MQ command server when # creating/deleting queues. # # 8.6 MQSI_DEPLOY_PROGRESS if defined, shows deployment progress # by the execution group # # 8.7 STEPLIB # (MUST NOT CHANGE FROM DEFAULT!) # export _BPX_BATCH_SPAWN=NO export MQSI_MC_MESSAGES=NO export MQSI_COMMAND_DATABASE_ECHO=1 export MQSI_COMMAND_ZOS_MQ_ECHO=1 export MQSI_COMMAND_ZOS_MQ_ECHO_RC=1 export MQSI_DEPLOY_PROGRESS=1 export STEPLIB=CURRENT #****************************************************************** # 9. Other Settings #****************************************************************** # # NO NEED TO CHANGE FROM DEFAULT! # CP=$MQSI_FILEPATH/classes CP=$CP:$MQSI_FILEPATH/classes/config.jar CP=$CP:$MQSI_FILEPATH/classes/ConfigManagerProxy.jar CP=$CP:$MQSI_FILEPATH/classes/ConfigManagerProxySamples.jar CP=$CP:$MQSI_FILEPATH/classes/configutil.jar CP=$CP:$JAVAHOME/lib CP=$CP:$MQSI_FILEPATH/messages export CLASSPATH=$CP export ICU_DATA=$MQSI_FILEPATH/nnsy/lib XMLTOOLKIT=++XMLTOOLKIT++ LP=$MQSI_FILEPATH/lib/wbirf LP=$LP:$MQSI_FILEPATH/lib/wbimb LP=$LP:$MQSI_FILEPATH/lib/wbieb LP=$LP:$MQSI_FILEPATH/lib LP=$LP:$MQSI_FILEPATH/nnsy/lib LP=$LP:$MQSI_FILEPATH/nnsy/MIF/lib LP=$LP:$JAVAHOME/lib LP=$LP:$JAVAHOME/bin LP=$LP:$JAVAHOME/bin/classic LP=$LP:$XMLTOOLKIT/lib export LIBPATH=$LP export PATH=$MQSI_FILEPATH/bin export PATH=$PATH:$MQSI_FILEPATH/nnsy/bin export PATH=$PATH:/bin export PATH=$PATH:$JAVAHOME/bin
Observe que os valores NNSY se aplicam apenas se você estiver utilizando a Extensão do Formatador e Regras. Você deve ler a documentação fornecida com esse recurso para informações adicionais.