/usr/share/crmsh/scripts/virtual-ip/main.yml is in crmsh 2.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | version: 2.2
shortdesc: Virtual IP
category: Basic
include:
- agent: ocf:heartbeat:IPaddr2
name: virtual-ip
parameters:
- name: id
type: resource
required: true
- name: ip
type: ip_address
required: true
- name: cidr_netmask
type: integer
required: false
- name: broadcast
type: ip_address
required: false
ops: |
op start timeout="20" op stop timeout="20"
op monitor interval="10" timeout="20"
actions:
- include: virtual-ip
|