SQL Server dual-host Load

Source: Internet
Author: User
when setting up a private server, two servers are often used for load balancing. Some people often ask me how to do this, today, I will send out the method of this dual-host load for you to learn.

1. set the client network utility
click "start"-" Program ", select "client network utility" from the "microsoftsqlserver" menu ".
click "add" in the "alias" option ".
in "server alias", enter your website domain name, and click "TCP/IP" in the "Network Library" area ", in the "connection Parameters" area, cancel "dynamically determine port" and specify "port number" as 2433. After entering the information, click "OK" to save the configuration.

2. Use the Enterprise Manager
click "start"-"program" and open "Enterprise Manager" in the "microsoftsqlserver" menu ". In Enterprise Manager, right-click sqlserver group and choose create sqlserver registration ".
In the Properties window, select the "advanced" tab and set "Logon timeout" to 0. As mentioned above, the remote database is connected.
the sqlserver attribute window appears. Enter the domain name of your website in "server, select "use SQL
Server Authentication", "Login Name" and "password", fill in the user name and password in the host activation email respectively, and then click "OK ".
after the connection is successful, you will see a server named your website domain name in the sqlserver group. In this case, you can manage your website database just like you do with a local SQL database.

Related Article

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.