summaryrefslogtreecommitdiffstats
path: root/test/testcases/bundle
blob: 463687da9f74ca201715bf72f76bc895850bb146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
show Basic configure
node node1
delete node1
node node1 \
	attributes mem=16G
node node2 utilization cpu=4
primitive st stonith:ssh \
	params hostlist='node1 node2' \
	meta target-role="Started" requires=nothing \
	op start timeout=60s \
	op monitor interval=60m timeout=60s
primitive st2 stonith:ssh \
	params hostlist='node1 node2'
bundle id=bundle-test1 docker image=test network ip-range-start=10.10.10.123 port-mapping id=port1 port=80 storage storage-mapping id=storage1 target-dir=test source-dir=test meta target-role=Stopped
primitive id=dummy ocf:heartbeat:Dummy op monitor interval=10 meta target-role=Stopped
bundle id=bundle-test2 docker image=test network ip-range-start=10.10.10.123 primitive dummy meta target-role=Stopped priority=1
property stonith-enabled=true
_test
verify
.