Changing hostname
We are working with VMware and want to create "Oracle application server" templates (OS install with infra and midtier). Is there a way or procedure to reset all processes to use a new hostname / tcpip number? This would enable us to clone the vmware environment and use it for a new project.
Thanx in advance...
Hi Marco,
You can probably find the information you are looking for in Table 8-1 (Supported Procedures for Hostname, Domain Name, and IP Address Changes) in the Admin Guide at http://download-west.oracle.com/docs/cd/B14099_18/core.1012/b13995/host.htm#BHBBJEBF.
Regards,
Mathias
Similar Messages
-
What needs to be changed if we change hostname in linux
Dear all,
I have a question and will appreciate for appropriate answer(s).
My machine name was lxcms120.cern.ch and Oracle 10g DB was running fine on it (listener, DB, Enterprise Manager). It is not a production system rather a test system.
Now, i changed its name to docms11.cern.ch
I change hostname in listener.ora & tnsnames.ora and listener started successfully.
I started db from sqlplus and it started without any complaints.
Now, when i tried to start Enterprise Manager (emctl start dbconsole), it didn't and return this error.
OC4J Configuration issue. /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_docms11.cern.ch_oralxcms120 not found.
Now, i know that when the machine name was initially lxcms120, it was /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_lxcms120.cern.ch_oralxcms120
and if i go to that directory, i could see OC4J_DBConsole_lxcms120.cern.ch_oralxcms120 but of course there is no OC4J_DBConsole_docms11.cern.ch_oralxcms120
My dbname instance is oralxcms120 and has nothing to do with hostname.
So, what is the solution to the problem. Moreover, are there any steps to do while changing hostname of the oracle database like in my case which i can follow to make all required changes.
Best regards,
AnjumYou will need to do a little more than just directory rename,
From Oracle document,When the database host name (including the domain name) or the IP address changes, deconfigure and then reconfigure the Database Console with the repository create command. Run the following command:
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create
or
emca -deconfig dbcontrol db
emca -config dbcontrol db -repos recreate
http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/structure.htm#CACBBFGI -
How to repair Open Directory Master after Changing Hostname
Summary:
How to repair Open Directory after Changing your Server's Hostname (see separate post)
Problem:
I had to change our server's hostname from a private hostname (server.name.private) to a public hostname (name.dyndns.org).
Procedure:
1. Precautions:
Since I was anticipating major dramas I tested the change of hostname on a clone ( I used Super Duper, and I very strongly advise everybody to heed this warning because a change of hostname will corrupt your server services, in particular Open Directory)
Second, I exported the network users from Server Admin and copied the archive to the Drop Folder of the server's local account (because the network accounts will be unavailable after demoting the OD Master.)
2. Change hostname and demote OD Master
a) I re-booted the server from the clone
b) I changed the hostname in Server App and I noticed that the Open Directory Password and the Kerberos database were still stuck with the old hostname.
c) I then demoted to a standalone directory (Server Admin) and I tried to promote the server to an OD Master using the Server App (Manage Network Accounts). Server App always returned an error saying I should check my network settings.
3. List of 'fixes'
I tried the following fixes to no avail (which does not mean that you can skip them)
a) I checked the DNS entries, forward and reverse were working fine (sudo checkip -changehostname)
b) Checked with Lookup in Network Utility, all was fine
c) I deleted all system certificates (Keychain) which showed the name of the previous hostname
( N.B. you need not delete email certificate and private/public keys)
d) I tried to assign a new static IP in Networking Preferences (had no visible result)
e) I re-booted from the working drive and I re-paired permissions on the clone; I ran disk repairs.
Despite all this I could not re-create an OD Master.
I then looked for this dubious folder /var/root/Library/Application Support/Certificate Authority.
I could not find this folder when using the Finder's Go To Folder, nor did "Easy Find" see this folder.
I was about to give up when I read the posts on this page and I entered the Terminal commands
sudo rm -R /var/root/Library/Application\ Support/Certificate\ Authority/
I had not much hope when I set about to re-create the OD Master from the Server App.
But lo and behold !!! I did not trust my eyes when Server App claimed that the OD Master had been successfully created. And indeed, Server admin showed a running OD Master, LDAP, Kerberos and Password Server all running again !
Final touch: re-import the user accounts.
Epilogue:
I woud not have been able to fix this issue had not so many others shared their experience and the working solution.
(Refer : https://discussions.apple.com/thread/3219325?start=0&tstart=0 )
Thank you all !
Let's hope that Apple will fix this annoying issue in the next server update.
Regards,
TwistanHi Rhyan,
Please try clearing the security cache
http://www.sharepointanalysthq.com/2014/05/active-directory-groups-and-sharepoint-security/
https://sergeluca.wordpress.com/2013/07/06/sharepoint-2013-use-ag-groups-yes-butdont-forget-the-security-token-caching-logontokencacheexpirationwindow-and-windowstokenlifetime/
http://webactivedirectory.com/active-directory/windows-active-directory-cached-user-credentials/
Please remember to click 'Mark as Answer' on the answer if it helps you -
Changing hostname on Callmanager 6.1 and generate new SSL
I'm looking to change the hostname of our Callmanager because of a change in the naming convention for all our servers.
Is it as easy as it seems or are there any precautions I need to be aware of?
My thoughts were to just Change hostname under Cisco Unified CM Configuration for both PUB and SUB
Since I use mostly IP address for most of my configuration, are there anything else I need to be concerned about?
Also, how do I generate a new SSL cert based on this change so admins and users won't get a certificate mismatch prompt?
Thanks!Hi Ken,
Thought you might want to see this
CSCtf23432 Bug Details Bug #11 of 38 | < Previous | Next >
CUCM Hostname change does not update self-signed certificates
None
Symptom:
After a hostname change, self-signed certificates are not regenerated. Web browser may indicate
that the CUCM certificate is not valid.
Conditions:
hostname change procedure.
Workaround:
From the os admin page:
1) security->certificate management
2) select "find"
3) for all the self-signed certs (identified by the description field),
select regenerate.
Further Problem Description:
n/a
Status
Fixed
Severity
3 - moderate
Last Modified
In Last Year
Product
Cisco Unified Communications Manager (CallManager)
Technology
1st Found-In
7.1(2)
Fixed-In
8.0(2.98000.25)
8.0(2.10000.4)
7.1(4.98000.167)
8.0(2.98000.31)
8.0(2.10000.24)
7.1(5.10000.12)
Cheers!
Rob -
Change hostname/domain in ebs 12.0.6
Hi All,
I have single node installation of EBS R12 (12.0.6) and database version is 10.2,
I want to change hostname and domain name of application and database.
I have found this document (ID 341322.1). i think this document is for EBS 11i ,
may i follow this document on EBS R12 ?
Thank & Regards
Ravi KumarHi Ravi,
Please have a look at the following notes, applicable to r12:
How to change the hostname and/or port of the Database Tier using AutoConfigNote (338003.1 )
How to change the hostname of an Applications Tier using AutoConfig (341322.1 )
You may follow link:
CHANGE HOSTNAME OR IP-Address OR DOMAIN NAME ON APPS-TIER OR DB-TIER in R12
http://applicationsdba.blogspot.com/2011/04/r12-iphost-name-change.html
Additionally, 2nd step would be..
- Run preclone script on DB and Apps Tier
- Change network necessary changes
- Run the post clone script.
Hope this helps!
Best Regards -
Cluster changing hostname & Logical host
hello I have sunCluster 3.1 update 4.
the cluster is 2(v440) + 1(v240) installed on solaris8.
Did anyone actualy succeeded to change the hostnames of all the nodes & Logical host on SunCluster system like above?
I saw a procedure that is not realy supported :
1. Reboot cluster nodes into non-cluster node (reboot -- -x)
2. Change the hostname of the system (nodenames, hosts etc)
3. Change hostname on all nodes within the files under /erc/cluster/ccr
4. Regenerate the checksums for each file changed using ccradm -I /etc/cluster/ccr/FILENAME -0Reboot every cluster node into the cluster
is it works?
Thanks & RegardsSo if I understand you correctly, you have two metasets already created and mounted. If so, this is a fairly tricky process (outlined from memory):
1. Backup your data
2. Shut down the RGs using scswitch -F -g <RGnames>, make the RGs unmanaged
3. Unmount the file systems
4. Deconstruct the metasets and mediators
5. Shutdown the cluster and boot -x
6. Change the hostnames in /etc/inet/hosts, etc
7. Change the CCR and re-checksum it
8. Reboot the cluster into cluster mode
9. Re-construct metasets and mediators with new host names
10. scswitch -Z -g <RGs>
If you recreate your metasets in the same way as they were originally created and the state replicas haven't changed in size, then the data should be intact.
Note - I have not tried this process in a long time. Remember also that changing the CCR as described previously is officially unsupported (partly because of the risks involved).
Regards,
Tim
--- -
Oracle 11.2 standalone grid infrastructure - change hostname
Hi
I have changed hostname of my server running RHEL 5.3 with Oracle 11.2 Grid Infrastructure (standalone). After I changed the hostname of the server, the crs daemon stopped working and I cannot connect to my +ASM instance any longer.
In Oracle 10g2it was enough to run localconfig delete, localconfig add
What should I do in 11.2 ?
Thanks for help
GroxyHi Groxy,
I recently found myself asking the same question and after a fair amount of digging around I found a way to do it. Your question is now a few months old, so maybe you have found the solution already, but if not the key is using roothas.pl rather than localconfig. I have written a brief blog post covering the approach I used, so please check that out if you want more information.
[http://oraganism.wordpress.com/2009/12/20/11-2-changing-hostname/|http://oraganism.wordpress.com/2009/12/20/11-2-changing-hostname/]
I hope this helps.
Martin -
How to disable auto-changing hostname?
I set my computer a hostname (let's say "MyComputer"), but when I connect to wired network, it changes hostname to whatever reverse DNS IP lookup turns out (let's say "Workstation312").
I know I can change the hostname using "hostname" in terminal- but is there a way to disable auto-changing hostname?Hi,
Please try the steps in the following thread to see whether it could help:
Remove IE10's “clear field” X button on certain inputs?
http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
Regards,
Vincent Wang
TechNet Community Support -
hi,
I want to change hostname of R12 Database and Application servers
Ebiz R12 is running in 2 RAC DBtier and 2 appstier
Can anyone share a documents on how to configure this
Can this be done without a downtime?
regards,
roseHi,
You will have to follow the steps in these documents (it is applicable for 11i and R12).
Note: 338003.1 - How to change the hostname and/or port of the Database Tier using AutoConfig
Note: 341322.1 - How to change the hostname of an Applications Tier using AutoConfig
Regards,
Hussein -
Change hostname of MaxDB server.
Dear All,
I want to change hostname of MaxDB server.
For the Oracle, some parameter should be changed. (ex.listener file).
What about MaxDB?
Regards,
KimHi,
this link may help you...
[Hostname change on R/3 hosts running SAP DB or MaxDB.|Hostname change on R/3 hosts running SAP DB or MaxDB.]
AND
[http://www.saptechies.com/changing-host-name-on-r3-host-what-do-you-do/|http://www.saptechies.com/changing-host-name-on-r3-host-what-do-you-do/]
Regards.
Rajesh Narkhede -
How to change hostname on NetWeaver 2004s NW (Win2k3 + MSSQL)
Hi,
I'm a Virtualization expert @SAP IT. I was aked to provide a solution for hostname change process for cloned virtual machines. Here, i'm posting my solution but use it on your own risk and sideeffects can appear too (applicable to NW 2004s - don't know about side effects till now).
1. Change your hostname to a new one (newsid for clonned) and stop SAP services with prefix SAPXYZ_AB
2. open the c:\Windows\System32\drivers\etc\hosts file and add your previous hostname at the end of 127.0.0.1 line:
127.0.0.1 localhost youroldhostname
3. Use sql enterprise manager (or other SQL tool) in order to connect NW's database.
4. NW's database is a database with a SAP systemID - XYZ and locate J2EE_CONFIGENTRY table
5. Open a query window and check the following SQL Query for previous appearances of your hostname
SELECT *
FROM J2EE_CONFIGENTRY
WHERE (UPPER(VSTR) = 'YOUROLDHOSTNAME-WITH-CAPITAL-LETTERS')
6. If this query returns results - run the following SQL update command
UPDATE J2EE_CONFIGENTRY
SET VSTR = 'NEWHOSTNAME'
WHERE (UPPER(VSTR) = 'YOUROLDHOSTNAME-WITH-CAPITAL-LETTERS')
7. if step 5 failed try to run query w/oout where statement
Best regards,
Boris Mikhailovski
System & Software engineer
Message was edited by:
Boris Mikhailovski> I'm a Virtualization expert @SAP IT. I was aked to provide a solution for hostname change process for cloned virtual machines. Here, i'm posting my solution but use it on your own risk and sideeffects can appear too (applicable to NW 2004s - don't know about side effects till now).
Just as addition:
"Officially" it's not supported to rename instances, this is especially true for Java instances:
Note 757692 - Changing the hostname for J2EE Engine 6.40/7.0 installation
<...>
This note should be applied only when the hostname of a machine where the j2ee engine was already installed has changed. It does not replace the SAP official system copy procedure and MUST NOT be used for copying of an instance to another host and/or with different SID.
<...>
Markus -
Change Hostname of an AIX system running Solman 4.0 and Oracle 10
Hello all,
I need to change the hostname of a server running SAP Solution Manager 4.0.
The server, OS, IP address will be the same.
I don't know what are the steps to make this correctly. I think that I need to make changes on Oracle and SAP files.
My Solman is running on IBM AIX 5.3, Kernel 7.00 unicode and Oracle 10.2.0.1.
Can anybody help me?
Thanks a lot!Hi Carlos,
The procedure of changing the hostname is described in SAP note :
8307 - Changing host name on R/3 host: What do you do?
Hope it helps.
Regards,
Marcelo -
Problem with changing hostname
At work, I got a new Mac but seems that it was on display (turned on) at the store where it was bought from. This means that some minor low level setting are still there (even though when I started it, it showed me the welcome wizard).
The problem is that even though I changed my computer's name from the Sharing preferences pane to WorkEthaMac, Leopard still thinks that its url is something-else.my-company.com. I can still access my mac from inside the company's network using workethamac.local but whenever I go to Web Sharing in the Sharing pane, it states that the url is something-else.my-company.com and the same is returned when I do hostname in the terminal.
This means that I cannot access my mac from outside the network using workethamac.my-company.com which totally *****.
Should I create a /etc/hostname (my linux colleague's idea) or is there another way to actually change my hostname?I have tried this several times (mostly in the morning before I boot my mac) and I get a lot of text but none of it comes close to something-else or workethamac.
The only thing that I get that's close to a hostname are 2 urls:
A.ROOT-SERVERS.NET.
NSTLD.VERISIGN-GRS.COM. -
Changing hostname beyond changeip
I'm trying to get the hostname changed on my server after doing a fresh install with 'macsrv1.local' as the initial hostname.
Doing changeip worked to change 'macsrv1.local' to 'macsrv1.domain.com' so that 'uname -a' reflects the new fqdn. My dns entry is fully under my control and has a proper reverse lookup record.
What I can't figure out is how to get the gui to reflect the new domain. Server admin shows local hostname as 'macsrv1.local' and under System Preferences - Sharing, using the edit button gives me a fqdn with the '.local' greyed so that I can't modify it.
What am I missing?Hmmmm.. After talking to XServ support on the phone, I understand the distinction of .local
New to me - any OSX computer will show up with .local in server manager and this is functionally equivilant to 'loopback' or 127.0.0.1
No longer a problem. -
SMC Error after change hostname. Solaris9/Sparc
Hello friends:
We have a little problem with Solaris Management Console after changing out hostname in Solaris9/Sparc.
After change de hostname using sys-unconfig, we had to go to Console -> Preferences -> Home Toolbox location and change the hostname of our host. After doing this S.M.C. began to run another time....OK
Now it runs all OK, but we can see the next error inside the left toolbar:
LegacyAppTool.client.LaunchLegacyAppTool
Clicking on it we can see:
The specified host machine could not be resolved into a valid IP address.
In the toolbar we can see .... host not found.
How you can see S.M.C. continues looking for our old hostname for something.
Where could we change it?
What do we have to do to delete this error? ( we like the perfection ;) )
We have been looking for it, but has been impossible.
A lot of thank's.If you go to /var/sadm/smc/toolboxes/this_computer and edit the this_computer.tbx XML file, you'll notice that the last section in the end of the file looks something like this:
<Tool TreeDisplay="false">
<Name>Terminal</Name>
<ServerName>unknown</ServerName>
<ClassName>LegacyAppTool.client.LaunchLegacyAppTool</ClassName>
<Properties>
<Key>Name</Key> <Value>Terminal</Value>
<Key>Type</Key> <Value>XAPP</Value>
<Key>Command</Key> <Value>/usr/dt/bin/dtterm</Value>
</Properties>
</Tool>Change the key <ServerName>unknown</ServerName> with <ServerName><?server ?></ServerName> and you won't not see the same error in SMC.
This also happens with Solaris 10. -
Still need help with changing hostname on Solaris 10
Hello.
I have some difficulties with changing host name of my computer.
It is DHCP Client.
AS I understand there are the following steps that I have to do:
1. Edit the /etc/default/dhcpagent file and change the line that reads the following:
#REQUEST_HOSTNAME=no
to
REQUEST_HOSTNAME=no
2. There are two empty /etc/hostname files: hostname and hostname6.
Do I have just to put there hostname?
3. /etc/hosts has what I need to change.
4. I was unable to find /etc/nodename. Do I have to create it? What properties should contain this file?
5. hostname <new hostname>
In previous time when I tried to change host name with Management Console my system crashed, I changed: /etc/hosts, but it didn't work.
Thank you.Hello.
Using DHCP you may really have problems changing the hostname.
The fact is: The DNS server may assign your machine a host name which has nothing to do with the host name you sent to the DHCP server. Depending on the server (typically DHCP and DNS server are the same machine) nothing will really work. (This is the case with my configuration where the servers are located on a DSL router.)
I solved the problem the following way:
* I created two host names (MyMachine and MyMachineNet) in the /etc/hosts file (Solaris 10 and newer: /etc/inet/ipnodes must be changed, too.)
* "MyMachine" is 127.0.0.1 (localhost):
127.0.0.1 localhost MyMachine
192.168.178.100 MyMachineNet* I assigned the name "MyMachineNet" to the network interface in /etc/hostname.networkcard.
* I use DHCP
The computer name (in /etc/nodename) is "MyMachine". Some programs (e.g. Gnome !) establish a TCP/IP connection to "MyMachine" instead of "localhost" (I do not understand why). These programs are now satisfied because the host name "MyMachine" represents 127.0.0.1 (localhost).
I know that there is a switch that tells Solaris to take the machine name from DHCP/DNS instead of /etc/nodename. Unfortunately I forgot where it is.
Martin
Maybe you are looking for
-
How do I record my voice and other sounds using the microphone in my HP TouchSmart 15?
I just recently got an HP TouchSmart 15 notebook PC and know very little about how to use it. I'd like to use the onboard microphone to record my voice and other sounds, ending up with sound files that I can save and use in creating multi-media pres
-
Why doesn't calls to my iPhone ring through to my Mac?
Why doesn't calls to my iPhone ring through to my Mac?
-
AR - How to split receivable account for several accounts.
Has enyone know how to split Receivable account for transaction in distribution window on 3 diffrent accounts eg. Total amount for transaction line is 5000 I have to create accounting as follow: 1st Receivable account Dt: 2000 2nd Receivable account
-
IP SLA and Tracking for alerting
Hi, I configured IP SLAs for sites that connect to the Internet via a 2911 router Config: ip sla 199 icmp-echo 4.2.2.2 source-interface GigabitEthernet0/2 ip sla schedule 199 life forever start-time now ip sla logging traps track 199 ip sla 199 del
-
Issue with Audition CC build 7.1.0.119 crashing on moving the play head back
Hi, every time I edit a sound clip or and an effect and then move the play head back, the application crashes. Is anyone else having this issue? System I'm running: Windows 8.1 Intel i7 Nvidia 740 gt m. Laptop. Thank you. Edward.