1 2 3 | docker run -d -it --privileged=true --net=host --name=dashDB -e ENABLE_ORACLE_COMPATIBILITY='YES' -e TIMEZONE='Asia/Shanghai' -v /mnt/clusterfs:/mnt/bludata0 -v /mnt/clusterfs:/mnt/blumeta0 ibmdashdb/local:latest-linux |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | [root@i-8t7n6xp2 clusterfs]# <strong>docker logs --follow dashDB</strong><br> systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)<br> Detected virtualization docker.<br> Detected architecture x86-64.<br> Welcome to dashDB Local!<br> Set hostname to <i-8t7n6xp2>.<br> ... ...<br> ##################################################################<br> [ 1430.158575]start_dashDB_local.sh[180]: Creating dashDB directories and dashDB instance<br> [ 1459.704120]start_dashDB_local.sh[180]: Preparing the head-node i-8t7n6xp2 for MPP deployment ...<br> [ 1459.706750] start_dashDB_local.sh[180]: Configuring SSH<br> [ 1459.921732] start_dashDB_local.sh[180]: Configuring SSH for dashDB database instance<br> [ 1460.813161] start_dashDB_local.sh[180]: ***********************************************************<br> [ 1460.813446] start_dashDB_local.sh[180]: ** You're almost there **<br> [ 1460.813640] start_dashDB_local.sh[180]: ***********************************************************<br> [ 1460.813842] start_dashDB_local.sh[180]: To complete the initialization of your dashDB deployment:<br> [ 1460.814048] start_dashDB_local.sh[180]: 1. Confirm that the dashDB container is initialized on all of the nodes that<br> [ 1460.814232] start_dashDB_local.sh[180]: are defined in the nodes configuration file using: docker logs dashDB.<br> [ 1460.814408] start_dashDB_local.sh[180]: Look for the text that tells you "You're almost there"<br> [ 1460.814584] start_dashDB_local.sh[180]: 2. From the head node, bring dashDB online by executing the start command:<br> [ 1460.814763] start_dashDB_local.sh[180]: docker exec -it dashDB start<br> [ 1460.814939] start_dashDB_local.sh[180]: Note: The first time you start services in an MPP configuration, it will take<br> [ 1460.815139] start_dashDB_local.sh[180]: longer for them to be reconfigured and for all the nodes to be enabled. |
1 | docker rm dashDB |
1 | systemctl stop docker |
1 | systemctl start docker |
1 | cp /mnt/clusterfs/nodes directory |
1 | rm -rf /mnt/clusterfs/* |
1 | cp directory/nodes /mnt/clusterfs/ |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |