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 | |
| 66 | Client 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 | |
| 83 | Client 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 | |
marco | d468a04 | 2016-06-14 22:13:03 +0200 | [diff] [blame] | 102 | Read more |
| 103 | ========= |
| 104 | |
| 105 | * links |
Filip Pytloun | 74cd9c6 | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 106 | |
| 107 | Documentation and Bugs |
| 108 | ====================== |
| 109 | |
| 110 | To learn how to install and update salt-formulas, consult the documentation |
| 111 | available online at: |
| 112 | |
| 113 | http://salt-formulas.readthedocs.io/ |
| 114 | |
| 115 | In the unfortunate event that bugs are discovered, they should be reported to |
| 116 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 117 | formula: |
| 118 | |
| 119 | https://github.com/salt-formulas/salt-formula-cassandra/issues |
| 120 | |
| 121 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 122 | use Launchpad salt-formulas project: |
| 123 | |
| 124 | https://launchpad.net/salt-formulas |
| 125 | |
| 126 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 127 | |
| 128 | https://launchpad.net/~salt-formulas-users |
| 129 | |
| 130 | Developers wishing to work on the salt-formulas projects should always base |
| 131 | their work on master branch and submit pull request against specific formula. |
| 132 | |
| 133 | https://github.com/salt-formulas/salt-formula-cassandra |
| 134 | |
| 135 | Any questions or feedback is always welcome so feel free to join our IRC |
| 136 | channel: |
| 137 | |
| 138 | #salt-formulas @ irc.freenode.net |