我使用nuodb-CE 2.4OS崩溃后如何重新启动nuodb管理数据库
我创建了一个空的管理数据库中使用自动化控制台(模板Single Host
)(称为testdb
),然而,当操作系统崩溃(或重启)数据库消失。
我检查ls /var/opt/nuodb/production-archives/testdb/
1.atm 12.cat 16.atm 19.atm 22.atm 25.atm 29.atm 32.atm 35.atm 4.atm 43.atm 46.cat 5.atm 52.cat 56.atm 59.atm 61.atm 65.atm 7.atm fingerprints.dat
10.atm 13.atm 16.cat 2.atm 22.cat 26.atm 3.atm 32.cat 36.atm 40.atm 44.atm 47.atm 50.atm 53.atm 56.cat 6.atm 62.atm 66.atm 8.atm journal
10.cat 14.atm 17.atm 20.atm 23.atm 27.atm 30.atm 33.atm 37.atm 41.atm 44.cat 48.atm 50.cat 54.atm 57.atm 6.cat 62.cat 66.cat 8.cat state.dat
11.atm 14.cat 18.atm 20.cat 24.atm 28.atm 30.cat 34.atm 38.atm 42.atm 45.atm 48.cat 51.atm 54.cat 58.atm 60.atm 63.atm 67.atm 9.atm
12.atm 15.atm 18.cat 21.atm 24.cat 28.cat 31.atm 34.cat 39.atm 42.cat 46.atm 49.atm 52.atm 55.atm 58.cat 60.cat 64.atm 68.atm cloud_time.dat
nuodb [domain] > show domain summary
Hosts:
[broker] * ce2384664ad0/localhost:48004 (DEFAULT_REGION) CONNECTED
而且同样没有Web控制台上
nuodb [domain] > start database testdb
Timeout (ms/s/m/h/d/w) (optional):
unknown database [testdb]
bin/nuochk /var/opt/nuodb/production-archives/testdb/
Validating Schema SYSTEM ID 4
Archive verification found no issues.
我如何崩溃后恢复?
PS如果我尝试重新SM
我有以下错误
Failed to introduce local node: Starting process [Node SM db=[testdb] pid=498 id=-1 req=null (local)] would exceed Community Edition license restrictions. Contact [email protected] or visit http://doc.nuodb.com/display/doc/NuoDB+Editions to upgrade...
更新
一些测试中,我看到了Raft
文件夹重新启动过程中没有坚持后。在持久化之后,数据库在Web控制台上不存在但未启动。
然而,当我尝试启动它,我有一个400
错误数据库已启动而是设置你是什么平台什么都没法(SM
和TE
)存在