blob: f53916871980ad1b6dcb0440baa174a8001900a7 [file] [log] [blame]
marcod468a042016-06-14 22:13:03 +02001
2==================================
3cassandra
4==================================
5
6Service cassandra description
7
8Sample pillars
9==============
10
11Single cassandra service
12
13.. code-block:: yaml
14
15 cassandra:
16 server:
17 enabled: true
18 version: icehouse
19
Jiri Broulikf46f2222017-07-06 13:52:32 +020020Backup client with ssh/rsync remote host
21
22.. code-block:: yaml
23
24 cassandra:
25 backup:
26 client:
27 enabled: true
28 full_backups_to_keep: 3
29 hours_before_full: 24
30 target:
31 host: cfg01
Jiri Broulikf3ec8b42018-03-05 12:11:08 +010032 home_dir: server-home-dir
Jiri Broulikf46f2222017-07-06 13:52:32 +020033
34 .. note:: full_backups_to_keep param states how many backup will be stored locally on cassandra client.
35 More options to relocate local backups can be done using salt-formula-backupninja.
36
37
38Backup client with local backup only
39
40.. code-block:: yaml
41
42 cassandra:
43 backup:
44 client:
45 enabled: true
46 full_backups_to_keep: 3
47 hours_before_full: 24
48
49 .. note:: full_backups_to_keep param states how many backup will be stored locally on cassandra client
50
51
52Backup server rsync
53
54.. code-block:: yaml
55
56 cassandra:
57 backup:
58 server:
59 enabled: true
60 hours_before_full: 24
61 full_backups_to_keep: 5
62 key:
63 cassandra_pub_key:
64 enabled: true
65 key: ssh_rsa
66
Jiri Broulika6496d72018-02-28 16:21:28 +010067Backup server without strict client restriction
68
69.. code-block:: yaml
70
71 cassandra:
72 backup:
73 restrict_clients: false
74
Jiri Broulikf46f2222017-07-06 13:52:32 +020075Client restore from local backup:
76
77.. code-block:: yaml
78
79 cassandra:
80 backup:
81 client:
82 enabled: true
83 full_backups_to_keep: 3
84 hours_before_full: 24
85 target:
86 host: cfg01
87 restore_latest: 1
88 restore_from: local
89
90 .. note:: restore_latest param with a value of 1 means to restore db from the last full backup. 2 would mean to restore second latest full backup.
91
92Client restore from remote backup:
93
94.. code-block:: yaml
95
96 cassandra:
97 backup:
98 client:
99 enabled: true
100 full_backups_to_keep: 3
101 hours_before_full: 24
102 target:
103 host: cfg01
104 restore_latest: 1
105 restore_from: remote
106
107 .. note:: restore_latest param with a value of 1 means to restore db from the last full backup. 2 would mean to restore second latest full backup.
108
109
110
marcod468a042016-06-14 22:13:03 +0200111Read more
112=========
113
114* links
Filip Pytloun74cd9c62017-02-02 13:02:03 +0100115
116Documentation and Bugs
117======================
118
119To learn how to install and update salt-formulas, consult the documentation
120available online at:
121
122 http://salt-formulas.readthedocs.io/
123
124In the unfortunate event that bugs are discovered, they should be reported to
125the appropriate issue tracker. Use Github issue tracker for specific salt
126formula:
127
128 https://github.com/salt-formulas/salt-formula-cassandra/issues
129
130For feature requests, bug reports or blueprints affecting entire ecosystem,
131use Launchpad salt-formulas project:
132
133 https://launchpad.net/salt-formulas
134
135You can also join salt-formulas-users team and subscribe to mailing list:
136
137 https://launchpad.net/~salt-formulas-users
138
139Developers wishing to work on the salt-formulas projects should always base
140their work on master branch and submit pull request against specific formula.
141
142 https://github.com/salt-formulas/salt-formula-cassandra
143
144Any questions or feedback is always welcome so feel free to join our IRC
145channel:
146
147 #salt-formulas @ irc.freenode.net