[Step 3] Load Balancing EasySLB Website Setup
Published: 2015-01-20
I. windows operating system
First, use the website building assistant on the file server to create a site, see screenshot:

The main steps are to create the ftp username and password, file storage path, and mysql username and password. After creation, stop the file server iis (command iisreset /stop), disable “World Wide Web Publishing Service” and “IIS Admin Service”, and turn off the firewall.
2. Use ftp software to upload web files to the file server; mysql can be restored through phpmyadmin, or restored by command.
3. Refer to /faq/list.asp?unid=882 to set up file sharing, note that you must use the regular user used to create the site for sharing, and the permission must be Full Control.
4. Create a site on the web server (this must be done on every web server). The “site name” and “ftp password” must be consistent with those on the file server. Uncheck “associate mysql”; there is no need to create mysql. After completion, turn off the server firewall, connect once to the file server at \\192.168.236.148, and enter the username and password used when creating the site earlier.
Then open iis, find the properties of the site just created > Home Directory, manually modify the path, select “A share on another computer”, and write the address as “\\192.168.236.148\test\wwwroot”. See screenshot,

After all web servers are configured, log in to our company's management center - Independent IP Management - Load Balancing EasySLB, and click “Add Server” to add the backend WEB server to the cluster.
Note that you need to submit the whitelist first. Log in to our company's management center - Independent IP Management - Load Balancing EasySLB, click Manage, and click Whitelist Submission.
At this point, the entire load balancing configuration is complete.
II. linux operating system
1. Log in to the wdcp panel of the server where NFS is located (file server)

Fill in the domain name, ftp account name, database name, password, and other related information as prompted on the page, then directly click “Save”.
2. Delete the database user

At the position shown in the figure, delete the database user just created
3. Recreate the database user just deleted

Note that the hostname must be written with the % sign
4. Upload files to the server via ftp; mysql can be imported through the phpmyadmin built into wdcp, or upload the .sql file and import it yourself using commands.
Note: 1. Please remotely log in to the web server to restart apache, command service httpd restart
2. For the mysql address in the program, directly enter the intranet ip address of the NFS server.
