.

NAS

Network-attached storage (NAS) is a storage device accessed through a network connection. It provides shared storage for efficient user collaboration. Typically a NAS is a local server handling only file-sharing requests and data storage. StorONE storage engine allows you to set a NAS server over an S1 two-node storage cluster.

Before you begin

  • Unlike conventional NAS, StorOne NAS does not require dedicated NAS server hardware.
  • The two-node storage must be set up and running.

Creating a NAS server

Use the nas_servers create command to set up a NAS server over S1 two-node storage cluster.

Usage:

nas_servers create <nas-name> --floatingIps=<fIPname> [(--nisDomain=<nis-d-name> --nisServer=<nis-hn/ip>)]
	--workgroup=<wg-name> | (--activedirectory=<ad-name> --username=<u-name> --password=<u-pwd> [--overwrite_existing_server])

Options:

Required

Options and arguments Description
<nas-name> Name your NAS server, replace the positional argument <nas-name> with a name of your choice.
--floatingIps=<fIPname> Set floating IP for the NAS server, replace <fIPname> with floating IP name.
  • Optional: associate network information server NIS with NAS:

    Options and arguments Description
    --nisServer=<nis-hn/ip> To specify NIS hostname/IP information, replace <nis-hn/ip> with NIS IP or hostname.
    --nisDomain=<nis-d-name> To connect to NIS domain, replace <nis-d-name> with your NIS domain name.
  • Required: You must associate the NAS server either with a workgroup domain (WG) or an active directory (AD) domain service (DS).

    Options and arguments Description
    --workgroup=<wg-name> Associate workgroup with NAS. Replace <wg-name> with the workgroup name.
    --activedirectory=<ad-name> Associate AD with NAS. Replace <ad-name> with the active directory name.
    --username=<u-name> Username for AC DS. Replace <u-name> with the AD user name.
    --passwod=<u-pwd> User password for AD DS. Replace <u-pwd> with AD user password
  • Optional: For active directory settings.

    • Computer attached to an active directory domain service may have the same name as your NAS server. In this case, you may overwrite the computer object by adding the optional --overwrite_existing_server modifier.

Examples:

  1. To create a NAS server with:
  • Name: fibo
  • Floating IP: 192.168.1.32
  • No NIS connection
  • Association: Active directory name math, AD user name: admin, AD user password: pwd123
    run:
    nas_servers create fibo --floatingIps 192.168.1.32 --activedirectory math --username admin --passwod=pwd123
  1. To create a NAS server with:
    • Name bravo
    • Floating IP: 192.168.1.25
    • NIS server IP: 192.168.44.28
    • NIS Domain name: Nlearn
    • Workgroup: Ateam
      run:
      ````nas_servers create bravo –floatingIps 192.168.1.25 –nisDomain Nlearn –nisServer 192.168.44.28 –workgroup=Ateam ```

Delete a NAS server

To delete a NAS server, use the nas_servers delete command. This command takes only one argument, the name of the NAS server.

Usage:

	nas_servers delete <nas-server-name>

Examples:

To delete a NAS server named math, run:

nas_servers delete math

Edit a NAS server

Use the nas_servers edit to edit an existing NAS server.

Usage:

nas_servers edit <nas-name> [--newname=<nas-newname> --floatingIps=<fIP-name> (--nisDomain=<nis-d-name> --nisServer=<nis-hn/ip>)
	--workgroup=<wg-name> | (--activedirectory=<ad-name> --username=<u-name> --password=<u-pwd> [--overwrite_existing_server])]

Options:

  • Required:

    Options and argument Description
    <nas-name> Name your NAS server. replace positional argument <nas-name> with a name of your choice
  • Optional:

    Options and arguments Description
    --newname=<nas-newname> To rename the NAS server, replace <nas-newname> with your name of choice.
    --floatingIps=<fIP-name> To edit floating IP for your NAS server, replace <fIP-name> with floating IP name.
    --nisServer=<nis-hn/ip> Edit NIS hostname/IP information. Replace <nis-hn/ip> with NIS IP or hostname.
    --nisDomain=<nis-d-name> Edit Connection to NIS domain. Replace <nis-d-name> with your NIS domain name.
    --workgroup=<wg-name> Associate workgroup with NAS. Replace <wg-name> with the new workgroup name.
    --activedirectory=<ad-name> Associate AD with NAS. Replace <ad-name> with the new active directory name.
    --username=<u-name> Edit username for AD DS. Replace <u-name> with the AD user name.
    --passwod=<u-pwd> Edit user password for AD DS. Replace <u-pwd> with AD user password
    --overwrite_existing_server Overwrite object of an AD listed computer that overlap NAS server name.

Examples:

  1. To rename the NAS server named math to physics, run the following command:

    nas_servers edit math --rename physics
    

List NAS servers

To list all NAS servers, use the nas_servers list command.

Usage:

```
nas_servers list [--details]
```

Options:

Options and arguments Description
--details Display extended detailed information about NAS servers

Examples:

  1. To display a list of all NAS servers, run nas_servers list
  2. To display detailed information on all of your NAS servers, run nas_servers list --details

Joining to active directory

Use the nas_servers active_directory test_join command, to check whether NAS servers can join an active directory domain server.

Usage:

nas_servers active_directory test_join

examples

  1. To check whether NAS servers can join an Active Directory network, run
    	nas_servers active_directory test_join
    
Last updated on 15 Nov 2022
Published on 30 Oct 2022