Windows server 2019 file server clustering

Deploy a file share witness

Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

A file share witness is an SMB share that Failover Cluster uses as a vote in the cluster quorum. This topic provides an overview of the technology and the new functionality in Windows Server 2019, including using a USB drive connected to a router as a file share witness.

File share witnesses are handy in the following circumstances:

  • A cloud witness can’t be used because not all servers in the cluster have a reliable Internet connection
  • A disk witness can’t be used because there aren’t any shared drives to use for a disk witness. This could be a Storage Spaces Direct cluster, SQL Server Always On Availability Groups (AG), Exchange Database Availability Group (DAG), etc. None of these types of clusters use shared disks.

File share witness requirements

You can host a file share witness on a domain-joined Windows server, or if your cluster is running Windows Server 2019, any device that can host an SMB 2 or later file share.

File server type Supported clusters
Any device w/an SMB 2 file share Windows Server 2019
Domain-joined Windows Server Windows Server 2008 and later

If the cluster is running Windows Server 2019, here are the requirements:

  • An SMB file share on any device that uses the SMB 2 or later protocol, including:
    • Network-attached storage (NAS) devices
    • Windows computers joined to a workgroup
    • Routers with locally-connected USB storage
  • A local account on the device for authenticating the cluster
  • If you’re instead using Active Directory for authenticating the cluster with the file share, the Cluster Name Object (CNO) must have write permissions on the share, and the server must be in the same Active Directory forest as the cluster
  • The file share has a minimum of 5 MB of free space

If the cluster is running Windows Server 2016 or earlier, here are the requirements:

  • SMB file share on a Windows server joined to the same Active Directory forest as the cluster
  • The Cluster Name Object (CNO) must have write permissions on the share
  • The file share has a minimum of 5 MB of free space
  • To use a file share witness hosted by devices other than a domain-joined Windows server, you currently must use the Set-ClusterQuorum -Credential PowerShell cmdlet to set the witness, as described later in this topic.
  • For high availability, you can use a file share witness on a separate Failover Cluster
  • The file share can be used by multiple clusters
  • The use of a Distributed File System (DFS) share or replicated storage is not supported with any version of failover clustering. These can cause a split brain situation where clustered servers are running independently of each other and could cause data loss.

Creating a file share witness on a router with a USB device

At Microsoft Ignite 2018, DataOn Storage had a Storage Spaces Direct Cluster in their kiosk area. This cluster was connected to a NetGear Nighthawk X4S WiFi Router using the USB port as a file share witness similar to this.

The steps for creating a file share witness using a USB device on this particular router are listed below. Note that steps on other routers and NAS appliances will vary and should be accomplished using the vendor supplied directions.

Log into the router with the USB device plugged in.

From the list of options, select ReadySHARE which is where shares can be created.

For a file share witness, a basic share is all that is needed. Selecting the Edit button will pop up a dialog where the share can be created on the USB device.

Once selecting the Apply button, the share is created and can be seen in the list.

Once the share has been created, creating the file share witness for Cluster is done with PowerShell.

This displays a dialog box to enter the local account on the device.

These same similar steps can be done on other routers with USB capabilities, NAS devices, or other Windows devices.

Развертывание файлового ресурса-свидетеля Deploy a file share witness

Применяется к: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Файловый ресурс-свидетель — это общая папка SMB, которую отказоустойчивый кластер использует в качестве голоса в кворуме кластера. A file share witness is an SMB share that Failover Cluster uses as a vote in the cluster quorum. В этом разделе приводятся общие сведения о технологии и новых функциях Windows Server 2019, включая использование USB-накопителя, подключенного к маршрутизатору, в качестве файлового ресурса следящего сервера. This topic provides an overview of the technology and the new functionality in Windows Server 2019, including using a USB drive connected to a router as a file share witness.

Общая папка следящих серверов удобна в следующих случаях: File share witnesses are handy in the following circumstances:

  • Невозможно использовать облако-свидетель, так как не все серверы в кластере имеют надежное подключение к Интернету A cloud witness can’t be used because not all servers in the cluster have a reliable Internet connection
  • Невозможно использовать диск-свидетель, так как для диска-свидетеля нет общих дисков. A disk witness can’t be used because there aren’t any shared drives to use for a disk witness. Это может быть Локальные дисковые пространства кластера, SQL Server Always On группы доступности (AG), Группа доступности базы данных Exchange (DAG) и т. д. Ни один из этих типов кластеров не использует общие диски. This could be a Storage Spaces Direct cluster, SQL Server Always On Availability Groups (AG), Exchange Database Availability Group (DAG), etc. None of these types of clusters use shared disks.

