Interview Questions For APPS DBA
Interview Questions For APPS DBA
used as 1Z0-233 Install Patch and Maintain Applications dump for certification.
Desktop tier
Application EBS (Forms, Reports, Concurrent Processing, Web, Admin, Disc)Q. Find
application server version ?
FND_PRODUCT_GROUPS
Q. How will you find the Apache, forms, reports version in an EBS suite?
http –v – Apache
f60gen – Forms
ar60run – Reports
Q. What are profile options, what are various type of profile options ?
http://hostname:port/dev60cgi/f60cgi?play=&record=collect&log=filename
Use adadmin to change Maintenance mode is Oracle Apps. With AD.I you need to enable
maintenance mode in order to apply apps patch via adpatch utility. If you don’t want to
put apps in maintenance mode you can use adpatch options=hotpatch feature.
One-off, mini, diagnostics, cu, rup, language, help, platform specific, OS, OPatch,
Interoperability, family pack and maintenance pack.
Q. Explain the steps for applying apps patch and database patch ?
Q. What is autoconfig?
Patch log, autoconfig log, reports output, reports log and Concurrent manager log.
Desktop tier
Application EBS (Forms, Reports, Concurrent Processing, Web, Admin, Disc)Q. Find
application server version ?
FND_PRODUCT_GROUPS
Q. How will you find the Apache, forms, reports version in an EBS suite?
http –v – Apache
f60gen – Forms
ar60run – Reports
Q. What are profile options, what are various type of profile options ?
http://hostname:port/dev60cgi/f60cgi?play=&record=collect&log=filename
Use adadmin to change Maintenance mode is Oracle Apps. With AD.I you need to enable
maintenance mode in order to apply apps patch via adpatch utility. If you don’t want to
put apps in maintenance mode you can use adpatch options=hotpatch feature.
One-off, mini, diagnostics, cu, rup, language, help, platform specific, OS, OPatch,
Interoperability, family pack and maintenance pack.
Q. Explain the steps for applying apps patch and database patch ?
Q. What is autoconfig?
Patch log, autoconfig log, reports output, reports log and Concurrent manager log.
So start sharing information which can be useful to others like scripts, document
Here are few Apps DBA interview questions you can expect, if recruiter is looking for
SSO-Apps Integration expertise
Q. How to find if your E-Business Suite is integrated with SSO/OID (10g Identity
Management)
- There are multiple ways to find out Apps 11i/R12 is integrated with SSO/OID
a) Check if SSOSDK schema exists (in Apps 11i/R12) and check table in SSOSDK
schema
b) Check if log file exists at $OAD_TOP/rgf/$CONTEXT_NAME/sso
c) Profile option Option “Application SSO Types”
Q. If Single Sign-On server & OID is down, can users still login ?
Yes, use localLogin
* Make sure you know about these profile option as explain these profile option and how
they effect SSO Integration
Q. What extra steps you need to do after changing apps password in SSO Integrated Apps
Instances ?
- Update provisioning profile in OID with new apps password
Q. If new users created is not able to login, how will you troubleshoot ?
- Check if user exist in both Apps (FND_USER) and OID (If not check if user
provisioning is working fine)
- If user exist check Password (in FND_USER) is set to External (If set to LOCAL user
should try AppsLocalLogin.jsp)
Q. User is currently set to Login via SSO, what steps you need to do to change user for
Local Login
(AppsLocalLogin.jsp)
- Set Profile Option “Applications SSO Login Types” to LOCAL or BOTH
- Reset User Password using FNDCPASS
- Login using URL /OA_HTML/AppsLocalLogin.jsp
Q. How you clone Oracle Apps (11i/R12) Instance Integrated with OID/SSO
On Apps
- Clone E-Business Suite using Rapid Clone
On OID/SSO
- Migrate User/Groups from source to target using ldifwrite & bulkload.sh
- Migrate Password Policy, DAS Admin Group
Q. What is mapping file w.r.t. User provisioning between Apps & OID and what is
default location of oracle shipped
Q. What is difference between ICM, CRM and Standard Manager in Concurrent Manager
?
Q. If your output or log file from view report is not working what can be issue ?
Q. If users complain that they can’t see login page, how you will debug issue ?
Q. I am applying database patch using opatch. I don’t have oraInventory, can I apply
database patch ?
No, you can’t apply a database patch using opatch if Inventory is missing.
Register ORACLE_HOME with global Inventory (in case inventory is missing) using
steps mentioned here “3.6.2 Creating the Central Inventory”
b) Concurrent Manager was shut down by some one (Check using System Administrator
> Concurrent > Manager > Administer)
c) There is no workshift defined against Concurrent Manager (or workshift removed from
Manager)
To name few
1. Failure to create proper apps listener file via adgentns.sh during Rapid Clone process
2. FNDSM (Service Manager issues)
Q. How frequently do you preform patching ? (For work ex < 1.5 yrs)
Patching is done mainly to fix existing problem (bug) or for new features
(enhancements). Frequency of patching vary from company to company and
implementation stage.
Q. How frequently you perform cloning ? (For work ex < 1.5 yrs)
This again vary from company to company. Frequency ranging from every few days or
every few weeks to every few months.
Q. what command is used to kill the process which is using largest memory ?
Vary as per operating system if you wish to kill o.s. process (kill -9 <pid>)
Q. I am applying patch can I open another session and run adadmin ? (Thanks to Amit
Pancholia for pointing this out)
Yes & No (depends on stage of patching), you can run adadmin if
FND_INSTALL_PROCESSES is NOT locked (in use) by adpatch session. If this table is
in use by adpatch session then you can’t run adadmin at same time.
Q. I am applying patch can I open another session in another node and run adpatch ?
Well, question is tricky. If you are using shared appl_top (application tier) and using
distributed patching (a.k.a. Distributed AD) feature then yes you can start patch from one
node giving total number of workers and start X number of workers from node1 , then
start another adpatch session from second node mentioning remaining workers to start
from second node. (More on distributed patching in shared application tier environment
coming soon …).
Q. I am not able to start concurrent manager ? What is the problem ?
This could again be for various reasons, to check root cause of problem check log file at
$APPLCSF/$APPLLOG/$SID_MMDD.mgr (where MM is month & DD is Date on
which Concurrent Manager was started)
Q. What is wdbsvr.app file used for? What's full path of this file? What's significance of
this file ?
I'll again suggest you don't just remember answer & try to solve mystery behind this file.
First where this file exists ? You can find this file under
$IAS_ORACLE_HOME/Apache/modplsql/cfg
Based on file location I am sure you can say this is related to Apache, & looking into
modplsql/cfg , I am sure you will say its related to mod_pls (mod plsql component of
Apache/Oracle 11i WebServer) configuration file. This file is used by mod_plsql
component of Apache to connect to database. So when you type url
http://hostname:port/pls/SID , whenever Apache(11i Web Server) finds that request is for
/pls/ then Apache delegates this request to mod_pls component which in turn pick this
file & check if there is any DAD with name SID (in our example its VISION11I) &
Sample entry in wdbsvr.app
[DAD_VISION11I]
connect_string = VISION11I
password = apps
username = APPS
default_page = fnd_web.ping
These files are used during restart of patch in case of patch failure because of some
reason.
This file is used by any forms client session. When a user try to access forms , f60webmx
picks up this file and based on this configuration file creates a forms session to
user/client.
Q. Can you clone from multi node system to single node system & vice versa ?
Yes , this is now supported via Rapid Clone, Check if your system has all prereq. patches
for Rapid Clone and you are on latest rapid clone patch.
Q. Does rapid clone takes care of Updating Global oraInventory or you have to register
manually in Global OraInventory after clone ?
Rapid Clone will automatically Update Global oraInventory during configuration phase.
You don't have to do any thing manually for Global oraInventory.
Q. What is .dbc file , where its stored , whats use of .dbc file ?
dbc as name says is database connect descriptor file which stores database connection
information used by application tier to connect to database. This file is in directory
$FND_TOP/secure also called as FND_SECURE
Q. Whats things you do to reduce patch timing ? You can take advantage of following -
Q. Can you apply patch without putting Applications 11i in Maintenance mode ?
Yes, use options=hotpatch as mentioned above with adpatch.
Thanks Yatish for pointing this out
Q. If users complaining Oracle Applications 11i system is running slow , what all things
you will check at broad level ?
Q. What is Autoconfig ?
Q. How to create User in Oracle Applications 11i ? Can you delete a User ?
Q. How to configure portal with 11i ? ( If you are using portal 3.0.9 or 10G )? Q. What is
access_log in apache , what entries are recored in access_log ? Where is default location
of thsi file ?
access_log in Oracle Application Server records all users accessing oracle applications
11i. This file location is defined in httpd.conf with default location at
$IAS_ORACLE_HOME/Apache/Apache/logs. Entries in this file is defined by directive
LogFormat in httpd.conf Typical entry in access_log is
198.0.0.1 - - [10/Sep/2006:18:37:17 +0100] "POST /OA_HTML/OA.jsp?.... HTTP/1.1"
200 28035
where 200 is HTTP status code & last digits 28035 is bytes dowloaded as this page(Size
of page)
Q. Where is Jserv configuration files stored ?
Jserv configuration files are stored in $IAS_ORACLE_HOME/Apache/Jserv/etc
Q. What is session time out parameter & where all you define these values ?
If this file is not there , look for any configuration file under APPL_TOP if system is
Autoconfig enabled then you will see entry like
# AutoConfig automatically generates this file. It will be read and .......
Please note above format might defer on your system as this is dependent log_format in
Apache configuration file ( httpd.conf)
Q. What is your Oracle Apps 11i Webserver Version and how to find it ?
From 11.5.8 to 11.5.10 Webserver version is iAS 1.0.2.2.2, In order to find version under
$IAS_ORACLE_HOME/Apache/Apache/bin execute ./httpd -version
./httpd -version
Server version: Oracle HTTP Server Powered by Apache/1.3.19
Server built: Dec 6 2005 14:59:13 (iAS 1.0.2.2.2 rollup 5)
DBC file is quite important as whenever Java or any other program like forms want to
connect to database it uses dbc file. Typical entry in dbc file is
GUEST_USER_PWD
APPS_JDBC_URL
DB_HOST
...., I will explain these parameters in other questions else in my BLOG
Q. There are lot of dbc file under $FND_SECURE, How its determined that which dbc
file to use from $FND_SECURE ?
This value is determined from profile option "Applications Database ID"
Q. What is RRA/FNDFS ?
Report Review Agent(RRA) also referred by executable FNDFS is default text viewer in
Oracle Applications 11i for viewing output files & log files. As most of apps dba's are not
clear about Report Server & RRA,
Q. Why I need two Concurrent Processing Nodes or in what scenarios PCP is Used ?
Well If you are running GL Month end reports or taxation reports annually these reposrts
might take couple of days. Some of these requests are very resource intensive so you can
have one node running long running , resource intensive requests while other processing
your day to day short running requets.
another scenario is when your requests are very critical and you want high resilience for
your Concurrent Processing Node , you can configure PCP. So if node1 goes down you
still have CM node available processing your requests.
Q. Output & Logfiles for requests executed on source Instance not working on cloned
Instance
Here is exact problem description - You cloned an Oracle Apps Instance from
PRODBOX to another box with Instance name say CLONEBOX on 1st of August. You
can any CM logs/output files after 1st of August only becuase these all are generated on
CLONEBOX itself, But unable to view the logs/output files which are prior to 1st
August. What will you do & where to check ?
Else you can submit a request like "Active Users" with display set to PDF, check output
& log file to see if report server can display PDF files.
ICM stand for Internal Concurrent Manager, which controls other managers. If it finds
other managers down , it checks & try to restart them. You can say it as administrator to
other concurrent managers. It has other tasks as well.
Standard Manager These are normal managers which control/action on the requests &
does batch or single request processing.
CRM acronym for Conflict Resolution Manager is used to resolve conflicts between
managers & request. If a request is submitted whose execution is clashing or it is defined
not to run while a particular type of request is running then such requests are
actioned/assigned to CRM for Incompatibilities & Conflict resolution.
Apps Listener usually running on All Oracle Applications 11i Nodes with listener alias as
APPS_$SID is mainly used for listening requests for services like FNDFS & FNDSM.
Q. Where will you find forms configuration details apart from xml file ?
f60srvm
Q. What are different modes of forms in which you can start Forms Server and which one
is default ?
You can start forms server in SOCKET or SERVLET by defualt Forms are configured to
start in socket mode.
using query
SQLPLUS> select count(*) from dba_objects where status like 'INVALID';
You can use adadmin utility to compile or you can use utlrp.sql script shipped with
Oracle Database to compile Invalid Database Objects.
You can use ojspCompile.pl perl script shipped with Oracle apps to compile JSP files.
This script is under $JTF_TOP/admin/scripts. Sample compilation method is
perl ojspCompile.pl --compile --quiet
Q. How many ORACLE HOME are Oracle Apps and whats significance of each ?
There are three $ORACLE_HOME in Oracle Apps, Two for Application Tier (Middle
Tier) and One in Database Tier.
Q. What are few profile options which you update after cloning ?
Rapid clone updates profile options specific to site level . If you have any profile option
set at other levels like server, responsibility, user....level then reset them.
If forgot password link is enabled and sysadmin account is configured with mail id user
forget password link else you can reset sysadmin password via FNDCPASS.
Q. If you have done two node Installation, First machine : Database and concurrent
processing server. 2nd machine: form,web Which machine have admin server/node?
Admin Server will be on First machine with concurrent processing server. More on
Admin Server coming soon..
TWO_TASK mocks your tns alias which you are going to use to connect to database.
Lets assume you have database client with tns alias defined as PROD to connect to
Database PROD on machine teachmeoracle.com listening on port 1521. Then usual way
to connect is sqlplus username/passwd@PROD ; now if you don't want to use @PROD
then you set TWO_TASK=PROD and then can simply use sqlplus username/passwd then
sql will check that it has to connect to tnsalias define by value PROD i.e. TWO_TASK
Q. What is GWYUID ?
GWYUID , stands for Gateway User ID and password. Usually like APPLSYSPUB/PUB
GWYUID is defined in dbc i.e. Database Connect Descriptor file . It is used to connect to
database by think clients.
0 & Y are flags for FND Executable like FNDCPASS & FNDLOAD where
0 is request id (request ID 0 is assigned to request ID's which are not submitted via
Submit Concurrent Request Form.
'Y' indicates the method of invocation. i.e. it is directly invoked from the command-line
not from the Submit Request Form.
Q. In a Multi Node Installation, How will you find which node is running what
SErvices ?
You can query for table FND_NODES and check for column , SUPPORT_CP ( for
Concurrent Manager) SUPPORT_FORMS ( for forms server) , SUPPPORT_WEB (Web
Server), SUPPORT_ADMIN( Admin Server), and SUPPORT_DB for database tier.
You can also check same from CONTEXT File (xml file under APPL_TOP/admin)
Q. If your system has more than one Jinitiator, how will the system know, which one to
pick. ?
When client makes a forms connection in Oracle Applications, forms client session uses
configuration file defined by environment variable FORMS60_WEB_CONFIG_FILE
also called as appsweb config file. These days this file is of format
appsweb_$CONTEXT.cfg The initiator version number defined by parameter
jinit_ver_name in this file will be used .
Q. While applying Apps patch using adpatch, if you want to hide the apps password, how
will that be possible ?
Use adpatch flags=hidepw while applying patches in apps to hide apps or system
password being displayed on Users Screen.
OUI stands for Oracle Universal Installer. (opatch lsinventory list the OUI version)
make is utility in Unix/Linux to maintain , update & generate an file mainly executable.
Q. What are .ldt & .lct files which you see in apps patch or with FNDLOAD ?
.ldt & .lct stands for Loader datafile & Loader configuration files, used frequently in
migrating customization, profile options, configuration data, etc.. across Instances.
Q. If APPS_MRC schema is not used in 11.5.10 and higher then How MRC is working ?
For products like Payable, Recievables which uses MRC and if MRC is enabled then
each transaction table in base schema related to currency now has an assoicated MRC
Subtables.
Q. When you apply C driver patch does it require database to be Up & Why ?
Yes , database & db listener should be Up when you apply any driver patch in apps. even
if driver is not updating any database object connection is required to validate apps &
other schema and to upload patch history information in database tables.
Q. Can C driver in apps patch create Invalid Object in database ?
No , C driver only copies files in File System. Database Object might be invalidated
during D driver when these objects are created/dropped/modified.
cgi stands for Common Gateway Interface and these are Script Alias in Oracle Apps used
to access forms server . Usually Form Server access directly via
http://hostname:port/dev60cgi/f60cgi
Q. Why does a worker fails in Oracle Apps Patch and few scenarios in which it failed for
you ?
This question sounds stupid but this is asked quite often in Apps DBA Interview. Apps
Patch worker can fail in case it doesn't find expected data, object, files or any thing which
driver is trying to update/edit/modify. Possible symptoms may be underlying
tables/objects are invalid, a prereq patch is missing , login information is incorrect,
inconsistency in seeded data...
mod_osso is module in Oracle's HTTP Server serves as Conduit between Oracle Apache
Server & Singl Sign-On Server where as mod_ose is also another module in Oracle's
HTTP Server serves as conduit between Oracle Apache & Oracle Servlet Engine.
Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, or .MMX file
but COMPILE_ALL=YES also changes the cached version in the source .FMB, .PLL,
or .MMB file. This confuses version control and build tools (CVS, Subversion, make,
scons); they believe you've made significant changes to the source.
COMPILE_ALL=SPECIAL does not do this.
Q. What is ps -ef or ps command in Unix ? for work ex < 1 yr
Earlier each service used to start at their own but managing these services (given that)
they can be on various machines distributed across network. So Generic Service
Management is extension of Concurrent Processing which manages all your services ,
provide fault tolerance (If some service is down ICM through FNDSM & other processes
will try to start it even on remote server) With GSM all services are centrally managed
via this Framework.
Q. What is FNDSM ?
iAS Patch are patches released to fix bugs associated with IAS_ORACLE_HOME (Web
Server Component) Usually these are shiiped as Shell scripts & you apply iAS patches by
executing Shell script. Note that by default ORACLE_HOME is pointing to 8.0.6
ORACLE_HOME and if you are applying iAS patch export ORACLE_HOME to iAS .
You can do same by executing environment file under $IAS_ORACLE_HOME
Q. If we run autoconfig which files will get effected ?
In order to check list of files changes during Autoconfig , you can run adchkcfg utility
which will generate HTML report. This report will list all files & profile options going to
change when you run AutoConfig.
lgi files are created with patching along with .log files . .lgi files are informative log files
containing information related to patch. You can check .lgi files to see what activities
patch has done. Usually informative logs.
Q. How will you skip worker during patch ?
If in your adctrl there are six option shown then seventh is hidden option.(If there are
seven options visible then 8th option is to Skip worker depending on ad version).
Q. Which two tables created at start of Apps Patch & drops at end of Patch ?
FND_INSTALLED_PROCESSES &AD_DEFFERED_JOBS are the tables that get
updated while applying a patch mainly d or unified driver.
AD_BUGS holds information about the various Oracle Applications bugs whose fixes
have been applied (ie. patched) in the Oracle Applications installation.
Q. What exactly happens when you put an Oracle Apps instance in maintenance mode ?
Used only during AutoPatch sessions, maintenance mode ensures optimal performance
and reduces downtime when applying a patch. (Source Metalink Note: 233044.1)
What is RAC?
RAC stands for Real Application cluster. It is a clustering solution from Oracle
Corporation that ensures high availability of databases by providing instance failover,
media failover features.
Mention the Oracle RAC software components:-
Oracle RAC is composed of two or more database instances. They are composed of
Memory structures and background processes same as the single instance database.Oracle
RAC instances use two processes GES(Global Enqueue Service), GCS(Global Cache
Service) that enable cache fusion.Oracle RAC instances are composed of following
background processes:
ACMS—Atomic Controlfile to Memory Service (ACMS)
GTX0-j—Global Transaction Process
LMON—Global Enqueue Service Monitor
LMD—Global Enqueue Service Daemon
LMS—Global Cache Service Process
LCK0—Instance Enqueue Process
RMSn—Oracle RAC Management Processes (RMSn)
RSMN—Remote Slave Monitor
What is GRD?
GRD stands for Global Resource Directory. The GES and GCS maintains records of the
statuses of each datafile and each cahed block using global resource directory.This
process is referred to as cache fusion and helps in data integrity.
Give Details on Cache Fusion:-
Oracle RAC is composed of two or more instances. When a block of data is read from
datafile by an instance within the cluster and another instance is in need of the same
block,it is easy to get the block image from the insatnce which has the block in its SGA
rather than reading from the disk. To enable inter instance communication Oracle RAC
makes use of interconnects. The Global Enqueue Service(GES) monitors and Instance
enqueue process manages the cahce fusion. Give Details on ACMS:-
ACMS stands for Atomic Controlfile Memory Service.In an Oracle RAC environment
ACMS is an agent that ensures a distributed SGA memory update(ie)SGA updates are
globally committed on success or globally aborted in event of a failure.
Give details on GTX0-j :-
The process provides transparent support for XA global transactions in a RAC
environment.The database autotunes the number of these processes based on the
workload of XA global transactions.
Give details on LMON:-
This process monitors global enques and resources across the cluster and performs global
enqueue recovery operations.This is called as Global Enqueue Service Monitor.
Give details on LMD:-
This process is called as global enqueue service daemon. This process manages incoming
remote resource requests within each instance.
Give details on LMS:-
This process is called as Global Cache service process.This process maintains statuses of
datafiles and each cahed block by recording information in a Global Resource
Dectory(GRD).This process also controls the flow of messages to remote instances and
manages global data block access and transmits block images between the buffer caches
of different instances.This processing is a part of cache fusion feature.
Give details on LCK0:-
This process is called as Instance enqueue process.This process manages non-cache
fusion resource requests such as libry and row cache requests.
Give details on RMSn:-
This process is called as Oracle RAC management process.These pocesses perform
managability tasks for Oracle RAC.Tasks include creation of resources related Oracle
RAC when new instances are added to the cluster.
Give details on RSMN:-
This process is called as Remote Slave Monitor.This process manages background slave
process creation andd communication on remote instances. This is a background slave
process.This process performs tasks on behalf of a co-ordinating process running in
another instance.
All datafiles, controlfiles, SPFIles, redo log files must reside on cluster-aware shred
storage.
All instances of an Oracle RAC can access all the datafiles,control files, SPFILE's,
redolog files when these files are hosted out of cluster-aware shared storage which are
group of shared disks.
Give few examples for solutions that support cluster storage:-
ASM(automatic storage management),raw disk devices,network file system(NFS),
OCFS2 and OCFS(Oracle Cluster Fie systems).
an interconnect network is a private network that connects all of the servers in a cluster.
The interconnect network uses a switch/multiple switches that only the nodes in the
cluster can access.
Users can access a RAC database using a client/server configuration or through one or
more middle tiers ,with or without connection pooling.Users can use oracle services
feature to connect to database.
Applications should use the services feature to connect to the Oracle database.Services
enable us to define rules and characteristics to control how users and applications connect
to database instances.
The charateristics include a unique name, workload balancing and failover options,and
high availability characteristics.
Oracle Net Services enable the load balancing of application connections across all of the
instances in an Oracle RAC database.
A virtl IP address or VIP is an alternate IP address that the client connectins use instead
of the standard public IP address. To configureVIP address, we need to reserve a spare IP
address for each node, and the IP addresses must use the same subnet as the public
network.
If a node fails, then the node's VIP address fails over to another node on which the VIP
address can accept TCP connections but it cannot accept Oracle connections.
Give situations under which VIP address failover happens:-
VIP addresses failover happens when the node on which the VIP address runs fails, all
interfaces for the VIP address fails, all interfaces for the VIP address are disconnected
from the network.
When a VIP address failover happens, Clients that attempt to connect to the VIP address
receive a rapid connection refused error .They don't have to wait for TCP connection
timeout messages.
What are the administrative tools used for Oracle RAC environments?
Issue the following query from any one node connecting through SQL*PLUS.
$connect sys/sys as sysdba
SQL>select * from V$ACTIVE_INSTANCES;
The query gives the instance number under INST_NUMBER column,host_:instancename
under INST_NAME column.
What is FAN?
Having ASM is the Oracle recommended storage option for RAC databases as the ASM
maximizes performance by managing the storage configuration across the disks.ASM
does this by distributing the database file across all of the available storage within our
cluster database environment.
What two parameters must be set at the time of starting up an ASM instance in a RAC
environment?The parameters CLUSTER_DATABASE and INSTANCE_TYPE must be
set.
What are the modes of deleting instances from ORacle Real Application cluster
Databases?
We can delete instances using silent mode or interactive mode using DBCA(Database
Configuration Assistant).
We need to stop and delete the instance in the node first in interactive or silent
mode.After that asm can be removed using srvctl tool as follows:
srvctl stop asm -n node_name
srvctl remove asm -n node_name
We can verify if ASM has been removed by issuing the following command:
srvctl config asm -n node_name
How do we verify that an instance has been removed from OCR after deleting an
instance?
We can verify the current backup of OCR using the following command : ocrconfig -
showbackup
There are two types of connection load-balancing:server-side load balancing and client-
side load balancing.
What is the differnece between server-side and client-side connection load balancing?
Client-side balancing happens at client side where load balancing is done using listener.In
case of server-side load balancing listener uses a load-balancing advisory to redirect
connections to the instance providing best service.
Give the usage of srvctl:-
srvctl start instance -d db_name -i "inst_name_list" [-o start_options]srvctl stop instance -
d name -i "inst_name_list" [-o stop_options]srvctl stop instance -d orcl -i "orcl3,orcl4" -o
immediatesrvctl start database -d name [-o start_options]srvctl stop database -d name [-o
stop_options]srvctl start database -d orcl -o mount
ASM:
What is ASM?
ASM is a Volume Manager and a file system for Oracle Database Files that supports
single instance Oracle Database and Oracle Real Application cluster (RAC)
configuration.
What is the recommended storage management solution from Oracle?Why?
ASM is the recommended storage management solution from oracle as it provides an
alternative to conventional volume managers,file systems and raw devices.
An ASM disk group is a group of disks that ASM manages as an unit.Within the
diskgroups an file system interface maintains the Oracle database files. ASM simplifies
database storage by consolidating disks into disk groups.This reduces I/O overhead.
How is the performance of disk group comparable to raw disks?/Are disk groups a good
alternative to raw disks?
The files distributed across the set of disks in a disk group are striped or distributed
across the disks to eliminate hot spots and improve performance.Thus they perform
equally well as raw disks.
How does ASM eliminate downtime?
Disks can be added and removed from the disk groups online,(i.e)during the operation of
the database without any downtime. When disks are added or removed ASM
automatically redistributes the contents without any downtime.Thus ASM eliminates
downtime.
Give details on server-based mirroring:-
This is a flexible option provided by ASM. The normal and redundant options of ASM
provides two and three way mirroring. We can use external option to enable
RAID(Redundant Array Of Independent Disks).
How does an ASM manage files?/How is the file management simplified using ASM?
ASM uses the Oracle Managed Files(OMF) feature which simplifies file
management.Files are created at specified location,renames files,deletes files when
operations at tablespace level happens(say tablespace deletion).
Give some interfaces used to manage ASM:-
Oracle Enterprise Manager(OEM),SQL*PLUS,ASMCMD command-line interface are
some interfaces that can be used with ASM.
Can ASM co-exist with non-ASM system:-
Yes,ASM can co-exist with non-ASM third-party file systems and thus can be integrated
into pre-existing environments.OEM has an interface for migrating non-ASM files to
ASM.
An ASM instance is the instance that manages ASM disk groups. It composes of System
Global Area(SGA) and background processes. ASM instance mounts a disk group that is
made available to the database instance. An ASM instance manages the metadata of a
disk group and provides file layout information to the database instances.
Will the SGA(System Global Area) of ASM is comparable in size to an Oracle database
instance?
No.The SGA size of an ASM is smaller than that of an Oracle database instance,as an
ASM performs fewer tasks than a database.
No.An ASM instance can mount a disk group that can be used by a database instance.
ASM metadata is the information that ASM uses to control the disk group.It is present
within a disk group.
The ASM instance manages the metadata and provides space allocation for the ASM
files.When a database instance creates or opens an ASM file,it communicates those
requests to the ASM instance.In response the ASM instance provides the file extent map
information to the database instance.