Sharepoint Failover Farm



I already know where the log file for sharepoint is located and it is here C:program filescommon filesmicrosoft sharedweb server extensions14LOGS, I can see a line there where SHarepoint attempts to connect to the primary database and times out and it seem not to connect to the failover at all – kolexinfos Jul 9 '14 at 17:28. SharePoint Conference Full Farm Failover Demo – SPC11 At the SharePoint Conference in Anaheim was demoed using SQL Server “Denali” Always On to fail-over a 14.4 TB SharePoint content database to a secondary database server in 45 seconds. Very impressive, and you are able to get more information here including seeing the video of the event. Secondary (failover SQL) = we will call this B2 Servers A1, A2 and B1 is part of a single stretched farm. Server B2 in NOT part of the stretched farm. The SQL Databases have been mirrored from server A2 to B2. Problems encountered: Question 1: Central Admin (CA) resides on server A1 but if we failover to server B1, Central Admin does. On the SharePoint SPAvailabilityGroup object itself, we can also force a failover to one of other nodes in the Availability Group: $ag = Get-AvailabilityGroupStatus $ag.ForceFailover('SQLAO2','SQLAO1') Yep, as a SharePoint Administrator, I do not have to touch SSMS or SQL PowerShell to execute an AG failover anymore!

I don't have instant 'failover' per se, but I do have a setup using SharePoint Foundation that is basically pretty easy to setup and use. Plus it doesn't really cost anything.

Basically the setup is to create a secondary SharePoint site on another server. I have a test or utility server for that purpose. Setup the second site as if you were going to migrate from one server to another. I have this How-to for this purpose: http://community.spiceworks.com/how_to/show/35831-migrate-from-sharepoint-3-0-2007-to-sharepoint-2010

Once that is setup, I use a stsadm command to backup from the production site three times a day using a scheduled task. You can roll your own PowerShell if you'd rather use that. The files are saved to the test/utility server. Then on that server I again use stsadm to restore the first backup. I do have scripts for the other two backups if necessary.

If site goes down hard, I can get people to switch to other site and continue on. After fix, reverse everything back to the production site.

Sounds complicated, but this literally takes minutes after properly setup.

-->

This reference architecture shows proven practices for deploying a highly available SharePoint Server 2016 farm on Azure, using MinRole topology and SQL Server Always On availability groups. The SharePoint farm is deployed in a secured virtual network with no Internet-facing endpoint or presence. Deploy this solution.

Download a Visio file of this architecture.

Architecture

This architecture builds on the one shown in Run Windows VMs for an N-tier application. It deploys a SharePoint Server 2016 farm with high availability inside an Azure virtual network (VNet). This architecture is suitable for a test or production environment, a SharePoint hybrid infrastructure with Microsoft 365, or as the basis for a disaster recovery scenario.