Требования к файловому ресурсу-свидетелю File share witness requirements

Файловый ресурс-свидетель можно разместить на присоединенном к домену сервере Windows Server или в кластере под управлением Windows Server 2019, на котором может размещаться файловый ресурс SMB 2 или более поздней версии. You can host a file share witness on a domain-joined Windows server, or if your cluster is running Windows Server 2019, any device that can host an SMB 2 or later file share.

Тип файлового сервера File server type Поддерживаемые кластеры Supported clusters
Любое устройство с общей папкой SMB 2 Any device w/an SMB 2 file share Windows Server 2019 Windows Server 2019
Присоединенный к домену сервер Windows Server Domain-joined Windows Server Windows Server 2008 и более поздних версий. Windows Server 2008 and later

Если кластер работает под Windows Server 2019, необходимо выполнить следующие требования. If the cluster is running Windows Server 2019, here are the requirements:

  • Файловый ресурс SMB на любом устройстве, использующем протокол SMB 2 или более поздней версии, включая следующие: An SMB file share on any device that uses the SMB 2 or later protocol, including:
    • Устройства хранения данных, подключенные к сети (NAS) Network-attached storage (NAS) devices
    • Компьютеры Windows, присоединенные к Рабочей группе Windows computers joined to a workgroup
    • Маршрутизаторы с локально подключенным USB-хранилищем Routers with locally-connected USB storage
  • Локальная учетная запись на устройстве для проверки подлинности кластера A local account on the device for authenticating the cluster
  • Если вы используете Active Directory для проверки подлинности кластера в общей папке, объект имени кластера (CNO) должен иметь разрешения на запись в общую папку, а сервер должен находиться в том же лесу Active Directory, что и кластер. If you’re instead using Active Directory for authenticating the cluster with the file share, the Cluster Name Object (CNO) must have write permissions on the share, and the server must be in the same Active Directory forest as the cluster
  • Общая папка содержит не менее 5 МБ свободного места The file share has a minimum of 5 MB of free space

Если кластер работает под Windows Server 2016 или более ранней версии, необходимо выполнить следующие требования. If the cluster is running Windows Server 2016 or earlier, here are the requirements:

  • Файловый ресурс SMB на сервере Windows, присоединенном к тому же лесу Active Directory, что и кластер SMB file share on a Windows server joined to the same Active Directory forest as the cluster
  • Объект имени кластера (CNO) должен иметь разрешения на запись в общую папку The Cluster Name Object (CNO) must have write permissions on the share
  • Общая папка содержит не менее 5 МБ свободного места The file share has a minimum of 5 MB of free space

Другие примечания: Other notes:

  • Чтобы использовать файловый ресурс-свидетель, размещенный не присоединенным к домену серверу Windows Server, в настоящее время необходимо использовать командлет PowerShell Set-клустеркуорум-Credential , как описано далее в этом разделе. To use a file share witness hosted by devices other than a domain-joined Windows server, you currently must use the Set-ClusterQuorum -Credential PowerShell cmdlet to set the witness, as described later in this topic.
  • Для обеспечения высокой доступности можно использовать файловый ресурс-свидетель в отдельном отказоустойчивом кластере. For high availability, you can use a file share witness on a separate Failover Cluster
  • Файловый ресурс может использоваться несколькими кластерами. The file share can be used by multiple clusters
  • Использование общего ресурса распределенная файловая система (DFS) или реплицированного хранилища не поддерживается ни в одной из версий отказоустойчивой кластеризации. The use of a Distributed File System (DFS) share or replicated storage is not supported with any version of failover clustering. Это может привести к ситуации разделенного мозгового случая, когда кластеризованные серверы работают независимо друг от друга и могут привести к потере данных. These can cause a split brain situation where clustered servers are running independently of each other and could cause data loss.

Создание файлового ресурса-свидетеля на маршрутизаторе с устройством USB Creating a file share witness on a router with a USB device

