You are on page 1of 4

#INSTANCE AVAILIBILITY CHECK

.............................................
[oracle@orasvil ~]$ ps -ef | grep smon
oracle
1965
1 0 Mar20 ?
00:00:48
oracle
2026
1 0 Mar20 ?
00:00:46
oracle
2085
1 0 Mar20 ?
00:03:34
oracle
7059 7030 0 13:32 pts/3
00:00:00
[oracle@orasvil ~]$ ps -ef | grep pmon
oracle
1953
1 0 Mar20 ?
00:00:06
oracle
2012
1 0 Mar20 ?
00:00:04
oracle
2073
1 0 Mar20 ?
00:00:07
oracle
7062 7030 0 13:32 pts/3
00:00:00
[oracle@orasvil ~]$ ./ora_insta.sh
Tue Apr 3 13:32:25 CEST 2012
Oracle Database(s) Status orasvil.m-dis.it :\n
Oracle Instance - orcl:
Up
Oracle Instance - mdistst:
Up
Oracle Instance - db08:
Up

ora_smon_orcl
ora_smon_mdistst
ora_smon_db08
grep smon
ora_pmon_orcl
ora_pmon_mdistst
ora_pmon_db08
grep pmon

#LISTENER AVAILIBILITY CHECK


..................................................
tnsping orcl
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 03-APR-2012 13:35
:24
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/oracle/oradata/app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = orasvil.
m-dis.it)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc
l)))
OK (0 msec)
[oracle@orasvil ~]$ tnsping db08
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 03-APR-2012 13:35
:29
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/oracle/oradata/app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
[oracle@orasvil ~]$ tnsping mdistst
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 03-APR-2012 13:35
:37
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/oracle/oradata/app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora

Used TNSNAMES adapter to resolve the alias


Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = orasvil.
m-dis.it)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mdi
stst)))
OK (0 msec)
[oracle@orasvil ~]$ trcroute orcl
Trace Route Utility for Linux: Version 10.2.0.5.0 - Production on 03-APR-2012 13
:35:46
Copyright (c) 1995, 2010, Oracle. All rights reserved.
Route of TrcRoute:
-----------------Node: Client
Time and address of entry into node:
------------------------------------------------------------03-APR-2012 13:35:46 ADDRESS= PROTOCOL=TCP HOST=orasvil.m-dis.it PORT=1521
Node: Server
Time and address of entry into node:
------------------------------------------------------------03-APR-2012 13:35:46 ADDRESS= PROTOCOL=TCP HOST=orasvil.m-dis.it PORT=1521
[oracle@orasvil ~]$ trcroute mdistst
Trace Route Utility for Linux: Version 10.2.0.5.0 - Production on 03-APR-2012 13
:35:56
Copyright (c) 1995, 2010, Oracle. All rights reserved.
Route of TrcRoute:
-----------------Node: Client
Time and address of entry into node:
------------------------------------------------------------03-APR-2012 13:35:56 ADDRESS= PROTOCOL=TCP HOST=orasvil.m-dis.it PORT=1521
Node: Server
Time and address of entry into node:
------------------------------------------------------------03-APR-2012 13:35:56 ADDRESS= PROTOCOL=TCP HOST=orasvil.m-dis.it PORT=1521
[oracle@orasvil ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.5.0 - Production on 03-APR-2012 13:36:02
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=orasvil.m-dis.it)(PORT=1
521)))
STATUS of the LISTENER
-----------------------Alias
LISTENER
Version
TNSLSNR for Linux: Version 10.2.0.5.0 - Production
Start Date
20-MAR-2012 12:20:36
Uptime
14 days 0 hr. 15 min. 25 sec
Trace Level
off
Security
ON: Local OS Authentication
SNMP
OFF
Listener Parameter File /oracle/oradata/app/oracle/oracle/product/10.2.0/db_1/
network/admin/listener.ora

Listener Log File