The architecture consists of the following components:

  • Resource groups. A resource group is a container that holds related Azure resources. One resource group is used for the SharePoint servers, and another resource group is used for infrastructure components that are independent of VMs, such as the virtual network and load balancers.

  • Virtual network (VNet). The VMs are deployed in a VNet with a unique intranet address space. The VNet is further subdivided into subnets.

  • Virtual machines (VMs). The VMs are deployed into the VNet, and private static IP addresses are assigned to all of the VMs. Static IP addresses are recommended for the VMs running SQL Server and SharePoint Server 2016, to avoid issues with IP address caching and changes of addresses after a restart.

  • Availability sets. Place the VMs for each SharePoint role into separate availability sets, and provision at least two virtual machines (VMs) for each role. This makes the VMs eligible for a higher service level agreement (SLA).

    Gardner Bender GDT-311 Digital Multimeter, 3 Function, 14 Range, Tests AC/DC Voltage and Resistance, Manual Ranging, 3.5 inch Display Part # GDT-311 When you're ready to add a multi-meter to your toolbox this unit is a great place to start. Gdt 311 instructions. OPERATING INSTRUCTIONS 3 Function, 12 Range Digital Multi-Meter GDT-311 Read this owners manual thoroughly before use and save. 1.0 METER FUNCTIONS 1.1 FUNCTIONS (Figure 1) 1. 2000 count digital display 2. GDT-311 Manual 3 Function Multimeter (New Style) manual: GDT-311 Manual 3 Function Multimeter (Old Style) manual: GDT-3190 Manual 4 Function Multimeter (New Style) manual: GDT-3190 Manual 4 Function Multimeter (Old Style) manual: GDT-3200 Auto Multimeter (New Style) manual: GDT-3200 Auto Multimeter (Old Style) manual: GMT-318 6 Function Analog. OPERATING INSTRUCTIONS 3 Function, 12 Range Digital Multi-Meter GDT-311 Read this owners manual thoroughly before use and save. 1.1 FUNCTIONS (Figure 1) 1. 2000 count digital display 2. Off Dial Selection 7. Low Battery Indicator 8. Common Input Jack 9. Positive Input Jack 1.1 METER FUNCTIONS. Print GB GDT-311 Operating Instructions. GB GDT-311: Operating Instructions Brand: GB Category: Multimeter Size: 0.71 MB Pages: 3. This manual also for: Gdt-3190. Please, tick the box below to get your link: Print manual Manualslib has more than 45 GB.

  • Internal load balancer. The load balancer distributes SharePoint request traffic from the on-premises network to the front-end web servers of the SharePoint farm.

  • Network security groups (NSGs). For each subnet that contains virtual machines, a network security group is created. Use NSGs to restrict network traffic within the VNet, in order to isolate subnets.

  • Gateway. The gateway provides a connection between your on-premises network and the Azure virtual network. Your connection can use ExpressRoute or site-to-site VPN. For more information, see Connect an on-premises network to Azure.

  • Windows Server Active Directory (AD) domain controllers. This reference architecture deploys Windows Server AD domain controllers. These domain controllers run in the Azure VNet and have a trust relationship with the on-premises Windows Server AD forest. Client web requests for SharePoint farm resources are authenticated in the VNet rather than sending that authentication traffic across the gateway connection to the on-premises network. In DNS, intranet A or CNAME records are created so that intranet users can resolve the name of the SharePoint farm to the private IP address of the internal load balancer.

    SharePoint Server 2016 also supports using Azure Active Directory Domain Services. Azure AD Domain Services provides managed domain services, so that you don't need to deploy and manage domain controllers in Azure.

  • SQL Server Always On availability group. For high availability of the SQL Server database, we recommend SQL Server Always On availability groups. Two virtual machines are used for SQL Server. One contains the primary database replica and the other contains the secondary replica.

  • Majority node VM. This VM allows the failover cluster to establish quorum. For more information, see Understanding Quorum Configurations in a Failover Cluster.

  • SharePoint servers. The SharePoint servers perform the web front-end, caching, application, and search roles.

  • Jumpbox. Also called a bastion host. This is a secure VM on the network that administrators use to connect to the other VMs. The jumpbox has an NSG that allows remote traffic only from public IP addresses on a safe list. The NSG should permit remote desktop (RDP) traffic.

Recommendations

Your requirements might differ from the architecture described here. Use these recommendations as a starting point.

Resource group recommendations

Create a high availability architecture and strategy for ..

We recommend separating resource groups according to the server role, and having a separate resource group for infrastructure components that are global resources. In this architecture, the SharePoint resources form one group, while the SQL Server and other utility assets form another.

Virtual network and subnet recommendations

Use one subnet for each SharePoint role, plus a subnet for the gateway and one for the jumpbox.

The gateway subnet must be named GatewaySubnet. Assign the gateway subnet address space from the last part of the virtual network address space. For more information, see Connect an on-premises network to Azure using a VPN gateway.

Sharepoint Failover Farm

VM recommendations

This architecture requires a minimum of 44 cores:

  • 8 SharePoint servers on Standard_DS3_v2 (4 cores each) = 32 cores
  • 2 Active Directory domain controllers on Standard_DS1_v2 (1 core each) = 2 cores
  • 2 SQL Server VMs on Standard_DS3_v2 = 8 cores
  • 1 majority node on Standard_DS1_v2 = 1 core
  • 1 management server on Standard_DS1_v2 = 1 core

Make sure your Azure subscription has enough VM core quota for the deployment, or the deployment will fail. See Azure subscription and service limits, quotas, and constraints.

