Create a NAS Server
Network-attached storage (NAS) servers are file-based storage devices that connect to a network. They provide a centralized location for storing and sharing files, and can be accessed by any device on the network, including computers, laptops, smartphones, and tablets.
NAS servers are a reliable and easy-to-use file storage solution. They can be set up quickly and easily, and provide a secure and cost-effective way to store large amounts of data. NAS servers can be scaled to meet the needs of growing businesses, making them a versatile and scalable storage solution.
The StorONE system includes a built-in NAS server for presenting shares over the Network File System (NFS) and Common Internet File System (CIFS) protocols. CIFS is a Server Message Block (SMB) compatible protocol.
Note: Only one NAS server can be created per StorONE system
Before you begin
Before you can create a NAS server in the StorONE system, you must create a floating IP to assign to the NAS server. This IP floats between the S1 controller nodes, depending on which controller node is hosting the NAS server.
For more information, see Creating floating IPs.
Creating a NAS server
The StorONE system supports only a single NAS server per system. To create a NAS server, use the command
nas_servers create --name=<nas_name> --floatingIps=<name...> [(--nisDomain=<nis_domain> --nisServer=<nis_server>)] --workgroup=<wg_name> | (--activeDirectory=<ad_domain> --username=<ad_username> --password=<ad_password> [--overwriteExistingServer])
Command options
--name=<nas_name>
: The name of the NAS server. In addition to being the name used by the StorONE system for reference in the user interfaces, this name is used when registering with Active Directory (AD). If you are using multiple StorONE systems within the same AD domain, each name must be unique.--floatingIps=<name...>
: The names of the floating IPs to use for the NAS server.--nisDomain=<nis_domain>
: The name of the NIS domain, if required.--nisServer=<nis_server>
: The DNS name or IP address of the NIS server, if required.--workgroup=<wg_name>
: The workgroup name. The workgroup option is mutually exclusive with the Active Directory (AD) options. If you are only using NFS shares, use the workgroup option and specify any workgroup name.--activeDirectory=<ad_domain>
: The AD domain to join to. The AD options are mutually exclusive with the workgroup option.--username=<ad_username>
: An AD account username with permissions to join a computer object to the domain.--password=<ad_password>
: The password for the specified AD account.--overwriteExistingServer
: If the controller node machine object already exists in AD, overwrite it.
Examples
- To create a NAS server named
s1_nas
for use with NFS only, and a floating IP namednfs_nas_ip
:nas_servers create --name s1_nas --floatingIps nfs_nas_ip --workgroup workgroup
- To create a NAS server named
storone-nas
for use with NFS and SMB, joined to theexample.org
Active Directory domain, and using thenas-ip
floating IP:nas_servers create --name storone-nas --floatingIps nas-ip --activeDirectory example.org --username psherman --password St0rONEr0x!
No Comments