Hosted Engine Deployment Failures in LACP Environments

Symptoms

Hosted Engine (HE) deployment fails in LACP environments on HyperScale 1.5 Appliance.

Cause

LACP bonding is not configured.

Resolution

  1. Configure the network using the cvnwlacpbond.py script. For information about configuring this script, see Configuring Network Bonding For Storage Pool Network.

  2. Log on to one of the nodes and clean out the Hosted Engine using the following command:

    ovirt-hosted-engine-cleanup
    
  3. Navigate to the following folder:

    /opt/commvault/MediaAgent

  4. Use the following command to determine the timezone you wish to set e.g. America/New_York:

    timedatectl list-timezones
    
  5. Run the following commands using the Python Command Line Interpreter:

    To enter the Python Command Line Interpreter use the command: python

    To exit the Python Command Line Interpreter use the command: exit()

    Replace all of the <items> with appropriate values for the deployment and a minimum of 2 DNS servers.

    For example, '<rhev fqdn>' becomes 'virtengine.domain.com'

    import cvovirtconfig
    import wrappers
    wrappers.mkdirs("/var/lib/ovirt-hosted-engine-setup/answers")
    cvovirtconfig.create_ovirt_config_file('<timezone>', '/var/lib/ovirt-hosted-engine-setup/answers/cvlt_hcappl.cfg', '<rhev fqdn>', '<rhev domain name>', 'dav_he_vol' , '<rhev ipaddress>', '<rhev netmask>', '<rhev gateway IP>', 10000, '<comcell/HE password>', ['<DNS1>', '<DNS2>', '<DNS3>'])
    
  6. Run the following command from the Shell:

    /usr/sbin/hosted-engine --deploy --config-append="/var/lib/ovirt-hosted-engine-setup/answers/cvlt_hcappl.cfg" --noansible
    
  7. Run the following commands using the Python Command Line Interpreter:

    import cvavahi
    cvavahi.set_bridge_ageing("ovirtmgmt", "0")
    
  8. Run the following commands from the Shell:

    hosted-engine --vm-start
    
  9. Run the following commands using the Python Command Line Interpreter:

    import cvovirtsdk
    cvovirtsdk.create_nfs_share(r'/export')
    api = cvovirtsdk.get_api_instance('<rhev fqdn>', r'admin@internal', '<comcell/HE password>')
    
  10. Change the following registry entry:

    /etc/CommVaultRegistry/Galaxy/Instance001/MediaAgent/.properties

    Set sHyperScaleRestartLevel to setup_passwdless_ssh

  11. Re-deploy the Hosted Engine by running the silent install from command line as follows:

    ./setupsds /var/www/my_flask_prod/config/silentinstall.cfg
    

Page contents

×

Loading...