weizhouapache commented on issue #4781: URL: https://github.com/apache/cloudstack/issues/4781#issuecomment-796636098
@abdelouahabb I tested with ubuntu 20.04 lxc container which is running on a ubuntu 20.04 vm, it took 20 seconds to setup the db. ``` Thu 11 Mar 2021 10:12:08 AM UTC Setting up cloudstack database ... Mysql user name:cloud [ ^[[92mOK^[[0m ] Mysql user password:****** [ ^[[92mOK^[[0m ] Mysql server ip:10.135.122.41 [ ^[[92mOK^[[0m ] Mysql server port:3306 [ ^[[92mOK^[[0m ] Mysql root user name:root [ ^[[92mOK^[[0m ] Mysql root user password:****** [ ^[[92mOK^[[0m ] Using specified cluster management server node IP 10.135.122.40 [ ^[[92mOK^[[0m ] Checking Cloud database files ... [ ^[[92mOK^[[0m ] Checking local machine hostname ... [ ^[[92mOK^[[0m ] Checking SELinux setup ... [ ^[[92mOK^[[0m ] Preparing /etc/cloudstack/management/db.properties [ ^[[92mOK^[[0m ] Applying /usr/share/cloudstack-management/setup/create-database.sql [ ^[[92mOK^[[0m ] Applying /usr/share/cloudstack-management/setup/create-schema.sql [ ^[[92mOK^[[0m ] Applying /usr/share/cloudstack-management/setup/create-database-premium.sql [ ^[[92mOK^[[0m ] Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql [ ^[[92mOK^[[0m ] Applying /usr/share/cloudstack-management/setup/server-setup.sql [ ^[[92mOK^[[0m ] Applying /usr/share/cloudstack-management/setup/templates.sql [ ^[[92mOK^[[0m ] Processing encryption ... [ ^[[92mOK^[[0m ] Finalizing setup ... [ ^[[92mOK^[[0m ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties Thu 11 Mar 2021 10:12:28 AM UTC Waiting CloudStack management server to be up .......................Done ``` os info ``` root@mgt01:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal root@mgt01:~# update-alternatives --list java /usr/lib/jvm/java-11-openjdk-amd64/bin/java root@mgt01:~# grep securerandom.source= /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security securerandom.source=file:/dev/urandom ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
