Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CNKE4ML, CNKE2ML, CNA8LML, CND1AML, CND1DML, CND1EML, CND1FML, CND0ZML, CND18ML, CIY9SML, CNKF6ML, CNB21ML, CNB8FML, CNF8IML
- Instalar DB2
- # su db2inst1
- # db2set DB2_COMPATIBILITY_VECTOR=ORA
- # db2set DB2_DEFERRED_PREPARE_SEMANTICS=YES
- # db2 create database tririga PAGESIZE 32 K
- # db2 update db cfg for tririga using STMT_CONC OFF DEFERRED
- # useradd -g db2iadm1 tridata
- # echo "tridata:tridata" | chpasswd
- # db2 connect to tririga
- # db2 GRANT CONNECT ON DATABASE TO USER tririga
- # db2 GRANT CONNECT ON DATABASE TO USER tridata
- # db2 GRANT DBADM ON DATABASE TO USER tridata
- # db2 GRANT SECADM ON DATABASE TO USER tridata
- # db2 GRANT ACCESSCTRL ON DATABASE TO USER tridata
- # db2 GRANT DATAACCESS ON DATABASE TO USER tridata
- # db2 TERMINATE
- # db2 update db cfg for tririga using STRING_UNITS CODEUNITS32
- # db2stop force
- # db2start
- ip-172-31-20-110
- # su db2inst1
- # db2set DB2_COMPATIBILITY_VECTOR=ORA
- # db2set DB2_DEFERRED_PREPARE_SEMANTICS=YES
- # db2 create db tririga3 PAGESIZE 32 K
- # db2 update db cfg for tririga3 using STMT_CONC OFF DEFERRED
- # useradd -g dasadm1 tridata3
- # echo "tridata3:tridata3" | chpasswd
- # db2 connect to tririga3 --- AQUI
- * db2 CONNECT TO tririga3 user tridata3 using tridata3
- * db2 GRANT DBADM, CREATETAB, BINDADD, CONNECT, CREATE_NOT_FENCED, IMPLICIT_SCHEMA, LOAD ON DATABASE TO USER tridata3
- # db2 GRANT CONNECT ON DATABASE TO USER tririga3
- # db2 GRANT CONNECT ON DATABASE TO USER tridata3
- # db2 GRANT DBADM ON DATABASE TO USER tridata3
- # db2 GRANT SECADM ON DATABASE TO USER tridata3
- # db2 GRANT ACCESSCTRL ON DATABASE TO USER tridata3
- # db2 GRANT DATAACCESS ON DATABASE TO USER tridata3
- # db2 TERMINATE
- # db2 update db cfg for tririga3 using STRING_UNITS CODEUNITS32
- # db2stop force
- # db2start
- Database Connection Information
- Database server = DB2/LINUXX8664 11.1.0
- SQL authorization ID = DB2INST1
- Local database alias = TRIRIGA1
- Configuracoes Tririga
- Server name is:server1
- Profile name is:AppSrv01
- Profile home is:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01
- Profile type is:default
- Cell name is:ip-172-31-20-110Node01Cell
- Node name is:ip-172-31-20-110Node01
- Current encoding is:ANSI_X3.4-1968
- Start running the following command:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1 -profileName AppSrv01
- >ADMU0116I: Tool information is being logged in file
- > /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
- >ADMU0128I: Starting tool with the AppSrv01 profile
- >ADMU3100I: Reading configuration for server: server1
- >ADMU3200I: Server launched. Waiting for initialization status.
- Frontend Trriga
- ip-172-31-20-110
- DBS NEW
- USer: dasusr2
- Pass: dasusr2
- Group: dasadm1
- db2inst2
- db2inst2
- db2iadm1
- db2fenc2
- db2fenc2
- db2fadm1
- db2c_db2inst2
- 50009
- db2j_db2inst2
- 55001
- Resume:
- Install Location:/opt/ibm/db2/V11.1
- Instance Name:db2inst2
- DAS Username:dasusr2
- Fenced User Name:db2fenc2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement