tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Enabling Mongos Access Address

PDF
Focus Mode
Font Size
Last updated: 2024-04-02 15:11:11

Overview

After enabling the mongos access address of a sharded cluster instance, you can access the instance using this address. On the Instance Details page, you can see the mongos access connection string (for private network access).

Instructions

Under the current VIP of the instance, different vports will be bound to different mongos nodes.
After a mongos node fails, the system will bind its vPort to a new mongos process. The VIP and vPort will remain unchanged.
Enabling mongos access address won't affect the original CLB access address.

Version description

TencentDB for MongoDB v4.0 and later support enabling the mongos access address.

Prerequisites

Instance type: Sharded cluster instance.
Instance status: Running.

Directions

2. In the MongoDB drop-down list on the left sidebar, select Sharded Cluster Instance.
3. Above the Instance List on the right, select the region.
4. In the instance list, find the target instance.
5. Click the Instance ID to enter the Instance Details page and click the Node Management tab.
6. On the Node Management tab, click the Mongos Node tab.
7. On the Mongos Node tab, click Enabling Mongos Access Address.
8. In the pop-up window, confirm the impact of enabling the access connection string and click OK.

9. On the left sidebar, select Task Management. In the task list, find the instance with the Task Type being Enabling Node Access Address by ID and wait until the Task Status is marked as Completed.
10. On the left sidebar, select Sharded Cluster Instance. In the instance list, find the instance with the access address enabled, click its ID to enter the Instance Details page. In Access Address in the Network Configuration section, you can view the mongos access address. Hover over the connection string of the access address and click

to copy it for mongos node access.



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback