Skip to content

Commit

Permalink
Merge pull request #747 from davidvossel/cts-phd
Browse files Browse the repository at this point in the history
Low: cts: phd fencing agent
  • Loading branch information
davidvossel committed Jul 1, 2015
2 parents 44eb2dd + 50339e2 commit 1edcf61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cts/environment.py
Expand Up @@ -351,6 +351,10 @@ def parse_args(self, args):
self["DoFencing"]=1
elif args[i+1] == "0" or args[i+1] == "no":
self["DoFencing"]=0
elif args[i+1] == "phd":
self["DoStonith"]=1
self["stonith-type"] = "fence_phd_kvm"
self["stonith-params"] = "pcmk_arg_map=domain:uname,delay=0"
elif args[i+1] == "rhcs" or args[i+1] == "xvm" or args[i+1] == "virt":
self["DoStonith"]=1
self["stonith-type"] = "fence_xvm"
Expand Down

0 comments on commit 1edcf61

Please sign in to comment.