2.1.2 执行脚本安装
2.1.2.1 查看脚本的帮助选项
[root@localhost ~]# sh adm_install.sh help
unknown subcommand help
Usage:
adm_install.sh COMMAND [-v] [-h]
Description:
GreatADM installer / uninstaller
Commands:
install install ADM #安装命令
upgrade upgrade ADM #更新升级命令
uninstall delete ADM and cleanup ADM meta data #卸载命令
Options:
-v show verbose messages
-h show this help mesages
2.1.2.2 执行ADM平台安装
[root@localhost ~]# sh adm_install.sh install
[root@localhost ~]# sh adm_install.sh install Checking GreatADM-cdbc-5.1.9-RC5-ea1064d-x86_64.tar.xz and decompress Check GreatADM-cdbc-5.1.9-RC5-ea1064d/ok is successful Chdir to GreatADM-cdbc-5.1.9-RC5-ea1064d Checking Install Images Integrity OK! ADM image repo tag is 05cd3418bba5 Checking ADM_IP_ARRAY Will install on servers: 172.17.140.14 Checking sshpass sshpass check successful Checking the Installation Environment check docker successful on 172.17.140.14 Install Start... Now need create sub dirs under '/greatadm/cdbc' dir on 172.17.140.14 05cd3418bba5 ...... Initialize i18n succeess on 172.17.140.14 adm-cdbc waiting... for ADM web console ready, max wait time is 5 min Start successful on 172.17.140.14 Sync db package failed on 172.17.140.14 adm-cdbc 因为没有配置DB_PACKAGE_PATH="" 路径,所以在当前安装目录未找到greatdb-cluster数据库安装包。 Please use the the following url ( http://172.17.140.14:8080 ) to access adm console through a browser: The default username and password refer to the configuration of FIRST_SUPERUSER and FIRST_SUPERUSER_PASSWORD in adm.conf when you installed done |




