zoukankan      html  css  js  c++  java
  • Zstack 踩坑1

    [root@localhost opt]# bash /opt/zstack*installer.bin -E

    FAIL

    Reason: Cannot identify default network interface. Please set management
    node IP address by '-I MANAGEMENT_NODE_IP_ADDRESS'.

    -------------
    -------------
    [root@localhost opt]# bash /opt/zstack*installer.bin -E -I ens33
    _________ _____ _ ____ _ __
    |__ / ___|_ _|/ / ___| |/ /
    / /\___ | | / _ | | | ' /
    / /_ ___) || |/ ___ |___| .
    /____|____/ |_/_/ \_\____|_|\_

    _____ _ _ _____ _____ ____ ____ ____ ___ ____ _____
    | ____| | |_ _| ____| _ | _ | _ |_ _/ ___|| ____|
    | _| | | | | | | _| | |_) | |_) | |_) || |\___ | _|
    | |___| | | | | | |___| _ <| __/| _ < | | ___) | |___
    |_____|_| \_| |_| |_____|_| \_\_| |_| \_\___|____/|_____|

    _____ ___ ___ ____ ___
    __ __ |___ / ( _ ) ( _ ) |___ / _
    / / |_ / _ / _ __) | | | |
    V / ___) | (_) | (_) | / __/| |_| |
    \_/ |____(_)___(_)___(_)_____|\___/

    ___ _ _ ____ _____ _ _ _ _ _____ ___ ___ _ _
    |_ _| | / ___|_ _|/ | | | | / |_ _|_ _/ _ | | |
    | || | \___ | | / _ | | | | / _ | | | | | | | | |
    | || | |___) || |/ ___ | |___| |___ / ___ | | | | |_| | | |
    |___|_| \_|____/ |_/_/ \_\_____|_____/_/ \_\_| |___\___/|_| \_|

    1. Check Repo Version:
    Check local repo version: ... PASS

    2. Check System:
    Pre-Checking: ... PASS
    Check System: ... PASS
    Update Package Repository: ... PASS

    3. Get ZStack-enterprise:
    Download ZStack-enterprise package: ... PASS
    Unpack ZStack-enterprise package: ... PASS

    4. Install ZStack-enterprise Package:
    Unpack Tomcat: ... PASS
    Install ZStack-enterprise into Tomcat: ... PASS
    Deploy yum repo for ZStack-enterprise: ... PASS

    5. Install System Libs:
    Install General Libraries (takes a couple of minutes): ... PASS
    Install PIP: ... PASS
    Install Virtualenv: ... PASS
    Enable chronyd: ... PASS

    6. Install Ansible:
    Disable SELinux: ... PASS
    Install Python and GCC: ... PASS
    Install Ansible: ... PASS

    7. Install ZStack-enterprise Tools:
    Change Owner in ZStack-enterprise: ... PASS
    Install ZStack-enterprise Command Line Tool: ... PASS
    Install ZStack-enterprise Control Tool: ... PASS
    Copy third-party tools to ZStack install path: ... PASS
    Install ZStack-enterprise Web UI (takes a couple of minutes): ... PASS

    8. Configure System:
    Config zstack.properties: ... PASS
    Generate Local Ssh keys: ... PASS
    Configure Tomcat Java Option: ... PASS
    Upgrade Tomcat Security: ... PASS
    Install ZStack-enterprise management node: ... PASS
    Enable ZStack-enterprise bootstrap service: ... PASS
    Add cronjob to clean logs: ... PASS
    Append iptables: ... PASS
    Configure Nginx Server: ... PASS

    9. Install Database:
    Generate Temp SSH Key: ... PASS
    Install Mysql Server: ... PASS
    Initialize Database: ... PASS
    Initialize ZStack UI Database: ... PASS

    10. Setup Install Parameters:

    11. Install License:
    Install License: ... PASS

    12. Start ZStack-enterprise Server:
    Start ZStack-enterprise management node (takes a couple of minutes): ... PASS

    13. Start ZStack-enterprise Web UI:
    Start ZStack-enterprise Web UI: ... PASS

    ____________________________________________________________________________________________________________________________________________________________________________________________
    ZStack-enterprise All In One 3.8.8 Installation Completed:
    - Installation path: /usr/local/zstack

    - UI is running, visit http://192.168.111.130:5000 in Chrome
    Use zstack-ctl [stop_ui|start_ui] to stop/start the UI service

    - Management node is running
    Use zstack-ctl [stop|start] to stop/start it

    - ZStack-enterprise command line tool is installed: zstack-cli
    - ZStack-enterprise control tool is installed: zstack-ctl

    - For system security, database root password is set to: zstack.mysql.password . You can use `mysqladmin -u root --password=zstack.mysql.password password NEW_PASSWORD` to change it. To be noticed: ZStack-enterprise will use 'zstack' user to access database. Change 'root' password won't impact 'zstack' access database.

    User select QUIET installation. Installation does following changes for user:
    - HOSTNAME is changed to '192-168-111-130' to avoid of mysql server installation failure.


    - chrony server sources is set to management node by default.

    ____________________________________________________________________________________________________________________________________________________________________________________________

  • 相关阅读:
    Visual Studio中Debug与Release以及x86、x64、Any CPU的区别 &&&& VS中Debug与Release、_WIN32与_WIN64的区别
    64位Windows下安装Redis教程
    让Redis在你的系统中发挥更大作用的几点建议
    Redis主从复制问题和扩容问题的解决思路
    redis常用命令小结
    Redis中5种数据结构的使用场景介绍
    redis中使用redis-dump导出、导入、还原数据实例
    Redis批量删除KEY的方法
    超强、超详细Redis数据库入门教程
    Redis总结笔记(一):安装和常用命令
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/14417505.html
Copyright © 2011-2022 走看看