5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Hi Folks, We have been getting alerts on memory usage from the Prism Central VM. It seems to be a known issue. So to suppress the alerts from repeatedly generating cases in our internal ticketing system I am working on setting up an automated restart when memory usage gets to 90%. I’ve written the code to do this (a mix of the Nutanix cmdlets and Rest API calls in PowerShell). It works fine when run under my own account. My account has the ‘User Admin’ role. I should also mention we map roles to AD groups. However I wish to move the scheduled job to run under the context of a service account. The service account has been assigned a Custom Role with a single assignment ‘Update VM Power State’ I’m added the Role to my Service account user and applied it to the Prism VM (and a Test VM). I’m wondering if I need to grant more permissions as I am getting an error Access is deniedSet-NTNXVMPowerState : The remote server returned an error: (403) Forbidden.
Hi Folks, I have a few machines I would like to convert from IDE to SCSI. I understand this can be done with acli. The procedure is to clone the ide disk and replace it for the VM. nutanix@cvm$ acli vm.disk_create <vm_name> clone_from_vmdisk=<vmdisk_UUID> bus=scsi However, I’d like to do this in PowerShell given I’ve already started developing down that track. I have PowerShell cmdlets to snapshot and shutdown the VM which are recommended steps before performing this task. I didn’t see a cmdlet to perform the clone and replacement, so I turned to the REST API. I am fairly new to Nutanix to I wanted to get some feedback on whether this is the right approach or at least that its not going to break anything other than my test VM. $uri = "https://$ntxCluster/api/nutanix/v2.0/vms/$($vm.vmid)/disks/attach"$body = '{"uuid":"abcdefg-08h3-4i44-95j0-kl44m82no758","vm_disks":[{"vm_disk_clone":{"disk_address":{"device_bus":"SCSI","device_index":123}}}]}'$headers=@{}$headers.A
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.