LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 08-02-2006, 02:11 PM   #1
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
AIX/UX Backup Questions


Hello everyone,

My boss asked me to come up with a backup strategy. I was thinking of doing a mksysb for rootvg once a month and some incrementals each week (any comment or suggestions on this strategy are welcome).

I dont know what to do with datavg01 and datavg02. I dont want to use savevg because i'll need like 10 tapes and i only have 1 tape drive with 1 tape slot. Any suggestion? I heard something about Tivoli but i dont even know what that is.




I also have another question...

I have 2 HP/UX machine that needs to be backedup. Is it possible to remotely back the HPUX machines (1 is running hpux10.20 and the other hpux11.0i) using the tape drive (/dev/rmt0) that is connected to my AIX server?


This is the AIX server i need to backup.

root@hostname:/ # lsdev -Cc disk
hdisk0 Available 10-60-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 10-60-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk4 Available 10-61-00-5,0 Other SCSI Disk Drive
hdisk5 Available 10-61-00-6,0 Other SCSI Disk Drive
hdisk3 Available 10-61-00-3,0 Other SCSI Disk Drive
hdisk2 Available 10-61-00-8,0 Other SCSI Disk Drive


VOLUME GROUP: rootvg VG IDENTIFIER: 0009776c0ab224a3
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (34688 megabytes)
MAX LVs: 256 FREE PPs: 723 (23136 megabytes)
LVs: 13 USED PPs: 361 (11552 megabytes)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
Total size: 34.7 gig.
Size Used: 11.552 gigs
=======================================================================
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 64 128 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 14 28 2 open/syncd /
hd2 jfs 61 122 2 open/syncd /usr
hd9var jfs 2 4 2 open/syncd /var
hd3 jfs 13 26 2 open/syncd /tmp
hd1 jfs 1 2 2 open/syncd /home
MAINT jfs 4 8 2 open/syncd /fs/MAINT
MYSQLDB jfs 1 2 2 open/syncd /usr/local/mysql/data
WEB jfs 14 28 2 open/syncd /fs/web
hd5x boot 2 2 1 closed/syncd N/A
USRLOCAL jfs 4 8 2 open/syncd /usr/local/bin
=======================================================================
VOLUME GROUP: datavg01 VG IDENTIFIER: 0009776c9081c865
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1094 (70016 megabytes)
MAX LVs: 256 FREE PPs: 184 (11776 megabytes)
LVs: 38 USED PPs: 910 (58240 megabytes)
OPEN LVs: 38 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
Total Size: 70 gigs
Size used: 58.240gigs
=======================================================================
datavg01:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
HOME jfs 54 108 2 open/syncd /fs/home
loglv00 jfslog 1 2 2 open/syncd N/A
TREE jfs 2 4 2 open/syncd /fs/tree
DOCS jfs 13 26 2 open/syncd /docs
VPM1513 jfs 8 16 2 open/syncd /vol/oradata/VPM1513
IMAGES jfs 16 16 1 open/syncd /images
BACKUP jfs 4 8 2 open/syncd /fs/backup
ADMIN jfs 1 2 2 open/syncd /fs/admin
db2_code jfs 5 10 2 open/syncd /db2/lpp/db2_07_01
db2_das jfs 1 2 2 open/syncd /db2/das
lv02 jfs 8 16 2 open/syncd /data/vpmVLD40V01
CATIA4243 jfs 17 34 2 open/syncd /usr/catia4243
DATADEV jfs 12 24 2 open/syncd /data/dev
db2_udf jfs 1 2 2 open/syncd /db2/udf
anonftp jfs 2 4 2 open/syncd /AnonymousFtp
DBMETA32 jfs 7 14 2 open/syncd /vol/oradata/META32
db2_instances jfs 4 8 2 open/syncd /db2/instances
WP23VL2 jfs 9 18 2 open/syncd /vol/oradata/WP23VL2
CATIA4242 jfs 18 36 2 open/syncd /usr/catia4242
ORAEXP jfs 4 8 2 open/syncd /vol/exports
TEMP jfs 16 32 2 open/syncd /temp
adm1513 jfs 1 2 2 open/syncd /fs/catadm/adm_1513
CATADM jfs 10 20 2 open/syncd /fs/catadm
FSCUST jfs 58 116 2 open/syncd /fs/customer
CVSROOT jfs 13 26 2 open/syncd /usr/local/devrep
ORACLE jfs 7 14 2 open/syncd /vol/oracle
ORA817 jfs 31 62 2 open/syncd /vol/oracle/product/8.1.7
crctlwrk jfs 8 16 2 open/syncd /usr/local/CruiseCtlWork
VINSON jfs 20 40 2 open/syncd /vol/VINSON
ORA9I jfs 60 120 2 open/syncd /vol/oracle/product/9.2.0
PR01AC jfs 12 24 2 open/syncd /fs/PR01AC
VPMVIZ jfs 8 16 2 open/syncd /vol/oradata/VPMVIZ
WP23VL1 jfs 8 16 2 open/syncd /vol/oradata/WP23VL1
als424 jfs 3 6 2 open/syncd /cust/adm424
adm_424 jfs 4 8 2 open/syncd /fs/catadm/adm_424
VPM1515 jfs 8 16 2 open/syncd /vol/oradata/VPM1515
lv00 jfs 1 2 2 open/syncd /data/vpmWP23V01
VPM1517 jfs 8 16 2 open/syncd /vol/oradata/VPM1517
=======================================================================
VOLUME GROUP: datavg02 VG IDENTIFIER: 0009776c4470baf3
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (69888 megabytes)
MAX LVs: 256 FREE PPs: 654 (41856 megabytes)
LVs: 19 USED PPs: 438 (28032 megabytes)
OPEN LVs: 19 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
Total Size: 70gigs
Size Used: 28 gigs.
=======================================================================
datavg02:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
CATIA515 jfs 55 55 1 open/syncd /usr/catia515
loglv01 jfslog 1 1 1 open/syncd N/A
BT1517 jfs 1 2 2 open/syncd /fs/btadm1517
A424R3 jfs 28 56 2 open/syncd /fs/catadm/adm424r3
DEVTST1 jfs 8 16 2 open/syncd /vol/oradata/DEVTST1
DEVTST2 jfs 8 16 2 open/syncd /vol/oradata/DEVTST2
DEVTST3 jfs 8 16 2 open/syncd /vol/oradata/DEVTST3
lv01 jfs 8 16 2 open/syncd /vol/oradata/VPMVIZ_T
3DV5E115 jfs 18 36 2 open/syncd /fs/3dcom/v5r11/sp5
adm1518 jfs 1 2 2 open/syncd /fs/catadm/adm1518
VPM1518 jfs 8 16 2 open/syncd /vol/oradata/VPM1518
VLD40V01 jfs 8 16 2 open/syncd /vol/oradata/VLD40V01
db28_code jfs 6 12 2 open/syncd /db2_8/lpp
db28_ins jfs 2 4 2 open/syncd /db2_8/instances
db28_udf jfs 1 2 2 open/syncd /db2_8/udf
db28_das jfs 2 4 2 open/syncd /db2_8/das
lv04 jfs 8 16 2 open/syncd /vol/oradata/VLD40V11
VPM15 jfs 25 50 2 open/syncd /usr/vpm15
lv07 jfs 51 102 2 open/syncd /fs/pm_work

