ORACLE_HOSTNAME for existing database
We did a fresh install of oracle 10.2.0.4 database. The database is up and running fine.
Recently we decided that we will use virtual hostname and so we configured a new ethernet card and IP address.
The problem is we set ORACLE_HOSTNAME to the virtual hostname in the environment variable and started the database. Still the database is using the old hostname.
SQL> select instance_name,host_name from v$instance;
INSTANCE_NAME HOST_NAME
PRODDB server01
SQL>
Added the IP address and the virtual hostname to the /etc/hosts file.
$export ORACLE_HOSTNAME=prodserver
Restarted the database.
SQL> select instance_name,host_name from v$instance;
INSTANCE_NAME HOST_NAME
PRODDB server01
SQL>
After the restart host_name is still the actual hostname
How to overcome this situation ?
I am referring to the [Oracle Document|http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/pre_install.htm]
Which says
2.5.3 Installing on Multihomed Computers
You can install Oracle Database on a multihomed computer. A multihomed computer is associated with multiple IP addresses. This is typically achieved by having multiple network cards on the computer. Each IP address is associated with a host name. In addition, you can set up aliases for the host name. By default, Oracle Universal Installer uses the ORACLE_HOSTNAME environment variable setting to find the host name. If ORACLE_HOSTNAME is not set and you are installing on a computer that has multiple network cards, then Oracle Universal Installer determines the host name by using the first entry in the /etc/hosts file.
Clients must be able to access the computer either by using this host name or by using aliases for this host name. To verify this, ping the host name from the client computers using the short name (host name only) and the full name (host name and domain name). Both tests must be successful.
Similar Messages
-
Reverse engineering for existing database
Hi,
I have two different databases, one with my application (i.e. DB1), and the other with the designer installation (i.e.DB2).
I want to get the Reverse Engineering of my app in DB1, and I know these steps:
- Design Editor> DB Admin tab> Generate> Capture design of > Server Model.
OK, but I get the "Create Database user" form, and the database and user name as "DEFAULT".
What do I have to do?
I just want designer to reverse engineer my DB1, and I think that it will store that meta info in the DB2. Am I correct?
I have created a new workarea and container for that purpose, but should I create a "Oracle database" before capturing the server model? and that database, should be the DB1 or the DB2? both are already created, so I think that I need just the connection.
thanks.You've basically got this right - DB1 is the database you are capturing from and DB2 contains the Designer repository into which the metadata is being captured.
Designer wants to have a database definition and a schema definition in the repository to which it can attach your table definitions. In the Design Editor use the DB Admin tab to get to a place where you can create a database definition. Create an Oracle data definition for your application database (DB1) and create a schema definition (aka User) in that database to own your tables. Then those will appear as options in the Capture design of Server Model wizard.
Yes, I know - a lot of steps for what seems to be a simple task - reverse engineer an existing database. That's Designer for you. This is one of the reasons that I say that if ALL you want is to see your database in a server model diagram, Designer is overkill. But Designer can do SO MUCH more than that - if you want to fully use it, the annoyances are worth it. -
Is there any tools can check for existed database ?
hi all, is there any tools that can check for that existed database after inserted a database to Ms access??
Then you'll open a connection and then do a Select from table to retrieve information. (and close afterwards)
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
Rename ORACLE_SID for existing database
Hi team,
Can anyone please let me know proper way to rename existing running oracle database SID?
What are various ways to approach the tasks?
Suugest me with RMAN and also traditional way of doing it!
Hoping for your best suggestions..
Thanks
regards
dkoracleYes rajesh i have changed both instance plus db name....that was the requirement,,
you gave me option of changing SID too..thanks
While editing control file i met with two options
1. with reset logs
2.with no reset logs
Since it was complete shutdown i hope no need to apply reset logs here. But changing the SID name on header of datafiles,control files will force us to open with reset logs
please correct me on this!!
see the content of my control file :
CREATE CONTROLFILE REUSE SET DATABASE "new<SID>" RESETLOGS ARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 8
MAXLOGHISTORY 226
LOGFILE
GROUP 1 '/u06/oradata/new<SID>/redo01a_new<SID>.dbf' SIZE 300M,
GROUP 2 '/u06/oradata/new<SID>/redo02a_new<SID>.dbf' SIZE 300M,
GROUP 3 '/u06/oradata/new<SID>/redo03a_new<SID>.dbf' SIZE 300M,
GROUP 4 '/u06/oradata/new<SID>/redo04a_new<SID>.dbf' SIZE 300M
-- STANDBY LOGFILE
DATAFILE
'/u06/oradata/new<SID>/system_new<SID>_01.dbf',
'/u06/oradata/new<SID>/undo_new<SID>_01.dbf',
'/u06/oradata/new<SID>/tools_new<SID>_01.dbf',
'/u06/oradata/new<SID>/users_new<SID>_01.dbf',
'/u06/oradata/new<SID>/indx_new<SID>_01.dbf',
'/u06/oradata/new<SID>/data101_new<SID>_01.dbf',
'/u06/oradata/new<SID>/indx101_new<SID>_01.dbf',
'/u06/oradata/new<SID>/data201_new<SID>_01.dbf',
'/u06/oradata/new<SID>/indx201_new<SID>_01.dbf',
'/u06/oradata/new<SID>/data301_new<SID>_01.dbf',
'/u06/oradata/new<SID>/indx301_new<SID>_01.dbf',
'/u06/oradata/new<SID>/data401_new<SID>_01.dbf',
'/u06/oradata/new<SID>/indx401_new<SID>_01.dbf',
'/u06/oradata/new<SID>/data101_new<SID>_02.dbf',
'/u06/oradata/new<SID>/users_new<SID>_02.dbf',
'/u06/oradata/new<SID>/users_new<SID>_03.dbf',
'/u06/oradata/new<SID>/users_new<SID>_04.dbf',
'/u06/oradata/new<SID>/data401_new<SID>_02.dbf',
'/u06/oradata/new<SID>/data201_new<SID>_02.dbf',
'/u06/oradata/new<SID>/undo_new<SID>_02.dbf',
'/u06/oradata/new<SID>/data301_new<SID>_02.dbf',
'/u06/oradata/new<SID>/indx301_new<SID>_02.dbf',
'/u06/oradata/new<SID>/indx101_new<SID>_02.dbf',
'/u06/oradata/new<SID>/data101_new<SID>_03.dbf',
'/u06/oradata/new<SID>/indx201_new<SID>_02.dbf',
'/u06/oradata/new<SID>/indx101_new<SID>_03.dbf',
'/u06/oradata/new<SID>/sysaux_new<SID>_01.dbf'
CHARACTER SET UTF8;
ALTER DATABASE OPEN RESETLOGS;
ALTER TABLESPACE TEMP ADD TEMPFILE '/u06/oradata/new<SID>/temp_01.dbf'
SIZE 2000M REUSE AUTOEXTEND OFF;
After once database opened i changed mode to no archive log..... -
How to recommand sga & pga size for existing database?
Hi All,
In my environment there are 100s of databases running , in few servers we frequently getting the "Unable to allocate the shared memory" during job process. But the server have enough memory to allocate to the databases where ever the memory required.
Now the quesition is how to predict or estimate the required memory of that database?
Thanks903787 wrote:
Hi All,
In my environment there are 100s of databases running , in few servers we frequently getting the "Unable to allocate the shared memory" during job process. But the server have enough memory to allocate to the databases where ever the memory required.
Now the quesition is how to predict or estimate the required memory of that database?
Thanksquery V_$SGA_TARGET_ADVICE -
Implementing Oracle RDF for existing databases.
Hi,
I am a newbie to RDF. I am supposed to dio a PoC for a Oracle RDF. I donot know what is RDF [i have learnt it now], OWL, SPARQL etc...I need advice from experienced people about how to start with a simple applications etc...
Please let me know if there is any good step by step tutorials and sample code. I have searched the entire web and i couldn't get a good sample code for Oracle RDF projects.
May i know whether there is any such projects gets implemented in Oracle RDF or is that just a area for research?
Why do we need Jena API? Why should i opt for Oracle RDF? By what means it is going to give me a performance boost? etc.. are some unanswered questions i still have in my mind.
Thanks much in advance for your time....
Regards,
Sakthi.Hi Sakthi,
My name is Jorge Barba, working in Support for Semantic Technologies.
We have a set of notes that I can share with you so you can start implementing simple ontologies, I can also present to you a 1hour and a half presentation via remote web conference of Semantics and Oracle. If you are interested please send me an email at [email protected]
Regards!
Jorge -
Installation issue in BOBJ XI 4.0 while specifing existing DATABASE for CMS
Hi SDN users,
we are in the process of installating SAP BOBJ XI 4.0 on windows 2003 and SQL 2008. We have created new datasource ( CMS and Audit database) and performed the necessary settings in system DSN in ODBC Data Source Administration.
Test datasource connection was successful.
During the installation, we have used the option use existing database ( microsoft SQL server using ODBC). the database which we have created are not populating to specify in the screen. we are not able to proceed.
Could anyone let us know why the database are not apearing.
Thanks & Regards,
RanadhirNot via a forum post.
You may wish to open a support case with SAP.
Note that the CMS database must be on the 64-bit, and not 32-bit, side with BI 4.x
Sincerely,
Ted Ueda -
Sample Response File for Oracle Database 12c Standard Edition on Oracle Linux 6.4 -- working
oracle@styles-and-artists-development-oracle database]$ cat response/db_install.rsp
## Copyright(c) Oracle Corporation 1998,2013. All rights reserved.##
## Specify values for the variables listed below to customize ##
## your installation. ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
# Do not change the following system generated value.
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.1.0
# Specify the installation option.
# It can be one of the following:
# - INSTALL_DB_SWONLY
# - INSTALL_DB_AND_CONFIG
# - UPGRADE_DB
oracle.install.option=INSTALL_DB_AND_CONFIG
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
ORACLE_HOSTNAME=styles-and-artists-development-oracle
# Specify the Unix group to be set for the inventory directory.
UNIX_GROUP_NAME=oracle
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
INVENTORY_LOCATION=/home/oracle/oracleInventory
# Specify the languages in which the components will be installed.
# en : English ja : Japanese
# fr : French ko : Korean
# ar : Arabic es : Latin American Spanish
# bn : Bengali lv : Latvian
# pt_BR: Brazilian Portuguese lt : Lithuanian
# bg : Bulgarian ms : Malay
# fr_CA: Canadian French es_MX: Mexican Spanish
# ca : Catalan no : Norwegian
# hr : Croatian pl : Polish
# cs : Czech pt : Portuguese
# da : Danish ro : Romanian
# nl : Dutch ru : Russian
# ar_EG: Egyptian zh_CN: Simplified Chinese
# en_GB: English (Great Britain) sk : Slovak
# et : Estonian sl : Slovenian
# fi : Finnish es_ES: Spanish
# de : German sv : Swedish
# el : Greek th : Thai
# iw : Hebrew zh_TW: Traditional Chinese
# hu : Hungarian tr : Turkish
# is : Icelandic uk : Ukrainian
# in : Indonesian vi : Vietnamese
# it : Italian
# all_langs : All languages
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
SELECTED_LANGUAGES=en
# Specify the complete path of the Oracle Home.
ORACLE_HOME=/extended2/oracleBase/db12c1
# Specify the complete path of the Oracle Base.
ORACLE_BASE=/extended2/oracleBase
# Specify the installation edition of the component.
# The value should contain only one of these choices.
# - EE : Enterprise Edition
# - SE : Standard Edition
# - SEONE : Standard Edition One
# - PE : Personal Edition (WINDOWS ONLY)
oracle.install.db.InstallEdition=SE
# PRIVILEGED OPERATING SYSTEM GROUPS #
# Provide values for the OS groups to which OSDBA and OSOPER privileges #
# needs to be granted. If the install is being performed as a member of the #
# group "dba", then that will be used unless specified otherwise below. #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System. #
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
oracle.install.db.DBA_GROUP=osdba
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
oracle.install.db.OPER_GROUP=osoper
# The BACKUPDBA_GROUP is the OS group which is to be granted OSBACKUPDBA privileges.
oracle.install.db.BACKUPDBA_GROUP=bckdba
# The DGDBA_GROUP is the OS group which is to be granted OSDGDBA privileges.
oracle.install.db.DGDBA_GROUP=dbdba
# The KMDBA_GROUP is the OS group which is to be granted OSKMDBA privileges.
oracle.install.db.KMDBA_GROUP=kmdba
# Grid Options #
# Specify the type of Real Application Cluster Database
# - ADMIN_MANAGED: Admin-Managed
# - POLICY_MANAGED: Policy-Managed
# If left unspecified, default will be ADMIN_MANAGED
oracle.install.db.rac.configurationType=
# Value is required only if RAC database type is ADMIN_MANAGED
# Specify the cluster node names selected during the installation.
# Leaving it blank will result in install on local server only (Single Instance)
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
oracle.install.db.CLUSTER_NODES=
# This variable is used to enable or disable RAC One Node install.
# - true : Value of RAC One Node service name is used.
# - false : Value of RAC One Node service name is not used.
# If left blank, it will be assumed to be false.
oracle.install.db.isRACOneInstall=
# Value is required only if oracle.install.db.isRACOneInstall is true.
# Specify the name for RAC One Node Service
oracle.install.db.racOneServiceName=
# Value is required only if RAC database type is POLICY_MANAGED
# Specify a name for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolName=pool1
oracle.install.db.rac.serverpoolName=
# Value is required only if RAC database type is POLICY_MANAGED
# Specify a number as cardinality for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolCardinality=2
oracle.install.db.rac.serverpoolCardinality=
# Database Configuration Options #
# Specify the type of database to create.
# It can be one of the following:
# - GENERAL_PURPOSE/TRANSACTION_PROCESSING
# - DATA_WAREHOUSE
oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
# Specify the Starter Database Global Database Name.
oracle.install.db.config.starterdb.globalDBName=cbd
# Specify the Starter Database SID.
oracle.install.db.config.starterdb.SID=cdb1
# Specify whether the database should be configured as a Container database.
oracle.install.db.ConfigureAsContainerDB=true
# Specify the Pluggable Database name for the pluggable database in Container Database.
oracle.install.db.config.PDBName=pdb1
# Specify the Starter Database character set.
# One of the following
# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
oracle.install.db.config.starterdb.characterSet=AL32UTF8
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
oracle.install.db.config.starterdb.memoryOption=true
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
oracle.install.db.config.starterdb.memoryLimit=512
# This variable controls whether to load Example Schemas onto
# the starter database or not.
oracle.install.db.config.starterdb.installExampleSchemas=true
# Passwords can be supplied for the following four schemas in the #
# starter database: #
# SYS #
# SYSTEM #
# DBSNMP (used by Enterprise Manager) #
# Same password can be used for all accounts (not recommended) #
# or different passwords for each account can be provided (recommended) #
# This variable holds the password that is to be used for all schemas in the
# starter database.
oracle.install.db.config.starterdb.password.ALL=CDBadmin12345#
# Specify the SYS password for the starter database.
oracle.install.db.config.starterdb.password.SYS=CBDsys12345#
# Specify the SYSTEM password for the starter database.
oracle.install.db.config.starterdb.password.SYSTEM=PDBsys12345#
# Specify the DBSNMP password for the starter database.
oracle.install.db.config.starterdb.password.DBSNMP=DBsnmp12345#
# Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
oracle.install.db.config.starterdb.password.PDBADMIN=PDBadmin12345#
# Specify the management option to use for managing the database.
# Options are:
# 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
# 2. DEFAULT -If you want to manage your database using the default Database Express option.
oracle.install.db.config.starterdb.managementOption=DEFAULT
# Specify the OMS host to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
oracle.install.db.config.starterdb.omsHost=
# Specify the OMS port to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
oracle.install.db.config.starterdb.omsPort=
# Specify the EM Admin user name to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
oracle.install.db.config.starterdb.emAdminUser=
# Specify the EM Admin password to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
oracle.install.db.config.starterdb.emAdminPassword=
# SPECIFY RECOVERY OPTIONS #
# Recovery options for the database can be mentioned using the entries below #
# This variable is to be set to false if database recovery is not required. Else
# this can be set to true.
oracle.install.db.config.starterdb.enableRecovery=true
# Specify the type of storage to use for the database.
# It can be one of the following:
# - FILE_SYSTEM_STORAGE
# - ASM_STORAGE
oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/extended1/db/data
# Specify the recovery location.
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=/extended1/db/recovery
# Specify the existing ASM disk groups to be used for storage.
# Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE
oracle.install.db.config.asm.diskGroup=/dev/oracleasm
# Specify the password for ASMSNMP user of the ASM instance.
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
oracle.install.db.config.asm.ASMSNMPPassword=ASMsnmp122345#
# Specify the My Oracle Support Account Username.
# Example : [email protected]
MYORACLESUPPORT_USERNAME=
# Specify the My Oracle Support Account Username password.
# Example : MYORACLESUPPORT_PASSWORD=password
MYORACLESUPPORT_PASSWORD=
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
# Example : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise.
# The value can be either true or false. If left blank it will be assumed
# to be false.
# Example : DECLINE_SECURITY_UPDATES=false
DECLINE_SECURITY_UPDATES=flase
# Specify the Proxy server name. Length should be greater than zero.
# Example : PROXY_HOST=proxy.domain.com
PROXY_HOST=
# Specify the proxy port number. Should be Numeric and atleast 2 chars.
# Example : PROXY_PORT=25
PROXY_PORT=
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
# Example : PROXY_USER=username
PROXY_USER=
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
# Example : PROXY_PWD=password
PROXY_PWD=
# Specify the proxy realm.
# Example : PROXY_REALM=metalink
PROXY_REALM=
# Specify the Oracle Support Hub URL.
# Example : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
COLLECTOR_SUPPORTHUB_URL=
# Specify the auto-updates option. It can be one of the following:
# - MYORACLESUPPORT_DOWNLOAD
# - OFFLINE_UPDATES
# - SKIP_UPDATES
oracle.installer.autoupdates.option=SKIP_UPDATES
# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
# the updates are to be downloaded.
# In case OFFLINE_UPDATES option is chosen, specify the location where the updates
# are present.
oracle.installer.autoupdates.downloadUpdatesLoc=
# Specify the My Oracle Support Account Username which has the patches download privileges
# to be used for software updates.
# Example : [email protected]
AUTOUPDATES_MYORACLESUPPORT_USERNAME=
# Specify the My Oracle Support Account Username password which has the patches download privileges
# to be used for software updates.
# Example : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=This is the simplest installation you can get, but if you want to do a fast response file based installation, there it is.
-
How to configure different listener for each database in 11gR2 RAC
Hi Friends,
Current Prod Setup :
11gR2 (11.2..0.2) RAC on RHEL 5.5 with 3 SCAN Listeners on default 1521 port.
Having 4 databases which are using SCAN-IP and listening on default port only.
As per policy, we have to create separate listeners (on different port) for each database.
like,
DB1 - 1522
DB2 - 1523
DB3 - 1524
DB4 - 1525
Even If I configure 4 listeners using NETCA, how my failover & load balancing will happen using SCAN & Newly Created Listeners ???
Thanks in advance..
Regards,
ManishHi,
I tried on 11gR2 TEST RAC Server to have different listener with different port (1529) for SCAN & Node Listener & tested failover, load-balancing which was successful.
[oracle@ravish5 admin]$ cat listener.ora
LISTENER_A=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_A=ON # line added by Agent
[oracle@ravish5 admin]$ ps -ef | grep lsnr
oracle 1985 1 0 00:46 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER -inherit
oracle 1988 1 0 00:46 ? 00:00:00 /11g_database/11.2.0.2/product/home_1/bin/tnslsnr LISTENER_A -inherit
oracle 2928 1 0 01:00 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER_SCAN1 -inherit
[oracle@ravish5 admin]$ lsnrctl status LISTENER_A
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 02-MAY-2012 03:19:35
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))
STATUS of the LISTENER
Alias LISTENER_A
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 02-MAY-2012 00:46:42
Uptime 0 days 2 hr. 32 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /11g_database/11.2.0.2/product/home_1/network/admin/listener.ora
Listener Log File /11g_database/11.2.0.2/diag/tnslsnr/ravish5/listener_a/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_A)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.5)(PORT=1529)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.16)(PORT=1529)))
Services Summary...
Service "TEST" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TESTXDB" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "srvc_test.clover.com" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
The command completed successfully
SQL> show parameter listen
NAME TYPE VALUE
listener_networks string
local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.3.16)(PORT=1529))))
remote_listener string ravish-scan:1529
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@ravish5 admin]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521,1529
[oracle@ravish5 admin]$ srvctl config scan
SCAN name: ravish-scan, Network: 1/192.168.3.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /ravish-scan.clover.com/192.168.3.22
[oracle@ravish5 admin]$ srvctl config listener
Name: LISTENER
Network: 1, Owner: oracle
Home: <CRS home>
End points: TCP:1521
Name: LISTENER_A
Network: 1, Owner: oracle
Home: /11g_database/11.2.0.2/product/home_1
End points: TCP:1529
[oracle@ravish5 admin]$ srvctl config service -d TEST -s srvc_test.clover.com
Service name: srvc_test.clover.com
Service is enabled
Server pool: TEST_srvc_test.clover.com
Cardinality: 2
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: true
Failover type: SELECT
Failover method: BASIC
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: TEST1,TEST2
Available instances:
TEST_NEW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ravish-scan.clover.com)(PORT = 1529))
(LOAD_BALANCE = yes)
(FAILOVER = ON)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = srvc_test.clover.com)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
Actually different ports for different databases are required to have separation of duties. Once Firewall enabled betwen Client & DB Server only privileged users would have access to particular database.
Regards,
Manish -
How to create a new database after copying an existing database with a new name
hi
i have an existing database and want to copy with a new name in sql server 2005 how do it is possible
spose
i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
thanksUse a two steps to use a backup file to restore a database with a new name.
----You need to have a full backup of your database:
--Step 1:
RESTORE FILELISTONLY
FROM DISK = 'C:\bk\TEST.BAK'
--Find out the LogicalName of data file and log file
-- in this case: the data file: TEST and the log file LogicalName: TEST_log
--Both names will be used in the MOVE command
--Step 2:
-- Restore the files for test1.
RESTORE DATABASE test1
FROM DISK = 'C:\bk\TEST.BAK'
WITH RECOVERY,
MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
GO -
How to add a new data element for existing table filed(Primary key field)
Hi Experts,
How to add a new data element for existing table field(Primary key field)
For this filed ther is no foreign key relation ships and even check table.
while activating table it is giving message like below.
can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)
Primary key change not permitted for value table /TC/VENDOR
Check on table /TC/VENDOR resulted in errors
Thanks
RaviHi,
Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
Maybe there are other ways, but this works.
Success,
Rob -
I am looking for a book database app to keep track of my physical books. I have used a Windows based application called BookBag plus but it looks like there won't be an iPhone version. I'm looking for an app that offers barcode scanning and a database that will work on my iPhone, iPad and PC (via the web) at the same time. I've looked at iBookshelf and Book Crawler and they seem OK but they don't seem to work on multiple devices. From what I can tell I will be able to transfer my existing database via a CSV file.
Any recommendations will be appreciated.
Thanks,
MikeHi,
http://astore.amazon.com/oraclebooks-20/detail/1590599683 {Part IV Database Tuning }
Greetings,
Sim -
Creating a new database vs. Using the existing database
Hi,
I have to build a new desktop application over an existing oracle database -
Current database is around 300 gb
Has 1500+ tables
Tables are in denormalized form and has ungrouped table columns
High level of nesting is done in the triggers.
Now before I take decision to use existing database I want to know
1. what factors to consider while choosing between the existing db or a new db?
Thanks in advance.Some of the things I would consider before including the two desktop applications together:
Would you mind impacting one or the other application (downtime) if you needed to bounce the database for any reason, or if there were issues with the database. Keeping them separate would prevent having to bring down both applications if the database went down for any reason (planned or otherwise).
Would the type of activity in both databases be so similar that all global optimizer and other parameter settings be perfect for both cases?
Would the SLA be the same for both databases? Would your customers agree to impacts of one application data if you had to roll back the database for the other application?
By having the two applications in the same database, you are also stuck with having to wait for both application vendors to certify their product with the next patch level or version for upgrades. Keeping them separate eliminates this problem.
Is there any compelling reason to keep them together?
Personally, I would keep them separate for all of the above reasons, and many more which I did not bother to write. -
Error while installing EnterpriseManager grid control on existing database
Hi All,
While installing Oracle EnterpriseManager grid control on existing database
it asked for deconfig an existing database control and while doing this we got an error as follows
Getting temporary tablespace from database...
Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ceserp.computechcorp.net)(PORT=1543)))(CONNECT_DATA=(SERVICE_NAME=GRID))): ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/oracle10g_grid/DB10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ceserp.computechcorp.net)(PORT=1543)))(CONNECT_DATA=(SERVICE_NAME=GRID))) -repos_user SYSMAN -action drop -verbose -output_file /u01/oracle10g_grid/DB10.2.0/cfgtoollogs/emca/GRID/emca_repos_drop_2010-03-15_11-14-10-PM.log
Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/oracle10g_grid/DB10.2.0/cfgtoollogs/emca/GRID/emca_repos_drop_<date>.log for more details.
Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /u01/oracle10g_grid/DB10.2.0/cfgtoollogs/emca/GRID/emca_2010-03-15_11-13-15-PM.log for more details.
Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:183)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
please help on this issue
ThanksBased on the error below:
Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ceserp.computechcorp.net)(PORT=1543)))(CONNECT_DATA=(SERVICE_NAME=GRID))): ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
It looks like the installer can't connect to your existing database.
Can you ensure that your listener is servicing the already existing database.
lsnrctl status -> will list services
Make sure the database you want to use as your repository is there. -
Installing OEM Grid Control on Solaris Sparc using an existing database
During installing OEM 10g on Solaris, after select "using an existing database" the connect string for database (host:port:sid) never is solicited and the path for datafiles neither, then the installation cancel.
On Windows, this type of installation in the same version work fine!
1_ How I do to install OEM 10g on Solaris using an existing db?
Tx,
Diego.Have you installed the Management Agent for the target database?
Maybe you are looking for
-
Mail backup retrieval how?
My computer hard drive crashed. I was able to back up the entire drive and am now in the process of recopying everything back. Is it possible to find all my email and restore it as it was before? Your help would be greatly appreciated. I had extensiv
-
RTF File Name Change using XDOLoader
Hi- When using XDOLoader to migrate my template, the name is changing. Is there a way to keep the .rtf the same name as what is on the template screen in the Apps? Currently my template name is Invoice_Register.rtf. When I migrate is using XDOLoader
-
hello Community: I'm stuck in writing limbo now , due to a bizarre and never before seen problem in Logic 9.1.4 a Sync or internal timing issue.....for no reason of my doing, this is what occurs: 1. Using my same Autoload setup used for years, and a
-
I just got a new 27" Imac running 10.10.1 and I need to make a bootable partition to run 10.6 for some older software and I am having some trouble. I have 1-10.6.6 disc 1-10.6.4 disc and 1-10.5.6 install disc that came with older Imacs that we have,
-
Save As missing from drop down menu.
I don't have the Save As option in my file dropdown menu. I would like to save pages documents as word, I am unable to check that box its grayed out. if anyone can let me know how to resolve this issue I would greatly appreciate it. It only has a Sav