blob: b73a1ad76d1b8ecd31779aba758265a62603ce52 [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
32
33 .. note:: full_backups_to_keep param states how many backup will be stored locally on cassandra client.
34 More options to relocate local backups can be done using salt-formula-backupninja.
35
36
37Backup client with local backup only
38
39.. code-block:: yaml
40
41 cassandra:
42 backup:
43 client:
44 enabled: true
45 full_backups_to_keep: 3
46 hours_before_full: 24
47
48 .. note:: full_backups_to_keep param states how many backup will be stored locally on cassandra client
49
50
51Backup server rsync
52
53.. code-block:: yaml
54
55 cassandra:
56 backup:
57 server:
58 enabled: true
59 hours_before_full: 24
60 full_backups_to_keep: 5
61 key:
62 cassandra_pub_key:
63 enabled: true
64 key: ssh_rsa
65
Jiri Broulika6496d72018-02-28 16:21:28 +010066Backup server without strict client restriction
67
68.. code-block:: yaml
69
70 cassandra:
71 backup:
72 restrict_clients: false
73
Jiri Broulikf46f2222017-07-06 13:52:32 +020074Client restore from local backup:
75
76.. code-block:: yaml
77
78 cassandra:
79 backup:
80 client:
81 enabled: true
82 full_backups_to_keep: 3
83 hours_before_full: 24
84 target:
85 host: cfg01
86 restore_latest: 1
87 restore_from: local
88
89 .. 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.
90
91Client restore from remote backup:
92
93.. code-block:: yaml
94
95 cassandra:
96 backup:
97 client:
98 enabled: true
99 full_backups_to_keep: 3
100 hours_before_full: 24
101 target:
102 host: cfg01
103 restore_latest: 1
104 restore_from: remote
105
106 .. 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.
107
108
109
marcod468a042016-06-14 22:13:03 +0200110Read more
111=========
112
113* links
Filip Pytloun74cd9c62017-02-02 13:02:03 +0100114
115Documentation and Bugs
116======================
117
118To learn how to install and update salt-formulas, consult the documentation
119available online at:
120
121 http://salt-formulas.readthedocs.io/
122
123In the unfortunate event that bugs are discovered, they should be reported to
124the appropriate issue tracker. Use Github issue tracker for specific salt
125formula:
126
127 https://github.com/salt-formulas/salt-formula-cassandra/issues
128
129For feature requests, bug reports or blueprints affecting entire ecosystem,
130use Launchpad salt-formulas project:
131
132 https://launchpad.net/salt-formulas
133
134You can also join salt-formulas-users team and subscribe to mailing list:
135
136 https://launchpad.net/~salt-formulas-users
137
138Developers wishing to work on the salt-formulas projects should always base
139their work on master branch and submit pull request against specific formula.
140
141 https://github.com/salt-formulas/salt-formula-cassandra
142
143Any questions or feedback is always welcome so feel free to join our IRC
144channel:
145
146 #salt-formulas @ irc.freenode.net