/oracle/oradata/app/oracle/oracle/product/10.2.0/db_1/
network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orasvil.m-dis.it)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "db08" has 1 instance(s).
Instance "db08", status READY, has 1 handler(s) for this service...
Service "db08XDB" has 1 instance(s).
Instance "db08", status READY, has 1 handler(s) for this service...
Service "db08_XPT" has 1 instance(s).
Instance "db08", status READY, has 1 handler(s) for this service...
Service "mdistst" has 1 instance(s).
Instance "mdistst", status READY, has 1 handler(s) for this service...
Service "mdiststXDB" has 1 instance(s).
Instance "mdistst", status READY, has 1 handler(s) for this service...
Service "mdistst_XPT" has 1 instance(s).
Instance "mdistst", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
#PROCESS CHECK
...............................................................................
top
top - 13:37:11 up 14 days, 17 min, 3 users, load average: 0.00, 0.02, 0.00
Tasks: 174 total, 1 running, 173 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 0.3%sy, 0.0%ni, 99.2%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8388608k total, 8358020k used,
30588k free,
11380k buffers
Swap: 9437176k total, 962424k used, 8474752k free, 7106852k cached
PID
7293
2012
1
2
3
4
5
6
7
9
10
18
19
20
21
24
25
26
27
31
33
97

USER
oracle
oracle
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root

PR
15
15
15
RT
34
RT
10
10
10
10
10
RT
34
RT
10
10
10
20
10
20
10
10

NI
0
0
0
-5
19
-5
-5
-5
-5
-5
-5
-5
19
-5
-5
-5
-5
-5
-5
-5
-5
-5

VIRT
12712
946m
10312
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

RES
1116
17m
684
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

SHR
792
14m
576
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

S %CPU %MEM
TIME+
R
1 0.0 0:00.05
S
0 0.2 0:04.41
S
0 0.0 0:03.73
S
0 0.0 0:03.18
S
0 0.0 0:00.01
S
0 0.0 0:00.00
S
0 0.0 0:00.11
S
0 0.0 0:00.00
S
0 0.0 0:00.00
S
0 0.0 0:00.00
S
0 0.0 0:00.42
S
0 0.0 0:03.39
S
0 0.0 0:00.03
S
0 0.0 0:00.00
S
0 0.0 0:00.04
S
0 0.0 0:00.05
S
0 0.0 0:00.04
S
0 0.0 0:00.00
S
0 0.0 0:00.00
S
0 0.0 0:00.00
S
0 0.0 0:00.00
S
0 0.0 16:47.63

COMMAND
top
oracle
init
migration/0
ksoftirqd/0
watchdog/0
events/0
khelper
kthread
xenwatch
xenbus
migration/1
ksoftirqd/1
watchdog/1
events/1
kblockd/0
kblockd/1
cqueue/0
cqueue/1
khubd
kseriod
kswapd0

98 root
99 root
229 root

20 -5
20 -5
11 -5

0
0
0

0
0
0

0 S
0 S
0 S

0 0.0
0 0.0
0 0.0

0:00.00 aio/0
0:00.00 aio/1
0:00.00 kpsmoused

#ALERT LOG CHECKED ON THE THREE DATABASE.


...........................................................................
ORCL DATABASE.
Sat Mar 31 09:11:53 CEST 2012
ORA-9999: Procedure TEST has ended successfully
Sat Mar 31 17:09:42 CEST 2012
Thread 1 advanced to log sequence 24114 (LGWR switch)
Current log# 2 seq# 24114 mem# 0: /oracle/oradata/app/oracle/oradata/orcl/redo
02.log
Sun Apr 01 10:00:15 CEST 2012
Thread 1 advanced to log sequence 24115 (LGWR switch)
Current log# 3 seq# 24115 mem# 0: /oracle/oradata/app/oracle/oradata/orcl/redo
03.log
Mon Apr 02 03:55:54 CEST 2012
Thread 1 advanced to log sequence 24116 (LGWR switch)
Current log# 1 seq# 24116 mem# 0: /oracle/oradata/app/oracle/oradata/orcl/redo
01.log
======================================================
Alert Log archived on Mon Apr 2 08:13:44 CEST 2012
====================================================
Mon Apr 02 22:00:38 CEST 2012
Thread 1 advanced to log sequence 24117 (LGWR switch)
Current log# 2 seq# 24117 mem# 0: /oracle/oradata/app/oracle/oradata/orcl/redo
02.log
REST THERE WERE NO MAJORE ISSUE ON THE ALERT LOG FILES ON THE OTHER DATABASE(MDI
STST,DB08)

You might also like