For all SharePoint roles except the Search Indexer, we recommended using the Standard_DS3_v2 VM size. The Search Indexer should be at least the Standard_DS13_v2 size. For testing, the parameter files for this reference architecture specify the smaller DS3_v2 size for the Search Indexer role. For a production deployment, update the parameter files to use the DS13 size or larger. For more information, see Hardware and software requirements for SharePoint Server 2016.

For the SQL Server VMs, we recommend a minimum of 4 cores and 8 GB RAM. The parameter files for this reference architecture specify the DS3_v2 size. For a production deployment, you might need to specify a larger VM size. For more information, see Storage and SQL Server capacity planning and configuration (SharePoint Server).

NSG recommendations

We recommend having one NSG for each subnet that contains VMs, to enable subnet isolation. If you want to configure subnet isolation, add NSG rules that define the allowed or denied inbound or outbound traffic for each subnet. For more information, see Filter network traffic with network security groups.

Do not assign an NSG to the gateway subnet, or the gateway will stop functioning.

Storage recommendations

The storage configuration of the VMs in the farm should match the appropriate best practices used for on-premises deployments. SharePoint servers should have a separate disk for logs. SharePoint servers hosting search index roles require additional disk space for the search index to be stored. For SQL Server, the standard practice is to separate data and logs. Add more disks for database backup storage, and use a separate disk for tempdb.

For best reliability, we recommend using Azure Managed Disks. Managed disks ensure that the disks for VMs within an availability set are isolated to avoid single points of failure.

Note

Currently the Resource Manager template for this reference architecture does not use managed disks. We are planning to update the template to use managed disks.

Use Premium managed disks for all SharePoint and SQL Server VMs. You can use Standard managed disks for the majority node server, the domain controllers, and the management server.

SharePoint Server recommendations

Before configuring the SharePoint farm, make sure you have one Windows Server Active Directory service account per service. For this architecture, you need at a minimum the following domain-level accounts to isolate privilege per role:

  • SQL Server Service account
  • Setup User account
  • Server Farm account
  • Search Service account
  • Content Access account
  • Web App Pool accounts
  • Service App Pool accounts
  • Cache Super User account
  • Cache Super Reader account

To meet the support requirement for disk throughput of 200 MB per second minimum, make sure to plan the Search architecture. See Plan enterprise search architecture in SharePoint Server 2013. Also follow the guidelines in Best practices for crawling in SharePoint Server 2016.

In addition, store the search component data on a separate storage volume or partition with high performance. To reduce load and improve throughput, configure the object cache user accounts, which are required in this architecture. Split the Windows Server operating system files, the SharePoint Server 2016 program files, and diagnostics logs across three separate storage volumes or partitions with normal performance.

For more information about these recommendations, see Initial deployment administrative and service accounts in SharePoint Server 2016.

Hybrid workloads

This reference architecture deploys a SharePoint Server 2016 farm that can be used as a SharePoint hybrid environment — that is, extending SharePoint Server 2016 to SharePoint Online. If you have Office Online Server, see Office Web Apps and Office Online Server supportability in Azure.

The default service applications in this deployment are designed to support hybrid workloads. All SharePoint Server 2016 and Microsoft 365 hybrid workloads can be deployed to this farm without changes to the SharePoint infrastructure, with one exception: The Cloud Hybrid Search Service Application must not be deployed onto servers hosting an existing search topology. Therefore, one or more search-role-based VMs must be added to the farm to support this hybrid scenario.

SQL Server Always On availability groups

This architecture uses SQL Server virtual machines because SharePoint Server 2016 cannot use Azure SQL Database. To support high availability in SQL Server, we recommend using Always On availability groups, which specify a set of databases that fail over together, making them highly available and recoverable. In this reference architecture, the databases are created during deployment, but you must manually enable Always On availability groups and add the SharePoint databases to an availability group. For more information, see Create the availability group and add the SharePoint databases.

We also recommend adding a listener IP address to the cluster, which is the private IP address of the internal load balancer for the SQL Server virtual machines.

For recommended VM sizes and other performance recommendations for SQL Server running in Azure, see Performance best practices for SQL Server in Azure Virtual Machines. Also follow the recommendations in Best practices for SQL Server in a SharePoint Server 2016 farm. Otsav dj pro free download with crack filehippo.