В Microsoft Ignite 2018 хранилище датаон имело Локальные дисковые пространства кластер в своей области киоска. At Microsoft Ignite 2018, DataOn Storage had a Storage Spaces Direct Cluster in their kiosk area. Этот кластер был подключен к маршрутизатору WiFi нетжеар нигхсавк X4S, используя порт USB в качестве файлового ресурса-свидетеля, как показано на этом. This cluster was connected to a NetGear Nighthawk X4S WiFi Router using the USB port as a file share witness similar to this.

Ниже перечислены действия по созданию файлового ресурса-свидетеля с помощью устройства USB на этом конкретном маршрутизаторе. The steps for creating a file share witness using a USB device on this particular router are listed below. Обратите внимание, что действия на других маршрутизаторах и устройствах NAS будут отличаться и должны быть выполнены с помощью предоставленных поставщиком направлений. Note that steps on other routers and NAS appliances will vary and should be accomplished using the vendor supplied directions.

Войдите в маршрутизатор с подключенным USB-устройством. Log into the router with the USB device plugged in.

В списке параметров выберите Реадишаре, где можно создать общие ресурсы. From the list of options, select ReadySHARE which is where shares can be created.

Для файлового ресурса-свидетеля требуется только базовый общий ресурс. For a file share witness, a basic share is all that is needed. При нажатии кнопки «Изменить» появится диалоговое окно, в котором можно создать общую папку на USB-устройстве. Selecting the Edit button will pop up a dialog where the share can be created on the USB device.

После нажатия кнопки Применить создается общий ресурс, который можно увидеть в списке. Once selecting the Apply button, the share is created and can be seen in the list.

После создания общего ресурса Создание файлового ресурса-свидетеля для кластера выполняется с помощью PowerShell. Once the share has been created, creating the file share witness for Cluster is done with PowerShell.

Откроется диалоговое окно для ввода локальной учетной записи на устройстве. This displays a dialog box to enter the local account on the device.

Аналогичные действия можно выполнить на других маршрутизаторах с возможностями USB, устройствами NAS или другими устройствами Windows. These same similar steps can be done on other routers with USB capabilities, NAS devices, or other Windows devices.

Масштабируемый файловый сервер для обзора данных приложения Scale-Out File Server for application data overview

Применяется к: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 Applies to: Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Scale-Out файловый сервер предназначен для предоставления масштабируемых файловых ресурсов, которые постоянно доступны для хранилища серверных приложений на основе файлов. Scale-Out File Server is designed to provide scale-out file shares that are continuously available for file-based server application storage. Масштабируемые файловые ресурсы обеспечивают возможность совместного использования папок различными узлами одного кластера. Scale-out file shares provides the ability to share the same folder from multiple nodes of the same cluster. Этот сценарий фокусируется на планировании и развертывании масштабируемого файлового сервера. This scenario focuses on how to plan for and deploy Scale-Out File Server.

Вы можете развернуть и настроить кластерный файловый сервер с помощью любого из следующих методов. You can deploy and configure a clustered file server by using either of the following methods:

  • Масштабируемый файловый сервер для данных приложения Этот компонент кластеризованного файлового сервера появился в Windows Server 2012 и позволяет хранить данные серверных приложений, такие как файлы виртуальных машин Hyper-V, в общих файловых ресурсах, а также иметь аналогичные уровни надежности, доступности, управляемости и высокой производительности, которые могут быть получены из сети хранения данных. Scale-Out File Server for application data This clustered file server feature was introduced in Windows Server 2012, and it lets you store server application data, such as Hyper-V virtual machine files, on file shares, and obtain a similar level of reliability, availability, manageability, and high performance that you would expect from a storage area network. Все файловые ресурсы одновременно подключены к сети на всех узлах. All file shares are simultaneously online on all nodes. Общие файловые ресурсы, связанные с кластерным файловым сервером такого типа, называются масштабируемыми файловыми ресурсами. File shares associated with this type of clustered file server are called scale-out file shares. Такая конфигурация иногда называется «активный-активный». This is sometimes referred to as active-active. Это рекомендуемый тип файлового сервера при развертывании Hyper-V через Server Message Block (SMB) или Microsoft SQL Server через SMB. This is the recommended file server type when deploying either Hyper-V over Server Message Block (SMB) or Microsoft SQL Server over SMB.
  • Файловый сервер для общего использования Это продолжение кластеризованного файлового сервера, который поддерживался в Windows Server с момента появления отказоустойчивой кластеризации. File Server for general use This is the continuation of the clustered file server that has been supported in Windows Server since the introduction of Failover Clustering. Это разновидность кластерного файлового сервера, поэтому все общие папки, связанные с кластерным файловым сервером, не могут быть подключены к сети на нескольких узлах одновременно. This type of clustered file server, and therefore all the shares associated with the clustered file server, is online on one node at a time. Такая конфигурация иногда называется «активный-пассивный» или «двойной активный». This is sometimes referred to as active-passive or dual-active. Общие файловые ресурсы, связанные с кластерным файловым сервером такого типа, называются кластерными файловыми ресурсами. File shares associated with this type of clustered file server are called clustered file shares. Это рекомендуемый тип файлового сервера при развертывании сценариев информационных работников. This is the recommended file server type when deploying information worker scenarios.