====================================================================================



Thanks a lot in advance for any suggestions.

Melkar,
60 pally Dalaran.

Last edited by Doomhammer; 08-02-2006 at 02:12 PM.
 
Old 08-13-2006, 05:59 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Tivoli is a software division of IBM. They probably have a backup product. You have to look at what you want as they have multiple products that have nothing to do with backups.

Don't use AIX here any more. The team we used to have managing AIX servers ran mksysb about once a month.

You don't mention what tape drive you have or the class of your HP machines or the space used by them. Many HP's came with DAT drives which you could backup to (usually at /dev/rmt/0m). However over 8-10 GB compressed these required you to swap out tapes.

If your HPs have anywhere near the space of the AIX you should explore a commercial backup package. As I said IBM probably has one. The one most used in business is Veritas NetBackup (Veritas is now owned by Symantec.) In my last 4 jobs (including this one) over the last 10 years all of them have used NetBackup. This is designed to allow you to setup one host as your backup master and others as clients. It is also designed to manage tape robots (devices that hold multiple tapes in slots and usually have more than one tape drive).

NetBackup isn't cheap nor are robots but they're a lot cheaper than losing all your data and being down for a day or more due to lack of backup. There are other commercial products like Legato.

Failing all that you can use a tar command line to backup over your lan to your AIX drive. This involves pipes and I forget exactly the syntax since its been awhile. It was something like doing a "tar cv -" on one side and piping it to ssh on the other side then doing dd to the tape or vice-versa. Playing with those options should give you the idea.
 
Old 08-14-2006, 09:36 AM   #3
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
We use TSM (Tivoli Storage Manager) here for incremental backups. I wish we could use a NIM server for mksysb. Use a local tape drive (changed daily) for mksysb's and then some SAN storage using rsync to do incremental backups (if you dont intend using TSM).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with system backup. AIX 5.2 AbrahamJose AIX 3 02-21-2006 09:33 PM
backup questions it_slut Linux - Newbie 2 01-10-2005 04:52 AM
CD-RW/ Verify backup questions. PraxisArch Linux - Hardware 1 08-06-2004 06:57 PM
System hangs in update of AIX from 4.3.3 to AIX 5.2 jmurray67 AIX 2 07-25-2004 08:25 PM
Backup questions. cottonmouth Linux - General 1 11-21-2002 02:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration