VMware Cloud Community
Madmax01
Expert
Expert
Jump to solution

New-advancedsetting - not supported Error

Hi guys,

i have an issue with sfcbd service and need to increase Memory Pool.

http://h20195.www2.hpe.com/v2/getpdf.aspx/4AA3-1055ENW.pdf?ver=1.0

Case 3 solve the issue on my  Servers.

anyone knows how to bypass the "not supported Error" once trying to use Powershell to create this entry mass?

logging into and placing command works - just powershell dont let me create it.

painfully for trying to fix with lot of hosts.

thx

max

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Afaik there is no PowerCLI option to add new advanced settings for an ESXi node.

You will have to use the esxcfg-advcfg or the vCLI command vicfg-advcfg.

The esxcfg-advcfg can be run on a an ESXi host through the plink.exe command (from the PuTTY Suite).

But that requires SSH to be running on the ESXi node.

An alternative is to use the vCLI command vicfg-advcfg from a script, and do the mapping like described in Robert's How to run VMware vSphere CLI perl scripts from PowerCLI post.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
5 Replies
LucD
Leadership
Leadership
Jump to solution

Could you show us the code you are using, and a screenshot of the errors you are getting?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Madmax01
Expert
Expert
Jump to solution

Hi Lucd,

thx for the Answer.

i tried:

New-AdvancedSetting -Entity (get-vmhost testhost) -name CIMOemPluginsRPMemMax -Value 500 -Type VMHost -Confirm:$False

tried also

get-vmhost testhost |New-AdvancedSetting -Name CIMOemPluginsRPMemMax -Value 500 -Confirm:$False

Error:

New-AdvancedSetting : 9/4/2017 9:40:54 AM    New-AdvancedSetting

VMHosts do not support adding new advanced settings

At line:1 char:1

+ New-AdvancedSetting -Entity (get-vmhost testhost) -name CIMOemPluginsRPMemMax

-Va ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~

    + CategoryInfo          : InvalidArgument: (testhost:VMHostImpl) [New-Advan

   cedSetting], ViError

    + FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_NewAdvanced

   Setting_NotSupportedOnVMHost,VMware.VimAutomation.ViCore.Cmdlets.Commands.

  NewAdvancedSetting

- i used 6.5 Release 1 build 4624819 and 6.3 Release 1

thx

Best regards

Max

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Afaik there is no PowerCLI option to add new advanced settings for an ESXi node.

You will have to use the esxcfg-advcfg or the vCLI command vicfg-advcfg.

The esxcfg-advcfg can be run on a an ESXi host through the plink.exe command (from the PuTTY Suite).

But that requires SSH to be running on the ESXi node.

An alternative is to use the vCLI command vicfg-advcfg from a script, and do the mapping like described in Robert's How to run VMware vSphere CLI perl scripts from PowerCLI post.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Madmax01
Expert
Expert
Jump to solution

thx Lucd,

don't understand why they not adding support to powercli to make things more easier.

will check the alternative way around.

thx Smiley Wink

Best regards

Max

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

The lacking of PowerCLI support to add new settings might be that the public API (OptionManager), only allows to query and set/change existing advanced settings.

The esxcfg-advcfg command, afaik, uses a private API to add advanced settings.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos