Update Required

Instructions below were for Phase 1. Phase 2 uses different configuration settings.

Agent Configuration

Phase 1 makes use of an Agent started on Hyper-V 2012 server.

agent.properties

Settings for the agent are under ./conf/agent.properties A sample configuration would be:

#Storage
#Thu Jan 24 16:10:09 GMT 2013local.storage.path=E\:\\Disks\\Disks
cpus=8
private.ip.address=10.70.176.29
resource=com.cloud.hypervisor.hyperv.resource.HypervResource
type=Routing
private.mac.address=10\:1F\:74\:2C\:6B\:88
local.storage.uuid=5fe2bad3-d785-394e-9949-89786b8a63d2
capabilities=hvm
cpuspeed=2130
port=8250
hyperv.python.module.script=cloudstackcmds.py
memory=34359738368
gateway.ip.address=10.70.176.1
guid=generate_from_private.ip.address
cluster=1
pod=1
zone=1
local.secondary.storage.path=c\:\\Secondary
workers=5
private.ip.netmask=255.255.255.0
python.executable=C\:\\Python27\\python.exe
hyperv.python.module.dir=C\:\\cygwin\\home\\Administrator\\github\\cshv3\\plugins\\hypervisors\\hyperv\\scripts\\hyperv\\
HypervResource.id=5
host=camldonall01.citrite.net

Notes:

  • local.secondary.storage.path is the path that URLs of schema NFS are resolved to
  • guid can be set to a GUID, or to a UUID calculated from the property reference by a generate_from_<field_name>
  • pod, zone, cluster are unused. Host must send reasonable value, but these are overwritten by the management server with real values.
  • No labels