CVM commands reference


Userlevel 2
Badge +16
Hey guys,

While finding a way to work around with the AFS problem (AFS upgrade progress got stucked by some ways), I have found out that in CVM there are lots of commands specifically built up to control, troubleshoot or something else that I think it is quite helpful for me and everyone

example: I saw that in CVM there are 2 commands named afs and afs_fix (The command name means straghtforward but the usage is just like something behind the curtain and I cannot know how to use it)

So, I am thinking about the idea in which whether Nutanix engineer can provide me/us a reference guide how to use those commands in CVM? It is really appreciated

5 replies

Userlevel 4
Badge +19
hienle

Please refer the below CLI guide.

https://portal.nutanix.com/#/page/docs/details?targetId=Command-Ref-AOS-v51:Command-Ref-AOS-v51

Userlevel 2
Badge +16
sandeepmp Thanks for your reply

The document that you recommended to me containing CVM commands but seems not enough.
Example, there are no sentences talking about afs supported commands in the document as I pointed out in my previous post.

The ncli commands looks helpful but CVM commands seems better in troubleshooting, I think
Userlevel 4
Badge +20
Where did you see the commands? I ask because the file server commands are
minervaor from NCLIncli> file-serveradd-snapshot-policy delete removerm delete-snapshot-policy getget-builtin-groups list lslist-snapshot-policies protect update-snapshot-policyactivate add createedit update join-domainleave-domain load-balance upgrade
Userlevel 4
Badge +20
Where did you see the commands? I ask because the file server commands are
minervaor from NCLIncli> file-serveradd-snapshot-policy delete removerm delete-snapshot-policy getget-builtin-groups list lslist-snapshot-policies protect update-snapshot-policyactivate add createedit update join-domainleave-domain load-balance upgrade
Userlevel 2
Badge +16
Hi dlink7, Thanks a lot for your reply,
Actually this command was found out and guessed by myself so I cannot confirm that it is actually about AFS operation or not. By the way, I see lots of the same kind of that commands there, inside of CVM and I wonder that whether it is useful for troubleshoot?





Reply