Start a Conversation

Unsolved

This post is more than 5 years old

8232

August 3rd, 2011 05:00

Clone replica

As it is not possible to clone last replica to a volume using powershell, I am trying to do it via ssh:

1) If I run plink against EQL it doesnt show any output for the commands. How can I get plink to work with EQL?

2) I am trying to use the eqlcli perl script to run the command but output to get last replica from a replica set is not well formatted to be parsed in an easy way. I want to get the string "RDR04-very-large-volume-name.1-2011-08-03-13:01:22.10208" but the output returns it in different lines. Is there anyway to get the output well formatted to parse it or increase the width of columns?


EQL02> partner select EQL01 inbound-replicaset select RDR04-very-large-volume-name.1 show
_______________________ Inbound ReplicaSet Information ________________________
Name: RDR04-very-large-volume-name.1 PrimaryIscsiName:
Size: 5GB iqn.2001-05.com.equallogic:0-8a0906-
ReservedSpace: 1.03GB 7c16c7702-b307208e8b94e392-rdr04
FreeSpace: 525MB Replicas: 1
Status: ready Manual-Xfer: disabled
StartingTime: None Thin-Provision: enabled
Thin-Min-Reserve: 10% Thin-Growth-Warn: 100%
Thin-Growth-Max: 100% Type: regular
_______________________________________________________________________________


______________________________ Inbound-Replicas _______________________________


Name TimeStamp Size Status
--------------------------------------- ----------- ---------- -----------
RDR04-very-large-volume-name.1-2011-08- Wed Aug 3 5GB ready
03-13:01:22.10208 13:01:22
2011

August 3rd, 2011 10:00

Hello,

There currently is no way to change the output format. On the Equallogic support site are the "Host Scripting Tools", located with the Firmware downloads. If you select the 5.0.x or 5.1.1 download the Host Scrtipting tools also include support for Python. There are sample PERL and Python scripts that show how to deal with the wrapped lines.

Regards,
-don
No Events found!

Top