Progress Database on AIX


 
Thread Tools Search this Thread
Operating Systems AIX Progress Database on AIX
# 1  
Old 08-04-2016
Progress Database on AIX

anyone used it before ?
if i restore from an mksysb backup, can I use the utility on Progress DB to restore the DB.
or can i do an savevg (Progress DB is on another vg) and then use restvg to restore it ?
normally what is the common ways to backup an DB, so that it can be restore, if there is any problem eg power outage, system failure.

previously my company outsource everything to an vendor.
and the vendor will do everything for us including Disaster Recovery Testing.
now my company take back all, and we have a problem, there was no proper handling over and taking over of documentations/processes/procedures.

now we will have to do everything from scratch including coming up with an Disaster Recovery Procedure at another site of an vendor.

thanks in advance
# 2  
Old 08-07-2016
Quote:
Originally Posted by AIXBlueCat
anyone used it before ?
As it is, we use it. My colleague did most of the work including it so i am by no means an expert, but i can tell you that it works well and without any problems.

Quote:
Originally Posted by AIXBlueCat
if i restore from an mksysb backup, can I use the utility on Progress DB to restore the DB. or can i do an savevg (Progress DB is on another vg) and then use restvg to restore it ? normally what is the common ways to backup an DB, so that it can be restore, if there is any problem eg power outage, system failure.
These are questions which are completely unrelated to each other:

An mksysb image is an image of the rootvg plus some code to boot from it and restore it to a "naked" system. Because the rootvg contains all the really vital filesystems (/usr, /, /var, ...) you can use this to clone a system, either for disaster recovery or to create a test envirnment out of a production environment.

To make this process as easy and robust as possible you should NOT have any application parts (neither binaries nor data) in the rootvg. You create separate VGs for this and group these logically. For instance: a system with two applications, APP1 and APP2:

First (most simple) layout:

rootvg: system and system data
app1vg: all binaries and data for APP1
app2vg: all binaries and data for APP2

Second (more complex):

rootvg: system and system data
app1bvg: all binaries APP1
app1d1vg: data part 1 for APP1
app1d2vg: data part 2 for APP1
...
app2vg: all binaries and data for APP2

...and so on. A reason to separate data and binaries for an application would be to create different ttypes of backups: the applications data are supposed to change permanently so you need backups often to stay current. The binaries change not at all (or rarely: only with release changes) so you take one (long-term) backup and be done. To have more than one backup generation for unchanging data is just a waste of resources.

Now a savevg is the backup of one VG. Its form is basically the same as an mksysb but you cannot boot from it and all the other mechanics to restore it to bare iron are removed. You need to have a running system to restore it.

The most crucial thing you have to do for backups is not to implement them: it is the planning! In this thread i wrote a lengthy article about what to do and what to consider, which you might want to read.

Regarding your DB: the only way to back it up is to shut it down (so data cannot be changed during taking the backup), then take the backup and then restart it. This is called a "cold backup".

Some DBs (Oracle for instance) have provisions to do a "hot backup": you switch the DB into a special mode and take an (inconsistent) file backup along with the archive logs. For restore you first restore the inconsistent file backup, then start the database software in a certain mode and reapply the archive logs taken during the backup making the backed up data consistent again.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Need to check long running processes on the database server and the os is AIX

Hello, Please help me with a script with which I can check long running processes on the database server and the os is AIX. Best regards, Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies

2. AIX

Need a graphical interface on AIX server to create database

Hello, Please suggest me the ways how to get graphical interface on AIX server.I need to create oracle database for which I need graphical access. Best regards, Vishal (4 Replies)
Discussion started by: Vishal_dba
4 Replies

3. AIX

Cannot get shared lock on database for rpm on AIX 6.1

Hello, I was trying to install python on aix and it was taking too long and I closed the terminal. Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error. root:stud -> $ rpm -qa cannot get shared lock on database rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies

4. Shell Programming and Scripting

CRON Job to copy database and replace existing database

I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies

5. Solaris

Can't create database after Oracle Database installation

I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options. OPERATION_TYPE = "createDatabase" GDBNAME = "solaris_user.domain.com" SID = "solaris_user" TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies

6. Solaris

redirect solaris database from linux database..

hi.. i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database which is in solaris 10 x86... can u tell me the procedure .. how it can be done through php .. sorry am new to php... is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies

7. AIX

ORACLE Database running slow on AIX ( nmon / topas )

Hello, How can I know if ORACLE Database is running slow due to Memory or due to processing power ? I have only Oracle Database running on a P4 with 4GB RAM. Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
Discussion started by: filosophizer
43 Replies

8. Programming

userpw.h AIX ( delete entry from the shadow password database )

HI i need to delete an entry in /etc/security/passwd. can't find a way to do it with userpw.h api ( AIX ). the passwd file i delete like this. Write all entrys to passwd file except the one we are removing. can't find any function that works like getspent / getpwent do in AIX userpw api.... (4 Replies)
Discussion started by: nighter
4 Replies

9. Shell Programming and Scripting

Progress

Maybe someone know how to create something like "*". If someone uses Gentoo he must see this while emerge utility preparing an update. I mean the symbol "/" spins. (2 Replies)
Discussion started by: mirusnet
2 Replies
Login or Register to Ask a Question