We recommend that the majority node server reside on a separate computer from the replication partners. The server enables the secondary replication partner server in a high-safety mode session to recognize whether to initiate an automatic failover. Unlike the two partners, the majority node server doesn't serve the database but rather supports automatic failover.

Scalability considerations

To scale up the existing servers, simply change the VM size.

With the MinRoles capability in SharePoint Server 2016, you can scale out servers based on the server's role and also remove servers from a role. When you add servers to a role, you can specify any of the single roles or one of the combined roles. If you add servers to the Search role, however, you must also reconfigure the search topology using PowerShell. You can also convert roles using MinRoles. For more information, see Managing a MinRole Server Farm in SharePoint Server 2016.

Note that SharePoint Server 2016 doesn't support using virtual machine scale sets for autoscaling.

Availability considerations

High

This reference architecture supports high availability within an Azure region, because each role has at least two VMs deployed in an availability set.

To protect against a regional failure, create a separate disaster recovery farm in a different Azure region. Your recovery time objectives (RTOs) and recovery point objectives (RPOs) will determine the setup requirements. For details, see Choose a disaster recovery strategy for SharePoint 2016. The secondary region should be a paired region with the primary region. In the event of a broad outage, recovery of one region is prioritized out of every pair. For more information, see Business continuity and disaster recovery (BCDR): Azure Paired Regions.

Manageability considerations

To operate and maintain servers, server farms, and sites, follow the recommended practices for SharePoint operations. For more information, see Operations for SharePoint Server 2016.

The tasks to consider when managing SQL Server in a SharePoint environment may differ from the ones typically considered for a database application. A best practice is to fully back up all SQL databases weekly with incremental nightly backups. Back up transaction logs every 15 minutes. Another practice is to implement SQL Server maintenance tasks on the databases while disabling the built-in SharePoint ones. For more information, see Storage and SQL Server capacity planning and configuration.

Security considerations

The domain-level service accounts used to run SharePoint Server 2016 require Windows Server AD domain controllers or Azure Active Directory Domain Services for domain-join and authentication processes. However, to extend the Windows Server AD identity infrastructure already in place in the intranet, this particular architecture uses two VMs as Windows Server AD replica domain controllers of an existing on-premises Windows Server AD forest.

In addition, it's always wise to plan for security hardening. Other recommendations include:

  • Add rules to NSGs to isolate subnets and roles.
  • Don't assign public IP addresses to VMs.
  • For intrusion detection and analysis of payloads, consider using a network virtual appliance in front of the front-end web servers instead of an internal Azure load balancer.
  • As an option, use IPsec policies for encryption of cleartext traffic between servers. If you are also doing subnet isolation, update your network security group rules to allow IPsec traffic.
  • Install anti-malware agents for the VMs.

Cost considerations

Use the Azure pricing calculator to estimate costs. Here are some factors for optimizing cost for this architecture.

Active Directory Domain Services

Consider having Active Directory Domain Services as a shared service that is consumed by multiple workloads to lower costs. See Active Directory Domain Services pricing for more information.

VPN Gateway

The billing model is based on the amount of time the gateway is provisioned and available. See VPN Gateway Pricing.

All inbound traffic is free. All outbound traffic is billed. Internet bandwidth costs are applied to VPN outbound traffic.

Virtual Network

Azure Virtual Network is free. Every subscription is allowed to create up to 50 virtual networks across all regions.All traffic that originates within the boundaries of a virtual network is free. So, communication between two VMs in the same virtual network is free.

This architecture builds on the architecture deployed in Run Windows VMs for an N-tier application. See Cost considerations for more information.

For more information, see the cost section in Microsoft Azure Well-Architected Framework.

DevOps considerations

Consider using separate resource groups for production, development, and test environments. Separate resource groups make it easier to manage deployments, delete test deployments, and assign access rights. In general, put resources that have the same lifecycle in the same resource group. Use the Developer tier for development and test environments. To minimize costs during preproduction, deploy a replica of your production environment, run your tests, and then shut down.

