HIVE The NexaVM Community NexaVM HIVE Community
    • Categories
    • Tags
    • Recent
    • Register
    • Login

    How to Recover a Management Node from an Unexpected Failure

    Scheduled Pinned Locked Moved Knowledgebase
    1 Posts 1 Posters 12 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nexusundefined Offline
      nexus
      last edited by

      1. The prerequisite is that the local management node has been configured for automatic database backup of other nodes.
        Execute crontab -e to edit the database backup
      30 */2 * * * zstack-ctl dump_mysql --host root@10.0.50.0 --d --keep-amount 24
      

      Database cloud-ctl dump_mysql /var/lib/zstack/from-zstack-remote-backup/ needs to prepare SSH password-free access from the management node to 10.0.50.0 in advance.

      1. Copy the latest database backup from the 10.0.50.0 database backup machine to the new node.
      2. On the new node, execute bash ZStack-installer.bin -E to install a NexaVM version consistent with the original database backup.
      3. Use the new node’s NexaVM request code to apply for a license and update it.
        On the new node, execute cloud-ctl restore_mysql -f zstack- --mysql-root-password password
      4. cloud-ctl start
      1 Reply Last reply Reply Quote
      • nexusundefined nexus marked this topic as a regular topic

      • 1 / 1
      • First post
        Last post