Configure replication using the CLI
Manage network interfaces
Create interfaces to enable and control access between the system, the network, and configured hosts. Specify the IP address for the interface as well as the IP addresses for the subnet mask and gateway.
You can create the following types of interfaces:
- iSCSI interfaces for controlling access to iSCSI storage. You assign the interface to an iSCSI node.
- Replication interfaces for replication-related data or management traffic.
The system configures each interface on a pair of symmetrical SP ports. The interface can be moved between SPs. You have the option of indicating which SP the interface will use, either a physical port or a link aggregation port. You also have the option of specifying a virtual LAN (VLAN) ID, for communicating with VLAN networks.
Each interface is identified by an ID.
The following table lists the interface attributes with a description of each.
Attribute
|
Description
|
||
---|---|---|---|
ID
|
ID of the interface.
|
||
Type
|
Interface type. Value is one of the following:
|
||
Port
|
ID of the physical port or link aggregation on an SP on which the interface is running. The ID includes the port name and SP name.
|
||
VLAN ID
|
Virtual local area network (VLAN) ID for the interface. The interface uses the ID to accept packets that have VLAN tags. The value range is 1-4095.
|
||
IP address
|
IPv4 or IPv6 address.
|
||
Subnet mask
|
IPv4 subnet mask.
|
||
Gateway
|
IPv4 or IPv6 gateway.
|
||
MAC address
|
MAC address of the interface.
|
||
SP
|
SP that uses the interface.
|
||
Health state
|
A numerical value indicating the health of the system. Value is one of the following:
|
||
Health details
|
Additional health information.
|
Create interfaces
Create an interface.
Format
/net/if create [ -async ] [-vlanId <value>] -type { iscsi | replication} -port <value> -addr <value> [-netmask <value>] [-gateway <value>]Action qualifier
Qualifier
|
Description
|
||
---|---|---|---|
-async
|
Run the creation operation in asynchronous mode.
|
||
-type
|
Specify the interface type. Value is one of the following:
|
||
-port
|
Specify the ID of the SP port or link aggregation that will use the interface.
|
||
-vlanId
|
Specify the virtual LAN (VLAN) ID for the interface. The interface uses the ID to accept packets that have VLAN tags. The value range is 1–4095.
|
||
-addr
|
Specify the IP address for the interface. The prefix length should be appended to the IPv6 address and, if omitted, will default to 64. For IPv4 addresses, the default length is 24. The IPv4 netmask may be specified in address attribute after slash.
|
||
-netmask
|
Specify the subnet mask for the interface.
|
||
-gateway
|
Specify the gateway for the interface.
|
Example
The following command creates a replication interface. The interface receives the ID IF_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if create -type replication -port eth1_spb -addr 10.0.0.1 -netmask 255.255.255.0 -gateway 10.0.0.1
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = IF_1
Operation completed successfully.
View interfaces
View a list of interfaces on the system. You can filter on the interface ID.
|
Format
/net/if [ {-id <value> | -port <value> | -type <value>} ] showObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of an interface.
|
-port
|
Type the port the interface is associated with.
|
-type
|
Specify the type of the interface. Valid values are:
|
Example
The following command displays the details of all interfaces on the system.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if show -detail
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = if_0
Type = file
NAS server = nas_0
Port = eth0_spa
VLAN ID = 0
IP address = 3ffe:80c0:22c:4e:a:0:2:7f/64
Subnet mask =
Gateway = fe80::20a8bff:fe5a:967c
IPv4 mode =
IPv4 address =
IPv4 subnet mask =
IPv4 gateway =
IPv6 mode = static
IPv6 address = 3ffe:80c0:22c:4e:a:0:2:7f/64
IPv6 link-local address =
IPv6 gateway = fe80::20a8bff:fe5a:967c
MAC address = EA:3E:22:3F:0C:62
SP = spa
Preferred = yes
2: ID = if_1
Type = file
NAS server = nas_1
Port = eth1_spb
VLAN ID = 1
IP address = 192.168.1.2
Subnet mask = 255.255.255.0
Gateway = 192.168.1.254
IPv4 mode = static
IPv4 address = 192.168.1.2
IPv4 subnet mask = 255.255.255.0
IPv4 gateway = 192.168.1.254
IPv6 mode =
IPv6 address =
IPv6 link-local address =
IPv6 gateway =
MAC address = EA:3E:22:21:7A:78
SP = spa
Preferred = yes
3: ID = if_2
Type = replication
NAS server =
Port = eth1_spb
VLAN ID =
IP address = 10.103.75.56
Subnet mask = 255.255.248.0
Gateway = 10.103.72.1
IPv4 mode = static
IPv4 address = 10.103.75.56
IPv4 subnet mask = 255.255.248.0
IPv4 gateway = 10.103.72.1
IPv6 mode =
IPv6 address =
IPv6 gateway =
MAC address = EA:3E:22:6D:BA:40
SP = spb
Preferred = no
Change interface settings
Change the settings for an interface.
Format
/net/if -id <value> set [-vlanId <value>] [-addr <value>] [-netmask <value>] [-gateway <value>]Object qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the interface to change.
|
Action qualifier
Qualifier
|
Description
|
||
---|---|---|---|
-vlanId
|
Type the virtual LAN (VLAN) ID for the interface. The interface uses the ID to accept packets that have VLAN tags. The value range is 1–4095.
|
||
-addr
|
Specify the IP address for the interface.
|
||
-netmask
|
Specify the IPv4 subnet mask for the interface.
|
||
-gateway
|
Specify the gateway for the interface.
|
Example
The following command changes the gateway address for interface IF_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456!/net/if –id IF_1 set -gateway 2001:db8:0:170:a:0:2:70
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = IF_1
Operation completed successfully.
Delete interfaces
Delete an interface.
|
NOTICE
Deleting an interface can break the connection between systems that use it, such as configured hosts.
|
Format
/net/if –id <value> deleteObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the interface to delete.
|
Example
The following command deletes interface IF_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if –id IF_1 delete
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Manage remote storage systems
Configure remote storage systems that connect to the system to which you are logged in. The system uses the configuration to access and communicate with the remote system. For example, to use remote replication, create a configuration that specifies the remote system to use as the destination for the replication session.
Each remote system configuration is identified by an ID.
The following table lists the attributes for remote storage systems:
Attribute
|
Description
|
||
---|---|---|---|
ID
|
ID of the remote system.
|
||
Model
|
Model number of the remote system.
|
||
Serial number
|
Serial number of the remote system.
|
||
Address
|
Network name or management IP address of the remote system.
|
||
Alternate management address
|
An alternative management IP address of the remote system.
|
||
Health state
|
Health state of the storage resource. The health state code appears in parentheses. Value is one of the following:
|
||
Health details
|
Additional health information.
|
||
Source user name
|
For storage systems that are the source in a replication session, the username that is used to access the system.
|
||
Source user password
|
For storage systems that are the source in a replication session, the user password that is used to access the system.
|
||
Local interfaces
|
The list of local interface identifiers used to create the interconnection between the two systems.
|
||
Remote interfaces
|
The list of remote interface identifiers used to create the interconnection between two systems.
|
||
Destination user name
|
For storage systems that are the destination in a replication session, the username that is used to access the system.
|
||
Destination user password
|
For storage systems that are the destination in a replication session, the user password that is used to access the system.
|
||
Connection type
|
The type of connection with the remote system. Valid values are:
|
||
Synchronous FC ports
|
The fibre channel ports enabled for synchronous replication.
|
Create remote system configurations
Configures a remote system configuration for the local system to access.
|
Note:
For a source VNX system with two control stations, the home directory of the sysadmin user, which is used in configuring the import connection, must exist on the primary control station of the VNX.
|
Format
/remote/sys create -addr <value> [-type VNX] -srcUsername <value> {-srcPassword <value> | -srcPasswordSecure} -dstUsername <value> {-dstPassword <value> | -dstPasswordSecure} [-connectionType {sync | async | both}]Action qualifiers
Qualifier
|
Description
|
---|---|
-addr
|
Specify the network name or IP address of the remote system.
|
-type
|
Specify the remote system type. Valid values are:
|
-srcUsername
|
For systems that are the source in a replication, type the username that is used to access the system.
|
-srcPassword
|
For systems that are the source in a replication, type the user password that is used to access the system.
|
-srcPasswordSecure
|
Specify the password in secure mode. Once you run the command with this qualifier, you will be asked to type the password separately.
|
-dstUsername
|
For systems that are the destination in a replication session or VNX in an import session, specify the username that is used to access the system.
|
-dstPassword
|
For systems that are the destination in a replication session or VNX in an import session, specify the user password that is used to access the system.
|
-dstPasswordSecure
|
Specify the password in secure mode. Once you run the command with this qualifier, you will be asked to type the password separately.
|
-connectionType
|
Specify this qualifier to indicate the type of replication connection. Valid values are async, sync, or both.
|
Example
The following command creates a remote system configuration with these settings:
- Network address is 10.64.75.10.
- Includes access credentials for when the system is the source or destination.
The configure remote system receives the ID RS_65536:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys create –addr 10.64.75.10 –type VNX -dstUsername admin1 -dstPassword Password789!
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = RS_65536
Operation completed successfully.
View settings for remote storage systems
View the configuration for a remote system on the local system. You can filter on the configuration ID of the remote system.
|
Format
/remote/sys [-id <value>] showObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of a remote system configuration.
|
Example
The following command lists all configurations for remote storage systems:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys show -detail
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = RS_1
Address = 10.2.3.1
Alternate Management Address =
Model = Unity 300
Serial number = FCNC987654321
Connection type = async
Local interfaces = N/A
Remote interfaces = N/A
Operational status = OK (0x2)
Health state = OK (5)
Health details = "Communication with the replication host is established. No action is required."
Synchronous FC ports = spb_fc4, spa_fc4
Verify settings for remote storage systems
Verify the configuration settings for a remote system to ensure that the source storage resource can connect to the remote storage resource.
Format
/remote/sys –id <value> verifyObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of a remote system configuration to verify the settings.
|
Example
The following command verifies remote system configuration RS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys –id RS_1 verify
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Change settings for remote storage systems
Changes the configuration settings for a remote system.
|
NOTICE
If a replication connection already exists and you plan to add a different mode of file replication, do not attempt to create a new connection. Change the existing replication connection mode to Both. Also, ensure that you have the appropriate interface types configured to support both asynchronous replication (eth2, eth3) and synchronous replication (sync replication mgmt port).
|
Format
/remote/sys -id <value> set [ -addr <value> ] [ -dstUsername <value> { -dstPassword <value> | -dstPasswordSecure } ] [ -connectionType {sync | async | both}]Object qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the remote system configuration to change.
|
Action qualifiers
Qualifier
|
Description
|
---|---|
-addr
|
Type the network name or management IP address of the remote system.
|
-dstUsername
|
Type the username that is used to access the remote system.
|
-dstPassword
|
Type the user password that is used to access the remote system.
|
-dstPasswordSecure
|
Specify the password in secure mode - the user will be prompted to input the password.
|
-connectionType
|
Specify this qualifier to indicate the type of replication connection. Valid values are async, sync, or both.
|
Example
The following command changes the name, IP address, and access credentials for remote system configuration RS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys –id RS_1 set –addr “10.64.74.2” -dstUsername Local/joe -dstPassword Password456!
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = RS_1
Operation completed successfully.
Delete remote system configurations
Deletes the configuration for a remote system.
|
Note:
Before deleting a remote system configuration, ensure that all I/O operations on the system, such as active replication sessions, have completed to avoid data loss.
|
Format
/remote/sys –id <value> deleteObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the remote system configuration to delete.
|
Example
The following command deletes remote system configuration RS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/sys –id RS_1 delete
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Cabinet level unplanned failover of replication sessions
Format
/remote/sys -id <value> failover [-force]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the remote system from which to failover its NAS server synchronous replication sessions.
|
Action qualifiers
Qualifier
|
Description
|
---|---|
-force
|
Specifies whether to skip checking the network connection to the remote system. Required when the network connection is healthy. No values are allowed.
|
Example
The following command executes a cabinet level unplanned failover replication operation issued for a Unity system:
uemcli /remote/sys -id RS_1 failover
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = RS_1
Operation completed successfully.
|
Note:
After an unplanned failover, the NAS servers and file systems on the original source system must be updated to reflect the new status. If there is a large number of NAS servers and file systems, this change may take several minutes to complete. During this period, resume and failback operations of the synchronous replication sessions will not work. It is recommended to wait for all of the updates to complete before running a resume or failback operation. There is no impact to data access while this update is occurring.
|
Manage replication sessions
Storage replication is a process in which storage data is duplicated either locally or to a remote network device. Replication produces a read-only, point-in-time copy of source storage data and periodically updates the copy, keeping it consistent with the source data. Storage replication provides an enhanced level of redundancy in case the main storage backup system fails. As a result:
- Downtime associated cost of a system failure is minimized.
- Recovery process from a natural or human-caused disaster is facilitated.
Each replication session is identified by an ID. The Unisphere online help provides more details about storage replication.
It is important to note that when replicating from a Unity system running a later OE version (for example, OE 4.1.x) to a Unity system running an older version (for example, OE 4.0.x), you cannot have new OE version features enabled on the source.
|
Note:
At any given point in time, only one command is supported on a replication session. Before running a new command, ensure that you wait for the existing action on the replication session to complete.
|
The following table lists the attributes for replication sessions:
Attribute
|
Description
|
||
---|---|---|---|
ID
|
ID of the session.
|
||
Name
|
Name of the replication session.
|
||
Session type
|
Storage type of the session. Valid values are:
|
||
Synchronization type
|
Type of synchronization. Valid values are:
|
||
RPO
|
Recovery Point Objective (RPO) interval for automatic synchronization. For synchronous replication, the RPO is set to 0 automatically.
|
||
Resource type
|
Type of storage resource to which the replication session is applied. Valid values are:
|
||
Sync State
|
Additional state of the replication session, specific to the replication mode.
|
||
Health state
|
Health state of the session. Valid values are:
|
||
Health details
|
Additional health information.
|
||
Operational status
|
Operational status of the session. The operational status code appears in parentheses.
|
||
Source status
|
Status of the source storage resource in the session. Valid values are:
|
||
Destination status
|
Status of the destination storage resource in the session. Valid values are:
|
||
Network status
|
Status of the network connection. Valid values are:
|
||
Destination type
|
Type of destination used in the session. Valid values are:
|
||
Destination system
|
For remote sessions, the ID of the remote system on which the data is replicated.
|
||
Local role
|
The local system role. Valid values are:
|
||
Source resource
|
ID of the storage resource that is the source of the session. The source can be local or remote.
|
||
Source SP A interface
|
ID of the interface on the SPA of the source system for the replication.
|
||
Source SP B interface
|
ID of the interface on the SPB of the source system for the replication.
|
||
Destination resource
|
ID of the storage resource on which the data is replicated.
|
||
Destination SP A interface
|
ID of the interface on the SPA of the destination system for the replication.
|
||
Destination SP B interface
|
ID of the interface on the SPB of the destination system for the replication.
|
||
Time of last sync
|
Date and time of the last replication synchronization.
|
||
Sync status
|
Percentage of the replication synchronization that has completed and the amount of time remaining.
|
||
Sync transfer rate
|
Synchronization transfer rate when the session is in the syncing state. For multi-LUN applications there is a comma-separated list of values.
|
||
Sync transfer size remaining
|
Remaining size to be transferred during synchronization. For multi-LUN applications there is a comma-separated list of values.
|
||
Previous transfer rate
|
Previous average transfer rate for the replication session.
|
||
Average transfer rate
|
Average transfer rate for the replication session.
|
||
Element pairs
|
For consistency group and VMware VMFS datastore replications, the LUN element pairs within the replication.
|
||
Hourly snapshot keep for
|
Amount of time to keep replicated hourly snapshots on the destination. Output can be:
|
||
Hourly snapshot allow auto-delete
|
Whether or not the destination pool's auto-delete policy allows replicated hourly snapshots on the destination to be deleted. Output can be:
|
||
Daily snapshot keep for
|
Amount of time to keep replicated daily snapshots on the destination. Output can be:
|
||
Daily snapshot allow auto-delete
|
Whether or not the destination pool's auto-delete policy allows the replicated daily snapshots on the destination to be deleted. Output can be:
|
||
Allow Async Snap Replication (file system asynchronous replication sessions only)
|
Indicates whether or not to allow snap replication in asynchronous replication sessions. Values are:
|
Create replication sessions
Create a replication session.
|
Note:
Snapshots that have been created and attached as well as read/write (share) snapshots (as opposed to read-only checkpoint snapshots) are not eligible for replication. Only unattached (read-only) snapshots are eligible for replication. For asynchronous replication, you can replicate existing snapshots and snapshots created from snapshot schedules. For synchronous file replication, you cannot replicate existing snapshots or snapshots created from snapshot schedules. You can only replicate those snapshots and snapshots created from snapshot schedules after you have established the synchronous replication session and it is Active.
|
|
Note:
On a NAS server protected by replication, you must create a replication session for each file system on it. Otherwise, file system related configurations like shares and exports may be lost after a NAS server replication session failover.
|
|
Note:
To do snapshot replication from a source system running OE version 4.0, 4.1, 4.2, 4.3, or 4.4 to a destination system running OE version 5.x, requires upgrading the source system to OE version 4.5 first. Upgrading to OE version 4.5 is not required but recommended if you want to do LUN or file system replication from OE version 4.0, 4.1, 4.2, 4.3, or 4.4 to OE version 5.x without any snapshot replication.
|
Prerequisites
Before creating a replication session, complete the following configuration tasks:
- Create the storage resource that provides the replication source.
- For local replication, create a replication destination on a local system.
- For remote replication, create a replication connection to a remote system, and create a replication destination on that remote system.
- For asynchronous replication in a coexisting asynchronous and synchronous replication with one source resource topology, create the asynchronous replication destination NAS server with both the -replDest and the -backupOnly attributes set to yes. These attributes must be set to yes on the asynchronous replication destination NAS server when the source NAS server is synchronous replicated; otherwise, the asynchronous replication session cannot be created.
Format
/prot/rep/session create [-async] -srcRes <value> [-srcSPAInterface <value>] [-srcSPBInterface <value>] –dstType {local | remote –dstSys <value>} -dstRes <value> [-dstSPAInterface <value>] [-dstSPBInterface <value>] [-name <value>] [-elementPairs <value>] [-syncType {manual [–autoInitiate {yes | no}] | auto [–rpo <value>]}[-replicateHourlySnaps {yes [{-keepSameAsSource | -keepFor <value> | -allowAutoDelete}] | no}] [-replicateDailySnaps {yes [{-keepSameAsSource | -keepFor <value> | -allowAutoDelete}] | no}] [-replicateExistingSnaps] [-allowAsyncSnapReplication {yes | no}]Action qualifiers
Qualifier
|
Description
|
||
---|---|---|---|
-async
|
Run an action in asynchronous mode.
|
||
-srcRes
|
Type the ID of the storage resource to use as the source.
|
||
-srcSPAInterface
|
Type the ID of the interface on the SPA of the source system for the replication.
|
||
-srcSPBInterface
|
Type the ID of the interface on the SPB of the source system for the replication.
|
||
-dstType
|
Specify the type of destination. Valid values are:
|
||
-dstSys
|
For remote replication, type the ID of the destination system.
View settings for remote storage systems explains how to view the IDs of the remote system configuration on the local system.
|
||
-dstRes
|
Type the ID of the destination storage resource.
|
||
-dstSPAInterface
|
Type the ID of the interface on the SPA of the destination system for the replication.
|
||
-dstSPBInterface
|
Type the ID of the interface on the SPB of the destination system for the replication.
|
||
-syncType
|
Specify how the source and destination will synchronize. Valid values are:
|
||
-autoInitiate
|
Specify whether the system will perform the first replication synchronization automatically. Valid values are:
|
||
-rpo
|
Type the time interval for when the synchronization will run. Use the following format:
<HH>[:MM] where:
|
||
-replicateHourlySnaps
|
Specify whether or not to mark hourly scheduled snapshots for replication. Valid values are:
|
||
-replicateDailySnaps
|
Specify whether or not to mark daily scheduled snapshots for replication. Valid values are:
|
||
-keepSameAsSource
|
Indicates whether or not to use the same retention policy (expiration time and auto-delete) of the source for the destination. This option propagates changes made to the source retention policy to the destination retention policy (from that point forward for newly created scheduled snapshots, old snapshots are left as is). No values are allowed.
This option is enabled by default if -keepFor or -allowAutoDelete are not set.
|
||
-keepFor
|
Specifies the retention time after which the snapshot is deleted on the destination. The interval can be defined in days or hours. Use the following format:
<value><qualifier> where:
|
||
-allowAutoDelete
|
Specify whether auto delete is allowed on the replicated copy of this snapshot or snapshot set. Valid values:
|
||
-replicateExistingSnaps
|
Indicates whether or not to replicate snapshots already existing on the source resource. This is a one-time option available during session creation that will replicate snapshots existing on the source at that moment in time. All eligible snapshots are replicated and have the source retention policy applied for the destination retention policy. For a snapshot to be eligible for this option, it must meet these 3 criteria:
|
||
-allowAsyncSnapReplication
|
Indicates whether or not to allow snapshot replication in asynchronous session. Restriction: For a storage resource, snap replication is allowed only in one of its asynchronous replication sessions. Valid values are:
|
Example
The following command creates a replication session with these settings:
- Source storage resource is file system RS_1.
- Destination system type is remote.
- Remote destination system is RS_2.
- Remote storage resource is file system LUN_2.
- Synchronization type is automatic.
- RPO is 2 hours and 30 minutes.
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
View replication sessions
View details about replication sessions. You can filter on the session ID.
|
Note:
The show action command explains how to change the output format.
|
Format
/prot/rep/session [{-id <value> | -name <value> | -res <value>}] showObject qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session.
|
-name
|
Type the name of the replication session.
|
-res
|
Type the ID of a local storage resource on the system to view the sessions associated with it.
|
Example 1
The following command displays all replication sessions on the system:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session show
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = 42949672967_FNM00134400082_0000_42949672967_FNM00131800278_0000
Name = REP1
Session type = nas server
Synchronization type = auto
Resource type = NAS Server
Destination type = remote
Example 2
The following command displays all replication sessions on the system and their details:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session show -detail
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = 42949672967_FNM00134400082_0000_42949672967_FNM00131800278_0000
Name = REP1
Session type = nas server
Synchronization type = auto
RPO =
Resource type = LUN
Sync State = idle
Health state = OK (5)
Health details = "This replication session is operating normally. No action is required."
Operational status = Idle (0x8404)
Source status = OK
Destination status = OK
Network status = OK
Destination type = local
Destination system = local
Local role = Local
Source resource = sv_1
Source SP-A interface = N/A
Source SP-B interface = N/A
Destination resource = sv_2
Destination SP-A interface = N/A
Destination SP-B interface = N/A
Time of last sync = N/A
Sync status =
Sync transfer rate = N/A
Sync transfer size remaining = 0
Previous transfer rate = N/A
Average transfer rate = N/A
Element pairs = N/A
Hourly snapshot keep for = 3h
Hourly snapshot allow auto-delete = no
Daily snapshot keep for = same as source
Daily snapshot allow auto-delete = same as source
Change replication session settings
Change the settings for a replication session.
Format
/prot/rep/session {–id <value> | -name <value>} set [-async] [-newName <value>] [-srcSPAInterface <value>] [-dstSPAInterface <value>] [-srcSPBInterface <value>] [-dstSPBInterface <value>] [-syncType {manual | auto -rpo <value>}] [-replicateHourlySnaps {yes [{-keepSameAsSource | -keepFor <value> | -allowAutoDelete}] | no}] [-replicateDailySnaps {yes [{-keepSameAsSource | -keepFor <value> | -allowAutoDelete}] | no}] [-allowAsyncSnapReplication {yes | no}]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to change.
|
-name
|
Type the name of the replication session to change.
|
Action qualifiers
Qualifier
|
Description
|
||||
---|---|---|---|---|---|
-async
|
Run an action in asynchronous mode.
|
||||
-newName
|
Type the new name of the replication session.
|
||||
-srcSPAInterface
|
Type the ID of the interface on the SPA of the source system for the replication.
|
||||
-srcSPBInterface
|
Type the ID of the interface on the SPB of the source system for the replication.
|
||||
-dstSPAInterface
|
Type the ID of the interface on the SPA of the destination system for the replication.
|
||||
-dstSPBInterface
|
Type the ID of the interface on the SPB of the destination system for the replication.
|
||||
-syncType
|
Specify how the source and destination will synchronize. Valid values are:
|
||||
-rpo
|
For automatic synchronization, type the time interval for when the synchronization will run. Use the following format:
<HH>[:MM] where:
|
||||
-replicateHourlySnaps
|
Specify whether or not to mark hourly scheduled snapshots for replication. Valid values are:
|
||||
-replicateDailySnaps
|
Specify whether or not to mark daily scheduled snapshots for replication. Valid values are:
|
||||
-keepSameAsSource
|
Specify whether or not to use the same retention policy (expiration time and auto-delete) of the source for the destination. This option propagates changes made to the source retention policy to the destination retention policy (from that point forward for newly created scheduled snapshots, old snapshots are left as is). No values are allowed.
|
||||
-keepFor
|
Specify the retention time after which the snapshot is deleted on the destination. The interval can be defined in days or hours. Use the following format:
<value><qualifier> where:
|
||||
-allowAutoDelete
|
|
||||
-allowAsyncSnapReplication
|
Indicates whether or not to allow snapshot replication in asynchronous session. Restriction: For a storage resource, snapshot replication is allowed only in one of its asynchronous replication sessions. Valid values are:
|
Example
The following command changes the source interface and destination interface for replication session 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 set –srcSPAInterface if_1 –srcSPBInterface if_2 –dstSPAInterface if_3 –dstSPBInterface if_4
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
Pause replication sessions
Pause a replication session.
Format
/prot/rep/session {-id <value> | -name <value>} pause [-async]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to be paused.
|
-name
|
Type the name of the replication session to be paused.
|
Action qualifiers
Qualifier
|
Description
|
---|---|
-async
|
Run an action in asynchronous mode.
|
Example
The following command pauses replication session 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 pause
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Resume replication sessions
Resumes an existing replication session.
Format
/prot/rep/session {–id <value> | -name <value>} resume [-async] [-forceFullCopy] [-srcSPAInterface <value>] [-dstSPAInterface <value>] [-srcSPBInterface value>] [-dstSPBInterface <value>] [-forceSyncData]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to be resumed.
|
-name
|
Type the name of the replication session to be resumed.
|
Action qualifiers
Qualifier
|
Description
|
||
---|---|---|---|
-async
|
Run an action in asynchronous mode.
|
||
-forceFullCopy
|
Specifies to force a full synchronization during the resume operation.
|
||
-srcSPAInterface
|
Type the ID of the interface on the SPA of the source system for the replication.
|
||
-dstSPAInterface
|
Type the ID of the interface on the SPA of the destination system for the replication.
|
||
-srcSPBInterface
|
Type the ID of the interface on the SPB of the source system for the replication.
|
||
-dstSPBInterface
|
Type the ID of the interface on the SPB of the destination system for the replication.
|
||
-forceSyncData
|
Specifies to force data transfer from the source system to the remote system even if the remote system has data not replicated from the source system.
|
Example
The following command resumes replication session 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 resume
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
Manually synchronize replication sessions
Manually synchronize a replication session.
Format
/prot/rep/session{–id <value> | -name <value>} sync [-async]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to synchronize.
|
-name
|
Type the name of the replication session to synchronize.
|
Action qualifiers
Qualifier
|
Description
|
---|---|
-async
|
Run an action in asynchronous mode.
|
Example
The following command initiates a manual resynchronization of replication session REPS_1:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session –id REPS_1 sync
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Delete replication sessions
Delete a replication session. The deletion process automatically synchronizes the source storage resource with the destination storage resource, makes both read/write, and then deletes the session. You can then connect a host to either storage resource. Deleting the session from the source system automatically removes the destination and source replication sessions. This ensures that you do not have to manually delete the associated storage resources or NAS servers from the destination system.
|
Note:
Once you delete a replication session, data from the source storage resource will no longer be replicated on the destination, leaving the data unprotected. When deleting a file system synchronous replication session, though the session is deleted, if the initial synchronization does not complete, the destination file system will run into an unrecoverable error. In this case, delete the destination file system.
|
Format
/prot/rep/session {–id <value> | -name <value>} delete [-async]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to delete.
|
-name
|
Type the name of the replication session to delete.
|
Action qualifiers
Qualifier
|
Description
|
---|---|
-async
|
Run an action in asynchronous mode.
|
Example
The following command deletes replication session 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 delete
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Fail over replication sessions
Run this command on the destination system to perform a failover of a replication session, with possible data loss, in response to an emergency scenario in which the source becomes unavailable.
After the failover, the destination system is read/write. To reestablish communication between the source and destination, fail back the session that has failed over. Fail back replication sessions explains how to fail back a replication session that has failed over.
|
Note:
Failover operations terminate the transfer of data if there is a transfer in progress, causing a potential loss of data. If the source site is still available when you perform a failover, the system attempts to change the source storage resource from read/write to read-only.
|
Initiate a planned downtime
To initiate a planned downtime, run this command on the source system by specifying the -sync option with the value yes. When you fail over a replication session from the source system, the destination system is fully synchronized with the source to ensure that there is no data loss. The destination storage resource can be used for providing access to the host.
Format
/prot/rep/session {-id <value> | -name <value>} failover [-async] [-sync {yes | no}] [-force]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to fail over.
|
-name
|
Type the name of the replication session to fail over.
|
Action qualifiers
Qualifier
|
Description
|
||
---|---|---|---|
-async
|
Run an action in asynchronous mode.
|
||
-sync
|
For an asynchronous replication session, specifies whether a synchronization needs to be performed before failing over the replication session. For a synchronous replication session, specifies whether to keep synchronization on the reversed direction after failing over the session. Valid values are:
|
||
-force
|
Specifies whether to skip a pre-check operation on file systems of a NAS server when a replication failover operation is issued from the source NAS server. No values are allowed.
|
Example
The following command performs a fail over of replication session 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 failover
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Fail back replication sessions
Fail back a replication session that has failed over. A failback results in the following:
- Synchronizes the destination and source storage resources.
- Makes the destination storage resource read-only.
- Makes the source storage resource read/write.
When the failback operation is complete, the replication session will resume and you may connect your hosts to the source storage resource.
|
Note:
Ensure that hosts do not write to the destination storage resource, which will become read-only.
|
Format
/prot/rep/session {–id <value> | -name <value>} failback [-async] [-forceFullCopy] [-force] [-syncData {force | ignore}]Object qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the replication session to fail back.
|
-name
|
Type the name of the replication session to fail back.
|
Action qualifiers
Qualifier
|
Description
|
||
---|---|---|---|
-async
|
Run an action in asynchronous mode.
|
||
-forceFullCopy
|
Specifies to force a full synchronization before the failback operation occurs.
|
||
-force
|
Before failing back a NAS server synchronous replication session, it is checked whether its associated asynchronous file system replication sessions are all preserved when coexisting. When this qualifier is specified, that check is skipped.
|
||
-syncData
|
Specifies the behavior of transferring data from the source system to the remote system. If the qualifier is not specified, the command will fail if the remote system has data not replicated from the source system. Valid values are:
|
Example
The following command performs a fail back of replication session 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 failback
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
Preserve asynchronous replication sessions
Initiates a preserve asynchronous replication sessions operation on a NAS server synchronous replication session. After a NAS server synchronous replication session fails over or fails back with its file system synchronous replication sessions, the asynchronous replication sessions will be switched to the new production site by the preserve asynchronous replication sessions operation.
Format
/prot/rep/session {-id <value> | -name <value>} preserveAsyncObject qualifiers
Qualifier
|
Description
|
---|---|
-id
|
Identifies the NAS server synchronous replication session.
|
-name
|
Identifies the NAS server synchronous replication session by name.
|
Example
The following command preserves asynchronous replication sessions for 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000:
uemcli /prot/rep/session –id 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000 preserveAsync
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
Operation completed successfully.
The show action command
The show action command displays a list of objects that exist on the system and the attributes of those objects. You can specify an object qualifier to view the attributes for a single object. The show action command provides qualifiers for changing the display of the output, including the format and the attributes to include. The available output formats are name-value pair (NVP), table, and comma-separated values (CSV).
Format
uemcli [<switches>] <object> [<object qualifier>] show [{-detail | -brief | -filter <value>] [-output {nvp | table [-wrap] | csv}]Action qualifier
Qualifier
|
Description
|
---|---|
-output|-o
|
Specify the output format. Value is one of the following:
|
-detail
|
Display all attributes.
|
-brief
|
Display only the basic attributes (default).
|
-filter
|
Comma-separated list of attributes which are included into the command output.
|
Name-value pair format
1: ID = la0_SPA
SP = SPA
Ports = eth0_SPA,eth1_SPA
Health state = OK (5)
2: ID = la0_SPB
SP = SPB
Ports = eth0_SPB,eth1_SPB
Health state = OK (5)
Table format
ID | SP | Ports | Health state
--------+-----+-------------------+--------------
la0_SPA | SPA | eth0_SPA,eth1_SPA | OK (5)
la0_SPB | SPB | eth0_SPB,eth1_SPB | OK (5)
Comma-separated values format
ID,SP,Ports,Health state
la0_SPA,SPA,”eth0_SPA,eth1_SPA”,OK (5)
la0_SPB,SPB,”eth0_SPB,eth1_SPB”,OK (5)
Example
The following command modifies the set of attributes in the show action output. For example, if you add -filter "ID,ID,ID,ID" to the command, in the output you will see four lines with the "ID" attribute for each listed instance:
1: ID = la_0
ID = la_0
ID = la_0
ID = la_0
uemcli /net/nas/server show -filter “ID, SP, Health state, ID, Name”
Filter format
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = nas_1
SP = SPA
Health state = OK (5)
ID = nas_1
Name = Mynas1
2: ID = nas_2
SP = SPA
Health state = OK (5)
ID = nas_2
Name = Mynas2
Manage Ethernet ports
View and change the settings for the network ports on each SP.
The following table describes the port attributes.
Attribute
|
Description
|
||
---|---|---|---|
ID
|
ID of the port.
|
||
Name
|
Name of the port.
|
||
SP
|
Name of the SP on which the port resides. Value is SPA or SPB.
|
||
Protocols
|
Types of protocols the port supports. Value is one of the following:
|
||
MTU size
|
Maximum transmission unit (MTU) packet size (in bytes) that the port can transmit. Default is 1500 bytes per packet.
|
||
Requested MTU size
|
MTU size set by the user.
|
||
Available MTU size
|
List of available MTU sizes.
|
||
Speed
|
Current link speed of the port.
|
||
Requested speed
|
Link speed set by the user.
|
||
Available speeds
|
List of available speed values.
|
||
Health state
|
Health state of the port. The health state code appears in parentheses. Value is one of the following:
|
||
Health details
|
Additional health information. See Appendix A, Reference, for health information details.
|
||
Aggregated port ID
|
If the port is in a link aggregation, the ID of the link aggregation appears.
Manage link aggregations explains how to configure link aggregations on the SP ports.
|
||
Connector type
|
Physical connector type. Valid values are:
|
||
MAC address
|
Unique identifier assigned to a network device for communications on a network segment.
|
||
SFP supported speeds
|
List of supported speed values of the inserted Small Form-factor Pluggable.
|
||
SFP supported protocols
|
List of supported protocols of the inserted Small Form-factor Pluggable. Valid values are:
|
View Ethernet port settings
View details about the network ports. You can filter on the port ID.
|
Format
/net/port/eth [-id <value>] showObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the port.
|
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/port/eth show -detail
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = spa_eth2
Name = SP A Ethernet Port 2
SP = spa
Protocols = file, net, iscsi
MTU size = 4500
Requested MTU size = 4500
Available MTU sizes = 1280-9216
Linux device name = eth2
Speed = 1 Gbps
Requested speed = auto
Available speeds = 1 Gbps, 10 Gbps, 100 Mbps, auto
Health state = OK (5)
Health details = "The port is operating normally."
Aggregated port ID = None
FSN port ID = None
Connector type = RJ45
MAC address = 00:60:16:7A:7F:CF
SFP supported speeds =
SFP supported protocols =
2: ID = spa_eth3
Name = SP A Ethernet Port 3
SP = spa
Protocols = file, net, iscsi
MTU size = 1500
Requested MTU size = 1500
Available MTU sizes = 1500, 9000
Linux device name = eth3
Speed = 1 Gbps
Requested speed = auto
Available speeds = 1 Gbps, 10 Gbps, 100 Mbps, auto
Health state = OK (5)
Health details = "The port is operating normally."
Aggregated port ID = None
FSN port ID = None
Connector type = RJ45
MAC address = 00:60:16:7A:7F:CE
SFP supported speeds =
SFP supported protocols =
Change Ethernet port settings
|
Note:
The new settings are applied to a pair of symmetrical ports on dual SP systems.
|
Change the maximum transmission unit size and port speed for an Ethernet port.
Format
/net/port/eth -id <value> set [-mtuSize <value>] [-speed <value>]Object qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the network port.
|
Action qualifier
Qualifier
|
Description
|
---|---|
-mtuSize
|
Type the maximum transmission unit packet size (in bytes) for the port:
|
-speed
|
Type the port speed.
|
Example
The following command sets the MTU size for Ethernet port 0 (eth0) on SP A to 9000 bytes:
uemcli /net/port/eth –id spa_eth0 set –mtuSize 9000
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = spa_eth0
ID = spb_eth0
Operation completed successfully.
Manage FC ports
View and change the settings for the FC ports on each SP.
The following table describes the port attributes.
Attribute
|
Description
|
---|---|
ID
|
ID of the port.
|
Name
|
Name of the port.
|
SP
|
Name of the SP on which the port resides.
|
WWN
|
World Wide Name (WWN) of the port.
|
Speed
|
Current link speed of the port.
|
Requested speed
|
Link speed set by the user.
|
Available speed
|
List of available speed values.
|
Health state
|
Health state of the port. The health state code appears in parentheses. Value is one of the following:
|
Health details
|
Additional health information. See Appendix A, Reference, for health information details.
|
Connector type
|
Physical connector type. Valid values are:
|
SFP supported speeds
|
List of supported speed values of the inserted Small Form-factor Pluggable.
|
SFP supported protocols
|
List of supported protocols of the inserted Small Form-factor Pluggable. Valid values are:
|
Replication capability
|
Type of replication capability. Valid values are:
|
View FC port settings
View details about the FC ports. You can filter on the port ID.
Format
/net/port/fc [-id <value>] showObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the port.
|
Example
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/port/fc show -detail
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = spa_fc4
Name = SP A FC Port 4
SP = spa
WWN = 50:06:BD:01:60:05:8E:50:06:01:64:3D:E0:05:8E
Speed = 1 Gbps
Requested speed = auto
Available speeds = 4 Gbps, 8 Gbps, 16 Gbps, auto
Health state = OK (5)
Health details = "The port is operating normally."
SFP supported speeds = 4 Gbps, 8 Gbps, 16 Gbps
SFP supported protocols = FibreChannel
Replication capability = Sync replication
SFP supported mode = Multimode
Change port settings
Change the speed for an FC port.
Format
/net/port/fc -id <value> set -speed <value>Object qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the FC port.
|
Action qualifier
Qualifier
|
Description
|
---|---|
-speed
|
Type the port speed.
|
Example
The following command sets the speed for FC port fc1 on SP A to 1 Gbps:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/port/fc –id spa_fc1 set –speed 1Gbps
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = spa_fc1
Operation completed successfully.
Manage link aggregations
Link aggregation lets you link physical ports (for example, port 0 and port 1) on a SP to a single logical port and therefore lets you use up to four Ethernet ports on the SP. If your system has two SPs, and you link two physical ports, the same ports on both SPs are linked for redundancy. For example, if you link port 0 and port 1, the system creates a link aggregation for these ports on SP A and a link aggregation on SP B.
Each link aggregation is identified by an ID.
|
Note:
The cabling on SP A must be identical to the cabling on SP B, or you cannot configure link aggregation.
|
Link aggregation has the following advantages:
- Increases overall throughput since two physical ports are linked into one logical port.
- Provides basic load balancing across linked ports since the network traffic is distributed across multiple physical ports.
- Provides redundant ports so that if one port in a linked pair fails, the system does not lose connectivity.
|
Note:
With link aggregation, both linked ports must be connected to the same switch and the switch must be configured to use link aggregation that uses the Link Aggregation Control Protocol (LACP). The documentation that came with your switch should provide more information on using LACP.
|
The following table describes the attributes for link aggregation.
Attribute
|
Description
|
||
---|---|---|---|
ID
|
ID of the link aggregation. The ID is a combination of the link ID and the SP that contains the linked ports.
|
||
Ports
|
IDs of the linked physical ports. The port names include the name of the SP that contains the ports.
|
||
SP
|
Name of the SP on which the ports are linked. Valid values are:
|
||
MTU size
|
Maximum transmission unit (MTU) packet size (in bytes) for the linked ports. Default is 1500 bytes per packet.
|
||
Linux device name
|
Linux network device name.
|
||
FSN port ID
|
ID of the FSN port to which the link aggregation belongs, if it is part of an FSN.
|
||
Available MTU size
|
List of available MTU sizes.
|
||
Health state
|
Health state of the link aggregation. The health state code appears in parentheses. Value is one of the following:
|
||
Health details
|
Additional health information.
|
View link aggregations
View details about link aggregations. You can filter on the link aggregation ID.
Format
/net/la [-id <value>] showObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the link aggregation.
|
Example
The following command shows the link aggregations on the system, in this case, for both SPA and SPB:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la show -detail
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
1: ID = spa_la_0_2
SP = spa
Ports = spa_iom_0_eth2, spa_iom_0_eth3
FSN port ID = None
MTU size = 3456
Available MTU sizes = 1280-9216
Linux device name = bond12
Health state = OK (5)
Health details = "The component is operating normally. No action is required."
Operational status =
2: ID = spb_la_0_2
SP = spb
Ports = spb_iom_0_eth2, spb_iom_0_eth3
FSN port ID = None
MTU size = 3456
Available MTU sizes = 1280-9216
Linux device name = bond12
Health state = OK (5)
Health details = "The component is operating normally. No action is required."
Operational status =
Create link aggregations
Create a link aggregation by linking two physical ports on an SP to create a logical port.
Format
/net/la create –ports <value> [-mtuSize <value>]Action qualifier
Qualifier
|
Description
|
---|---|
-ports
|
Type the IDs of the physical ports to link on the SP. Separate the IDs with a comma. For example, to link ports 0 and 1 on SPA, type: eth0_SPA,eth1_SPA.
|
-mtuSize
|
Type the MTU size (in bytes) for the linked ports. The MTU size can be set to a custom value between 1280 and 9216.
Specific I/O modules may restrict allowed range for MTU size value. The MTU size values of 1500 bytes (default) and 9000 bytes (jumbo frame) are supported by all interfaces and I/O modules. |
Example
The following command links port 0 and port 1 on SPA with the default MTU size. The system has two SPs, so port 0 and port 1 on SPB are also linked, which results in two link aggregation IDs:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la create -ports "eth0_SPA,eth1_SPA"
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
Change link aggregations
Change the settings of a link aggregation.
Format
/net/la -id <value> set [-ports <value>] [-mtuSize <value>]Object qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the link aggregation to change.
|
Action qualifier
Qualifier
|
Description
|
---|---|
-ports
|
Type the IDs of the physical ports to link on the SP. Separate the IDs with a comma. For example, to link ports 0 and 1 on SPA, type: eth0_SPA,eth1_SPA
|
-mtuSize
|
Type the MTU size (in bytes) for the linked ports. The MTU size can be set to a custom value between 1280 and 9216.
Specific I/O modules may restrict allowed range for MTU size value. The MTU size values of 1500 bytes (default) and 9000 bytes (jumbo frame) are supported by all interfaces and I/O modules. |
Example
The following command changes the MTU size for link aggregation la0_SPA to 9000 bytes. The system has two SPs, so MTU size is updated for both link aggregation IDs:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la –id la0_SPA set –mtuSize 9000
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
Delete link aggregations
Delete a link aggregation.
Format
/net/la [-id <value>] deleteObject qualifier
Qualifier
|
Description
|
---|---|
-id
|
Type the ID of the link aggregation to delete.
|
Example
The following command deletes link aggregation la0_SPA. The system has two SPs, so link aggregation la0_SPB is also deleted:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/la –id la0_SPA delete
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.