AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  backup and restore with different PP SIZE

    Posted Sat October 08, 2011 08:42 AM

    Originally posted by: JinPin


    hi experts.
    this is what in my system
    1. production server
    -hdisk0(rootvg)
    -hdisk1(rootvg) (mirrored)
    -hdisk2(datavg)
    -hdisk3(datavg)
    PP SIZE for these two VG is 256MB

    2. DR server
    -hdisk0 ( prepare for restore unmirrored rootvg)
    -hdisk1 ( prepare for datavg)
    When setting SAN storage i have defined 128MB as PP SIZE for hdisk0 and hdisk1

    Objective:
    Backup from production server and restore on DR server

    My solution is like this:
    1.back up mirrored hdisk0 hdisk1 with mksysb in (tape no.1)
    2.back up datavg hdisk2 hdisk3 ( tape no.2 for DR server hdisk1)
    break mirror/unmirror hdisk1
    3.back up unmirrored hdisk0 only( tape no.3 for DR server hdisk0 used)

    question: would it influence DR server hdisk0 and hdisk1 since PP SIZE is 128MB but backup from production server is 256MB.


  • 2.  Re: backup and restore with different PP SIZE

    Posted Sat October 08, 2011 02:18 PM

    Originally posted by: esv


    Although what you are doing works, you might not need to do double restore, you could do:

    i) run mksfile command, that creates /image.data file
    edit each stanza for each LV and make COPIES=1 and make sure LPs is equal to PPs
    make a mksysb backup without the -i flag (-i flag forces a new image.data file and would wipe your changes)

    ii) backup your non-rootvg volume group

    then finally restore at your DR site.

    a different approach, if you don't feel like editing /image.data file would be:

    i) just make the backups of the rootvg and non-rootvg as you planned (without doing the 2nd mksysb backup)
    ii) restore rootvg to both disks, once it finishes, break the mirror and remove hdisk1 from rootvg.
    iii) restore your datavg..
    best regards,
    enrique sanchez.


  • 3.  Re: backup and restore with different PP SIZE

    Posted Sun October 09, 2011 01:13 PM

    Originally posted by: Holgervk


    >question: would it influence DR server hdisk0 and hdisk1 since PP SIZE is 128MB but backup from production server is 256MB.

    No. hdisk0 will be overwritten completely by the mksys-restore (inkl. recreating the rootvg thus determining the PP size)
    and the restore to hdisk1 is filebased. Files are written to Filesystems. No PP-Size involved.
    By the way you will have to create the filesystems for datavg first on the DR site or use savevg.