Streamline Your Infrastructure Management and IT Operations
Recently active
How can I download Snapshot files from Prism or via SSH?I’m trying to follow this tutorial Nutanix Files - Deleting internal snapshots (SSR and CFT snapshots (as to find out where the snapshots are) but I’m encountering an error when I try to run the command “afs info.nvmips” I’m receiving “Failed to get FileServerVms”. Can you please help?
I already following nutanix from youtube and KB but didn’t find any Take a Snapshot menu.Does the take a snapshot have different method now ?
I am passing this payload to to filter a VM. It works if the VM name is an exact match (case sensitive). How Do I make the following filter case insensitive ?payload = {"kind":"vm", "filter": "vm_name=={0}".format(vmName)} I tried different combination’s, but none worked. Thanks in Advance Yezdi
Hello, masters of NutanixCould you help a beginner in trouble? I took an internal snapshot to prepare for a problem moving nodes from an existing cluster to another cluster The previous one was done well, and the snapshot was about 1.8gb, but I found that even though I deleted the snapshot, I still had about 1tb of capacity leftI got a response that the curation will work and the capacity will be back in 36 hoursBut the capacity remains the sameWhich part should I check? I'd appreciate it if you could give me a command or a solutionThe customer is dissatisfied with the capacity of 1tb and wants to resolve it Help me, please. Customer is using AOS 5.20.3.5 / ESXI 7.0 u2a / NX-3060-G4 Pic1 - Capacity before increasing nodes Pic2 - Capacity after node is increased
Hello, good afternoon, We are doing space scrubbing, saw a VM and scrubbed approx. 4Tb, more than 48 hours have passed and in prism it continues to reflect space.Does anyone know what is happening, we saw that the Curator has been executed successfully.
PRISM is installed as appliance however, the is OS layer within it. Do we need to introduce any security software for OS layer or Nutanix itself has any security functions?During the audit they were pointed out by auditor if it is okay to do nothing for PRISM appliance in terms of security.
Hi,In the prism UI, we have an option to check the resilient capacity of the cluster (the amount of logical storage that can be used, beyond which the cluster will lose self-healing capability). I would like to know, if we have an option to get the same value via any nCLI command or API.Thanks,Arun
Hi, I found ‘recovery_plan_jobs’ subject from rest api explorer. There is a ‘POST’ action look like allow us to ‘cleanup’ and ‘rerun’ the job. But when I’m trying to using ‘rerun’ action there was an error. Thank youWira curl -X 'POST' \ 'https://10.38.187.39:9440/api/nutanix/v3/recovery_plan_jobs/cf7c7951-cd22-43bb-93a4-578060a7d143/rerun' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'X-Nutanix-Client-Type: ui' \ -d '{ "should_continue_rerun_on_validation_failure": true, "rerun_recovery_plan_job_uuid": "cf7c7951-cd22-43bb-93a4-578060a7d143"}'"message": "Given input is invalid. Action Type rerun specified in Recovery Plan Job spec is invalid.",
Yo! I’m trying to figure out how the filter works on Prism Central V3 REST API.In this scenario, I’m trying to filtering on VM UUID, but can’t find the right argument for this.I tried this, and it doesn't work..filter = "vm_uuid==9b174662-66a1-4f9a-8cc9-788ab242ffa1" I know I can filtering on VM Name, but not useable in my case.. Best Regards,Daniel Orelius
Hello,Is there a reason that this post is not available for me?https://next.nutanix.com/how-it-works-22/rest-api-for-creating-vm-from-image-services-not-working-21921It is linked to from here: https://next.nutanix.com/prism-for-infra-and-it-ops-26/create-vm-via-one-of-catalog-items-created-earlier-using-rest-api-39243?postid=56689#post56689 Thanks in advance and kind regards,Jan Pieter Kunst
Hello, I am at the latest and greatest of PC (2022.04.0.1) and trying to run a new capacity planning scenario, I am met with the immediate error: RPC error kTransportError raised I have restarted PC, manually restarted some services, etc. and I am unable to get past it to actually create a new scenario so I was curious if this is a known issue or if anyone has hit it before. There is one old thread that talks about upgrading PC to resolve it, but I am at the latest currently. Any thoughts welcomed. Thanks!
my NX nodes having eth0 & eth1 is 10 Gig / eth2 & eth3 is 1 Gig.we have created new bridge br1 with eth2,eth3 uplinks and created new vlan (vlan 17 ) in br1 for DMZ traffic.command used -: acli net.create VLAN-DMZ vswitch_name=br1 vlan=17current scenario is default br0 is in under vs0. Query -: Do I need to make a vs1 (vSwitch1) for br1?
Hi all,I’m running a single node cluster, and while I was poking around the settings I went into the Rack Configuration page and set the fault tolerance level to node.Of course with it being a single node cluster the dashboard now shows warnings that the cluster can’t self-heal from a node failure.I’m not able to find an option to change the desired fault domain back down to disk, I can’t find any commands that do anything other than get what it is currently.Obviously my particular desire to lower the fault tolerance domain below node isn’t something that’s an intended use for this software; but is there really no way to change these settings configuration outside of prism?
I have installed cluster with 2 blocks (3 nodes each) and assigning IPs to them, I used a switch without vlans, when I created vlans and connect my switch to firewall, I was unable to open the prism in the browser (chrome, firefox), but I can reach the cvm and I can SSH it through putty.
Note 1: After the force cleanup process is followed, all PC-PE registration information will be lost. Any configuration of the PE (Prism Element) cluster within Prism Central will also be lost permanently and cannot be recovered.Note 2: Before unregistering the cluster from Prism Central, any Nutanix Disaster Recovery (Leap) configuration for the cluster being unregistered should be removed from Prism Central. Refer to KB 12749 for more details.What is the impact of VM in the process of removing PC from PE?Will the CVM service be interrupted?Thank you
As an example, I have a set of users, all of which need full view access (no console). However, a subset of those users need console access to a subset of VMs. I”m not sure how this might be implemented. We are running 5.20.2.01. I’m not quite sure how to implement.
Sorry if I am asking a silly question. I would like to ask if I configured protection policy from Prism Central. I assume even PC is failed the replication should perform as is just that it would be appreciated if anyone could share some thoughts or documentation to support that.
In the recent version of Prism Central, I am no longer able to configure per-VM affinity rules. I now have to create global affinity policies based on categories. I can see how this is helpful, but it also add a lot of complexity for basic affinity situations like this:I have two VMs dns1 and dns2 and a four host cluster. The two dns servers should never live on the same host. Super easy to do the old way. But how do you do it this way? Would I create a category called `DNS` with `primary` and `secondary` as values? Then create one policy for primary that has host1 and host2 and create another for secondary with host3 and host4?What about a three-vm cluster? How would you ensure they balance onto separate hosts?
Hi@AnishWalia20 ,As per previous query, there was no update for clone permission,But now , on current version of PC 2021.9.0.2 , clone permission is there for ad user, but my query here is to clone other user’s vm or admin created vm. This task i am executing via REST API V3 as per previous query.There is project A(having multiple users) with allow collaboration option, in which ,As a user-A,I am able to clone a vm created by user-B ,But cloned vm owner property is same as User-B.I want to change owner property also while cloning vm via api.After cloning, vm should be owned by user-A.Please let mr know if there is some method to do so.
Hello All, I am working on a powershell script to create VM’s and I am having an issue with the following piece. $boot=New-NutanixObject BootConfig$boot.uefi_boot=$true$boot.secure_boot=$true$boot.boot_device_type='DISK'$boot.disk_address=$vmDisk.vm_disk_clone.disk_address The error I am seeing is “Boot disk index must be specified” I used the following to make the $vmDisk variable you are seeing at the bottom of the trouble code. $diskImage = (Get-Image | Where-object {$_.name -eq $vmdisks})$diskImage = Get-Image -IncludeVmDiskId -ImageId $diskImage.UUID $cloneDiskAddress=New-NutanixObject VMDiskAddress$cloneDiskAddress.vmdisk_uuid=$diskImage.vm_disk_id$vmDiskClone=New-NutanixObject VMDiskSpecClone$vmDiskClone.disk_address=$cloneDiskAddress$vmDisk=New-NutanixObject VMDisk$vmDisk.is_cdrom=$false$vmDisk.vm_disk_clone=$vmDiskClone I know it is something simple I just don’t know what it is. I appreciate any help. Thanks,Scott
I wan to migrate the prism central vm (scaled out 3Prism Central) AHV cluster to Nutanix+Esxi cluster. which is the best method to migrate the prism central vm, we have 3 prism central vm in the production, so all the PC we need to migrate. after migrate any manual configuration is required, please suggest best method.
Hello I’m trying to figure out why We are unable to login in to Prism central as below message appear when trying to login: as it show in the dev tools ( Failed to load resource ) I have checked the apache and its not working but not sure if the issue has anything to do with httpdbelow is the status of httpd on the PCVMRedirecting to /bin/systemctl status httpd.service● httpd.service Loaded: masked (/dev/null; bad) Active: inactive (dead)nutanix@NTNX-1-A-PCVM:~$nutanix@NTNX-A-PCVM:~$ sudo service httpd startRedirecting to /bin/systemctl start httpd.serviceFailed to start httpd.service: Unit is masked. after that checked if a service does not start or there is any FATAL logs for i in `svmips`; do echo "CVM: $i"; ssh $i "ls -ltr /home/nutanix/data/logs/*.FATAL"; done /home/nutanix/data/logs/magneto.FATAL/pollux.ntnx-10-0-22-199-a-pcvm.nutanix.log.FATAL.20220510-022710.119479/home/nutanix/data/logs/lazan.FATAL/home/nutanix/data/logs/uhura.FATAL/home/nutanix/data/logs/catalog.FATAL/h
I need to change the expiration period for the password based on local password. Do you know which command allow to do that, I have checkedncli authconfigbut without success.Cheers from Tahiti
There has been always slight confusion as to what of the 2 commands to use while destroying a cluster - cluster destroy and cluster -f destroyThe difference between the two are cluster destroy : This will clean out all the data on the cluster and wipe out all the configurations. cluster -f destroy : This command does the exact same thing. Also it will bypass any check for any service on the node. It grants permission to destroy cluster even if zookeeper node is not accessible. Think of it as forcefully destroying the cluster. Always make sure to reclaim licenses before destroying the cluster to follow best practice.Licenses can be reclaimed via the portal or can also be reclaimed manually via SFDC.If licenses are reclaimed manually following commands need to be run once they are reclaimed:ncli -h truencli license reset-license
Have you noticed your Prism being unavailable via GUI or API when an AOS upgrade is running? This can occur during an AOS upgrade from 5.15.x or older to 5.19 or newer AOS. For more information check out KB 12280.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.