Описание сценария Scenario description

Масштабируемые файловые ресурсы обеспечивают возможность совместного использования папок несколькими узлами одного кластера. With scale-out file shares, you can share the same folder from multiple nodes of a cluster. Например, при наличии кластера файлового сервера с четырьмя узлами, использующего горизонтальное масштабирование SMB, компьютер под управлением Windows Server 2012 R2 или Windows Server 2012 может получить доступ к общим папкам с любого из четырех узлов. For instance, if you have a four-node file server cluster that is using Server Message Block (SMB) Scale-Out, a computer running Windows Server 2012 R2 or Windows Server 2012 can access file shares from any of the four nodes. Это достигается за счет использования новых компонентов отказоустойчивой кластеризации в Windows Server и возможностей протокола файловых серверов Windows — SMB 3.0. This is achieved by leveraging new Windows Server Failover Clustering features and the capabilities of the Windows file server protocol, SMB 3.0. Администраторы файловых серверов могут предоставлять масштабируемые файловые ресурсы и постоянно доступные файловые службы серверным приложениям, а также быстро реагировать на увеличение потребностей путем простого подключения к сети дополнительных серверов. File server administrators can provide scale-out file shares and continuously available file services to server applications and respond to increased demands quickly by simply bringing more servers online. Все это можно осуществлять в рабочей среде абсолютно прозрачно для серверного приложения. All of this can be done in a production environment, and it is completely transparent to the server application.

Основные преимущества масштабируемого файлового сервера включают следующее. Key benefits provided by Scale-Out File Server in include:

  • Активные общие файловые ресурсы. Active-Active file shares. Все узлы кластера могут принимать и обслуживать клиентские запросы SMB. All cluster nodes can accept and serve SMB client requests. Благодаря одновременной доступности содержимого файловых ресурсов для всех узлов кластера взаимодействие кластеров и клиентов SMB 3.0 обеспечивает прозрачную отработку отказа на альтернативные узлы кластера во время планового обслуживания или внезапных сбоев с нарушением работы служб. By making the file share content accessible through all cluster nodes simultaneously, SMB 3.0 clusters and clients cooperate to provide transparent failover to alternative cluster nodes during planned maintenance and unplanned failures with service interruption.
  • Увеличенная пропускная способность. Increased bandwidth. Максимальная пропускная способность общего доступа — это общая пропускная способность всех узлов кластера файлового сервера. The maximum share bandwidth is the total bandwidth of all file server cluster nodes. В отличие от предыдущих версий Windows Server, общая пропускная способность более не ограничивается пропускной способностью одного узла кластера, а определяется возможностями резервной системы хранения, которая задает ограничения. Unlike previous versions of Windows Server, the total bandwidth is no longer constrained to the bandwidth of a single cluster node; but rather, the capability of the backing storage system defines the constraints. Увеличить общую пропускную способность можно путем добавления узлов. You can increase the total bandwidth by adding nodes.
  • Chkdsk с нулевым временем простоя. CHKDSK with zero downtime. CHKDSK в Windows Server 2012 значительно улучшена, чтобы значительно сократить время, в течение которого файловая система находится в автономном режиме для восстановления. CHKDSK in Windows Server 2012 is significantly enhanced to dramatically shorten the time a file system is offline for repair. Общие тома кластера (CSV) позволяют вообще исключить этап отключения от сети. Clustered shared volumes (CSVs) take this one step further by eliminating the offline phase. Файловая система CSV (CSVFS) может использовать операцию CHKDSK, не затрагивая приложения с открытыми дескрипторами в файловой системе. A CSV File System (CSVFS) can use CHKDSK without impacting applications with open handles on the file system.
  • Кластеризованный кэш общего тома. Clustered Shared Volume cache. CSV в Windows Server 2012 предоставляет поддержку кэша чтения, что может значительно повысить производительность в определенных сценариях, например в инфраструктуре виртуальных рабочих столов (VDI). CSVs in Windows Server 2012 introduces support for a Read cache, which can significantly improve performance in certain scenarios, such as in Virtual Desktop Infrastructure (VDI).
  • Упрощенное управление. Simpler management. С помощью Scale-Out файлового сервера вы создаете масштабируемые файловые серверы, а затем добавляете необходимые CSV и общие файловые ресурсы. With Scale-Out File Server, you create the scale-out file servers, and then add the necessary CSVs and file shares. Теперь нет необходимости создавать несколько кластерных файловых серверов с отдельными дисками кластера, а затем разрабатывать политики размещения, чтобы обеспечить работу каждого узла кластера. It is no longer necessary to create multiple clustered file servers, each with separate cluster disks, and then develop placement policies to ensure activity on each cluster node.
  • Автоматическая ребалансировка Scale-Out клиентов файлового сервера. Automatic rebalancing of Scale-Out File Server clients. В Windows Server 2012 R2 автоматическое перераспределение улучшает масштабируемость и управляемость масштабируемых файловых серверов. In Windows Server 2012 R2, automatic rebalancing improves scalability and manageability for scale-out file servers. Клиентские подключения SMB отслеживаются для каждого общего файлового ресурса (а не для каждого сервера), после чего клиенты перенаправляются в узел кластера с оптимальным доступом к тому, используемому общим файловым ресурсом. SMB client connections are tracked per file share (instead of per server), and clients are then redirected to the cluster node with the best access to the volume used by the file share. Это повышает производительность, снижая трафик перенаправления между узлами файлового сервера. This improves efficiency by reducing redirection traffic between file server nodes. Клиенты перенаправляются после начального подключения при перенастройке системы хранения данных кластера. Clients are redirected following an initial connection and when cluster storage is reconfigured.

