MongoDB replica set: installation and deployment
PreparationsSoftware Environment
OS: Oracle Linux 6.5
MongoDB: mongodb3.2.3
Deployment Architecture
Three servers are simulated.
10.1.5.123: 28001 master node
From node 10.1.5.123: 28002
10.1.5.123: 28003 election Node
Replica set architecture: one master, one slave, one election Node
Download and install
: Https://www.mongodb.org/downloads
Mongodb-linux-x86_64-rhel62-3.2.3.tgz
Deployment steps1. Create a directory and a user[Root @
preparatory work
Software Environment
Os:oracle Linux 6.5
mongodb:mongodb3.2.3
Deploy schema
Analog has three servers
10.1.5.123:28001 Master Node
10.1.5.123:28002 from Node
10.1.5.123:28003 election node
Replica set Schema: one master, one from, one election node
Download Installation
Download Address: Https://www.mongodb.org/downloads
Mongodb-linux-x86_64-rhel62-3.2.3.tgz
Deployment Steps 1. Create Directories and Users
[Root@devtest mongodb
(Turn) http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/ADSI/iadsuser. asp
To bind to a domain user through a winnt provider, use the domain name as part of the adspath, as shown in the following code example.
GetObject ("winnt: // mydomain/jeffsmith, user ")
Similarly, use the computer name as part of the adspath to bind to a local user.
GetObject ("winnt: // mycomputer/jeffsmith, user ")
In Active Directory, domain users reside in the directory. The following code e
inspection function of testers (design testers)
2.Devtrack: Defect tracking management. It is used by testers to test and submit bugs based on functional design documents and track the bug progress.
3.Devtest: Test management tools, used to manage test cases, and use test cases to generate test plans and perform tests (including automated tests)
These three products can be integrated or used separately. Of course, they are integrated for use.
Next I
may affect manpower, time and cost, there will be an automatic warning mechanism, so that you can make adjustments early, increase manpower or time, and accordingly, the project plan will be updated in real time, leaders can see this situation at any time, and throughKey PathOrBaseline)The management can clearly know whether the project will be extended or overspending.
Some people may not quite understand how devplan implements the warning function. I didn't understand it before.TechexcelI le
1. Download and install DjangoPip Install django==1.6. 5Test whether the installation was successfulImport Django>>> Djan. VERSION>>> Django. VERSION ('final', 0)2. Install database MySQLDescription: Using Python to connect to MySQL is a prerequisite that requires a Python connection to the MySQL interface--mysqldbDownload: http://sourceforge.net/projects/mysql-python/files/latest/downloadInstallationtar xfz mysql-python-1.2. 1. Tar . GZ cd MySQL-python-1.2. 1 sudoinstallThere was a problem exe
"//user-specified, password
Vsspath= "/devtest"//project Path
Serverpath= "D:/program Files/vss"//is a directory containing Srcsafe.ini
dateformat= date format for "YY-MM-DD"//vss
timeformat= time format for "hh:mm"//vss
/>
Check that the VSS file system has changed, and if so, display the changed file name on the Web page.
L
Define build time interval of 60 seconds
Specifies information about the ant. BuildFile defines the Build
1. Problem Description:Open the Excel file in the SharePoint 2013 document library Prompt "The workbook cannot be opened" error box, the document does not display properly.2, the cause of the problem:The reason for this error should be that the Excel service account does not have the appropriate access rights to the content database. When you upload a document to a document library, the document is saved as a blobs in the content database, and when you open the document, the Excel service accoun
Git project: Https://github.com/torvalds/linuxLinux LDP (Linux document Project): Help Document Project
Oprofile Tool: A powerful performance analysis tool, which is recommended here for download: hereInstallation and use of Oprofile:Installation Instructions: here2 libraries missing during installation:configure:error:popt Library not found corresponding installation package: sudo apt install popt-develconfigure:error:liberty library n OT found corresponding installation package: sudo apt ins
Sql2005|xml
XML type data has been added to the SQL2005. In this way, we can save the entity objects in our application directly to the database. The next time you want to take it, you can deserialize the XML directly into an entity object. If the data volume is not very large, you can consider using.
SELECT * FROM Employeewhere [Content].exist ('//age[text () >9000] ') =1
A query with XPath in this SQL statement that finds all records in the employee table that have content in the XML type colu
Tags: mysql c linuGet ready:System: ubuntu12.04Tool: Gcc,mysql,libmysqlclient-devTest code (file name: CON_MYSQL.C):#include Compile:GCC con_mysql.c-l/usr/lib/mysql/-lmysqlclient-o con_mysqlPerform:./con_mysqlResults:Connected ....
Query made
... LOCALHOSTROOT*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9
ubunturoot
127.0.0.1root
:: 1rootThis article is from the "9645582" blog, please be sure to keep this source http://9655582.blog.51cto.com/9645582/179415
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.