| Summary | Orbix deploys services based on a default template. Sometimes changes to this may need to be made. This can be done after the services are deployed, but can also be done during deployment. |
|---|---|
| Article Number | 34616 |
| Environment | Orbix 6.x All Supported Platforms |
| Question/Problem Description | How to modify the configuration of an Orbix service during deployment? Can the default configuration of a service be changed when deploying? How to update a configuration value of a service without the need to start the domain? Avoid the need to run a script after installation of an Orbix domain |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution |
It is possible to set configuration values for Orbix services by updating the deployment descriptor for the domain. Add a configuration line for a service ensure the value specified is set. For example to set the lk_max value, which normally defaults to 1000, to 10000 for the IFR service:
... snip ... <dd:service name="ifr" link="false">
<dd:activation mode="on_demand" />
<dd:run mode="indirect_persistent" instrumented="false" proxified="false" managed="false" authenticated="false" perflog="false" dynlog="false" />
<dd:endpoint protocol="iiop" />
<dd:configuration name="plugins:pss_db:envs:ifr_store:lk_max" value="10000" type="long"/>
</dd:service>
... snip ...
This will set the lk_max to 10000 when the domain is deployed.:
...snip... ifr
{
plugins:local_log_stream:filename = "%{LOCAL_IFR_LOG_FILE}";
event_log:filters = ["IT_IFR=INFO_HI WARN ERROR FATAL"];
plugins:pss_db:envs:ifr_store:db_home = "%{LOCAL_IFR_DB_HOME}";
plugins:pss_db:envs:ifr_store:create_dirs = "true";
plugins:pss_db:envs:ifr_store:verb_all = "true";
plugins:pss_db:envs:ifr_store:lock_check = "true";
plugins:pss_db:envs:ifr_store:init_txn = "true";
plugins:ots:default_transaction_timeout = "300";
configuration:hostname = "nbdubmmurphy02";
plugins:ifr:direct_persistence = "false";
policies:iiop:server_address_mode_policy:local_hostname = "NBDUBMMURPHY02";
plugins:orb:is_managed = "false";
orb_plugins = ["local_log_stream", "iiop_profile", "giop", "iiop", "ots"];
plugins:ifr:iiop:port = "0";
plugins:ifr:iiop:host = "NBDUBMMURPHY02";
plugins:it_mgmt:managed_server_id:name = "iona_services.ifr";
NBDUBMMURPHY02
{
plugins:pss_db:envs:ifr_store:lk_max = "10000";
};
};
|
| Workaround | |
| Notes | References Written Documentation: Orbix Deployment Guide, Orbix Deployment Descriptors, Domain Configuration Elements |
| Attachment |
| Created date: | 07 September 2012 |
|---|---|
| Last Modified: | 12 February 2013 |
| Last Published: | 07 September 2012 |
| First Published date: | 07 September 2012 |
#Orbix
#KnowledgeDocs