Содержание сценария In this scenario

Следующие разделы помогут вам развернуть масштабируемый файловый сервер. The following topics are available to help you deploy a Scale-Out File Server:

Когда использовать масштабируемый файловый сервер When to use Scale-Out File Server

Масштабируемый файловый сервер не следует использовать, если рабочая нагрузка создает большое количество операций с метаданными, например открытие и закрытие файлов, создание новых файлов или переименование существующих. You should not use Scale-Out File Server if your workload generates a high number of metadata operations, such as opening files, closing files, creating new files, or renaming existing files. Типичный пользователь, работающий с информацией, создает множество операций с метаданными. A typical information worker would generate a lot of metadata operations. Масштабируемый файловый сервер рекомендуется использовать, если важны масштабируемость и простота и требуются только те технологии, которые поддерживает масштабируемый файловый сервер. You should use a Scale-Out File Server if you are interested in the scalability and simplicity that it offers and if you only require technologies that are supported with Scale-Out File Server.

В следующей таблице перечислены возможности SMB 3.0, общие файловые системы Windows, технологии управления данными файловых серверов и общие рабочие нагрузки. The following table lists the capabilities in SMB 3.0, the common Windows file systems, file server data management technologies, and common workloads. Вы можете увидеть, поддерживается ли технология масштабируемым файловым сервером, или требуется традиционный кластерный файловый сервер (также известный как файловый сервер общего назначения). You can see whether the technology is supported with Scale-Out File Server, or if it requires a traditional clustered file server (also known as a file server for general use).

