Installation:
1, install IIS (need to accompany the relevant health check, the original default site needs)
2. Installing ARR-related files
3, after installation, IIS will appear in the server farms node, directly create the server.
Site-to-copy (migration):
When you need to deploy another IIS site server to share the load, you certainly don't want to copy the folder over and then rebuild the Web site one at a time. Some orders are important at this time.
The configuration file that IS7 involves is the Web. config file under the site, and the configuration files under C:\Windows\System32\inetsrv\config, all text-based XML files. The PhysicalPath inside the C:\Windows\System32\inetsrv\config\applicationHost.config defines the physical path for each site.
1, the source IIS7 server is the Web1 site content copied to web2 the same path, command: xcopy \\192.168.1.20\e$\web/o/e/h/R e:\web
2, in WEB2 execute the following command, copy the Web1 log to web2 the same path (I think this can not be completely), command: xcopy \\192.168.1.20\e$\iislog/o/e/h/R e:\IISlog
3, in WEB2 execute the following command, Web1 all IIS configuration files copied to web2 the same path, this helped me to save the most things, command: xcopy \\192.168.1.20\c$\Windows\System32\inetsrv\ config/o/e/h/R c:\windows\system32\inetsrv\config
4, I encountered a problem, the load server is WEB2, when the site is started, the corresponding application pool of the site will be automatically closed (at the same time the system event is logged: loadxxxx load failed; application pool because XXXX problem is automatically closed). The specific solution is unclear and needs to be successful, but the next time be sure to record and figure out the root cause of the problem.
Test:
1. Bind the domain name that needs to be mapped on the default site, such as: xxx.xxx.xxx
2, add the local and this domain name mapping in the host (127.0.0.1 xxx.xxx.xxx)
3. Then visit this xxx.xxx.xxx (by the way Ping, is not pointing to the 127.0.0.1)
4, this time can normally open xxx.xxx.xxx, it means OK
Other precautions: It's not clear at the moment.
iis7.0+ Deploying ARR Load balancing