Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
7.11.2. Changing Preferences in the Persisted Configuration (Agent Preferences)
The agent's configuration is initially read from
agent-configuration.xml and overlaid with the values entered at the setup prompts at start up. After the agent is initially configured, the agent persists that configuration and never refers to the agent-configuration.xml again, unless the configuration is purged and reloaded. Most configuration changes are made to the rhq-agent-env.sh file, which is loaded every time the agent starts.
It is possible to change the persisted configuration (without editing the configuration files) using the
setconfig command at the agent prompt.
- Open the agent prompt.
agentRoot/rhq-agent/bin/rhq-agent.sh
agentRoot/rhq-agent/bin/rhq-agent.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Send the
setconfigwith the name of the preference to edit and its new value. The preference name is whatever the entry name is in theagent-configuration.xmlfile. For example:> setconfig rhq.agent.client.max-concurrent=20
> setconfig rhq.agent.client.max-concurrent=20Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart the agent process to load the new configuration.
agentRoot/rhq-agent/bin/rhq-agent-wrapper.sh stop agentRoot/rhq-agent/bin/rhq-agent.sh
agentRoot/rhq-agent/bin/rhq-agent-wrapper.sh stop agentRoot/rhq-agent/bin/rhq-agent.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow