Server Userid-Password Plugin (SRVCON_PW_PLUGIN ) = Server List of GSS Plugins (SRVCON_GSSPLUGIN_LIST ) = Server Plugin Mode (SRV_PLUGIN_MODE ) = UNFENCED GSS Plugin for Local Authorization (LOCAL_GSSPLUGIN ) = SYSADM group name (SYSADM_GROUP ) = DB2IADM1Ĭlient Userid-Password Plugin (CLNT_PW_PLUGIN ) =Ĭlient Kerberos Plugin (CLNT_KRB_PLUGIN ) = Monitor health of instance and databases (HEALTH_MON ) = OFF Size of rotating db2diag & notify logs (MB ) (DIAGSIZE ) = 0 Java Development Kit installation path (JDK_PATH ) = /database/config/db2inst1/sqllib/java/jdk64ĭiagnostic error capture level (DIAGLEVEL ) = 3ĭiagnostic data directory path (DIAGPATH ) = /database/config/db2inst1/sqllib/db2dump/ $mĬurrent member resolved DIAGPATH = /database/config/db2inst1/sqllib/db2dump/DIAG0000/Īlternate diagnostic data directory path (ALT_DIAGPATH ) = Transaction processor monitor name (TP_MON_NAME ) =ĭefault charge-back account (DFT_ACCOUNT_STR ) = Max number of concurrently active databases (NUMDB ) = 32įederated Database System Support (FEDERATED ) = YES Node type = Enterprise Server Edition with local and remote clientsĭatabase manager configuration release level = 0x1500ĬPU speed (millisec/instruction ) (CPUSPEED ) = 1.298947e-07Ĭommunications bandwidth (MB/sec ) (COMM_BANDWIDTH ) = 1.000000e+02 ![]() View instance parameters ~ ] # docker exec -ti mydb2 bash -c "su - db2inst1" ~ ]$ db2 connect to testĭatabase server = DB2/LINUXX8664 11.5.0.0 ~ ]$ db2 create db testĭB20000I The CREATE DATABASE command completed successfully. ![]() Instance server = DB2/LINUXX8664 11.5.0.0ĭB20000I The DETACH command completed successfully. ~ ] # docker exec -ti mydb2 bash -c "su - db2inst1" Into the container docker exec -ti mydb2 bash -c "su - db2inst1" The container name is mydb2, the port is 50000, the database name is trdj, and the password is xpar docker run -itd -name mydb2 -privileged =true -p 50000:50000 -e LICENSE =accept -e DB2INST1_PASSWORD =xpar -e DBNAME =trdj -v /docker/db2:/database ibmcom/db2:11.5.0.0 Download the db2 image through docker installation docker pull ibmcom/db2:11.5.0.0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |