A fully automated and unattended setup of Hyper-V Nova compute can be performed in a standard way by passing the proper parameter to msiexec.exe.
Features
Feature | Install by default | Notes |
HyperVNovaCompute | True | |
NeutronHyperVAgent | True | Installs the Neutron Hyper-V Agent and enables Neutron networking in Nova Compute |
CeilometerComputeAgent | False | Enables the Ceilometer agents along with the related metrics collection in Nova and Neutron |
LiveMigration | False* | Enables live migration in Hyper-V |
iSCSISWInitiator | False* | Enables MS iSCSI Initiator |
FreeRDP | True |
* Defaults to the current status of the feature in the system.
Properties
Property | Default Value | Notes |
INSTALLDIR | %ProgramFiles% (x86)Cloudbase SolutionsOpenStack | |
GLANCEHOST | ||
GLANCEPORT | 9292 | |
RPCBACKEND | RabbitMQ | RabbitMQ or ApacheQpid |
RPCBACKENDHOST | ||
RPCBACKENDPORT | 5672 | |
RPCBACKENDUSER | guest | |
RPCBACKENDPASSWORD | ||
INSTANCESPATH | ||
ADDVSWITCH |
|
|
VSWITCHNAME | Name of an existing external vswitch(ADDVSWITCH=0) | |
NEWVSWITCHNAME | Name of a new external vswitch to be created by the installer(ADDVSWITCH=1) | |
VSWITCHNETADAPTER | Physical adapter to be bridged with the new vswitch(ADDVSWITCH=1) | |
LIMITCPUFEATURES | Set to 1 for supporting live migration between hosts with heterogeneous CPUs | |
USECOWIMAGES | 1 | Set the property to an empty string “” to set the parameter to false |
FORCECONFIGDRIVE | Set to 1 to force the creation of a config drive | |
CONFIGDRIVEINJECTPASSWORD | Set to 1 to inject the admin password in the config drive | |
DYNAMICMEMORYRATIO | 1.0 | |
ENABLELOGGING | Set to 1 to enable logging | |
LOGDIR | C:OpenStackLog | |
VERBOSELOGGING | Set to 1 to enable verbose logging | |
NOVACOMPUTESERVICEUSER | LocalSystem | nova-compute service username. Live migration requires a domain user. Format: DOMAINusername |
NOVACOMPUTESERVICEPASSWORD | Password for the username specificed with NOVACOMPUTESERVICEUSER, blank for LocalSystem | |
MIGRNETWORKSANY | * | Set to 1 to enable Live Migration from any host |
MAXACTIVEVSMIGR | * | Max. concurrent virtual machine live migrations allowed |
MAXACTIVESTORAGEMIGR | * | Max. concurrent storage live migrations allowed |
LIVEMIGRAUTHTYPE | * |
|
MIGRNETWORKS | * | Networks allowed as Live Migration sources, expressed as a comma separated list in the form: IP/subnetlength, e.g.: 192.168.0.0/24,172.16.20.0/16,10.10.10.1/32 |
NEUTRONURL | http://neutronhost:9696 | |
NEUTRONADMINTENANTNAME | service | |
NEUTRONADMINUSERNAME | neutron | |
NEUTRONADMINPASSWORD | ||
NEUTRONADMINAUTHURL | http://keystonehost:35357/v2.0 | |
CEILOMETERADMINTENANTNAME | service | |
CEILOMETERADMINUSERNAME | ceilometer | |
CEILOMETERADMINPASSWORD | ||
CEILOMETERADMINAUTHURL | http://keystonehost:35357/v2.0 | |
CEILOMETERMETERINGSECRET |
Example
msiexec /i HyperVNovaCompute.msi /qn /l*v log.txt ADDLOCAL=HyperVNovaCompute,NeutronHyperVAgent,iSCSISWInitiator,FreeRDP INSTALLDIR=C:OpenStackNova GLANCEHOST=glancehost GLANCEPORT=9292 RPCBACKEND=RabbitMQ RPCBACKENDHOST=rabbithost RPCBACKENDPORT=5672 RPCBACKENDPASSWORD=12345678 INSTANCESPATH=C:HyperV ADDVSWITCH=0 VSWITCHNAME=external1 LIMITCPUFEATURES=”” USECOWIMAGES=1 LOGDIR=C:log ENABLELOGGING=1 VERBOSELOGGING=1 NEUTRONURL=http://neutronhost:9696 NEUTRONADMINTENANTNAME=service NEUTRONADMINUSERNAME=neutron NEUTRONADMINPASSWORD=12345678 NEUTRONADMINAUTHURL=http://keystonehost:35357/v2.0