5-3
Cisco UCS Invicta C3124SA Appliance Administration Guide
OL-25761-DRAFT
Chapter 5 Asynchronous Replication
The
SSH Public Key
dialog box appears.
Step 2
Copy the ssh key and click
OK
.
Step 3
Open a Terminal window and navigate to the
/root/.ssh
directory
.
Step 4
Enter
vi authorized_keys
.
Step 5
Paste the Cisco Public Key copied in Step 2 into the authorized_keys list and click
Enter.
See the following sample
procedure to configure a Linux Host to be used as a Linux ‘Open Target’
partner for Async Replication.
Sample Procedure
:
Note
This example uses CentOS 6.2
You need the following:
•
LVM 2.0.2:
yum –y install lvm2
•
Install
Openssh server and clients
:
yum -y install openssh-server openssh-clients
•
Add and start sshd service daemon:
–
chkconfig sshd on
–
service sshd start
•
If you need Multipath support for future use, configure
/etc/multipath.conf
file on your
storage device (from the other storage vendor) as your target LUN.
5a.
Make sure public key is there in th
e
~/.ssh
folder
:
•
$ cd ~
•
$ chmod 755 .ssh
•
$ chmod 600 ~/.ssh/authorized_keys
•
(
Do a
cat authorized_keys
and make sure the public key is copied there
)
•
$ exec /usr/bin/ssh-agent $SHELL
•
$ ssh-add
5b. As the Linux root user,
type the following command to relabel all the files under the correct
security context for SELinux:
restorecon -Rv /root/.ssh
(These should allow the Cisco array to communicate with the Linux host via password-less ssh)
5c. Get your target LV device ready by using LVM2 tools.
With a multipath setup mapped, the target storage array from the other vendor is mapped as:
/dev/mapper/26439363962386365
5d. Setup the LV using the following commands
•
pvcreate /dev/mapper/26439363962386365 vgcreate VG1 /dev/mapper/26439363962386365
•
lvcreate -L 90G -n async_lun VG1