If you are planning to migrate your application server to different machine or changing existing machine’s hostname, domainname or IP address here is list of things you should know in advance.
Discussion on this post if for 10.1.2.X and lower (Changing hostname on 10.1.3 and higher coming soon..)
Oracle Application Server components
Middle Tier- J2EE, Webcache, Portal, Wireless, BI, Forms
Infrastructure Tier- Identity Management(OID/SSO) & Metadata Repository
-
-
Things you should know before changing hostname, domainname, IP
1. Changing hostname, domainname of Metadata Repository is not supported (MR holds product data as well as OID/SSO data).
2. Use chgiphost.sh (unix) or chgiphost.bat (windows) in $OH/chgip/scripts directory to change hostname, domainname, IP address. 3. For changing middle tier hostname/domainname use option “-mid” with chgiphost.sh|.bat command
4. For changing Identity Management tier hostname/domainname use option “-idm” with chgiphost.sh|.bat command
5. You need orcladmin password for infra tier and any middle tier registered with OID/Infra Tier
6. If you change hostanme/domainname of instance hosting portal/sso, you need to reconfigure portal (using ptlconfig) and reregister with SSO (ssoreg)
7. Instance name doesn’t change by changing hostname or domainname. (When instance is initially created during installation name of instance is configured as <instance_name_you_provide> . <hostname>.<domainname> If instance name before host/domain name change was myinstance.oldhost.olddomain then it will remain same)
8. If instance (for which you wish to change hostname/domainname/ip) is part of OarcleAs cluster, you first have to remove it from cluster and add it later to cluster using “dcmctl” command
9. If instance (for which you wish to change hostname/domainname/ip) is part of OarcleAs Web Cache cluster, you first have to remove it from Web Cache cluster and add it later to cluster using “webcacheadmin” screen
10. If you are changing hostname/domainname for instance hosting OID, then change ldap.ora on all middle tier using this OID
11. Finally if anything goes wrong check logs in $OH/chgip/log
Related
http://download.oracle.com/docs
Changing hostname, domainname, ip address of machine SOA Suite (BPEL, ESB, OWSM) coming soon !!!
Popularity: 22% [?]




Good hands-on exercises (installation, patching, cloning), very experienced trainer worth every penny
20 users commented in " Changing Hostname/Domain/IP of Oracle Application Server "
Follow-up comment rss or Leave a TrackbackHas anyone changed the domain name for 11i AS? I’m new to Apps DBA area and need help.
Thanks
Reny
Reny,
Check this
http://onlineappsdba.com/index.php/2006/11/22/how-to-change-hostname-or-domainname-for-apps-instance-server/
Hi,
Is there any script in $OH/chgip/scripts directory for changing source instance_name to target instance_name after clone is done??
Any reply would be appreciated..
Thanks for your time!
Regards,
Amit
Amit,
If this is clone of middle tier then follow
this doc
else if this involves Infra Tier as well you need chapter 11 i.e. staging test instance from prod here
Above docs are for 10g r2
Do let me know if you need doc for 10g R3 apps tier
hi all,
while installing oracle i gave the hostname int he ip 127.0.0.1. my host name is server.oracle.com. now i have a problem. when i switch on the modem the oracle database connectivity is terminated. why is this happening. is there any ways to overcome this problem.
Karthiram,
Find out what IP your modem assign to your machine and then add below line in /etc/hosts (I hope you are on unix) file
127.0.0.1 localhost
server.oracle.com
Restart oracle database and listener and try.
Can you please how to achive similar functionality for BPEL?
Thanks,
Ravi.M
hi..do u happen that when u change the hostname for IDM, then when u try to login to the OIDDAS website, it still point back to hostname before change?
@ KH
To change DAS URL
Login to Oracle Directory manager (OIDMON) in OID
Entry Management -> Oracle Context -> Products -> DAS -> OperationURLs
or dn=cn=OperationURLs,cn=DAS,cn=Products,cn=OracleContext
and look for value in attribute name orcldasurlbase and change it to new hostname
Hi,
I have an instance oracle portal 10G with name: http://server01.domain.com/ but I want to change to http://www.domain.com.
Can you help me please?
Thanks
Regards
Cristian
@ Cristian,
Your requirement is similar to configuring virtual host. Use these steps to change portal to virtual hostname here
————– ————–
Web_Tier-1 Web_Tier-2
————– ————–
X
————– ————–
Portal-1 Portal-2
SSO-1 SSO-2
————– ————–
X
————– ————–
OID-1 OID-2
RAC-1 RAC-2
————– ————–
SAN
In above architecture, OID and RAC is in Sun Solaris X86 (64 bit) box. Is it possible to move/migrate OID&RAC to new box with Sun SPARC64?
@Padmanaban,
As your MR is sitting on OID/RAC node so you can’t change hostname. You can migrate from X64 to Spac 64. Check with Oracle Support if these two are binary compatible (I doubt) then simply copy + paste for OID (ensure hostname,IP remains same) else go for migration.
For RAC , check RAC Docs on how to migrate from one system to another.
Hi,
I have a oracle portal configured on windows 2003 server with dhcp assigned ip. What steps should i take when ip changes? my host name is currently set to the current ip 192.168.0.168.
Thanks,
Mehrab
Hi Atul,
Changing hostname, domainname, ip address of machine SOA Suite (BPEL, ESB, OWSM) coming soon !!!
I’m expecting this topic. Else, Could you please suggest me oracle doc or note for this?
@ Padma,
Is this for 10g or 11g SOA ?
Hi I have Oracle Apps installed on Windows Server 2003. Recently i hav installed IIS and SQL SErver, and i changed DOmain name and Computer name. Later realized that Oracle is not connected Error 12225, 12224 Etc .. Please help me fix the Problem. When i right click My Computer >> properties, i see Orafin1 as computer name and Domain applmgr.local
Atul,
Scenario: Windows NT server hosting metadata respository of Oracle Apps - 10g is getting de-commissioned. Our plan is to move the repository to a unix server and upgrade it to 11g while middle-tier and Infra remains on windows NT server. Is it achievable?
Higly appreciatae your response.
Thanks Reny.
@ Abrahar,
Yes it is possible but check certification first with Oracle Support.
There are two parts here
1. Migrate repository from Windows to Unix
2. Upgrade both middle tier and repository to 11g .
You can do upgrade first and then migrate or migrate first and then upgrade.
What all components you are running in 10g AS ?
Thanks Atul for the input.
We’re migrating only the metadata to 11g. Middle Tier and Infra will remain on Windows server. We don’t have plans to upgrade Oracle Apps.
I was able to change the LDAP definition for metadata with new unix server. But couldn’t get Oracle App services started.
We have under identity management:
HTTP_Server
Internet Directory
OC4J_SECURITY
oca
under middle tier we have
Business Intelligence and Forms
Thanks
Reny
Leave A Reply