arch_generation
arch_generation
name,trunc(FIRST_TIME) Ondate,count(1)
ArhiveLogs,to_char(sum(blocks*block_size)/1024/1024/1024,'999,999.99') "Size_in_GB"
from v$archived_log al,v$database db where al.name like '%/%' or al.name like '%\%'
group by db.name,trunc(FIRST_TIME) order by 1;
ssh [email protected]
-----------------------------------------------------------------------------------
-------------------------------------
find . -name "*.gz*" -mtime +2 -exec rm -rf {} \;&
-----------------------------------------------------------------------------------
-------------------------------------
-------------------------------------------------------UPZ3ODs RMAN
BKP--------------------------------------------------------------------------------
------------
Path: /oracle/11gR2/app/product/11.2.0/RMAN_BKP/UPZ3ODS/incremental
-------------------------------------------DBSNMP
-----------------------------------------------------------------------
-------------------------------------------------------11G
create profile NOLIMIT_PWDCHND limit PASSWORD_LIFE_TIME unlimited
FAILED_LOGIN_ATTEMPTS unlimited PASSWORD_REUSE_TIME unlimited PASSWORD_REUSE_MAX
unlimited PASSWORD_VERIFY_FUNCTION null ;
------------------------------------------------------------------Praful DBA
-------------------------------------------------------------
&
--------------------------------------------------Patch applied
scripts----------------------------------------------------------------------------
----------------------
-----------------
tail -9999f logsfor180616|grep -i LAG|tr -s ' '|cut -c1-30,80-104,165-177,178-195
----------------------------------------------------------Remedy
queries--------------------------
Netcool Query
'Assigned Group*+' LIKE "%DBA%" AND 'Status*' = "Assigned" AND 'First Name+' =
"Netcool"
External Query
'Assigned Group*+' LIKE "SSO-DBA-Dispatcher" AND 'Status*' < "Resolved" AND 'First
Name+' != "Netcool" AND 'Company*+' != "Vodafone - IT"
Internal Query
'Assigned Group*+' LIKE "SSO-DBA-Dispatcher" AND 'Status*' < "Resolved" AND 'First
Name+' != "Netcool" AND 'Company*+' = "Vodafone - IT"
Internal RBJ
'Assigned Group*+' LIKE "SSO-DBA-%" AND 'Status*' < "Resolved" AND 'First Name+' !=
"Netcool" AND 'Company*+' = "Vodafone - IT" AND 'Assigned Group*+' != "SSO-DBA-
Dispatcher"
External RBJ
'Assigned Group*+' LIKE "SSO-DBA-%" AND 'Status*' = "Assigned" AND 'First Name+' !=
"Netcool" AND 'Company*+' != "Vodafone - IT" AND 'Assigned Group*+' != "SSO-DBA-
Dispatcher"
APM Query
Open DBA
('Status*' < "Resolved") AND ('Assigned Group*+' LIKE "%DBA%") AND ('Assigned
Group*+' != "SSO - CRM DBA") AND ('Assigned Group*+' != "TCS DBA") AND ('Assigned
Group*+' != "TCS-MPESA-Infra -DBA") AND ('First Name+' != "Netcool")
Work ORder-A
('Status*' < "Completed") AND ('Assignee Support Group Name+' LIKE "%DBA%") AND
('Assignee Support Group Name+' != "SSO - CRM DBA") AND ('Assignee Support Group
Name+' != "TCS DBA") AND ('Assignee Support Group Name+' != "TCS-MPESA-Infra -DBA")
--------------------
ps -ef|grep pmon
ls -ld /agent12c
uname -a
cat /etc/hosts|grep oem
telnet oemcloudha 1159
cd /agent12c
mkdir agent12csoft agent12base agent12c;chmod 750 agent12csoft agent12base agent12c
cd /agent12c/agent12csoft
cd /agent12c/agent12csoft
unzip *
cd /agent12c/agent12csoft
mv agent.rsp agent.rsp.ori
vi agent.rsp
cd <Agent11g_Home>/bin
./emctl stop agent
ps -ef|grep emagent
echo $TZ
export TZ=Asia/Calcutta
echo $TZ
cd /agent12c/agent12csoft
./agentDeploy.sh -ignorePrereqs AGENT_BASE_DIR=/agent12c/agent12base
RESPONSE_FILE=/agent12c/agent12csoft/agent.rsp
------------------------
https://itservicedesk.vodafone.co.in/forms/arsprod/
zVEL:CHG:TMS:ChangeTaskJoinForm/Default+Administrator+View/?
cacheid=da8da492&format=html
-----------------------------SER-1 & 2
Sev2 -
'Priority*' = "High" AND 'Assigned Group*+' LIKE "%SSO%" AND 'First Name+' !=
"Netcool" AND 'Reported Date+' >= "09/18/2012"
Sev-1 -
'Priority*' = "Critical" AND 'Assigned Group*+' LIKE "%SSO%" AND 'First Name+' !
="Netcool" AND 'Reported Date+' >= "06/01/2012"
if needs to generate report kindly select incident with impact for meantime
----------------------------Patching OEM
link------------------------------------------------------------------------
https://10.87.226.51:7799/dbdash/patchdetails.html
-----------------------------------------------
select
to_char(df.creation_time,'MON-YYYY'),ts.name,trunc(sum(bytes/1024/1024/1024))
GB_ADDED from v$tablespace ts, v$datafile df where ts.ts#=df.ts# and
to_char(df.creation_time,'YYYY')='2017' group by to_char(df.creation_time,'MON-
YYYY'),ts.name order by 3 desc;
#####################################################DR LAG
checking###########################################################################
#