首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

IBM dashDB Local 从入门到精通,第 4 部分 dashDB local MPP Linux 安装指南(14)

IBM dashDB Local 从入门到精通,第 4 部分 dashDB local MPP Linux 安装指南(14)

你可以通过执行 docker exec -it dashDB status 命令并在 dashDB Cluster Status section 查看 head node            主机名。
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[root@i-8t7n6xp2 scratch]# <strong>docker exec -it dashDB start</strong><br>
*************************************************<br>
Starting services. This might take a while ...<br>
*************************************************<br>
Validating nodes file/mnt/bludata0/nodes ...<br>
#####################################################################<br>
Check cluster connectivity<br>
#####################################################################<br>
Checking status of node i-8t7n6xp2<br> Checking status of node i-oisebqqf<br>
Checking status of node i-si5oq07a<br> * Network check: PASS<br>
. . . . . .<br>
#####################################################################<br>
Check status of clustered filesystem<br>
#####################################################################<br>
Checking status of the clustered filesystem on node i-8t7n6xp2<br>
Checking status of the clustered filesystem on node i-oisebqqf<br>
Checking status of the clustered filesystem on node i-si5oq07a<br>
* Clusterfs check: PASSED<br>
Starting services on node i-oisebqqf<br>
Starting services on node i-si5oq07a<br>
Current total memory: 64266 MB<br>
Previous total memory: 64266 MB<br>
Current number of maximum database partitions per node : 8<br>
Previous number of maximum database partitions per node: 8<br>
Current spark share : 10% of total memory.<br>
Previous spark share: 10% of total memory.<br>
Total memory, maximum database partitions per node and spark share are unchanged.<br>
Run hardware inventory collection<br>
+----------------+------------+----------------+-------------+<br>
| | # of nodes | # of CPU cores | Memory (MB) |<br>
+----------------+------------+----------------+-------------+<br> |
Current | 3 | 24 | 192798 |<br>
| Max this month | 3 | 24 | 192798 |<br>
| Max last month | --
| -- | -- |<br>
| Max all time | 3 | 24 | 192798 |<br>
+----------------+------------+----------------+-------------+<br>
. . . . . .<br>
###########################################################################<br>
##### ---dashDB stack service status summary --- #####<br>
###########################################################################<br>
Redirecting to/bin/systemctl status slapd.service<br>
SUMMARY<br>
LDAPrunning : SUCCESS<br> dashDBtablesOnline : SUCCESS<br>
WebConsole : SUCCESS<br>
dashDBconnectivity : SUCCESS<br>
dashDBrunning : SUCCESS<br>
###########################################################################<br>
##### ---dashDB high availability status --- #####<br>
###########################################################################<br>
Configuring dashDB high availability ...<br>
Stopping the system<br>
Stopping datanode i-oisebqqf<br>
Stopping datanode i-si5oq07a<br>
Stopping headnode i-8t7n6xp2<br>
Running sm on head node i-8t7n6xp2 ..<br>
Running sm on data node i-oisebqqf ..<br>
Running sm on data node i-si5oq07a ..<br>
Attempting to activate previously failed nodes, if any ...<br>
SM is RUNNING on headnode i-8t7n6xp2 (ACTIVE)<br>
SM is RUNNING on datanode i-oisebqqf (ACTIVE)<br>
SM is RUNNING on datanode i-si5oq07a (ACTIVE)<br>
Overall status : RUNNING<br>
###########################################################################<br>
***********************************************************<br>
**** Successfully started dashDB ****<br>
***********************************************************<br>
*<br>
* Next steps:<br>
*<br>
* 1. Please use Ctrl+c key-sequence to detach from the Docker logs console.<br>
* 2. Log in to the web console using the following information:<br>
* URL:https://192.168.0.2:8443&lt;br>
* 3. If you've forgotten the bluadmin password, reset it<br>
* by running "docker exec -it dashDB setpass <new password>". Other user management<br>
* should be done via the web console.<br>
*<br>
***********************************************************<br>




我们可以看到 dashDB Local 服务成功启动的信息,也可以看到 web console URL 及登录信息。我们可以在 head node 上通过访问 web            console URL: 来使用、管理、监控            dashDB 容器,系统默认创建了 bluadmin 用户,其默认口令为 YzZjODFhODNkMTU2,从安全角度考虑,我们建议修改默认口令。
  • 修改 bluadmin 用户默认口令
我们可以通过下述命令修改 bluadmin 用户默认口令:
1
2
[root@i-8t7n6xp2 scratch]#<strong> docker exec -it dashDB setpass
     passw0rd</strong><br> Password successfully updated




  • head node 上,通过 web                console 管理、使用 dashDB Local
我们通过访问 URL:登录 dashDB            Local web console 来管理、使用 dashDB Local,确认 security exception 后,我们会看到 dashDB console            登录界面,使用 bluadmin 用户及其口令登录成功后,我们会看到如下界面,表明 dashDB Local 实例可以正常使用了,我们安装、设置工作顺利完成。
图 3. dashDB Local web              管理客户端结论通过上述介绍,我们对 IBM dashDB Local MPP 在 Linux 环境下安装及配置方法进行了比较详尽的介绍。dashDB Local 采用目前比较热门的            Docker 容器技术进行部署,安装简洁、灵活,既可以在自己的笔记本上部署,也可以在 Linux 集群环境下部署,大家可以自己部署一个 IBM dashDB Local            环境来更好的了解 IBM 云数据仓库解决方案。
返回列表