VMware Cloud Community
thedaveyboy
Contributor
Contributor
Jump to solution

Disable / Enable memory sharing (salting) in host profile

vSphere / esxi 5.1

Does anyone know where in the host profile the memory sharing setting between VMs is set? 

I've disabled salting after it was put in in a patch last year, but now my cluster is complaining about being non compliant and I can't find the setting in the host profile.

Anyone help me out? 

Reply
0 Kudos
1 Solution

Accepted Solutions
Techie01
Hot Shot
Hot Shot
Jump to solution

Are you looking for  Mem.ShareForceSalting in the host profile. That allows to  set the salt value.

The current value can be found out by  esxcli system settings advanced list  -o /Mem/ShareForceSalting  . I assume that you want to change it to 1 ( default is 2)

You can change this through host profile by  edit profile ---> Advanced configuration Option ---> Right Clik ----> Add Profile . A new profile with OptionProfile will be created on the bottom of that leaf.

Expand OptionProfile ---> Advanced Option --->  Select " configure a fixed option"

On the first box enter  Mem.ShareForceSalting  and on the second box enter value 1   ( I changed the salt value from 2 ( default ) to 1)

Then follow the standard process of attaching and applying profile

View solution in original post

Reply
0 Kudos
2 Replies
Techie01
Hot Shot
Hot Shot
Jump to solution

Are you looking for  Mem.ShareForceSalting in the host profile. That allows to  set the salt value.

The current value can be found out by  esxcli system settings advanced list  -o /Mem/ShareForceSalting  . I assume that you want to change it to 1 ( default is 2)

You can change this through host profile by  edit profile ---> Advanced configuration Option ---> Right Clik ----> Add Profile . A new profile with OptionProfile will be created on the bottom of that leaf.

Expand OptionProfile ---> Advanced Option --->  Select " configure a fixed option"

On the first box enter  Mem.ShareForceSalting  and on the second box enter value 1   ( I changed the salt value from 2 ( default ) to 1)

Then follow the standard process of attaching and applying profile

Reply
0 Kudos
thedaveyboy
Contributor
Contributor
Jump to solution

Thanks Techie01,  That was just what I was looking for.   I didn't realize I needed to add a new setting.  Seems strange that the profile compliance can fail against a setting that does not exist in the profile!

Reply
0 Kudos