Область технологий Technology Area Функция Feature Кластер файлового сервера общего назначения General Use File Server Cluster Масштабируемый файловый сервер Scale-Out File Server
SMB SMB Непрерывная доступность SMB (\*) SMB Continuous Availability (\*) Да Yes Да Yes
SMB SMB Технология SMB Multichannel SMB Multichannel Да Yes Да Yes
SMB SMB SMB Direct SMB Direct Да Yes Да Yes
SMB SMB Шифрование SMB SMB Encryption Да Yes Да Yes
SMB SMB Прозрачная отработка отказа SMB SMB Transparent failover Да (если включена постоянная доступность) Yes (if continuous availability is enabled) Да Yes
Файловая система File System NTFS NTFS Да Yes Н/Д NA
Файловая система File System Отказоустойчивая файловая система (ReFS) Resilient File System (ReFS) Рекомендуется с Локальные дисковые пространства Recommended with Storage Spaces Direct Рекомендуется с Локальные дисковые пространства Recommended with Storage Spaces Direct
Файловая система File System Файловая система общего тома кластера (CSV) Cluster Shared Volume File System (CSV) Н/Д NA Да Yes
Управление файлами File Management BranchCache BranchCache Да Yes Нет No
Управление файлами File Management Дедупликация данных (Windows Server 2012) Data Deduplication (Windows Server 2012) Да Yes Нет No
Управление файлами File Management Дедупликация данных (Windows Server 2012 R2) Data Deduplication (Windows Server 2012 R2) Да Yes Да (только VDI) Yes (VDI only)
Управление файлами File Management Корень корневого сервера пространства имен DFS (DFSN) DFS Namespace (DFSN) root server root Да Yes Нет No
Управление файлами File Management Целевой сервер папки пространства имен DFS (DFSN) DFS Namespace (DFSN) folder target server Да Yes Да Yes
Управление файлами File Management Репликация DFS (DFSR) DFS Replication (DFSR) Да Yes Нет No
Управление файлами File Management Диспетчер ресурсов файлового сервера (экраны и квоты) File Server Resource Manager (Screens and Quotas) Да Yes Нет No
Управление файлами File Management Инфраструктура классификации файлов File Classification Infrastructure Да Yes Нет No
Управление файлами File Management Динамический контроль доступа (доступ на основе утверждений, CAP) Dynamic Access Control (claim-based access, CAP) Да Yes Нет No
Управление файлами File Management Перенаправление папок Folder Redirection Да Yes Не рекомендуется Not recommended
Управление файлами File Management Автономные файлы (кэширование на стороне клиента) Offline Files (client side caching) Да Yes Не рекомендуется Not recommended
Управление файлами File Management Проверка перемещаемых профилей пользователей Roaming User Profiles Да Yes Не рекомендуется Not recommended
Управление файлами File Management Домашние каталоги Home Directories Да Yes Не рекомендуется Not recommended
Управление файлами File Management рабочие папки Work Folders Да Yes Нет No
NFS NFS Сервер NFS NFS Server Да Yes Нет No
Приложения Applications Hyper-V Hyper-V Не рекомендуется Not recommended Да Yes
Приложения Applications Microsoft SQL Server Microsoft SQL Server Не рекомендуется Not recommended Да Yes

Перенаправление папок, автономные файлы, перемещаемые профили пользователей или домашние каталоги создают большое количество операций записи, которые должны немедленно записываться на диск (без буферизации) при использовании постоянно доступных файловых ресурсов, что снижает производительность по сравнению с общими файловыми ресурсами общего назначения. Folder Redirection, Offline Files, Roaming User Profiles, or Home Directories generate a large number of writes that must be immediately written to disk (without buffering) when using continuously available file shares, reducing performance as compared to general purpose file shares. Постоянно доступные файловые ресурсы также несовместимы с диспетчером ресурсов файлового сервера и ПК под управлением Windows XP. Continuously available file shares are also incompatible with File Server Resource Manager and PCs running Windows XP. Кроме того, автономные файлы может не переходить в режим «вне сети» на 3-6 минут после того, как пользователь теряет доступ к общей папке, что может привести к невозможности использовать режим «всегда автономный» автономные файлы. Additionally, Offline Files might not transition to offline mode for 3-6 minutes after a user loses access to a share, which could frustrate users who aren’t yet using the Always Offline mode of Offline Files.

Практическое применение Practical applications

