Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ MongoDB upgrade to 2.6     - Linux file system structure Introduction (Linux)

- Oracle user lock how to know what causes (Database)

- Linux SSH remote connection service slow Solutions (Linux)

- How to use systemd timer (Linux)

- Create and modify Oracle temporary table space (Database)

- To setup the Swift language learning environment under linux (Linux)

- Installation Enpass secure password manager on Ubuntu (Linux)

- Build RPM package uses Docker mirror (Linux)

- Linux formatted partition error Could not stat / dev / sda No such file or directory Solution (Linux)

- PostgreSQL 9.4.3 Installation and Configuration under CentOS 6.5 (Database)

- Linux non-graphical interface to install Oracle Database (Database)

- Laravel 4 Expansion Pack (Server)

- Installation and configuration of phpMyAdmin under CentOS (Database)

- Partition and file system under Linux (Linux)

- RHEL6.5 replace local YUM source (Linux)

- Java 8 perspective annotation types (Programming)

- Java static internal class (Programming)

- Java foundation comb: Array (Programming)

- Github Getting Started Basic Course (Linux)

- Use exp exported EXP-00091 error (Database)

 
         
  MongoDB upgrade to 2.6
     
  Add Date : 2018-11-21      
         
         
         
  Upgrade MongoDB ready

1. Connect 2.6 mongo shell auxiliary member of the replica set to 2.4, the Executive db.upgradeCheckAllDBs in admin Library ().

2. Assessment upgrade to 2.6 application compatibility issues, refer to: http: //docs.mongodb.org/manual/release-notes/2.6-compatibility/

Single instance upgrade

1. Close mongod instance, replaced with 2.6 mongod binary file, and restart the instance.

Replica set upgrades

1. Upgrade the secondary replica set members.

In turn upgrade each of the auxiliary members.

By closing mongod instance, and replaced with 2.6 mongod 2.4 binaries binary mode, and then restart the instance.

By rs.status () after checking member state, waiting state to restore the SECONDARY state instance, the next upgrade an auxiliary member.

2. Downgrade the main members of the replica set.

Use rs.stepDown () to force the primary database failover.

3. Upgrade the primary member.

Confirm rs.status () as degraded state of the main library, and a member of the main members of the upgrade.

Close origin member instance, replaced with 2.6 mongod binary file, and restart the instance.

Driver Update

C # /. NET driver version to upgrade to 1.9 or more.

reference:

http://docs.mongodb.org/manual/release-notes/2.6-upgrade/
http://docs.mongodb.org/manual/reference/method/db.upgradeCheckAllDBs/#db.upgradeCheckAllDBs
http://docs.mongodb.org/manual/release-notes/2.6-compatibility/
     
         
         
         
  More:      
 
- Android project and coding specifications (Programming)
- Bash common several configuration files (Linux)
- The need to avoid a gap of InnoDB lock (Database)
- Install the open source database PostgreSQL 9.4 and phpMyAdmin on Ubuntu (Database)
- Java Set and List in the relationship and difference (Programming)
- CentOS6.3 build a Python 3.3 environment to access Oracle 11gR2 (Database)
- How to view the Linux graphics hardware information (Linux)
- Workaround CentOS error message during compilation PHP5 common (Linux)
- Change all child files and subdirectories in the owner permissions Ubuntu (Linux)
- Linux platform Oracle MySQL connection (Database)
- OpenGL Superb Learning Notes - Depth Texture and Shadows (Programming)
- Linux Mint under tty.js Installation Guide (Linux)
- Hadoop virtualization performance comparison and tuning experience (Server)
- To create and manage virtual machines on Ubuntu Redhat (Linux)
- OpenSSL to generate public and private key (Linux)
- How to download apk file from the Google Play store on Linux (Linux)
- Oracle rebuild index script (Database)
- Linux find command to find files (Linux)
- PHP interview questions of design patterns (Programming)
- JBPM6 Tutorial - taught you how to install JBPM (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.