Skip to content

Commit 5238a83

Browse files
committed
agent: Update sample configuration file
It should now contain everything you need to run your agent
1 parent 70ae5fe commit 5238a83

1 file changed

Lines changed: 26 additions & 10 deletions

File tree

agent/conf/agent.properties

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
# Sample configuration file for CloudStack agent
1919

20+
# The GUID to identify the agent with, this is mandatory!
21+
# Generate with "uuidgen"
22+
guid=
23+
2024
#resource= the java class, which agent load to execute
2125
resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource
2226

@@ -29,24 +33,36 @@ host=localhost
2933
#port = The port management server listening on, default is 8250
3034
port=8250
3135

32-
#pod= The pod, which agent belonged to
36+
#cluster= The cluster which the agent belongs to
37+
cluster=default
38+
39+
#pod= The pod which the agent belongs to
3340
pod=default
3441

35-
#zone= The zone, which agent belonged to
42+
#zone= The zone which the agent belongs to
3643
zone=default
3744

38-
#private.network.device= the private nic device
39-
# if this is commented, it is autodetected on service startup
40-
# private.network.device=cloudbr0
41-
4245
#public.network.device= the public nic device
4346
# if this is commented, it is autodetected on service startup
4447
# public.network.device=cloudbr0
4548

46-
#guid= a GUID to identify the agent
49+
#private.network.device= the private nic device
50+
# if this is commented, it is autodetected on service startup
51+
# private.network.device=cloudbr1
52+
53+
#guest.network.device= the guest nic device
54+
# if this is commented, the private nic device will be used
55+
56+
# local storage path, by default, it's /var/lib/libvirt/images/
57+
#local.storage.path=/var/lib/libvirt/images/
4758

48-
#vm.migrate.speed set the vm migrate speed, by default, it's the speed of guest network
49-
#local.storage.path local storage path, by default, it's /var/lib/libvirt/images/
50-
#cmds.timeout the timeout for time-consuming operations, such create/copy snapshot
59+
# The UUID for the local storage pool, this is mandatory!
60+
# Generate with "uuidgen"
61+
local.storage.uuid=
5162

63+
# the timeout for time-consuming operations, such as create/copy snapshot
64+
#cmds.timeout=7200
5265

66+
# set the vm migrate speed, by default, it will try to guess the speed of the guest network
67+
# In MegaBytes per second
68+
#vm.migrate.speed=0

0 commit comments

Comments
 (0)