Unity P Replication Config PDF
Unity P Replication Config PDF
Version 4.3
Configuring Replication
H14974
REV 04
Copyright © 2016-2018 Dell Inc. or its subsidiaries. All rights reserved.
Dell believes the information in this publication is accurate as of its publication date. The information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS-IS.“ DELL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE, COPYING, AND DISTRIBUTION OF ANY DELL SOFTWARE DESCRIBED
IN THIS PUBLICATION REQUIRES AN APPLICABLE SOFTWARE LICENSE.
Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property of their respective owners.
Published in the USA.
Dell EMC
Hopkinton, Massachusetts 01748-9103
1-508-435-1000 In North America 1-866-464-7381
www.DellEMC.com
Chapter 1 Overview 5
About this document.................................................................................... 6
Additional resources..................................................................................... 6
About replication.......................................................................................... 7
Using replication for disaster recovery........................................................ 12
Using replication for planned downtime...................................................... 13
Failback a replication session...................................................................... 14
Overview 5
Overview
Note
For more information on other Unisphere features or CLI commands, refer to the
Unisphere online help and CLI User Guide.
Additional resources
As part of an improvement effort, revisions of the software and hardware are
periodically released. Therefore, some functions described in this document might not
be supported by all versions of the software or hardware currently in use. The product
release notes provide the most up-to-date information on product features. Contact
your technical support professional if a product does not function properly or does not
function as described in this document.
Where to get help
Support, product, and licensing information can be obtained as follows:
Product information
For product and feature documentation or release notes, go to Unity Technical
Documentation at: www.emc.com/en-us/documentation/unity-family.htm.
Troubleshooting
For information about products, software updates, licensing, and service, go to Online
Support (registration required) at: https://Support.EMC.com. After logging in, locate
the appropriate Support by Product page.
Technical support
For technical support and service requests, go to Online Support at: https://
Support.EMC.com. After logging in, locate Create a service request. To open a
service request, you must have a valid support agreement. Contact your Sales
Representative for details about obtaining a valid support agreement or to answer any
questions about your account.
Special notice conventions used in this document
DANGER
WARNING
CAUTION
NOTICE
Note
About replication
Data replication is one of the many data protection methodologies that enable your
data center to avoid disruptions in business operations. It is a process in which storage
data is duplicated to a remote or local system. It provides an enhanced level of
redundancy in case the main storage backup system fails. It minimizes the downtime-
associated costs of a system failure and simplifies the recovery process from a natural
disaster or human error.
The system supports asynchronous replication of all storage resources, including file
systems, NAS servers, LUNs, LUN groups, VMware VMFS datastores, VMware NFS
datastores, and thin clones. The system supports synchronous replication of the
following storage resources: LUNs, LUN groups, VMware VMFS datastores, VMware
NFS datastores, and thin clones. The asynchronous replication feature leverages the
Unified Snapshots technology to produce a read-only, point-in-time copy of source
storage data and periodically updates the copy to keep it consistent with the source
data. It leverages crash consistent replicas to provide remote data protection of
storage resources. The synchronous replication feature leverages the MirrorView/
Synchronous technology to mirror data in real time between local and remote storage
resources.
Note
In general, Unity OE versions 4.0, 4.1, 4.2, and 4.3 support replication interoperability.
However, the exception to this occurs when the source system is configured with
features that are not compatible with an earlier Unity OE version that is running on the
destination side of the replication session. For example:
l Inline compression is only supported for block objects with OE versions 4.1 or later,
while file objects are supported with OE versions 4.2 or later.
l Block objects support asynchronous and synchronous replication with all Unity OE
versions, while file supports only asynchronous replication with OE versions 4.0,
4.1, and 4.2 or later.
l Block and file objects support asynchronous replication of user snapshots with OE
versions 4.2 or later.
Replication modes
Replication can operate in the following modes:
About replication 7
Overview
l Asynchronous – (Applies to block and file storage.) Use this mode when you want
the data between the source and destination storage resources synchronized
automatically at a specific interval, based on the Recovery Point Objective (RPO).
l Synchronous – (Applies to block storage only.) Use this mode when you want the
data between the source and destination storage resources to always remain in
sync.
l Manual – (Applies to block and file storage.) Use this mode when you want to
manually synchronize changes in the source storage resource to the destination
storage resource. When you choose this mode, ensure that you periodically
synchronize the session to avoid excessive pool space consumption.
Recovery Point Objective
Recovery Point Objective (RPO) is an industry accepted term that indicates the
acceptable amount of data, measured in units of time, that may be lost in a failure.
When you set up an asynchronous replication session, you can configure automatic
synchronization based on the RPO. You can specify an RPO from a minimum of 5
minutes up to a maximum of 1440 minutes (24 hours). The default RPO is set at 60
minutes (1 hour) interval. In the case of synchronous replication, RPO is set to 0. You
can use the Unisphere CLI or Unisphere Management REST API to specify a more
granular RPO.
Note
Although a smaller time interval provides more protection and lesser space
consumption, it also has a higher performance impact, and results in more network
traffic. A higher RPO value may result in more space consumption. This may affect the
snapshot schedules and space thresholds.
l Override configuration specifies a set of attributes which is enabled when the NAS
server is changed from destination mode to normal mode. The override
configuration of a NAS server is not replicated as part of NAS server replication.
l Local configuration (also known as back up) specifies a set of attributes that are
related to enabling back up or local test through NFS or NDMP protocols. The
local configuration of a NAS server is not replicated as part of NAS server
replication.
The following table classifies the Global, Override, and Local attributes for NAS server.
Yes means the attribute exists in the configuration, and No means the attribute does
not exist in the configuration.
CAVA Yes No No
The following table lists file system level mount options that are also saved into the
NAS server configuration, and all of these are Global configuration:
Table 2 File system level mount options saved into NAS server configuration
- cifsNotifyOnChangeDirDepth FS_PROPERTY_TRIGGERLEVEL
cifsNotifyDirDepth
- isCIFSNotifyOnAccessEnable FS_PROPERTY_NOTIFYONACCESS_S
cifsNotifyOnAcces d YNC
s
About replication 9
Overview
Table 2 File system level mount options saved into NAS server configuration (continued)
A user can set these properties through Unisphere and the CLI. If an asynchronous
replication session is created on the file system, these properties will be replicated
through the NAS server's replication session to the destination and can be seen on the
destination NAS server after the configuration view is refreshed.
For properties that are not replicated when a failover occurs, ensure that you modify
the attributes of the associated destination storage resource to match the attributes
of the source storage resource.
When a thin clone is replicated, the destination resource is automatically created with
the same attributes as the source thin clone, except that the destination resource is a
full copy, rather than a thin clone.
Snapshots
Block and file objects support asynchronous replication of user snapshots at OE
version 4.2 and later. Also, asynchronous replication supports the replication of
existing user snapshots during the initial replication session configuration.
Asynchronous replication supports the replication of read-only user snapshots to
either a local or a remote site along with the resource data. Both scheduled snapshots
and user created snapshots can be replicated. Snapshots are supported for all
resources that support asynchronous replication (that is, file system, LUN, LUN
group, VMware VMFS, and VMware VMNFS).
Note
About replication 11
Overview
Each of these actions triggers a group operation towards the NAS server replication
session and its associated file system replication sessions. A NAS server replication as
a group is available for local and remote asynchronous replication.
NOTICE
Do not perform a group operation at both sides of a replication session at the same
time. This action is not prohibited by the storage system, however, a group operation
performed at the same time at both sides of a replication session can cause the group
replication session to enter an unhealthy state. Also, failover-with-sync is not a
transparent operation. During the failover-with-sync process, hosts' write/read
requests may be rejected.
Note
Although a group asynchronous replication session looks like one operation, each file
system is replicated individually. If any of the individual file system replication sessions
fail, you can resolve the issue and then select the individual file system to replicate.
Those same asynchronous replication actions towards a file system remain at the file
system level. Those actions are still individual operations toward file system replication
sessions.
The following asynchronous replication actions affect only the NAS server when run at
the NAS server level or are still individual operations toward file system replication
sessions:
l Create
l Sync
l Delete
l Modify
replicated user snapshots exist, the destination resource should be manually restored
to any of the replicated user snapshots.
Once the session is failed over to the destination system, the destination storage
resource becomes read-write. At this point, ensure that the storage resource has the
correct access permissions to the host and share. When originally establishing a
replication session between the primary and destination systems, create the right host
access on the destination system ahead of time to reduce downtime in an event of a
disaster.
To resume operations on the source, fail back the replication session.
File-based replication consideration
Switch over the NAS server replication session using the Failover option. This action
triggers a group operation towards the NAS server replication session and its
associated file system replication sessions.
The NAS server replication session should be in one of the following states in order for
it to be failed over to the destination system:
l Idle
l Auto Sync Configured
l Lost Communication
l Unrecoverable Error
If the NAS server replication session is in one of the following states, it cannot be
failed over to the destination system:
l Paused
l Error states other than Lost Communication or Unrecoverable Error
To resume operations on the source, fail back the NAS replication session.
Note
Any I/O attempted when the failover is occurring may result in read/write errors
or stale file handle exceptions.
l Configure replication.......................................................................................... 16
l Related concepts................................................................................................18
Replication workflow 15
Replication workflow
Configure replication
Replication can occur locally or between a local storage system and a remote storage
system. Use the native Replication feature in Unisphere to configure replication for
block or file storage resources. The system supports asynchronous replication of all
storage resources, including file systems, NAS servers, LUNs, LUN groups, VMware
VMFS datastores, VMware NFS datastores, and thin clones. The system supports
synchronous replication of the following storage resources: LUNs, LUN groups,
VMware VMFS datastores, and thin clones.
Note
You can also configure synchronous and asynchronous replication for LUNs and
VMware VMFS datastores using the RecoverPoint appliance-based solution.
Note
Note
You only need to configure replication interfaces and connections for the first
replication session between two systems. The same connection can be used
again for subsequent replication sessions between the same systems.
Procedure
1. Identify the Synchronous Replication Fibre Channel (FC) ports on each system.
To determine the FC port used for synchronous replication, in the CLI console,
run the command /remote/sys show -detail. Port information, similar to
the following example, will appear in the output:
Note
You only need to configure replication interfaces and connections for the first
replication session between two systems. The same connection can be used
again for subsequent replication sessions between the same systems.
Related concepts
Replication interfaces
Each SP must include at least one replication interface configured on it. Each
replication interface on the SP of the source system should be able to communicate to
the replication interface on the SP of the destination system. To establish this, you
must set up a switched network for remote replication. You can configure a replication
interface with an IPv4 or IPv6 address.
Replication is supported between like type IP addresses. For example, you can set up a
replication connection between a replication interface configured with IPv4 address on
the source system and a replication interface configured with IPv4 address on the
remote system.
Configuration for asynchronous replication
When you create replication interfaces for asynchronous replication, use any of the
available Ethernet ports to configure an IP address on each SP. These IP addresses
are then used for asynchronous replication between the remote systems.
Configuration for synchronous replication
When you create replication interfaces for synchronous replication, you must use the
Ethernet Port titled 'Sync Replication Management Port' to configure an IP address
on each SP. This port is specifically used for management of the synchronous
replication session, leveraging the same physical interface as the storage system's
Unisphere management port, whereas the Fibre Channel (FC) ports are used for
replicating data between systems. Before creating replication interfaces and
connections for synchronous replication, ensure that you complete FC zoning and
configuration.
Note
port can be configured and used for synchronous replication. Once an FC port is
assigned, it will continue to act as the synchronous replication port and can never be
changed. To determine the FC port used for synchronous replication, in the CLI
console, run the command /remote/sys show -detail. Port information, similar
to the following example, will appear in the output:
Note
Connection modes
The following connection modes are supported:
l Asynchronous – Supports asynchronous replication of file and block storage
resources. It uses the Ethernet Port IP interfaces configured on Storage
Processor A (SP A) and Storage Processor B (SP B) on the source and destination
systems.
l Synchronous – Supports synchronous replication of block storage resources only.
It uses the Sync Replication Management Port with IP addresses configured on SP
A and SP B on the source and destination systems.
l Both – Supports synchronous replication of block storage resources using the
Sync Replication Management Port and asynchronous replication of block storage
resources. Ensure that you set up the additional Ethernet Port IP interfaces on SP
A and SP B on the source and destination systems.
Note
The snapshots consume protection space based on the snapshots feature. Although
the internal snapshots may appear listed in the Snapshots tab of a storage resource
(source or destination), you cannot manage or modify them. The snapshots also do
not participate in automatic delete operations.
The following steps provide a high level overview of how the replication session works:
1. When the session and the internal snapshots are created, an initial synchronization
occurs where all the data from the first snapshot of the source storage resource is
replicated to the destination storage resource.
Note
Note
Note
Only the differential data between the first and second snapshots gets copied
over.
About replication support for thin storage resources with data reduction
A thin destination LUN or LUN Group can be created with data reduction during
replication session creation when the following criteria is met:
l The source LUN or LUN group is thin.
Note
For file systems, replication matches the destination storage resource to the source.
The destination is converted to match with the source after the synchronization
operation (initial synchronization or manual synchronization). Therefore in this case,
thin and data reduction cannot be selected.
About replication support for thin storage resources with data reduction 21
Replication workflow
l Synchronization states.......................................................................................24
l Fibre Channel configuration for synchronous replication....................................25
Synchronization states
Replication sessions configured with synchronous replication (RPO set to zero) can
have the following synchronization states. Each of these describe the state of the
user data on the destination storage resource. They are useful for troubleshooting.
However, for replication session management, it is recommended to check the
operational status. For accurate information on the synchronization state of a
replication, refer to the synchronization state on the source system.
Note
l Consistent – The data on the destination system is consistent from the host
perspective. The destination LUN is the latest or point in time copy of the source
LUN.
l In Sync – The data on the destination system is consistent from the host
perspective. The destination LUN is an exact copy of the source LUN.
l Syncing – The data on the destination system is getting updated from the source
system. The updates represent the pending changes on the source system. These
changes are not yet replicated to the destination system because of the following
reasons:
n A new replication session requires a full synchronization.
n Replication session requires a full synchronization after an unplanned failover
operation, when a failback or resume operation is performed.
n Replication session was previously in a Consistent or In Sync state. A
connection issue has created a backlog of changes on the source system. The
backlog will be updated to the destination system once the connection issue is
resolved.
n Replication session was paused resulting in a backlog of changes on the source
system. The backlog will be updated to the destination system once the
replication session is resumed.
l Out of Sync – The state of the data on the destination LUN cannot be determined
by the replication session. The update to the destination system may be
incomplete. This can occur for any of the following reasons:
n A connection issue disrupts a replication that is in a Syncing state.
n The replication session is paused on the source system.
n The replication session was deleted locally on the destination system.
l Inconsistent – The state is reported only when replication is failed over. It
appears when the synchronization state of the session was not In Sync or
Consistent, prior to failover. In this case, it is recommended that you check for the
consistency of the destination storage resource.
Synchronization state transitions
The following table lists the synchronization state transitions for some of the
replication actions:
Note
Replication connection Syncing > Out of Sync or In Sync > Consistent (if there is
down I/O)
Note
When using Single Mode SFP (to support a long range connection), SM cables along
with an SM SFP connection on the switch are required as well as manually increasing
the credits on the switch. In the case of direct connection between storage systems,
both Synchronous Replication ports should use SM SFP along with SM cables. Refer
to the Unity Hardware Information Guide for more information about SM SFP.
Only one FC port can be configured and used for synchronous replication. Once an FC
port is assigned, it will continue to act as the synchronous replication port and can
never be changed. To determine the FC port used for synchronous replication, in the
CLI console, run the command /remote/sys show -detail. Port information,
similar to the following example, will appear in the output:
Note
RecoverPoint and the native Replication feature cannot simultaneously operate on the
same volume or Fibre Channel port of the storage system. Even if you do not
configure or use synchronous replication, do not configure the synchronous replication
port for RecoverPoint. There is no such restriction on the Ethernet ports for iSCSI.
You can configure RecoverPoint to use any available Ethernet port.
Zoning configuration
Ensure that you complete the following:
l Configure the port as an F-port to avoid any potential issues, and remove other
types of ports from the list of allowed port types.
l For a synchronous replication connection, connect SPA port of the source system
to the SPA port of the destination system. Similarly, SPB port of the source
system to the SPB port of the destination system.
For example,
n OB_H1450 SPA Port 4 <--> OB_H1443 SPA Port 4
n OB_H1450 SPB Port 4 <--> OB_H1443 SPB Port 4
l The SPA and SPB ports on the same side (source or destination) must have the
identical port configuration. However, the configuration of ports on the source
system can be different from the port configuration on the destination system. For
example, SPA Port 4 <--> SPA I/O Module 0 Port 0 and SPB Port 4 <--> SPB I/O
Module 0 Port 0 are supported.
l It is recommended to have a separate FC port for FC host access. But, the
synchronous replication FC port can be shared with host access.
l Although setting the port speeds to Auto works, it is recommended that you set
the port speeds for the FC ports on both systems and the FC switch port.
High availability consideration
To ensure high availability, consider the following:
l If the FC connection for an SP is disrupted, set the SP ownership for the source
LUN to the other SP. SP ownership on the destination LUN automatically switches
to the corresponding SP on the destination system.
l If an SP on the destination system shuts down or is faulted (not in a normal state),
the system will automatically change the SP ownership on the destination LUN.
Ensure that you manually set the SP ownership for the source LUN to the other
SP.
Note
For the network to continue functioning properly, ensure that you set the VLAN ID
only when you have configured the network switch port to support VLAN tagging
of multiple VLAN IDs.
Procedure
1. Under Protection & Mobility, select Interfaces.
2. Perform one of the following actions:
l To create an interface, select the Add icon. On the Create Interface
window, specify the relevant information:
n For asynchronous replication or import, from the Ethernet Port list,
select an available Ethernet port.
n For synchronous replication, from the Ethernet Port list, select Sync
Replication Management Port.
Note
NOTICE
Before you delete an interface, ensure that the interface is not being used
by any replication or import session.
Note
l The name, pool, storage provisioning, and tiering policy you want to use for the
destination storage resource. The system will automatically create a destination
storage resource as part of this process.
Note
You can convert a thin LUN to a non-thin (thick) LUN, or a thick LUN to a thin
LUN with a LUN move operation. To enable data reduction on a thin LUN requires
an All-Flash pool on the destination system. For thick file systems, the replication
process matches the destination storage resource to the source. In this case, thin
and data reduction cannot be selected for file systems. For thin file systems, the
following rules apply for replication:
n If the source file system is thin, then the destination file system is also thin.
n If the source file system is thin and either the source or destination system
does not support data reduction, then the destination file system is also thin.
n If both the source and destination systems support data reduction, then the
source or destination can have either data reduction enabled or no data
reduction enabled.
n However, if you change the source file system data reduction attribute, the
change is not replicated to the destination system (retains the original setting).
l Replicate scheduled snapshots to the destination and to use the same retention
policy or a different policy. Also, when a replication session is created some time
after the resource was created, determine whether to select the one-time option
to replicate all existing snapshots.
NOTICE
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.
Procedure
1. Under Storage, select the storage resource, and then select Edit.
Note
For file storage, you must first configure replication on the NAS server.
Note
Note
Action Description
Modify a Select the Edit icon to modify the name and synchronization
session settings of the session.
Delete a session Select Delete. Deleting a replication session also deletes the
internal snapshots used by the session. If the connection
between the systems is healthy, the session on the
destination system gets automatically deleted when you
delete the session on the source system. You can individually
delete replication sessions at the source and destination
systems, however, this is not recommended unless the
connection is down.
Note
Action Description
Note
Manually Select Sync. Changes since the last sync are replicated to
synchronize a the destination system.
session
Fail over a Select Failover. In response to an unplanned emergency
session in an scenario in which the source has become unavailable,
unplanned failover should switch the status of the source and
emergency destination storage resources. After the failover operation,
the destination object's status becomes read/write,
however, the source and destination do not switch roles until
a resume operation is run.
Note
Note
Action Description
Note
Note
Any modifications to the attributes of the source storage resource are not
automatically synchronized over to the destination storage resource. When a
failover occurs, ensure that you modify the attributes of the associated
destination storage resource to match the attributes of the source storage
resource.
Note
You may still need to manually fail over individual file systems associated with the NAS
server.
If you have configured the source NAS server with LACP or FSN, or both, you must do
one of the following:
l Configure the destination system with the same LACP or FSN configuration. When
the LACP/FSN environment is mirrored on the destination system exactly, no
further action is required and the destination NAS server will automatically select
the LACP/FSN device as part of its configuration.
l Include an override address for the network interface after first creating the
replication session.
NOTICE
After the replication session has been created and the source NAS server is using an
LACP/FSN configuration, you must do the following:
1. Manually edit the Network settings in the Properties of the NAS server on the
destination system.
2. Select Override address and an interface to use. If you do not do this, a DU after a
failover from the source system to the destination system will occur.
2. On the Network tab, select the network interface, and click Edit.
3. On the Edit NAS Server Network Interface screen, select the Override
address checkbox, and specify relevant address information.
Attribute Description
ID ID of the interface.
Note
Attribute Description
Health state A numerical value indicating the health of the
system. Value is one of the following:
l Unknown (0)
l OK (5)
l OK BUT (7)
l Degraded/Warning (10)
l Minor failure (15)
l Major failure (20)
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:
l iscsi — Interface for iSCSI storage.
l replication — Interface for replication-related data or
management traffic.
-port Specify the ID of the SP port or link aggregation that will use the
interface.
Note
-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.
Create interfaces 39
Configure replication using the CLI
Qualifier Description
Note
-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.
Note
This qualifier is not required if the prefix length is specified in the -addr
attribute.
Note
This qualifier configures the default gateway for the specified port’s SP.
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
ID = IF_1
Operation completed successfully.
View interfaces
View a list of interfaces on the system. You can filter on the interface ID.
Note
The show action command on page 72 explains how to change the output format.
Format
/net/if [ {-id <value> | -port <value> | -type <value>} ] show
Object qualifier
Qualifier Description
-id Type the ID of an interface.
Qualifier Description
-port Type the port the interface is associated with.
-type Specify the type of the interface. Valid values are:
l iscsi
l replication
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
1: ID = if_0
Type = file
NAS server = nas_0
Preferred = yes
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
SP = SPA
2: ID = if_1
Type = file
NAS server = nas_1
Preferred = yes
Port = eth1_spb
VLAN ID = 1
IP address = 10.1.1.2
Subnet mask = 255.255.255.0
Gateway = 100.100.1.254
IPv4 mode = static
IPv4 address = 10.1.1.2
IPv4 subnet mask = 255.255.255.0
IPv4 gateway = 100.100.1.254
IPv6 mode =
IPv6 address =
IPv6 link-local address =
IPv6 gateway =
SP = SPA
3: ID = if_2
Type = replication
NAS server =
Preferred = no
Port = eth1_spb
VLAN ID =
IP address = 10.100.05.50
Subnet mask = 255.255.248.0
Gateway = 10.100.72.1
IPv4 mode = static
View interfaces 41
Configure replication using the CLI
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.
Note
Note
The prefix length should be appended to the IPv6 address. The IPv4
netmask may be specified in address attribute after the slash.
Note
The gateway is optional for both IPv4 and IPv6. This qualifier configures
the default gateway for the specified port’s SP.
Example
The following command changes the gateway address for interface IF_1:
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> delete
Object 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
Attribute Description
ID ID of the remote system.
Delete interfaces 43
Configure replication using the CLI
Attribute Description
Serial number Serial number 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:
l OK (5)—Resource is operating normally.
l Degraded/Warning (10)—Working, but one or more of the
following may have occurred:
n One or more of its storage pools are degraded.
n Its replication session is degraded.
n Its replication session has faulted.
n It has almost reached full capacity. Increase the primary
storage size, or create additional resources to store your data,
to avoid data loss.
l Minor failure (15)—One or both of the following may have
occurred:
n One or more of its storage pools have failed.
n The associated iSCSI node has failed.
l Major (20)—One or both of the following may have occurred:
n Resource is unavailable.
n One or more of the associated storage pools have failed.
l Critical failure (25)—One or more of the following may
have occurred:
n One or more of its storage pools are unavailable.
n Resource is unavailable.
n Resource has reached full capacity. Increase the primary
storage size, or create additional resources to store your data,
to avoid data loss.
l Non-recoverable error (30)—One or both of the
following may have occurred:
n Resource is unavailable.
n One or more of the associated storage pools are unavailable.
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 For storage systems that are the source in a replication session, the
password user password that is used to access the system.
Attribute Description
Local interfaces The list of local interface identifiers used to create the
interconnection between the two systems.
Destination user For storage systems that are the destination in a replication session,
name the username that is used to access the system.
Destination user For storage systems that are the destination in a replication session,
password the user password that is used to access the system.
Connection type The type of connection with the remote system. Valid values are:
l sync
l async
l both
For a local system (RS_0), this field will appear empty only when
there are no FC ports. For remote systems, this will be empty when
the connection type is asynchronous.
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:
l VNX
-srcUsername For systems that are the source in a replication, type the
username that is used to access the system.
Qualifier Description
-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:
l Network address is 10.64.75.10.
l 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!
ID = RS_65536
Operation completed successfully.
Note
The show action command on page 72 explains how to change the output format.
Format
/remote/sys [-id <value>] show
Object 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
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
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
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!
ID = RS_1
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> delete
Object 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
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.
Attribute Description
ID ID of the session.
Attribute Description
l nas server
Note
Resource type Type of storage resource to which the replication session is applied.
Valid values are:
l LUN
l LUN group
l File System
l VMware VMFS
l VMware NFS
l NAS Server
Sync State Additional state of the replication session, specific to the replication
mode.
l For asynchronous replication, valid values are:
n idle— No active syncing.
n manual— User initiated syncing.
n auto syncing— System initiated syncing.
l For synchronous replication, valid values are:
n unknown—Unknown sync state.
n out of sync—Destination is out of sync with the source.
n in sync—Destination is an exact copy of the source.
n consistent—Destination is a point in time copy of the
source.
n syncing—System initiated syncing.
Attribute Description
Note
Operational Operational status of the session. The operational status code appears
status in parentheses.
l Unknown (0x0)
l Non Recoverable Error (0x7)
l Lost Communication (0xd)
l Failed Over with Sync (0x8400)
l Failed Over (0x8401)
l Manual Syncing (0x8402)
l Paused (0x8403)
l Idle (0x8404)
l Auto Sync Configured (0x8405)
Attribute Description
Source status Status of the source storage resource in the session. Valid values are:
l Unknown—Source status is unknown.
l OK—Source is operating normally.
l Paused—Replication session for the source is currently paused.
l Fatal replication issue—Source has experienced a
critical error and the replication session has stopped. Delete the
replication session and re-create it.
l Lost communication—Communication with the replication
host has been lost. It is likely that the system is either powered
down or there is a network connectivity issue between the
systems. A change in the network configuration on either side
could also interrupt communication.
l Failed over—The replication session has failed over to the
destination site. In a failover state, the destination object is read/
write. When communication is reestablished between the source
and destination, the source is shown as Restricted Replication
Access = Yes. To resume operations on the source site, the
replication session needs to be failed back.
l Switched over—The replication session has switched over to
the source site. In a switched over state, the source object is
read/write. When communication is reestablished between the
source and destination, the destination is shown as Restricted
Replication Access = Yes. To resume operations on the destination
site, the replication session needs to be failed over.
Destination Status of the destination storage resource in the session. Valid values
status are:
l Unknown—Status of the destination resource is unknown.
l OK—Destination resource is operating normally.
l Paused—Replication session for destination resource is currently
paused.
l Fatal replication issue—Destination has experienced a
critical error and the replication session has stopped. Delete the
replication session and re-create it.
l Lost communication—Communication with the replication
host has been lost. It is likely that the system is either powered
down or there is a network connectivity issue between the
Attribute Description
Destination For remote sessions, the ID of the remote system on which the data is
system replicated.
Attribute Description
Source resource ID of the storage resource that is the source of the session. The
source can be local or remote.
Source SP A ID of the interface on the SPA of the source system for the
interface replication.
Source SP B ID of the interface on the SPB of the source system for the
interface replication.
Destination SP ID of the interface on the SPA of the destination system for the
A interface replication.
Destination SP ID of the interface on the SPB of the destination system for the
B interface replication.
Sync status Percentage of the replication synchronization that has completed and
the amount of time remaining.
Note
Sync transfer Data transfer rate during a replication synchronization. For multi-LUN
rate applications there is a comma-separated list of values.
Sync transfer Status of synchronization (percentage and time remaining). For multi-
size remaining LUN applications there is a comma-separated list of values.
Element pairs For consistency group and VMware VMFS datastore replications, the
LUN element pairs within the replication.
Hourly snapshot Amount of time to keep replicated hourly snapshots on the destination.
keep for Output can be:
l Blank when scheduled snapshots are not replicated.
l <value><qualifier>—When a retention duration is specified,
where:
Attribute Description
Hourly snapshot Whether or not the destination pool's auto-delete policy allows
allow auto- replicated hourly snapshots on the destination to be deleted. Output
delete can be:
l Blank when scheduled snapshots are not replicated.
l Same as source—Keep the destination retention policy the same
as the source retention policy
l yes—When -allowAutoDelete is set
l no—When -keepFor is set
Daily snapshot Amount of time to keep replicated daily snapshots on the destination.
keep for Output can be:
l Blank when scheduled snapshots are not replicated.
l value—An integer value. If the qualifier is h (hours), the valid
range is from 1 to 8760. If the qualifier is d (days), the valid range
is from 1 to 365.
l qualifier—A value qualifier. The valid values are:
n h (hours)
n d (days)
l Same as source—Keep the destination retention policy the same
as the source retention policy
Daily snapshot Whether or not the destination pool's auto-delete policy allows the
allow auto- replicated daily snapshots on the destination to be deleted. Output can
delete be:
l Blank when scheduled snapshots are not replicated.
l Same as source—Keep the destination retention policy the same
as the source retention policy
l yes—When -allowAutoDelete is set
l no—When -keepFor is set
NOTICE
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 block replication, you cannot replicate
snapshots.
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.
Prerequisites
Before creating a replication session, complete the following configuration tasks:
l Create the storage resource that provides the replication source.
l For local replication, create a replication destination on a local system.
l For remote replication, create a replication connection to a remote system, and
create a replication destination on that remote system.
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]
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.
Qualifier Description
Note
Note
Note
Qualifier Description
-dstSPAInterface Type the ID of the interface on the SPA of the
destination system for the replication.
Note
Note
Note
This qualifier is used for asynchronous replications
only.
As the RPO increases, the potential for data loss
also increases, as well as the amount of required
protection space. Lowering the RPO will reduce the
amount of potential data loss, but will also increase
network traffic and may negatively impact
performance. The default RPO is one hour.
Note
Qualifier Description
-rpo Type the time interval for when the synchronization
will run. Use the following format:
<HH>[:MM]
where:
l HH—Type the number of hours. Range is 00-24
hours (1 day).
l MM—Type the number of minutes, in 5 minute
increments. Range is 05 to 55.
For synchronous replication, specify the value 0.
Once set, the value cannot be reset from zero to
non-zero or from non-zero to zero.
-replicateHourlySnaps Specify whether or not to mark hourly scheduled
snapshots for replication. Valid values are:
l yes
l no
Note
Note
Note
Qualifier Description
<value><qualifier>
where:
l value—An integer value. If the qualifier is h
(hours), the valid range is from 1 to 61194. If the
qualifier is d (days), the valid range is from 1 to
2549.
l qualifier—A value qualifier. The valid values are:
n h (hours)
n d (days)
Note
Note
Note
Example
The following command creates a replication session with these settings:
l Source storage resource is file system RS_1.
l Destination system type is remote.
l Remote destination system is RS_2.
l Remote storage resource is file system LUN_2.
l Synchronization type is automatic.
l RPO is 2 hours and 30 minutes.
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/rep/session
create -name REP1 -srcRes RS_1 –dstType remote -dstSys RS_2 –dstRes
LUN_2 –syncType auto –rpo 02h30m
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
Note
The show action command explains how to change the output format.
Format
/prot/rep/session [{-id <value> | -name <value> | -res
<value>}] show
Object 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
1: ID =
42949672967_FNM00134400082_0000_42949672967_FNM00131800278_0000
Name = REP1
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
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
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.
Note
Note
Note
Note
Qualifier Description
Note
This qualifier is used for asynchronous replications
only.
As the RPO increases, the potential for data loss also
increases, as well as the amount of required
protection space. Lowering the RPO will reduce the
amount of potential data loss, but will also increase
network traffic and may negatively impact
performance. The default RPO is one hour.
Note
Note
Qualifier Description
Note
Note
Note
-allowAutoDelete
Note
Qualifier Description
Note
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
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
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
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.
Note
Note
-srcSPBInterface Type the ID of the interface on the SPB of the source system
for the replication.
Note
Qualifier Description
-dstSPBInterface Type the ID of the interface on the SPB of the destination
system for the replication.
Note
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
ID = 81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
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
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.
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
back replication sessions on page 71 explains how to fail back a replication session
that has failed over.
Note
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:
l yes—For a planned failover. Can only be issued from the source
system. Where –sync is not specified, this is the default value for a
local replication session or session where role=source.
l no—For an unplanned failover. Can only be issued from the destination
system. Where –sync is not specified, this is the default value for a
remote replication session or session where role=destination.
Note
Qualifier Description
-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
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]
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.
Qualifier Description
Note
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
Qualifier Description
-output|-o Specify the output format. Value is one of the following:
l nvp — The name-value pair (NVP) format displays output as
name=value. Name-value pair format on page 73 provides an
example of the NVP format.
l table — The table format displays output as a table, with
column headers and rows. By default, values that are too long to
Qualifier Description
fit in a column are cut off. Add -wrap after the table qualifier,
separated by a space, so that the values wrap. Table format on
page 73 provides an example of the table format.
l csv — The comma-separated values (CSV) format is similar to
the table format, but the names and values are separated by
commas. Comma-separated values format on page 73 provides
an example of the CSV 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)
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
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
Attribute Description
ID ID of the port.
Protocols Types of protocols the port supports. Value is one of the following:
l mgmt — Management interface.
l file — Network interface for Windows (SMB) and Linux/UNIX
(NFS) storage.
l iscsi — iSCSI interface for iSCSI storage.
Manage network interfaces on page 38 explains how to configure
network interfaces on the system.
MTU size Maximum transmission unit (MTU) packet size (in bytes) that the port
can transmit. Default is 1500 bytes per packet.
Health state Health state of the port. The health state code appears in parentheses.
Value is one of the following:
Attribute Description
Health details Additional health information. See Appendix A, Reference, for health
information details.
Aggregated port If the port is in a link aggregation, the ID of the link aggregation
ID appears. Manage link aggregations on page 79 explains how to
configure link aggregations on the SP ports.
SFP supported List of supported speed values of the inserted Small Form-factor
speeds Pluggable.
Note
The show action command on page 72 explains how to change the output format.
Format
/net/port/eth [-id <value>] show
Object qualifier
Qualifier Description
-id Type the ID of the port.
Example
uemcli /net/port/eth show
1: ID = spa_mgmt
Name = mgmt
SP = spa
Protocols = mgmt
MTU size = 1500
Speed = 100 Mbps
Health state = OK (5)
Aggregated port ID = None
MAC address = 00:50:56:9D:25:B8
2: ID = spa_eth0
Name = eth0
SP = spa
Protocols = file, iscsi
MTU size = 1500
Speed = 10 Gbps
Health state = OK (5)
Aggregated port ID = la0_SPA
MAC address = 00:50:56:9D:3C:70
3: ID = spa_eth1
Name = eth1
SP = spa
Protocols = file, iscsi
MTU size = 9000
Speed = 1 Gbps
Health state = OK (5)
Aggregated port ID = la0_SPA
MAC address = 00:50:56:9D:3A:34
4: ID = spa_iom_0_eth0
Name = eth2
SP = spa
Protocols = file, iscsi
MTU Size = 9000
Speed = 1 Gbps
Health state = OK (5)
Aggregated port ID = None
MAC address = 00:50:56:9D:4E:20
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
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.
Health state Health state of the port. The health state code appears in
parentheses. Value is one of the following:
l Unknown (0) — Status is unknown.
l OK (5) — Port is operating normally.
l OK BUT (7) — Lost communication, but the port is not in
use.
Manage FC ports 77
Configure replication using the CLI
Attribute Description
SFP supported List of supported speed values of the inserted Small Form-factor
speeds Pluggable.
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
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
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
ID = spa_fc1
Operation completed successfully.
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
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 Unisphere online help provides more details on cabling the SPs to the disk-array
enclosures (DAEs).
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.
Attribute Description
Health state Health state of the link aggregation. The
health state code appears in parentheses.
Value is one of the following:
l Unknown (0) — Status is unknown.
l OK (5) — Working correctly.
l OK BUT (7) — Lost connection, but
the link aggregation is not in use.
l Degraded/Warning (10) — Working
and performing all functions, but the
performance may not be optimum.
l Minor failure (15) — Working and
performing all functions, but overall
performance is degraded. This condition
has a minor impact on the system and
should be remedied at some point, but
does not need to be fixed immediately.
l Major failure (20) — Failing and
some or all functions may be degraded or
not working. This condition has a
significant impact on the system and
should be remedied immediately.
l Critical failure (25) — Failed
and recovery may not be possible. This
condition has resulted in data loss and
should be remedied immediately.
l Non-recoverable error (30) —
Completely failed and cannot be
recovered.
Note
If your system has two SPs, details about the link aggregation configured on each SP
appear.
Format
/net/la [-id <value>] show
Object 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
1: ID = spa_la_2
SP = spa
Ports = spa_eth2, spa_iom_0_eth0
FSN port ID = spa_fsn_0_1
MTU size = 1500
Available MTU sizes = 1500, 9000
Health state = OK (5)
Health details = "The component is operating normally.
No action is required."
Operational status =
2: ID = spa_la_0_2
SP = spa
Ports = spa_iom_0_eth2, spa_iom_0_eth3
FSN port ID = None
MTU size = 1500
Available MTU sizes = 1500, 9000
Health state = OK (5)
Health details = "The component is operating normally.
No action is required."
Operational status =
Note
If your system has two SPs, the specified ports are automatically linked on both SPs
for redundancy.
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. Default value is 1500.
Note
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”
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
Note
If your system has two SPs, the specified link aggregation is updated on both SPs.
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. Default is 1500 bytes
per packet.
Note
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
HTTPS connection
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
Note
If your system has two SPs, the specified bond is deleted from both SPs.
Format
/net/la [-id <value>] delete
Object 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
ID = la0_SPA
ID = la0_SPB
Operation completed successfully.
system (if one exists). Then add the tenant to the destination system, using the same
UUID and VLANs as the tenant on the source
Procedure
1. Configure the replication interfaces on each SP of the source and destination
systems.
2. Configure a replication connection using the Asynchronous connection mode.
3. For file storage, create a replication session for the NAS server associated with
the file storage.
Note
Note
You only need to configure replication interfaces and connections for the first
replication session between two systems. The same connection can be used
again for subsequent replication sessions between the same systems.
Procedure
1. Identify the Synchronous Replication Fibre Channel (FC) ports on each system.
To determine the FC port used for synchronous replication, in the CLI console,
run the command /remote/sys show -detail. Port information, similar to
the following example, will appear in the output:
Note
You only need to configure replication interfaces and connections for the first
replication session between two systems. The same connection can be used
again for subsequent replication sessions between the same systems.
Note
For the network to continue functioning properly, ensure that you set the VLAN ID
only when you have configured the network switch port to support VLAN tagging
of multiple VLAN IDs.
Procedure
1. Run the following command to create the interface on SP A:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if create
-type replication -port eth1_spa -addr 10.0.1.1 -netmask
255.255.255.0 -gateway 10.0.1.0
ID = IF_1
Operation completed successfully.
ID = IF_2
Operation completed successfully.
View interfaces
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /net/if show
1: ID = IF_0
Type = iscsi
Port = eth0_spa
VLAN ID = 0
IP address = 3ffe:80c0:22c:4e:a:0:2:7f/64
Subnet mask =
Gateway = fe80::20a8bff:fe5a:967c
SP = spa
2: ID = IF_1
Type = replication
Port = eth1_spa
VLAN ID = 1
IP address = 10.0.1.1
Subnet mask = 255.255.255.0
Gateway = 10.0.1.0
SP = spa
3: ID = IF_2
Type = replication
Port = eth1_spb
VLAN ID =
IP address = 10.0.1.2
Subnet mask = 255.255.248.0
Gateway = 10.0.1.0
SP = spb
ID = RS_1
Operation completed successfully.
1: ID = RS_1
Name = MyTargetSystem
Address = 10.1.1.1
Model = Unity 300
Serial number = FCNCH01234567A90
Connection type = async
Source interfaces = N/A
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."
Note
ID =
81604378625_FCNCH097274B3A_0000_81604378627_FCNCH097274B37_0000
Operation completed successfully.
l For file replication, create a replication session on the NAS server associated with
the file storage.
l Determine the replication synchronization mode you want. You can specify
asynchronous (async), synchronous (sync), or manual synchronization (manual).
Note
ID =
81604378635_FCNCH097274B3A_0000_81604378637_FCNCH097274B37_000
0
Operation completed successfully.
ID =
81604378635_FCNCH097274B3A_0000_81604378637_FCNCH097274B37_000
0
Operation completed successfully.
1: ID =
81604378635_FCNCH097274B3A_0000_81604378637_FCNCH097274B37_0000
Name = REP2
Session type = nas server
Synchronization type = auto
Resource type = NAS Server
Destination type = remote