blob: 405168fb4bc12be3cbfbc0d93e9bdd137cad694b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
version: 2.2
category: File System
shortdesc: RAID Hosting LVM
longdesc: "Configure a RAID 1 host based mirror together with a cluster manager LVM volume group and LVM volumes."
parameters:
- name: id
shortdesc: RAID and LVM Group ID
longdesc: File systems that should be mounted in the LVM can be added to this group resource.
type: resource
value: g-raid
required: true
include:
- script: raid1
parameters:
- name: raidconf
value: /etc/mdadm.conf
type: string
- name: raiddev
value: /dev/md0
type: string
- script: lvm
actions:
- include: lvm
- include: raid1
- cib: group {{id}} {{raid1:id}} {{lvm:id}} meta target-role=stopped
|