Масштабируемые файловые серверы идеально подходят для хранилища серверных приложений. Scale-Out File Servers are ideal for server application storage. Ниже перечислены некоторые примеры серверных приложений, которые могут хранить свои данные в масштабируемом файловом ресурсе. Some examples of server applications that can store their data on a scale-out file share are listed below:

  • Веб-сервер IIS может хранить конфигурацию и данные для веб-сайтов в масштабируемом файловом ресурсе. The Internet Information Services (IIS) Web server can store configuration and data for Web sites on a scale-out file share. Дополнительные сведения см. в разделе Общая конфигурация. For more information, see Shared Configuration.
  • Hyper-V может хранить конфигурацию и динамические виртуальные диски в масштабируемом файловом ресурсе. Hyper-V can store configuration and live virtual disks on a scale-out file share. Дополнительные сведения см. в разделе Развертывание Hyper-V через SMB. For more information, see Deploy Hyper-V over SMB.
  • SQL Server может хранить динамические файлы базы данных в масштабируемом файловом ресурсе. SQL Server can store live database files on a scale-out file share. Дополнительные сведения см. в разделе Установка SQL Server с файловым ресурсом SMB в качестве хранилища. For more information, see Install SQL Server with SMB file share as a storage option.
  • Диспетчер виртуальных машин (VMM) может хранить общую папку библиотеки (содержащую шаблоны виртуальных машин и связанные файлы) в масштабируемом файловом ресурсе. Virtual Machine Manager (VMM) can store a library share (which contains virtual machine templates and related files) on a scale-out file share. Однако сам сервер библиотеки не может быть Scale-Out файловым сервером — он должен находиться на изолированном сервере или отказоустойчивом кластере, который не использует роль кластера Scale-Out файлового сервера. However, the library server itself can’t be a Scale-Out File Server—it must be on a stand-alone server or a failover cluster that doesn’t use the Scale-Out File Server cluster role.

При использовании масштабируемого файлового ресурса в качестве общей папки библиотеки можно применять только те технологии, которые совместимы с масштабируемым файловым сервером. If you use a scale-out file share as a library share, you can use only technologies that are compatible with Scale-Out File Server. Например, репликация DFS нельзя использовать для репликации общей папки библиотеки, размещенной в масштабируемом файловом ресурсе. For example, you can’t use DFS Replication to replicate a library share hosted on a scale-out file share. Также важно наличие на масштабируемом файловом сервере установленных последних обновлений программного обеспечения. It’s also important that the scale-out file server have the latest software updates installed.

Чтобы использовать масштабируемый файловый ресурс в качестве общей папки библиотеки, сначала добавьте сервер библиотеки (скорее всего, это виртуальная машина) с локальной общей папкой или вообще без общих папок. To use a scale-out file share as a library share, first add a library server (likely a virtual machine) with a local share or no shares at all. Затем при добавлении общей папки библиотеки выберите общую папку, размещенную на масштабируемом файловом сервере. Then when you add a library share, choose a file share that’s hosted on a scale-out file server. Этот ресурс должен быть управляемым VMM и созданным исключительно для использования сервером библиотеки. This share should be VMM-managed and created exclusively for use by the library server. Также не забудьте установить последние обновления на масштабируемом файловом сервере. Also make sure to install the latest updates on the scale-out file server. Дополнительные сведения о добавлении серверов библиотек VMM и общих папок библиотек см. в статье Добавление профилей в БИБЛИОТЕКУ VMM. For more information about adding VMM library servers and library shares, see Add profiles to the VMM library. Список доступных в настоящее время исправлений для файловых служб и служб хранилища см. в статье базы знаний Майкрософт 2899011. For a list of currently available hotfixes for File and Storage Services, see Microsoft Knowledge Base article 2899011.

Некоторые пользователи, например информационные работники, имеют рабочие нагрузки, которые значительно влияют на производительность. Some users, such as information workers, have workloads that have a greater impact on performance. Например, если такие операции, как открытие и закрытие файлов, создание новых файлов и переименование существующих файлов, выполняются несколькими пользователями, они оказывают влияние на производительность. For example, operations like opening and closing files, creating new files, and renaming existing files, when performed by multiple users, have an impact on performance. Если файловый ресурс включен с непрерывной доступностью, он обеспечивает целостность данных, но также влияет на общую производительность. If a file share is enabled with continuous availability, it provides data integrity, but it also affects the overall performance. Для постоянной доступности требуется сквозная запись данных на диск, чтобы обеспечить целостность в случае сбоя узла кластера на масштабируемом файловом сервере. Continuous availability requires that data writes through to the disk to ensure integrity in the event of a failure of a cluster node in a Scale-Out File Server. Таким образом, пользователь, который копирует несколько больших файлов на файловый сервер, может ожидать значительно более низкую производительность на постоянно доступном файловом ресурсе. Therefore, a user that copies several large files to a file server can expect significantly slower performance on continuously available file share.

Компоненты, используемые в данном сценарии Features included in this scenario

В следующей таблице перечислены компоненты, являющиеся частью данного сценария, и описано, как они поддерживают его. The following table lists the features that are part of this scenario and describes how they support it.

Читайте также:  Входящие подключения windows 10 что это
Оцените статью