Symptoms
Hosted Engine (HE) deployment fails in LACP environments on HyperScale 1.5 Appliance.
Cause
LACP bonding is not configured.
Resolution
-
Configure the network using the
cvnwlacpbond.pyscript. For information about configuring this script, see Configuring Network Bonding For Storage Pool Network. -
Log on to one of the nodes and clean out the Hosted Engine using the following command:
ovirt-hosted-engine-cleanup -
Navigate to the following folder:
/opt/commvault/MediaAgent -
Use the following command to determine the timezone you wish to set e.g. America/New_York:
timedatectl list-timezones -
Run the following commands using the Python Command Line Interpreter:
To enter the Python Command Line Interpreter use the command:
pythonTo 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>']) -
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 -
Run the following commands using the Python Command Line Interpreter:
import cvavahi cvavahi.set_bridge_ageing("ovirtmgmt", "0") -
Run the following commands from the Shell:
hosted-engine --vm-start -
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>') -
Change the following registry entry:
/etc/CommVaultRegistry/Galaxy/Instance001/MediaAgent/.propertiesSet s
HyperScaleRestartLeveltosetup_passwdless_ssh -
Re-deploy the Hosted Engine by running the silent install from command line as follows:
./setupsds /var/www/my_flask_prod/config/silentinstall.cfg