Sie sind auf Seite 1von 10

Pre Activities before Planned Event

1 Take RMAN Backup of 10.137.81.141

10.137.81.146 --> Destroy of temporary mount point


umount /temporary
lvremove /templv
vgremove tempvg
pv_remove /dev/sdk (crosscheck once it will be 3.9Tb disk)

10.137.81.146 -->
disk removal 3.9 TB sde

Addition of 3.9 TB Disk on 10.137.81.141

scan for newly assigned disk


pvcreate
vgcreate vg_temp
lvcreate
10) /templv
In order to be able to repartitioned the tables, DBA privilage needs to be granted to proptima user and table
mkdir /temporary/partition_enhancer
mount newly createdscript
DB-pre-requisite.sql mountwillsystem and update
give these /etc/fstab file
privileges.
Note: This action needs to be launched as proptima

sqlplus proptima/proptima
2) Disable config session
4) check and kill if any update or insert query is running on network_object,ne_import_mapping,moc_attribute_
CREATE TABLESPACE mav_data_redef DATAFILE SIZE 30G;
5) Increase
alter tmp tablespace
tablespace to 150add
mav_data_redef gb datafile SIZE 30G;
alter tablespace mav_data_redef add datafile SIZE 30G;
6) creation of new folder under /partition_enhancer and redirect archive pointer it to it
alter tablespace mav_data_redef add datafile SIZE 30G;
7) Increase Undo Tablespace by 300G in "/temporary/partition_enhancer"
alter tablespace mav_data_redef add datafile SIZE 30G;
8) path
alter need to bemav_data_redef
tablespace executed as per temporary mount
add datafile SIZEpoint
30G;.
ALTER SYSTEM SET DB_CREATE_FILE_DEST = '''
ALTER USER PROPTIMA
ALTER SESSION QUOTA UNLIMITED
SET DB_CREATE_FILE_DEST = '' ON mav_data_redef;
Note - Path_FOR_NEW_DATA_FILES – OS path where new data file to created on DB server.
CREATE TABLESPACE mav_indx_redef DATAFILE SIZE 30G;
alter tablespace mav_indx_redef add datafile SIZE 30G;
alter tablespace mav_indx_redef add datafile SIZE 30G;
9) Provide
ALTER DBA
USER access to proptima
PROPTIMA user
QUOTA UNLIMITED ON mav_indx_redef;
the below access will e only require if script fails(otherwise no need to run below commands)
GRANT
CREATE EXECUTE_CATALOG_ROLE
TABLESPACE TO PROPTIMA;
ne_data_redef DATAFILE SIZE 30G;
Activities
GRANT during Planned
CREATE ANY Event
TABLE TO PROPTIMA;
alter tablespace ne_data_redef add datafile SIZE 30G;
GRANT ALTER ANY TABLE TO PROPTIMA;
ALTER
GRANT USER
DROP PROPTIMA
ANY TABLE TOQUOTA UNLIMITED ON ne_data_redef;
PROPTIMA;
GRANT LOCK ANY TABLE TO PROPTIMA;
CREATE TABLESPACE
GRANT SELECT ne_indx_redef
ANY TABLE TO PROPTIMA; DATAFILE SIZE 30G;
ALTER USER PROPTIMA QUOTA
GRANT ALTER SESSION TO PROPTIMA; UNLIMITED ON ne_indx_redef;
GRANT ALTER SYSTEM TO PROPTIMA;
CREATE TABLESPACE nim_data_redef
GRANT SELECT_CATALOG_ROLE DATAFILE SIZE 30G;
TO PROPTIMA;
alter
GRANT tablespace
SELECT ANY nim_data_redef
DICTIONARY TO add datafile SIZE 30G;
PROPTIMA;
GRANT USER
ALTER ANALYZE ANY DICTIONARY
PROPTIMA TO PROPTIMA;
QUOTA UNLIMITED ON nim_data_redef;
GRANT ANALYZE ANY TO PROPTIMA;
GRANT CREATE
CREATE ANY TRIGGER
TABLESPACE TO PROPTIMA;
nim_indx_redef DATAFILE SIZE 30G;
GRANT CREATE
ALTER USER ANY INDEXQUOTA
PROPTIMA TO PROPTIMA;
UNLIMITED ON nim_indx_redef;
GRANT CHANGE NOTIFICATION TO PROPTIMA;
GRANT CREATE ANY PROCEDURE TO PROPTIMA;
CREATE
GRANT ALTERTABLESPACE nep_data_redef
TABLESPACE TO PROPTIMA;DATAFILE SIZE 30G;
ALTER USER PROPTIMA QUOTA
GRANT CREATE CLUSTER TO PROPTIMA; UNLIMITED ON ne_data_redef;
GRANT CREATE DATABASE LINK TO PROPTIMA;
CREATE TABLESPACE
GRANT CREATE SEQUENCEnep_indx_redef
TO PROPTIMA;DATAFILE SIZE 30G;
ALTER
GRANT USER
CREATE PROPTIMA
SESSION TOQUOTA UNLIMITED ON nep_indx_redef;
PROPTIMA;
GRANT CREATE SYNONYM TO PROPTIMA;
GRANT CREATE TABLE TO PROPTIMA;
GRANT CREATE TABLESPACE TO PROPTIMA;
su - mycom
nohup /opt/mycom/shell/support/DBPartitioningEnhancer.sh -c all &

Log: tail -f /opt/mycom/logs/DBPartitioningEnhancer.YYYYMMDDHHMMSS.log


Or just:
tail -f nohup
There is a capability to receive a mail about the run:
To enable the mailing, please set in /opt/mycom/config/server/res/DBPartitioningEnhancer.site.properties the f
DBPartitioning.sendMail=true
Email.Originator=mycom@mycom-int.com
Email.Host=<SMTP HOST>
DBPartitioning.recipients=<list of recipients separated by comma>

Output:
"Redefinition ended successfully;duration(min);27"

Validate whether newly created partitions are monthly or not (MOC_ATTRIBUTE_VALUE,NE_PARENT,NETWORK_

Restart Mycom processes

Move Archive to old mount point

Revoke DBA from proptima;

Sanity Testing Post Planned Event


Application services are up and running.
Application clinet opening
Reports computing without any issue
Roll Back Activity during Planned Event

Restore from backup


Implementer Name Platform Leader name Downtime Required Status

Backup Team Rajeev Ba Kumar No

TOPS Unix Team Rajeev Ba Kumar NO

TOPS Build and


Rajeev Ba Kumar/Ashutosh
Migration/IDC VM As Sharma No
Ware Team
TOPS Build and
Rajeev Ba Kumar/Ashutosh
Migration/IDC VM As Sharma No
Ware Team

TOPS Unix Team Rajeev Ba Kumar No

Mycom Team Nitin Jaigude NO


DBA Team Rajkumar4 singh NO
DBA Team Rajkumar4 singh NO
DBA Team Rajkumar4 singh NO
DBA Team Rajkumar4 singh NO

DBA Team Rajkumar4 singh NO

DBA Team Rajkumar4 singh NO


DBA Team Rajkumar4 singh NO
Implementer Name Platform Leader name Downtime Required Status
Mycom Team Nitin Jaigude NO

Mycom Team Nitin Jaigude NO

Mycom Team Nitin Jaigude Yes

Mycom Team Nitin Jaigude No

DBA Team Rajkumar4 singh NO

Implementer Name Platform Leader name Downtime Required Status

Mycom Nitin Jaigude No

Implementer Name Platform Leader name Downtime Required Status

Mycom/DB Team Nitin Yes


Jaigude/Rajkumar4.Singh
Start Time End Time

5/10/2020 11:00 5/11/2020 15:00

5/11/2020 15:00 5/11/2020 15:30

5/11/2020 15:30 5/11/2020 15:45

5/11/2020 15:45 5/11/2020 16:00

5/11/2020 16:00 5/11/2020 16:30

5/11/2020 16:30 5/11/2020 16:45


5/11/2020 16:45 5/11/2020 17:00
5/11/2020 17:00 5/11/2020 17:30
5/11/2020 17:30 5/11/2020 18:00
5/11/2020 18:00 5/11/2020 18:30

5/11/2020 18:30 5/11/2020 19:00

5/11/2020 19:00 5/11/2020 23:00


Start Time End Time
5/11/2020 23:00 5/18/2020 20:00

5/18/2020 20:00 5/18/2020 21:00

5/18/2020 21:00 5/18/2020 23:30

5/18/2020 23:30 5/18/2020 23:45

5/18/2020 23:45 5/19/2020 0:00

Start Time End Time

5/19/2020 0:00 5/19/2020 3:30

Start Time End Time

5/19/2020 3:30 5/19/2020 7:00


Service CI Owner with Contact
Sr. No. Hostname IP Address Application Impacted Details
Activity Start Date & Downtime Start Date &
Business owner of Application Time Activity End Date & time
and contact Details (dd-mm-yyyy (dd-mm-yyyy hh:mm) Time
hh:mm) (dd-mm-yyyy hh:mm)
Downtime End Date & Time
(dd-mm-yyyy hh:mm)
Post Implementation Review Details

RFC ID(Change ID)/RR ID/DCWI ID


PIR Status
Implementer /Team Name
Actual Time of activity Started
Actual Time of activity Ended
Tester Name(Post Deployment)
Success Critira (As mentioned in CAB Register)
Extended window (If any)
Reason for extension (If any)
Approval Received for extended window
Incident ticket ID for extended window
RCA Status (If activity failed)

Das könnte Ihnen auch gefallen