In this architecture the entire Sharepoint farm infrastructure is deployed by using Azure Building Blocks templates. You can also use Azure Azure Resource Manager templates, in both cases you follow the Infrastructure as code (IaC) practice for deploying the resources. To automate infrastructure deployment, you can use Azure DevOps Services or other CI/CD solutions. The deployment process is also idempotent - that is, repeatable to produce the same results. Azure Pipelines is part of Azure DevOps Services and runs automated builds, tests, and deployments.

Structure you deployment templates following the workload criteria, identify single units of works and include them in its own template. In this scenarioat least seven workloads are identified and isolated in their own templates: the Azure VNet and the VPN gateway, the management jumpbox, AD domain controllers, and SQL Server VMs, the Failover cluster and the availability group and the Remaining VMs, Sharepoint primary node, Sharepoint cache and NSG rules. Workload isolation makes it easier to associate the workload's specific resources to a team, so that the team can independently manage all aspects of those resources. This isolation enables DevOps to perform continuous integration and continuous delivery (CI/CD) it also allows the staging your workloads, which means deploying to various stages and running validations at each stage before moving on to the next one; that way you can push updates to your production environments in a highly controlled way and minimize unanticipated deployment issues.

Consider using the Azure Monitor to Analyze and optimize the performance of your infrastructure, Monitor and diagnose networking issues without logging into your virtual machines.

For more information, see the DevOps section in Azure Architecture Framework.

Deploy the solution

A deployment for this reference architecture is available on GitHub. The entire deployment can take several hours to complete.

The deployment creates the following resource groups in your subscription:

  • ra-onprem-sp2016-rg
  • ra-sp2016-network-rg

The template parameter files refer to these names, so if you change them, update the parameter files to match.

The parameter files include a hard-coded password in various places. Change these values before you deploy.

Prerequisites

  1. Clone, fork, or download the zip file for the reference architectures GitHub repository.

  2. Install Azure CLI 2.0.

  3. Install Node and NPM

  4. Install the Azure building blocks npm package.

  5. From a command prompt, bash prompt, or PowerShell prompt, sign into your Azure account as follows:

Deployment steps

  1. Run the following command to deploy a simulated on-premises network.

  2. Run the following command to deploy the Azure VNet and the VPN gateway.

  3. Run the following command to deploy the jumpbox, AD domain controllers, and SQL Server VMs.

  4. Run the following command to create the failover cluster and the availability group.

  5. Run the following command to deploy the remaining VMs.

At this point, verify that you can make a TCP connection from the web front end to the load balancer for the SQL Server Always On availability group. To do so, perform the following steps:

  1. Use the Azure portal to find the VM named ra-sp-jb-vm1 in the ra-sp2016-network-rg resource group. This is the jumpbox VM.

  2. Click Connect to open a remote desktop session to the VM. Use the password that you specified in the azure1.json parameter file.

  3. From the Remote Desktop session, sign in to 10.0.5.4. This is the IP address of the VM named ra-sp-app-vm1.

  4. Open a PowerShell console in the VM, and use the Test-NetConnection cmdlet to verify that you can connect to the load balancer.

The output should look similar to the following:

If it fails, use the Azure portal to restart the VM named ra-sp-sql-vm2. After the VM restarts, run the Test-NetConnection command again. You may need to wait about a minute after the VM restarts for the connection to succeed.

Sharepoint Failover Farm Group

Now complete the deployment as follows.

  1. Run the following command to deploy the SharePoint farm primary node.

  2. Run the following command to deploy the SharePoint cache, search, and web.

  3. Run the following command to create the NSG rules.

Validate the deployment

Create A High Availability Architecture And Strategy For ..

  1. In the Azure portal, navigate to the ra-onprem-sp2016-rg resource group.

  2. In the list of resources, select the VM resource named ra-onpr-u-vm1.

  3. Connect to the VM, as described in Connect to virtual machine. The user name is onpremuser.

  4. When the remote connection to the VM is established, open a browser in the VM and navigate to http://portal.contoso.local.

  5. In the Windows Security box, sign in to the SharePoint portal using contoso.localtestuser for the user name.

This sign-in tunnels from the Fabrikam.com domain used by the on-premises network to the contoso.local domain used by the SharePoint portal. When the SharePoint site opens, you'll see the root demo site.

Contributors to this reference architecture — Joe Davies, Bob Fox, Neil Hodgkinson, Paul Stork





Comments are closed.