nova/nova/virt/hyperv
Jenkins 404813c7e5 Merge "Hyper-V: Skip logging out in-use targets" 2014-11-12 19:56:39 +00:00
..
README.rst Adds Hyper-V support in nova-compute (with new network_info model), including unit tests 2012-08-16 03:38:51 +03:00
__init__.py Add Hyper-V driver in the "compute_driver" option description 2014-07-24 02:47:32 -07:00
basevolumeutils.py Hyper-V: Skip logging out in-use targets 2014-10-24 15:32:05 +03:00
constants.py Adds Hyper-V Compute Driver soft reboot implementation 2014-08-22 20:21:07 +03:00
driver.py Merge "libvirt: Make sure volumes are well detected during block migration" 2014-10-15 15:06:20 +00:00
hostops.py Switch to nova's jsonutils in oslo.serialization 2014-10-14 11:35:05 +00:00
hostutils.py HyperV Driver - Fix to implement hypervisor-uptime 2014-08-20 17:09:58 +05:30
imagecache.py Use oslo.utils 2014-10-06 21:41:17 -04:00
ioutils.py Fixes HyperV VM Console Log 2014-09-18 16:42:29 +03:00
livemigrationops.py Hyper-V: Skip logging out in-use targets 2014-10-24 15:32:05 +03:00
livemigrationutils.py Hyper-V: Skip logging out in-use targets 2014-10-24 15:32:05 +03:00
migrationops.py Replacement `_` on `_LE` in all LOG.error 2014-10-21 06:40:05 +00:00
networkutils.py Fix and Gate on E265 2014-07-24 08:11:00 -04:00
networkutilsv2.py Use oslo.i18n 2014-07-18 14:28:09 -04:00
pathutils.py Adds Hyper-V serial console log 2014-08-29 16:06:31 +03:00
rdpconsoleops.py console: add typed console objects 2014-09-01 12:02:31 +00:00
rdpconsoleutils.py Hyper-V driver RDP console access support 2014-02-07 23:41:33 +02:00
rdpconsoleutilsv2.py Hyper-V driver RDP console access support 2014-02-07 23:41:33 +02:00
snapshotops.py Use oslo.i18n 2014-07-18 14:28:09 -04:00
utilsfactory.py Fixes Hyper-V agent force_hyperv_utils_v1 flag issue 2014-08-14 20:23:06 +03:00
vhdutils.py docs - Fix docstring issues in virt tree 2014-08-08 22:07:04 +00:00
vhdutilsv2.py Use oslo.utils 2014-10-06 21:41:17 -04:00
vif.py Fix and Gate on E265 2014-07-24 08:11:00 -04:00
vmops.py Merge "Hyper-V: Skip logging out in-use targets" 2014-11-12 19:56:39 +00:00
vmutils.py Fixes Hyper-V dynamic memory issue with vNUMA 2014-09-21 19:14:38 +03:00
vmutilsv2.py Fixes Hyper-V dynamic memory issue with vNUMA 2014-09-21 19:14:38 +03:00
volumeops.py Merge "Hyper-V: Skip logging out in-use targets" 2014-11-12 19:56:39 +00:00
volumeutils.py Fix and Gate on E265 2014-07-24 08:11:00 -04:00
volumeutilsv2.py Use oslo.i18n 2014-07-18 14:28:09 -04:00

README.rst

Hyper-V Volumes Management

To enable the volume features, the first thing that needs to be done is to enable the iSCSI service on the Windows compute nodes and set it to start automatically.

sc config msiscsi start= auto net start msiscsi

In Windows Server 2012, it's important to execute the following commands to prevent having the volumes being online by default:

diskpart san policy=OfflineAll exit

How to check if your iSCSI configuration is working properly:

On your OpenStack controller:

1. Create a volume with e.g. "nova volume-create 1" and note the generated volume id

On Windows:

  1. iscsicli QAddTargetPortal <your_iSCSI_target>
  2. iscsicli ListTargets

The output should contain the iqn related to your volume: iqn.2010-10.org.openstack:volume-<volume_id>

How to test Boot from volume in Hyper-V from the OpenStack dashboard:

  1. Fist of all create a volume
  2. Get the volume ID of the created volume

3. Upload and untar to the Cloud controller the next VHD image: http://dev.opennebula.org/attachments/download/482/ttylinux.vhd.gz 4. sudo dd if=/path/to/vhdfileofstep3 of=/dev/nova-volumes/volume-XXXXX <- Related to the ID of step 2 5. Launch an instance from any image (this is not important because we are just booting from a volume) from the dashboard, and don't forget to select boot from volume and select the volume created in step2. Important: Device name must be "vda".