| Summary | How to reconfigure Orbix services and servers to use IP instead of hostname in IORS | 
|---|---|
| Article Number | 13928 | 
| Environment | All Supported Operating Systems Orbix 5.x Orbix 6.x | 
| Question/Problem Description | How to reconfigure Orbix services and servers to use IP instead of hostname in IORS | 
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | For indirect persistent POAs (line in the simple persistent demo), it is not enough to set policies:iiop:server_address_mode_policy:local_hostname with an IP address. This step will be sufficient only in case of direct persistent POAs and transient POA, where the locator will be bypassed in initial IIOP communication. 
 policies:iiop:server_address_mode_policy:local_hostname can be either set in the configuration file, or in the command line with: -ORBpolicies:iiop:server_address_mode_policy:local_hostname <IP address> 
 For direct persistent and transient POAs, the locator Object reference need to be changed too. The way to do that would be:   
 plugins:locator_cluster:iiop:addr_list [" 'orb-cs-dev-01:3075"] to [" 172.19.169.91:3075"]; 
 policies:iiop:server_address_mode_policy:local_hostname and plugins:locator:iiop:host to ip address instead of hostname 
 <path to itlocator> -ORBname iona_services.locator.<host_name> -ORBdomain_name <domain name> -ORBconfig_domains_dir <domain_path> prepare 
 
 
 | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 06 September 2011 | 
|---|---|
| Last Modified: | 13 February 2013 | 
| Last Published: | 23 June 2012 | 
| First Published date: | 09 September 2011 | 
#Orbix
#KnowledgeDocs

