Join us for a virtual Nutanix User Group meeting with Jarian Gibson as he covers Nutanix Cloud Clusters (NC2) on Azure and AWS with Citrix. <\/span><\/p>

Jarian will take a deep dive into NC2 on Azure architecture and Citrix on NC2 on Azure\u00a0that helps you strengthen your business continuity and disaster recovery position. He\u2019ll also provide the latest updates for NC2 on AWS.<\/span><\/p>

Plus, we're\u00a0giving away a Nutanix suitcase to one lucky winner!\u00a0Opt-in when you register\u00a0to be entered to win.\u00a0<\/p>","author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":4},"type":"Webinar","url":"https:\/\/next.nutanix.com\/events\/global-nug-nc2-on-azure-and-aws-with-citrix-151","image":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/f9693b5b-436b-427a-9b98-531b4040ff24_thumb.png","location":"","startsAt":1678298400,"endsAt":1678302000,"contentType":"event","attendees":[],"attendeeCount":0,"isLoggedInUserAttendee":false,"createdAt":"1675974969"},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">

问题

自动复制状态检查

  • 2019年3月11日
  • 1回复
  • 1409意见

徽章 +1
我正在寻找可以在服务器上的自动化任务中设置的东西,以对任何有效的保护域的主动复制进行轮询,如果是真实的,则可以提取信息并通过电子邮件发送电子邮件。我在电子邮件中寻找的输出将如下所示。



保护域:protectryDomainName

复制操作:发送

开始时间:03/11/2019 12:00:02 EDT

远程站点:远程图式网站

快照ID:2918635

字节完成:444.08 MIB(465,653,447字节)

快照尺寸:2.57 GIB(2,760,598,528字节)

完成百分比:95.38689



如果有人已经拥有类似的设置,那真是太棒了,我的脚本技巧却很小,因此任何帮助都会很棒。

该主题已关闭以供评论

1回复

UserLevel 3
徽章 +3

@bschaffer抱歉,我们花了这么长时间才能回到您身边。

这可能会得到更多的改进,但可以正常进行,脚本可能是:

===================================================================

#!/bin/bash

NCLI PD LS-REPL-Status>复制

如果Grep“无” ./复制;然后

回声“现在没有复制正在运行”;

别的

/home/nutanix/sisticeability/bin/email-alerts -to_address =“逗号分隔的电子邮件地址” -subject =“ ================================。/复制“”

echo ====>发送电子邮件已发送

fi

===================================================================

您应该更改其许可,以便可以执行它,然后将其添加到集群中CVM中的CRON作业中。这个不会在集群中进行任何过程,但每分钟左右都可以报告任何仍在每5分钟的顶部运行的复制

/usr/bin/crontab -l && echo“ */5 * * * * * * bash -lc < -script -name>”)|/usr/bin/crontab--

这将增加其运行的CVM的负载,如果您真的实现了,我建议您在Nutanix支持下检查一下

问候,

-说

Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu