Chat now with support
Chat with Support

QoreStor 6.0.0 - Command Line Reference Guide

Introduction to the QoreStor Command Line Reference Guide Introducing QoreStor Managing QoreStor
Alerts Commands Authenticate Commands Email_alerts Commands OST RDA Sc_manager command Stats Storage Group commands System User
Managing QoreStor Storage Operations
Cloud_tier Connection Container iSCSI NDMP Performance_tier Replication Seed Schedule VTL
Maintaining QoreStor About us

Connection Command Usage

This topic introduces the connection command usage:

  • connection --show [options]
  • connection --add --name [options]
  • connection --update [options]
  • connection --delete [options]
  • connection --enable [options]
  • connection --disable [options]
  • connection --help

NOTE: If you specify a command without supplying the expected value or option, you are prompted to provide the correct value or option.

connection --show [--name <name>] [--type <NFS|CIFS|OST|RDS|NDMP|ISCSI|FC>] [--verbose]

Description

Displays the current connections on a container.

NOTE: In addition to displaying the current status of an existing container connection, this command also verifies if an existing container connection is disabled (by listing its status as offline).

Syntax

connection --show [--name <name>] [--type <NFS|||||>][--verbose]

Where

--name      Name of container. ABC
--type      Type of sharing (NFS|||||).
--verbose   Show further details.

Result

Container Name                Connection Type
Target                           
avc                              

Other Examples

Display the complete status of all existing container connections by using the --verbose command on a QoreStor (this example only shows a partial display of the total output):

Container Entry ID              : 1
Container Name                  : NV_QS1
 connection Entry ID         : 1
 connection Quota            : Unlimited
 connection Used Capacity    : 257.0 GiB
 connection Enabled          : Yes
 connection status           : Available

connection --add --name <name> --type <NFS|CIFS|OST|RDS|NDMP|ISCSI|FC> [--clients <ip address>][--dma <ip address>][--initiator <IQN, ip address(es), hostname, or WWPN>][--target <WWPN>][--rootmap <nobody|root|administrator>] [--options <NFS|CIFS

Description

Adds a new connection to a container.

Syntax

connection --add --name <name> --type <NFS|||||> 
	[--clients <ip address>] 
	[--dma <ip address>] 
	[--initiator <IQN, ip address, hname, or WWPN>] 
	[--map <nobody |  | administrator>] 
	[--options <NFS |  mount export options>] 
	[--capacity <Positive decimal number>]

Where

--name        Name of container.
--type        Type of sharing required (NFS|||||).
--clients     Restrict NFS/ access to this list of comma separated hs.
--dma         Restrict  access to this DMA h.
--initiator   Restrict /FC access to this /FC initiator.
--map     How to map  for NFS.
--options     mount options NFS (rw,ro,insecure), (hide,unhide).
--capacity     usable capacity in Gigabytes.

Result

Successfully added connection entry.
 connection Quota            : 10
 connection Enabled          : Yes

connection --update --name <name> --type <NFS|CIFS|OST|RDS|NDMP|ISCSI|FC> [--clients <ip address>][--dma <ip address>][--initiator <IQN, ip address(es), hostname, or WWPN>][--target <WWPN>][--rootmap <nobody|root|administrator>] [--options <NFS|CI

Description

Updates or modifies the connection values on an existing container connection on a QoreStor. The --capacity command option lets you specify a positive decimal number to represent the capacity size (in Gigabytes (GB)) of an container.

NOTE: container connections are unlimited by default, and type container connections only support unlimited capacity.

Syntax

connection --update --name <name>
	--type <NFS|||||>
	[--clients <ip address>]
	[--dma <ip address>]
	[--initiator <IQN, ip address, hname, or WWPN>]
	[--map <nobody |  | administrator>]
	[--options <NFS |  mount export options>]
	[--capacity <Positive decimal number>]

Where

--name        Name of container.
--type        Type of sharing required (NFS|||||).
--clients     Restrict NFS/ access to this list of comma separated hs.
--dma         Restrict  access to this DMA h.
--initiator   Restrict /FC access to this /FC initiator.
--map     How to map  for NFS.
--options     mount options NFS (rw,ro,insecure), (hide,unhide).
--capacity     usable capacity in Gigabytes.

Result

Successfully updated connection entry.
 connection Quota            : 200 GiB
 connection Used Capacity    : 0.0 GiB
 connection Enabled          : Yes
Related Documents