summaryrefslogtreecommitdiff
path: root/pages/docs/platform/services
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2016-06-28 13:19:57 -0400
committerMicah Anderson <micah@riseup.net>2016-06-28 13:19:57 -0400
commit5eb7e30ead1af097ebaf998b1bf4e393aaa139af (patch)
tree2afba7988aff7914bce9a966e1de5f55af3571d6 /pages/docs/platform/services
parent1c7eb472905e21bd3ec0311e244b6a72707ec4d0 (diff)
remove bigcouch docs
Diffstat (limited to 'pages/docs/platform/services')
-rw-r--r--pages/docs/platform/services/couchdb.md79
1 files changed, 0 insertions, 79 deletions
diff --git a/pages/docs/platform/services/couchdb.md b/pages/docs/platform/services/couchdb.md
index cc40dc3..862ca56 100644
--- a/pages/docs/platform/services/couchdb.md
+++ b/pages/docs/platform/services/couchdb.md
@@ -69,85 +69,6 @@ Beware that this returns the uncompacted disk size (see http://wiki.apache.org/c
echo "`curl --netrc -s -X GET 'http://127.0.0.1:5984/user-dcd6492d74b90967b6b874100b7dbfcf'|json_pp|grep disk_size|cut -d: -f 2`/1024"|bc
-
-Deprecated BigCouch Tasks
------------------------------------------
-
-As of release 0.8, the LEAP platform no longer supports BigCouch. This information is kept here for historical reference.
-
-### Rebalance Cluster
-
-Bigcouch currently does not have automatic rebalancing.
-It will probably be added after merging into couchdb.
-If you add a node, or remove one node from the cluster,
-
-1. make sure you have a backup of all DBs !
-
-1. put the webapp into [[maintenance mode => services/webapp#maintenance-mode]]
-
-1. Stop all services that access the database:
-
- ```
- workstation$ leap ssh soledad-nodes
- server# /etc/init.d/soledad-server stop
-
- workstation$ leap ssh mx-node
- server# /etc/init.d/postfix stop
- server# /etc/init.d/leap-mx stop
-
- workstation$ leap ssh webapp
- server# /etc/init.d/nickserver stop
- ```
-
- Alternately, you can create a temporary firewall rule to block access (run on couchdb server):
-
- ```
- server# iptables -A INPUT -p tcp --dport 5984 --jump REJECT
- ```
-
-1. dump the dbs:
-
- ```
- cd /srv/leap/couchdb/scripts
- time ./couchdb_dumpall.sh
- ```
-
-1. delete all dbs
-
-1. shut down old node
-
-1. check the couchdb members
-
- ```
- curl -s —netrc-file /etc/couchdb/couchdb.netrc -X GET http://127.0.0.1:5986/nodes/_all_docs
- curl -s —netrc-file /etc/couchdb/couchdb.netrc http://127.0.0.1:5984/_membership
- ```
-
-1. remove bigcouch from all nodes
-
- ```
- apt-get --purge remove bigcouch
- ```
-
-1. deploy to all couch nodes
-
- ```
- leap deploy couchdb
- ```
-
-1. most likely, deploy will fail because bigcouch will complain about not all nodes beeing connected. Let the deploy finish, restart the bigcouch service on all nodes and re-deploy:
-
- ```
- /etc/init.d/bigcouch restart
- ```
-
-1. restore the backup
-
- ```
- cd /srv/leap/couchdb/scripts
- time ./couchdb_restoreall.sh
- ```
-
### Migrating from BigCouch to plain CouchDB
<%= render :partial => 'docs/platform/common/bigcouch_migration_begin.md' %>