You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/riak/kv/2.2.6/setup/upgrading/version.md
+16-9
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,9 @@ For every node in the cluster:
49
49
1. Back up the Riak /etc, /data, and /basho-patches directories.
50
50
1. Remove your /basho-patches directory.
51
51
1. Upgrade Riak KV.
52
-
* If you are upgrading from OSS to EE, uninstall your OSS KV package before upgrading.
52
+
* If you are upgrading from EE to OSS, uninstall your EE KV package before upgrading.
53
53
1. (Optional) If you would like to potentially downgrade at some point, update your advanced.config file to opt-out of the AAE updates.
54
-
1. If you're upgrading from OSS to EE, apply your customized settings to vm.args and app.config
54
+
1. If you're upgrading from EE to OSS, apply your customized settings to vm.args/riak.conf and app.config/advanced.config
55
55
1. If you're using MDC replication to clusters with versions less than 2.2.0, update your advanced.config file to over-ride the default bucket properties for compatibility.
56
56
1. Start Riak KV.
57
57
1. Verify Riak KV is running the upgraded version.
@@ -69,7 +69,7 @@ Before starting the rolling upgrade process on your cluster, check out the [Upgr
69
69
* Upgrading to Solr 4.10.4 for Riak search.
70
70
71
71
{{% note %}}
72
-
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6.
72
+
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6 only if you plan to use Riak search.
5.b\. (**OSS Only**)If you are upgrading from Riak KV OSS =< 2.2.3, you must perform the following steps before moving on:
156
+
157
+
5.b\. (**Optional**) If you would like to keep your leveldb compression in a format that will facilitate downgrading, the capability override should be in riak.conf:
158
+
159
+
```riak.conf
160
+
leveldb.compression.algorithm=snappy
161
+
```
162
+
163
+
5.c\. (**OSS Only**)If you are upgrading from Riak KV OSS =< 2.2.3, you must perform the following steps before moving on:
158
164
159
165
* A standard package uninstall should not have removed your data directories, but if it did, move your backup to where the data directory should be.
160
166
* Then copy any customizations from your backed-up vm.args/riak.conf to the newly installed vm.args/riak.conf file (these files may be identical).
161
167
* The advanced.config file from the newly installed version will be significantly different from your backed-up file. It will have many new sections along with the original ones. Copy the customizations from your original advanced.config file into the appropriate sections in the new one. Ensure that the following sections are present in advanced.conf:
162
168
*`riak_core` --- the `cluster_mgr` setting must be present. See [MDC v3 Configuration][config v3 mdc] for more information.
163
169
*`riak_repl` --- See [MDC v3 Configuration][config v3 mdc] for more information.
164
170
*`snmp` --- See [SNMP][snmp] for more information.
171
+
* There is a sample configuration included at the end of the [Release Notes][release notes] for reference purposes.
165
172
166
-
5.c\. (**EE Only with MDC**)If you need to replicate to clusters with versions less than 2.2.0, the capability override for bucket properties should be in the `riak_repl` proplist of the advanced.config file:
173
+
5.d\. (**EE Only with MDC**)If you need to replicate to EE clusters with versions less than 2.2.0, the capability override for bucket properties should be in the `riak_repl` proplist of the advanced.config file:
Once all of the clusters have been upgraded to version 2.2.0 or greater, this override should be removed.
176
183
177
-
5.d\. (**EE Only**)JMX is no longer present in Riak KV. You must remove or comment out all references to it in your riak.conf/advanced.config files for Riak to start successfully post-upgrade.
184
+
5.e\. (**EE Only**)JMX is no longer present in Riak KV. You must remove or comment out all references to it in your riak.conf/advanced.config files for Riak to start successfully post-upgrade.
178
185
179
186
6\. Restart Riak KV:
180
187
181
188
{{% note %}}
182
-
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6. If you do not have it installed, please install it now.
189
+
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6 if you wish to use Riak search. If you do not have it installed, please install it now.
0 commit comments