Dell EMC PowerStore 配置 SMB 共享 2.x 6 月 2021 年 Rev.
注意、小心和警告 注: “注意”表示帮助您更好地使用该产品的重要信息。 小心: “小心”表示可能会损坏硬件或导致数据丢失,并告诉您如何避免此类问题。 警告: “警告”表示可能会导致财产损失、人身伤害甚至死亡。 © 2020 年 - 2021 年 Dell Inc. 或其子公司。保留所有权利。Dell、EMC 和其他商标是 Dell Inc.
目录 其他资源.........................................................................................................................................4 章 1: 概述........................................................................................................................................ 5 SMB 支持............................................................................................................................................................................... 5 规划注意事项..............................
序言 为了不断改进,我们将定期发布软件和硬件产品的修订版。本文档中介绍的一些功能可能不被当前使用的软件或硬件的所有版本支 持。本产品发行说明提供了有关产品功能的新信息。如果某产品不能正常运行或其功能与本文档的描述不符,请与您的服务提供商 联系。 从何处获得帮助 可以按如下方式获取支持、产品和许可信息: ● 产品信息 有关产品和功能的文档或发行说明,请访问 PowerStore 文档页面,地址为 https://www.dell.com/powerstoredocs。 ● 故障排除 有关产品、软件更新、许可和服务的信息,请转到 https://www.dell.com/support,并找到相应的产品支持页面。 ● 技术支持 如需技术支持,如有服务请求,请转至 https://www.dell.
1 概述 本章包含下列信息。 主题: • • SMB 支持 规划注意事项 SMB 支持 PowerStore T 型号 支持 SMB 1 至 SMB 3.1.
可以选择性地为 NAS 服务器创建网络 VLAN 和 IP 地址。如果计划为 NAS 服务器创建 VLAN,则不能与 PowerStore T 型号 管理或存 储网络共享 VLAN。此外,请确保与您的网络管理员合作,以保留网络资源并在交换机上配置网络。有关详细信息,请参阅 PowerStore T 型号 PowerStore 网络指南。 部署要求 NAS 服务仅在 PowerStore T 型号 设备上可用。如果您运行的是 PowerStore X 型号 设备,则此服务不可用。 您必须已在 PowerStore T 型号 设备的初始配置期间选择 Unified。如果您在运行初始配置向导时选择了 Block Optimized,则不会 安装 NAS 服务。要安装 NAS 服务,将需要由客户支持代表重新初始化系统。重新初始化系统: ● 将设备设置回出厂状态。 ● 通过 Initial Configuration Wizard 删除在系统上完成的所有配置。 ● 删除初始配置后在 PowerStore 中执行的任何配置。 其他考虑事项 要创建 NAS 服务器,设备上的两个节点都必须启动并运行。如果设备上的其中一个
2 创建 NAS 服务器 本章包含下列信息。 主题: 配置 NAS 服务器的概述 为 SMB(仅限 Windows)文件系统创建 NAS 服务器 更改 NAS 服务器设置 • • • 配置 NAS 服务器的概述 在 PowerStore T 型号 设备上调配文件存储之前,必须在系统上运行 NAS 服务器。NAS 服务器是一个支持 SMB 协议和/或 NFS 协议 以与主机客户端共享数据的文件服务器。它还编制、组织关联的文件系统并优化对其的读写操作。 本文档介绍了如何使用 SMB 协议配置 NAS 服务器,然后可在其中创建具有 SMB 共享的文件系统。 为 SMB(仅限 Windows)文件系统创建 NAS 服务器 在创建文件系统之前创建 NAS 服务器。 前提条件 获取以下信息: ● NAS 服务器的网络端口、IP 地址、子网掩码/前缀长度、网关信息。 注: IP 地址和子网掩码/前缀长度为必填项。 ● 如果交换机端口支持 VLAN 标记,则获取 VLAN 标识符。 注: 您不能重复使用管理和存储网络所用的 VLAN。 ● 如果您要配置独立的 NAS 服务器,请获取工作组和 NetBIOS 名称。然后
向导屏幕 描述 如果您将 NAS 服务器加入 AD,可视需要选择高级,更改默认 NetBios 名称和组织单位。 DNS 如果您选择 Join to the Active Directory Domain,则必须添加 DNS 服务器。 (可选)如果要为独立 SMB 服务器使用 DNS 服务器,请启用 DNS。 用户映射 如果您已选择加入 Active Directory 域,将显示 User Mapping 页面。 保留默认的 Enable automatic mapping for unmapped Windows accounts/users 设置,以支持加入 Active Directory 域。加入 Active Directory 域时需要使用自动映射。 摘要 查看内容,然后选择上一步以返回并进行任何更正。 4.
3 附加 NAS 服务器功能 本章包含以下内容。 主题: • • • • 配置 FTP 或 SFTP 共享协议 配置 NAS 服务器网络 启用 NDMP 保护和事件 配置 NAS 服务器安全性 配置 FTP 或 SFTP 共享协议 您可以在创建 NAS 服务器后配置 FTP 或 FTP over SSH (SFTP)。 前提条件 被动模式 FTP 不受支持。 关于此任务 可以使用与 SMB 相同的方法对 FTP 访问进行身份验证。身份验证完成后,访问与 SMB 相同以实现安全和权限目的。如果格式为 domain@user 或 domain\user,将使用 SMB 身份验证。SMB 身份验证使用 Windows 域控制器。 步骤 1. 选择 Storage > NAS Servers > [nas server] > Sharing Protocols > FTP 选项卡。 2. 在 FTP 下,如果“Disabled”处于开启状态,请滑动按钮以 Enable。 3. 还可以选择启用 SSH FTP。在 SFTP 下,如果“Disabled”处于开启状态,请滑动按钮以 Enable。 4.
为 NAS 服务器配置文件接口 在将服务器添加到 PowerStore 之后,您可以为 NAS 服务器配置文件接口。 关于此任务 您可以添加更多文件接口,并定义要使用的首选接口。此外,您还可以定义要用于生产和备份的接口,或用于 IPv4 或 IPv6 的接口。 步骤 1. 选择 Storage > NAS Servers > [nas server]。 2. 单击 Add 将另一个文件接口添加到 NAS 服务器。 3. 输入文件接口属性。 注: 您不能重复使用管理和存储网络所用的 VLAN。 4.
● 完整备份和增量备份。 步骤 1. 选择 Storage > NAS Servers > [nas server] > Protection and Events。 2. 在 NDMP Backup 下,如果 Disabled 处于开启状态,请滑动按钮以更改为 Enabled。 3. 为 New Password 输入密码。 用户名始终是 ndmp。 4. 在 Verify Password 中,再次输入新密码。 5.
启用 Common AntiVirus Agent (CAVA) 当您想要将防病毒保护添加到 SMB 共享时,可以启用 CAVA 并上传 CAVA 配置文件。 步骤 1. 从 PowerStore Manager 转至 Storage > NAS Servers > [nas server] > Security > Antivirus 选项卡。 2. 如果“Disabled”处于开启状态,请滑动按钮以更改为 Enabled。 3. 如果没有可用的最新 CAVA 配置文件: a. 单击 Retrieve Current Configuration。 b. 填好 CAVA 配置文件模板。 c. 上传更新后的 CAVA 配置文件。 4.
4 创建文件系统和 SMB 共享 本章包含以下内容。 主题: 创建文件系统 创建 SMB 共享 • • 创建文件系统 必须在 NAS 服务器上创建文件系统,然后才能创建 SMB 共享。 前提条件 请确保有一个 NAS 服务器配置为支持 SMB 协议,如配置 NAS 服务器中所述。 步骤 1. 选择 Storage > File Systems,然后单击 Create。 2.
SMB 的文件系统高级设置 您可以在创建文件系统时将高级设置添加到已启用 SMB 的文件系统。 表.
选项 描述 SMB Share Details 输入共享的名称和本地路径。当输入本地路径时: ● 您可以在单个 SMB 文件系统上创建多个具有相同本地路径的共享。在这些情况下,您可为不同用户指 定不同的主机端访问控制,但文件系统中的共享均可访问相同的内容。 ● 必须存在一个目录,然后才可在其上创建共享。如果您希望同一文件系统中的 SMB 共享能够访问不同 内容,必须先从映射到该文件系统的 Windows 主机创建目录。然后,您可以使用 PowerStore 创建相应 的共享。还可从 Microsoft 管理控制台中创建和管理 SMB 共享。 PowerStore 还创建了 SMB 共享路径,该路径使用主机连接到共享。 导出路径是文件系统的 IP 地址和共享的名称。主机使用文件名或共享路径从网络主机装载共享或映射到共 享。 Advanced SMB Properties 启用一个或多个高级 SMB 设置。 ● Continuous Availability ● Protocol Encryption ● Access-based Enumeration ● Branch Cache Enabled 决
表.
5 更多文件系统功能 本章包含下列信息。 主题: 文件系统配额 • 文件系统配额 您可以跟踪驱动器空间使用量,并通过在文件系统或目录级别配置文件系统配额来限制驱动器空间使用量。您可以随时启用或禁用 配额,但建议您在非高峰生产时段启用或禁用它们,以避免影响文件系统操作。 注: 无法为只读文件系统启用配额。 配额类型 您可在文件系统上设置三种类型的配额。 表. 4: 配额类型 类型 描述 用户配额 限制单个用户在文件系统上存储数据所占用的存储量。 树配额 树配额限制特定目录树所占用的存储总量。您可以将树配额用于以下目的: ● 按项目设置存储限制。例如,您可以为有多个用户在其中共享和创建文件的项目目 录建立树配额。 ● 通过将树配额硬限制和软限制设置为 0(零)来跟踪目录使用情况。 注: 如果您更改了树配额的限制,这些更改会立即生效,而不会中断文件系统操作。 配额树上的用户配额 限制单个用户的配额树上存储数据所占用的存储量。 配额限制 表.
配额宽限期 利用配额宽限期,可以为文件系统上的每个树配额设置特定宽限期。宽限期将倒计时软限制和硬限制之间的时间,并在达到硬限制 之前提醒用户剩余的时间。如果宽限期已过期,即使未达到硬限制,您也无法写入到文件系统,直到添加更多空间为止。 您可以为宽限期设置到期日期。默认值为 7 天,您也可以将宽限期到期日期设置为无限长时间,宽限期将永不过期,或设置为指定 的天数、小时数或分钟数。达到宽限期到期日期后,宽限期将不再应用于文件系统目录。 其他信息 有关配额的详细信息,请参阅 Dell EMC PowerStore 文件功能白皮书。 启用用户配额 您必须先启用配额并设置用户配额默认值,然后才能将用户配额添加到文件系统。 步骤 1. 选择 Storage > File Systems > [file system] > Quotas。 2. 选择 Storage > File Systems > [file system] > Quotas > Properties。 3. 将 Disabled 按钮向右滑动,直到变成 Enabled。 4.
● 要跟踪空间使用情况而不设置限制,将 Soft Limit 和 Hard Limit 字段设为 0 即可,这表示无限制。 5. 选择 Add。 在配额树上添加用户配额 在配额树上创建用户配额,以限制或跟踪在该树上单个用户占用的存储空间量。在树上创建用户配额时,您可以使用在树配额级别 设置的默认宽限期以及默认硬限制和软限制。 步骤 1. 选择 Storage > File Systems > [file system] > Quotas > Tree Quotas。 2. 选择一个路径,然后单击 Add User Quota。 3.