0% found this document useful (0 votes)
102 views

SOW For Postgres DB Activities - v01 - Linux

The document outlines the scope of work for Postgres DB activities including: 1) Prerequisites for Postgres installation such as server resources, RPMs required, and OS verification on Linux and Solaris. 2) Database configuration including installation, parameter setting, tablespace and user/schema creation, tables/partitions/indexes, and security hardening. 3) Operational documents around performance tuning, backup/recovery, scripts for active/passive clusters, and maintenance. 4) Deliverables will include configuration documents, activity plan, daily status updates, configuration backups, and final documentation with recommendations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views

SOW For Postgres DB Activities - v01 - Linux

The document outlines the scope of work for Postgres DB activities including: 1) Prerequisites for Postgres installation such as server resources, RPMs required, and OS verification on Linux and Solaris. 2) Database configuration including installation, parameter setting, tablespace and user/schema creation, tables/partitions/indexes, and security hardening. 3) Operational documents around performance tuning, backup/recovery, scripts for active/passive clusters, and maintenance. 4) Deliverables will include configuration documents, activity plan, daily status updates, configuration backups, and final documentation with recommendations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SOW for Postgres DB Activities

Postgres releases are 5 year plans so upgradation mandatory for higher version ,support
stops for previous version gradually. P9.4.5 is till 2019

i
Scope of Work – Third Party

1.0 Statement of Work


1.1Prerequisities for Postgres DB installation on Linux and Solaris

a. Requirement of server resources such as cpu ,ram and disk space along with network
related information .

Till now there is no specific requirement installation was fine with the present
installation . based on performance scaling decision can be taken.

All postgres connection counts for memory so based on the no. Of connection ram can
be decided .

If you'll need to support 100 concurrent


connections, then minimum
shared_buffers is 200, which implies 1600K of RAM
required for shared
buffers.

100 connections probably implies around 100MB of


memory for the
backend processes to support the connections.

b. RPM’s required for Postgres DB installation.

During compilation we do not get zlib-devel and readline-devel these packages are
required and make utility and gcc compiler latest version preferred.

[root@ip-172-31-23-226 tmp]# rpm -qa gcc

gcc-4.4.7-16.el6.x86_64

[root@ip-172-31-23-226 ansible]# make -v

GNU Make 3.81

1.2OS verification on Linux and Solaris

a. Configuration verification

Page 1 7/9/2022
Scope of Work – Third Party

There is no configuration done except allowing the connection and


initializing the db listening to a port .
Allowing connection methods:
Pg_hba.conf
Listening to port and connection allowed from ip description
Postgres.conf

b. Kernel parameter setting


No Setting needed as of now .
c. TCP parameter
No parameter changes done . TCP connection should be allowed as in oracle
we had deiabled firewall like that .
d. Performance testing
DB import was not successful through pg_dump and through Ansible both ,
some modification needed as we had used a custom user to access
postgres if default postgres user is used the things may go smoothly but
default user is not preferred due to secutiry reason , mentioned in the
postgres website
e. IO testing
To be performed after do is ready and application is connecting .
f. Db parameter at os Level
Os level till now no parameter changes done .
Ulimit need to be cheked and set as postgres connection will be a file only so

g. Memory and swap related parameter


There is no swap related architecture mentioned all is in direct ram . so in
case of low ram it will be used . need to check more on it
h. Storage sizing with mount point details for postgres DB

Page 2 7/9/2022
Scope of Work – Third Party

If storage is mounted and the postgres data directory is created with


postgres user privilege all ok any no. Of db can be initialized with
distinct port and data directory.

1.3Database Configuration ( OS point of view on DB server )

a. Configuration and installation of Postgres DB on both Linux and Solaris


(Both Silent and GUI steps for installation of postgresDB)
Linux we had done it was fine and ask the standard inputs for
username ,passwd, directory and the same need to be manually
configured in bash_profile environment variable for common access of
commands.
b. Parameter setting
DB level parameter setting need to be checked with there is less
configuration option for date as it will be standard . characterset there are
options
amazon=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access
privileges
----------------+-------+----------+-------------+-------------+-------------------
amazon | pgdb | UTF8 | en_US.UTF-8 | en_US.UTF-8 |

c. DB_Tablespace and User/Schema Creation for small TPS and big TPS
solution     
Tablespaces are only supported on systems that support symbolic links

CREATE TABLESPACE dbspace LOCATION '/data/dbs';


        
d. Schema and user related objects like TABLES ,PARTITIONS and
INDEXES details with respect to our products      

Page 3 7/9/2022
Scope of Work – Third Party

There are 5 schemas 3+1 ( 3 core schemas and 1 for GUI) and one master
schema to access all 4 schemas
1: BusinessMaster
2:Business Transaction
3:Factory
            
e. Table  partition and purging procedure
To be discussed today
f. Db security and Hardening for postgress DB       
To be checked                                    
g. Performance and tuning for db
To be checked once db is ready with the connect schemas
h. Related db objects such as function,trigger,procedure,package,synonym
,sequence , view ,db links etc
Present in the schemas
i. Listener and connecting string methodology
It is based on connection ip/ hostname and allowed method to access the DB
no listener /tns configuration
j. Migration activity procedure 
Need to define , taking dump and importing to other failed so proper steps need
to be identified.            
k. Backup and Recovery  (logical and online backup configuration
document)

There are three fundamentally different approaches to backing up PostgreSQL data: need to

prepare documents for the same

 SQL dump

 File system level backup

 Continuous archiving

Page 4 7/9/2022
Scope of Work – Third Party

                               
l. Db scripts for Active and passive OS cluster
Other packages need to be installed for it
PostgreSQL has built-in functionality for High Availability like Warm Standby,Hot
Standby and Streaming Replication. But, missing few features like
Switchover/Switchback, failover automation, minimal downtime etc., which are
mostly demanded by the companies. Postgres community member's are working on
the demands aggressively and hope we see very new PostgreSQL soon with all
features bundled. 
m. Operational and maintenance document for postgressdb
Need to prepare on the basis of completing above points
n. Any active and active architecture available in Postgressdb like Oracle
RAC
PostgreSQL does not support any form of shared-storage clustering in any
way - active/active, active/passive, or otherwise.

Implementaion, maintenance and Support:


 Need to get 24x7 support from 3rd party partner .
 Maintenance would be carried out by 3rd party partner.
 Training will be provided to L1 team to handle day to day issues.

Note : The objective of the POC to certify our product life cycle
that would be useful for mconnect upcoming projects & also
we would build DB SME on Postgress SQL Database
technology for our support as well as implementation
activity .All the related documents would be prepared once
POC is completed that would be required for future roadmap
and reference purpose .

Page 5 7/9/2022
Scope of Work – Third Party

1.4Deliverables to Comviva
o. Configuration document
p. Pre-requisite to start the work
q. Activity plan
r. Daily status update
s. OS configuration backup,RAC configuration and Database
configuration .
t. Final configuration documents
u. Need RCA and recommendation with solution of the current ongoing
issue .

Page 6 7/9/2022

You might also like