Prerequisites to enable data mobility between
Dell APEX Block Storage for AWS and another Dell APEX Block Storage cluster
You can enable mobility of data volumes between
Dell APEX Block Storage for AWS and another Dell APEX Block Storage cluster by configuring the operating system network. Repeat this process for each PowerFlex node.
About this task
To establish a static route from
Dell APEX Block Storage for AWS to another Dell APEX Block Storage cluster, for each node:
Steps
Use SSH to connect to the
Dell APEX Block Storage for AWS node.
As a
root user, go to
/etc/sysconfig/network.
In the scripts subdirectory, create each of the following two files:
scripts/set-static-routes.sh
scripts/network_reconfig.sh
Paste the following code in the
set-static-routes.sh file, and save the file.
#!/bin/bash
log=/var/log/network_reconfig.sh.log
/etc/sysconfig/network/scripts/network_reconfig.sh |& tee $log
echo
echo "cat $log # to see results"
Paste the following code in the
network_reconfig.sh file, and save the file.
Ensure that you insert the destination CIDR value within the code. This CIDR value specifies the destination network for Storage Data Target (SDT) traffic. Example CIDR:
10.20.30.0/24
NOTE:AWS Block Storage supports more than one
ip route add line if multiple static routes from that cluster are needed.
#!/bin/bash
date
set -x
nic2=$(find /proc/net/ | grep eth | cut -d "/" -f 5 | sort | tail -1)
nic2gw=$(ip route | grep $nic2 | grep default | cut -d " " -f 3)
# Edit the following line to match the network where the target Dell APEX Block Storage cluster is located
# If you have additional Dell APEX Block Storage cluster networks, add a static route for each network below
ip route add <insert CIDR here> via $nic2gw dev $nic2
ip route
cat ifcfg-$nic2 | tee ifcfg-$nic2.bak
grep -v "POST_UP_SCRIPT" ifcfg-$nic2.bak > ifcfg-$nic2
echo 'POST_UP_SCRIPT="compat:suse:/etc/sysconfig/network/scripts/set-static-routes.sh"' >> ifcfg-$nic2
Make the scripts as executable files as follows:
chmod +x scripts/set-static-routes.sh
chmod +x scripts/network_reconfig.sh
As a root user, to set up the
ifcfg file, run the following:
scripts/set-static-routes.sh
Verify that the static route is added by running the following command:
ip route | grep via
Verify that a network restart preserves the static route, by running the following command:
wicked ifup all
Results
The operating system network is now configured to provide static routing to any PowerFlex cluster present in the specified CIDR.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\