forked from ClusterLabs/hawk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: Configure the bundle using crmsh on the webui machine
- Loading branch information
1 parent
b884948
commit ca84039
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
crm configure primitive httpd-apache ocf:heartbeat:apache | ||
crm configure bundle httpd \ | ||
docker image=abelarbi/bundle_test:apache replicas=3 \ | ||
network ip-range-start=10.13.37.10 host-netmask=24 \ | ||
port-mapping port=80 \ | ||
storage \ | ||
storage-mapping id=httpd-root target-dir=/var/www/html source-dir=/srv/www options=rw \ | ||
storage-mapping id=httpd-logs target-dir=/var/log/apache2 source-dir=/var/log/pacemaker/bundles options=rw \ | ||
primitive httpd-apache |