From a62e1ef28aa1ec7a7d2a3c6288e42423e20eae1f Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Tue, 6 May 2014 23:23:30 +0200 Subject: [PATCH] changed windows prompts from C:\ to C:\> Change-Id: Ia623fbae1a779f646316d34a49ee2fb2558e406a --- .../compute/section_hypervisor_hyper-v.xml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/config-reference/compute/section_hypervisor_hyper-v.xml b/doc/config-reference/compute/section_hypervisor_hyper-v.xml index 923b84b8e1..67be673c41 100644 --- a/doc/config-reference/compute/section_hypervisor_hyper-v.xml +++ b/doc/config-reference/compute/section_hypervisor_hyper-v.xml @@ -38,9 +38,9 @@ Network time services must be configured to ensure proper operation of the Hyper-V compute node. To set network time on your Hyper-V host you must run the following commands: - C:\net stop w32time -C:\w32tm /config /manualpeerlist:pool.ntp.org,0x8 /syncfromflags:MANUAL -C:\net start w32time + C:\>net stop w32time +C:\>w32tm /config /manualpeerlist:pool.ntp.org,0x8 /syncfromflags:MANUAL +C:\>net start w32time
Configure Hyper-V virtual switching @@ -50,16 +50,16 @@ To quickly enable an interface to be used as a Virtual Interface the following PowerShell may be used: - PS C:\$if = Get-NetIPAddress –IPAddress 192* | Get-NetIPInterface -PS C:\New-VMSwitch -NetAdapterName $if.ifAlias -Name yourbridgename –AllowManagementOS $false + PS C:\>$if = Get-NetIPAddress –IPAddress 192* | Get-NetIPInterface +PS C:\>New-VMSwitch -NetAdapterName $if.ifAlias -Name yourbridgename –AllowManagementOS $false
Enable iSCSI initiator service To prepare the Hyper-V node to be able to attach to volumes provided by cinder you must first make sure the Windows iSCSI initiator service is running and started automatically. - C:\sc start MSiSCSI -C:\sc config MSiSCSI start="auto" + C:\>sc start MSiSCSI +C:\>sc config MSiSCSI start="auto"
Configure shared nothing live migration @@ -129,15 +129,15 @@ deployed with the setup must run with domain credentials. You can set the service credentials with: - C:\sc config openstack-compute obj="DOMAIN\username" password="password" + C:\>sc config openstack-compute obj="DOMAIN\username" password="password" How to setup live migration on Hyper-V To enable 'shared nothing live' migration, run the 3 PowerShell instructions below on each Hyper-V host: - PS C:\Enable-VMMigration -PS C:\Set-VMMigrationNetwork IP_ADDRESS -PS C:\Set-VMHost –VirtualMachineMigrationAuthenticationTypeKerberos + PS C:\>Enable-VMMigration +PS C:\>Set-VMMigrationNetwork IP_ADDRESS +PS C:\>Set-VMHost –VirtualMachineMigrationAuthenticationTypeKerberos Please replace the IP_ADDRESS with the address of the interface which will provide the virtual switching for nova-network. @@ -211,7 +211,7 @@ You must install the following Python packages through easy_install or pip. Run the following replacing PACKAGENAME with the following packages: - C:\c:\Python27\Scripts\pip.exe install PACKAGE_NAME + C:\>c:\Python27\Scripts\pip.exe install PACKAGE_NAME amqplib @@ -295,7 +295,7 @@ installer and follow the prompts in the installation wizard. The default should be acceptable for the needs of the document. Once installed you may run the following to clone the Nova code. - C:\git.exe clone https://github.com/openstack/nova.git + C:\>git.exe clone https://github.com/openstack/nova.git
Configure Nova.conf @@ -335,13 +335,13 @@ connection=mysql://nova:passwd@IP_ADDRESS/novahttp://technet.microsoft.com/en-us/library/cc772480.aspx Once you have successfully created a virtual machine, you can then upload the image to glance using the native glance-client: - C:\glance image-create --name="VM_IMAGE_NAME" --is-public=true --container-format=bare --disk-format=vhd + C:\>glance image-create --name="VM_IMAGE_NAME" --is-public=true --container-format=bare --disk-format=vhd
Run Compute with Hyper-V To start the nova-compute service, run this command from a console in the Windows server: - C:\C:\python27\python.exe c:\openstack\nova\bin\nova-compute.py + C:\>C:\python27\python.exe c:\openstack\nova\bin\nova-compute.py
Troubleshoot Hyper-V configuration