blob: 08ba87f77e61c9e74ec2bfd678ba943f7d211150 [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
66Client restore from local backup:
67
68.. code-block:: yaml
69
70 cassandra:
71 backup:
72 client:
73 enabled: true
74 full_backups_to_keep: 3
75 hours_before_full: 24
76 target:
77 host: cfg01
78 restore_latest: 1
79 restore_from: local
80
81 .. 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.
82
83Client restore from remote backup:
84
85.. code-block:: yaml
86
87 cassandra:
88 backup:
89 client:
90 enabled: true
91 full_backups_to_keep: 3
92 hours_before_full: 24
93 target:
94 host: cfg01
95 restore_latest: 1
96 restore_from: remote
97
98 .. 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.
99
100
101
marcod468a042016-06-14 22:13:03 +0200102Read more
103=========
104
105* links
Filip Pytloun74cd9c62017-02-02 13:02:03 +0100106
107Documentation and Bugs
108======================
109
110To learn how to install and update salt-formulas, consult the documentation
111available online at:
112
113 http://salt-formulas.readthedocs.io/
114
115In the unfortunate event that bugs are discovered, they should be reported to
116the appropriate issue tracker. Use Github issue tracker for specific salt
117formula:
118
119 https://github.com/salt-formulas/salt-formula-cassandra/issues
120
121For feature requests, bug reports or blueprints affecting entire ecosystem,
122use Launchpad salt-formulas project:
123
124 https://launchpad.net/salt-formulas
125
126You can also join salt-formulas-users team and subscribe to mailing list:
127
128 https://launchpad.net/~salt-formulas-users
129
130Developers wishing to work on the salt-formulas projects should always base
131their work on master branch and submit pull request against specific formula.
132
133 https://github.com/salt-formulas/salt-formula-cassandra
134
135Any questions or feedback is always welcome so feel free to join our IRC
136channel:
137
138 #salt-formulas @ irc.freenode.net