In order to find your current advanced_configuration settings and add or update additional settings perform the following steps:
To retrieve <deployment-name> for the next command run:
cf service --guid <service-name>
With the above returned <deployment-name> run the following to retrieve your manifest.yml with current advanced_configuration section included:
bosh -d service-instance_<deployment-name> manifest
In your manifest.yml file look for the following section:
advanced_configuration:
server:
gemfire_properties: {}
jvm_options: []
resource_manager:
credentials: {}
locator:
gemfire_properties: {}
jvm_options: []
credentials: {}
If any settings are listed in the advanced_configuration setting section they will need to be included in the following command, along with any updates/additions, in order to ensure that they are not overwritten to default values:
cf update-service SERVICE-INSTANCE -c '{
"advanced_configuration": {
"server": {
"gemfire_properties": {},
"jvm_options": [],
"resource_manager": {}
},
"locator": {
gemfire_properties: {},
jvm_options: [],
credentials: {}
}
}
}’
Current and new settings should be included in the correct location and follow correct JSON syntax.
It is encouraged to backup your current manifest.yml and verify changes were made successfully.