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

问题

自定义角色不起作用


徽章 +1

嗨伙计,

我们一直从Prism Central VM获得有关内存使用情况的警报。这似乎是一个已知的问题。因此,为了抑制内部票务系统中反复生成案例的警报,我正在努力在内存使用率达到90%时设置自动重新启动。

我已经编写了代码来执行此操作(在PowerShell中使用Nutanix CMDLET和REST API呼叫的混合)。在我自己的帐户下运行时,它可以正常工作。我的帐户具有“用户管理”角色。我还应该提到我们将角色映射到广告组。

但是,我希望将计划的作业移至服务帐户的上下文中。该服务帐户已通过单个作业“更新VM Power状态”分配了自定义角色

我将角色添加到我的服务帐户用户中,并将其应用于Prism VM(和测试VM)。

我想知道我是否需要授予更多权限

访问被拒绝
SET-NTNXVMPOWERSTATE:远程服务器返回错误:(403)禁止。

该主题已关闭以供评论

5个答复

UserLevel 6
徽章 +5

@micmaher001,您可以尝试添加并选择“更新VM”选项,然后检查相同或尝试选择“基本访问对于VM,然后检查。

徽章 +1

嗨,阿尼什,

我为此开了一个支持案例。最后,问题是服务帐户是全球棱镜中心角色映射的观众,同时还具有自定义角色。

这引起冲突,我们需要删除查看器来解决此问题。

UserLevel 6
徽章 +5

啊,我看到了,是的,我们已经看到了由于PC Global角色映射和PC RBAC(基于角色的访问控制)的冲突而看到此类问题的场景。非常感谢您让我们知道这一点。:微笑:

这将帮助其他人有类似问题以及在PC上具有这样的角色冲突时。

您能告诉我这个问题的情况是什么?

徽章 +1

:竖起大拇指:00812919

UserLevel 6
徽章 +5

@micmaher001, 多谢。:微笑:

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