start_ui

Description

Starts the UI service of ZStack Cloud.

Usage

Parameter Description Example
--host HOST The IP address of the UI server. Default: localhost. zstack-ctl start_ui --host 172.20.11.122
--mn-host MN_HOST The IP address of the management node. Default: 127.0.0.1. zstack-ctl start_ui --mn-host 127.0.0.1
--mn-port MN_PORT The port of the management node. Default: 8080. zstack-ctl start_ui --mn-port 8080
--webhook-host WEBHOOK_HOST The IP address of the webhook host. Default: 127.0.0.1. zstack-ctl start_ui --webhook-host 127.0.0.1
--webhook-port WEBHOOK_PORT The port of the webhook host. Default: 5000. zstack-ctl start_ui --webhook-port 5000
--server-port SERVER_PORT The port of the UI server. Default: 5000. zstack-ctl start_ui --server-port 5000
--log LOG The directory to store UI logs. Default: /usr/local/zstack/apache-tomcat/logs. zstack-ctl start_ui --log /usr/local/zstack/apache-tomcat/logs
--enable-ssl Enables UI login through HTTPS. zstack-ctl start_ui --enable-ssl
--ssl-keyalias SSL_KEYALIAS The alias of the UI certificate. zstack-ctl start_ui --ssl-keyalias zstackui
--ssl-keystore SSL_KEYSTORE The path of the UI certificate. Default: /usr/local/zstack/zstack-ui/ui.keystore.p12. zstack-ctl start_ui --ssl-keystore /usr/local/zstack/zstack-ui/ui.keystore.p12
--ssl-keystore-type SSL_KEYSTORE_TYPE The type of the UI certificate. Default: PKCS12. zstack-ctl start_ui --ssl-keystore-type PKCS12
--ssl-keystore-password SSL_KEYSTORE_PASSWORD The private key password of the UI certificate. Default: password. zstack-ctl start_ui --ssl-keystore-password password
--db-url DB_URL The URL of the UI database. Default: jdbc:mysql://10.0.46.243:3306. zstack-ctl start_ui --db-url jdbc:mysql://10.0.46.243:3306
--db-username DB_USERNAME The username of the UI database. Default: zstack_ui. zstack-ctl start_ui --db-username zstack_ui
--db-password DB_PASSWORD The password of the UI database. Default: zstack.ui.password. zstack-ctl start_ui --db-password zstack.ui.password
--timeout TIMEOUT The time used for the UI to start up. Default: 120s. zstack-ctl start_ui --timeout 120
Note: If you want to change the username or password of the UI database, make sure that the zstack_ui database can be accessed by using the new username and password.