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"}}}">

快速且方便的命令参考,用于检查Nutanix文件

  • 2020年10月4日
  • 1回复
  • 3629意见

UserLevel 2
徽章

Nutanix文件(以前称为AFS)是公司的文件服务器和Nutanix群集上的文件共享解决方案。通过在Nutanix群集中配置Nutanix文件,我们基本上消除了为Windows/SMB文件服务部署专用网络附加存储(NAS)解决方案的需求。Nutanix文件作为群集,分布式文件服务器运行,该文件由通常称为FSVM的一组文件服务器VM驱动。

Nutanix文件及其编排的新手或用户可能会因管理Nutanix文件基础架构的多种可能性和复杂性而感到恐惧。让我尝试帮助您开始使用一些命令,以获取处理此产品的摘要。我将使用以下约定在CVM层上运行命令,而不是在FSVM中运行命令:

nutanix@cvm:$

nutanix@fsvm:$

开始了:

  1. 列出FSVM及其IP地址 - 以及一些替代方案:
nutanix@cvm:$ ncli文件服务器列表

nutanix@cvm:$ ncli fs ls

nutanix@cvm:$ afs info.nvmips

nutanix@cvm:$ afs info.nvm_info
  1. 找出密涅瓦领导人:
nutanix@cvm:$ service =/atherciance/logical/pyleaders/minerva_service;echo“ Minerva ==>” $(ZKCAT $ SERVICE/`ZKLS $服务| HEAD -1`)

nutanix@cvm:$ afs info.get_leader
  1. 安装了Nutanix文件产品的版本:
nutanix@fsvm:$ afs版本

nutanix@cvm:$ ncli文件服务器列表|GREP版本
  1. 列出所有文件共享:
nutanix@cvm:$ ncli fs list-all-fs-shares

nutanix@fsvm:$ afs share.list
  1. 特定FSVM的详细信息:
nutanix@fsvm:$ afs fs.info
  1. 检查文件服务器的健康:
nutanix@fsvm:〜$ afs smb.health_check
  1. 获取文件服务器的时区:
nutanix@fsvm:〜$ afs fs.get_timezone
  1. 打印FSVM的UUID:
nutanix@fsvm:〜$ afs ha.minerva_ha_print_nvm_uuid_owners
  1. 高可用性状态:
nutanix@fsvm:〜$ afs ha.minerva_check_ha_state
  1. SMB协议版本:
nutanix@fsvm:〜$ afs smb.get_conf“服务器最大协议”部分= global

现在就足够了。运行这些命令并查看每个命令的结果。请注意,我提供的任何命令都不会修改Nutanix文件基础结构上的任何内容。其背后的理由是:测量两次,剪一次。


该主题已关闭以供评论

1回复

徽章 +4

我需要PDF格式的Clicommands的完整完整列表

在哪里下载?

TQ

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