config_ui
Description
Configure the UI address, port, and other information.
Usage
Parameter | Description | Example |
---|---|---|
--host HOST | The IP address of the UI server. Default: localhost. | zstack-ctl config_ui --host
172.20.11.122 |
--init | Initializes zstack.ui.properties. | zstack-ctl config_ui
--init |
--restore | Resets zstack.ui.properties to the default value. | zstack-ctl config_ui
--restore |
--mn-host MN_HOST | The IP address of the management node. Default: 127.0.0.1. | zstack-ctl config_ui --mn-host
127.0.0.1 |
--mn-port MN_PORT | The port of the management node. Default: 8080. | zstack-ctl config_ui --mn-port
8080 |
--webhook-host WEBHOOK_HOST | The IP address of the webhook host. Default: 127.0.0.1. | zstack-ctl config_ui --webhook-host
127.0.0.1 |
--webhook-port WEBHOOK_PORT | The port of the webhook host. Default: 5000. | zstack-ctl config_ui --webhook-port
5000 |
--server-port SERVER_PORT | The port of the UI server. Default: 5000. | zstack-ctl config_ui --server-port
5000 |
--ui-address UI_ADDRESS | Changes the IP address of the UI server. | zstack-ctl config_ui --ui-address
172.20.0.10 |
--log LOG | The UI log directory. Default: /usr/local/zstack/apache-tomcat/logs. | zstack-ctl config_ui --log
/usr/local/zstack/apache-tomcat/logs |
--enable-ssl {True,False} | Enables or Disables UI login through HTTPS. Default: False. | zstack-ctl config_ui --enable-ssl
True |
--ssl-keyalias SSL_KEYALIAS | The alias of the UI certificate. Default: zstackui. | zstack-ctl config_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 config_ui --ssl-keystore
/usr/local/zstack/zstack-ui/ui.keystore.p12 |
--ssl-keystore-type {PKCS12,JKS} | The type of the UI certificate. Default: PKCS12. | zstack-ctl config_ui --ssl-keystore-type
PKCS12 |
--ssl-keystore-password SSL_KEYSTORE_PASSWORD | The private key password of the UI certificate. Default: password. | zstack-ctl config_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 config_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 config_ui --db-username
zstack_ui |
--db-password DB_PASSWORD | The password of the UI database. Default: zstack.ui.password. | zstack-ctl config_ui --db-password
zstack.ui.password |
