marco | d468a04 | 2016-06-14 22:13:03 +0200 | [diff] [blame] | 1 | |
| 2 | ================================== |
| 3 | cassandra |
| 4 | ================================== |
| 5 | |
| 6 | Service cassandra description |
| 7 | |
| 8 | Sample pillars |
| 9 | ============== |
| 10 | |
| 11 | Single cassandra service |
| 12 | |
| 13 | .. code-block:: yaml |
| 14 | |
| 15 | cassandra: |
| 16 | server: |
| 17 | enabled: true |
| 18 | version: icehouse |
| 19 | |
Jiri Broulik | f46f222 | 2017-07-06 13:52:32 +0200 | [diff] [blame] | 20 | Backup 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 | |
| 37 | Backup 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 | |
| 51 | Backup 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 Broulik | a6496d7 | 2018-02-28 16:21:28 +0100 | [diff] [blame^] | 66 | Backup server without strict client restriction |
| 67 | |
| 68 | .. code-block:: yaml |
| 69 | |
| 70 | cassandra: |
| 71 | backup: |
| 72 | restrict_clients: false |
| 73 | |
Jiri Broulik | f46f222 | 2017-07-06 13:52:32 +0200 | [diff] [blame] | 74 | Client 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 | |
| 91 | Client 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 | |
marco | d468a04 | 2016-06-14 22:13:03 +0200 | [diff] [blame] | 110 | Read more |
| 111 | ========= |
| 112 | |
| 113 | * links |
Filip Pytloun | 74cd9c6 | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 114 | |
| 115 | Documentation and Bugs |
| 116 | ====================== |
| 117 | |
| 118 | To learn how to install and update salt-formulas, consult the documentation |
| 119 | available online at: |
| 120 | |
| 121 | http://salt-formulas.readthedocs.io/ |
| 122 | |
| 123 | In the unfortunate event that bugs are discovered, they should be reported to |
| 124 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 125 | formula: |
| 126 | |
| 127 | https://github.com/salt-formulas/salt-formula-cassandra/issues |
| 128 | |
| 129 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 130 | use Launchpad salt-formulas project: |
| 131 | |
| 132 | https://launchpad.net/salt-formulas |
| 133 | |
| 134 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 135 | |
| 136 | https://launchpad.net/~salt-formulas-users |
| 137 | |
| 138 | Developers wishing to work on the salt-formulas projects should always base |
| 139 | their work on master branch and submit pull request against specific formula. |
| 140 | |
| 141 | https://github.com/salt-formulas/salt-formula-cassandra |
| 142 | |
| 143 | Any questions or feedback is always welcome so feel free to join our IRC |
| 144 | channel: |
| 145 | |
| 146 | #salt-formulas @ irc.freenode.net |