Saturday, April 12, 2014

On each cluster node, enable offline files: Install Desktop Experience navigate to Administrative T


To configure IIS 7.0 and 7.5 Web server vehicle vin search high availability failover cluster, follow these steps. The following describes in more detail steps 3 to 7. Examples later in this article can be used as a sample script task IIS 7.0, IIS 7.5 and IIS 8.0. In fact, there should be DNS, AD, iscsi target service configuration Web server role is installed vehicle vin search on all cluster nodes. For more information, please visit the following Microsoft Web site:
() Http://technet.microsoft.com/en-us/library/dd197477.aspx settings for IIS shared configuration file sharing. Configure IIS shared configuration on all cluster vehicle vin search nodes. Configure IIS shared configuration files offline on all cluster nodes. This step can not do it, I did not do the configuration Web site (including the associated application pool) and a location specified node cluster on its content. By creating a generic script in a failover cluster configuration for high availability of your Web site. IIS shared configuration settings will be used to create a file-sharing will visit the IIS shared configuration will use the shared user. Create a file share. This share will be used to store the IIS shared configuration will be shared between IIS on all cluster nodes. There are several options (you can choose one): On a standalone server, not part of any failover cluster, create a file share. Share on another Windows Server failover cluster, creating a high-availability file. For more information, please visit the following Microsoft Web site:
() Permissions http://technet.microsoft.com/en-us/library/cc731844.aspx I took this program is set on the share that you created in step 2. Full Control permissions and NTFS permissions for your users in a step file sharing. vehicle vin search Make sure that all cluster nodes can browse to the file share. File Sharing path \ \ <File Server> \ <share>. After configuring the IIS shared configuration on all cluster nodes in the cluster to complete these steps for each Windows 2008 Server, IIS shared configuration set to continue in this section, as described below. In which files on a shared cluster node configuration export share: Navigate to Administrative Tools, and then click Internet Information Services (IIS) Manager. In the left pane, click the server name node. Double-click the Shared Configuration icon. In a shared vehicle vin search configuration page, click Export to export the configuration file to configure the action pane (right pane) from the local computer to another location. In the Export Configuration dialog box, type the path to the file share (\ \ <File vehicle vin search Server> \ <share>) the physical path box. Click Connect, and then type the user account with user name and password to access the same shared storage configuration, and then click OK. This account will be used to access shared resources. You should vehicle vin search use a restricted Active vehicle vin search Directory account is not a domain administrator. In the Export Configuration dialog box, type a password to protect the encryption key, and then click OK. In a shared configuration vehicle vin search page, click to select the Enable shared configuration check box. Type the physical path, user accounts, and before you enter the password, and then click the Actions pane applications. In the Encryption Keys Password dialog box, type the password encryption key earlier, vehicle vin search the settings, and then click OK. In the Shared Configuration dialog box, click OK. Click OK.
In each of the other cluster nodes, use your newly exported file sharing vehicle vin search sharing configuration: If you this is the same shared storage failover cluster to do, we must separate relevant resources, this machine is switched on, in order to do navigate to Administrative Tools, then click Internet Information Services (IIS) Manager. Click the server name node. Double-click the Shared Configuration icon. In a shared configuration page, click to select the Enable shared configuration check box. Type the physical path of the file share (\ \ <File Server> vehicle vin search \ <share>), the user account and password before you enter and then in the Actions pane, click Apply. In the Encryption Keys Password dialog box, type the password encryption key earlier, vehicle vin search the settings, and then click OK. In the Shared Configuration dialog box, click OK. Click OK.
On each cluster node, enable offline files: Install Desktop Experience navigate to Administrative Tools, and then click Server Manager. In the left pane, click function. In the right pane, click Add Features. Click to select the Desktop Experience check box. Click Install to install the desktop experience. Restart the computer. vehicle vin search In Control vehicle vin search Panel, open Offline Files. Click Enable Offline Files. Do not restart the computer, please wait. Ensure that the cache is set to read-only. To do this, you can improve the cmd window, run the following command:
Note that if you want the same failover cluster with high availability file sharing settings, which hosts IIS node does not appear when you are always available offline option, right-click on the shared hosting server uses a highly available file cluster nodes. You need to move to a highly available file server application to another node. In Control Panel, open Offline Files. Click to open Sync Center, and then click Schedule. Or arrange for each day according to the requirements in the offline file synchronization. You can also configure the offline synchronization to run every few minutes. Even if you are not on a plan settings, Applicationhost.config file when something changes, changes will be reflected on the Web server.
Find the location has a cluster node cluster disk resource Web site content files are located: Navigate to Administrative Tools, and then click Failover Cluster Manager. Connected to the cluster. If you are on a cluster node, the cluster will automatically appear vehicle vin search in the list. Find web content will reside in storage under their disk resources. To do this, expand vehicle vin search the storage tree disk resources. Please ensure that the storage is not used by any other high availability application on the cluster. You will find that is stored in the available storage under. Note that the resource cluster node is online. You will configure IIS on the cluster nodes. Note cluster disk resource name. You will document the use of this content.
Resources on a cluster node is online, Web server is configured to use the Web site's content shared disk: Navigate to Administrative Tools, and then click Internet Information Services (IIS) Manager. In the left pane, expand the server node. Expand Web Sites, and then click the site is configured under the site. In the right pane, select Manage vehicle vin search Web site under Advanced Settings. Physical path attributes vehicle vin search found in conventional settings, and then type the location in the location of the Web site's content vehicle vin search files. This is the location of your cluster disk resources in the previous step process noted in Section 5. In fact, this cluster disk resources, safety requirements, vehicle vin search domain account has read and write permissions, including after the new virtual application, using the new cluster disk resource, but also set up a domain account has read and write permissions. For ASP.NET applications, but also set the domain account to C: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Temporary vehicle vin search ASP.NET Files physical path credentials to read and write permissions applications, but also settings for the domain account and click OK. IIS Web server is the final step in creating vehicle vin search a failover cluster manager in a generic script to configure your Web site to configure high availability high availability, set up Web sites and Web application pools generic script resource that can be used to monitor: On each cluster node, the end of the Windows \ System32 \ inetsrv \ Clusweb7.vbs the script of this article. Note that this script can not be saved with a default encoding format, the script monitors the site called "Default Web Site", "Default Application Pool" application pool and called. vehicle vin search If this is not the correct Web site and application pool, change the site name and APP_POOL_NAME variables. vehicle vin search Please ensure that there is the same Web sites and application pools in the script on all cluster nodes. Please note that the name is case sensitive. Navigate to Administrative Tools, and then click Failover Cluster Manager. Connected to the cluster. If you are on a cluster node, the cluster will automatically appear in the list. Right-click the cluster, and then click Configure a Service vehicle vin search or Application. vehicle vin search The wizard will create a workload for high availability. Click the generic script. Name of the Web site% systemroot% \ System32 \ Inetsrv \ clusweb7.vbs clients will use to connect to the high availability of the Web site name set client access point (CAP): Select from the following path in the script file. Specify static Ip sinking site for the first word. If you are using DHCP, this option will not be displayed. In selecting the storage step, select the Web site content files reside in its cluster shared disk. Storage type should not use any other high availability vehicle vin search application on the cluster. Please note that if for IIS shared configuration file share on the same cluster, vehicle vin search here should be able to use different disk resources. After confirming the settings, vehicle vin search the wizard will create a cluster group, vehicle vin search cluster resources and dependencies between resources, and then bring the resource vehicle vin search online.
Note: To host multiple high-availability Web sites on the same failover cluster, follow the same steps as above. However, for each Web site and other shared storage cluster using a different script file. For example,% systemroot% \ system32 \ third, second, clweb7 3.vbs clweb7-2.vbs clusweb7.vbs etc. inetsrv first used the site. Each script file is used to monitor the sites of different sites and application pools. Important: The following script is used only for example does not explicitly supported by Microsoft. Use this script in a clustered environment IIS 7.0, IIS 7.5 or IIS 8.0 is at your own risk.
'<begin Script sample>' This script provides high availability for IIS websites' By default, it monitors the "Default Web Site" and "DefaultAppPool" 'To monitor another vehicle vin search web site, change the SITE_NAME below' To monitor vehicle vin search another application pool, change the APP_POOL_NAME below 'More thorough and application-specific health monitoring logic can be added to the script if needed vehicle vin search Option Explicit DIM SITE_NAME DIM APP_POOL_NAME Dim START_WEB_SITE Dim START_APP_POOL Dim SITES_SECTION_NAME Dim APPLICATION_POOLS_SECTION_NAME Dim CONFIG_APPHOST_ROOT Dim STOP_WEB_SITE' Note: 'Replace this with the site and application pool you want to configure high availability for 'Make sure that the same web site and application pool in the script exist on all cluster nodes. Note that the names are case-sensitive. SITE_NAME = "Default Web Site" APP_POOL_NAME = "DefaultAppPool" START_WEB_SITE = 0 START_APP_POOL = 0 STOP_WEB_SITE = 1 SITES_SECTION_NAME = "system.applicationHost / sites" APPLI

No comments:

Post a Comment