installing AIX

Posted on 1998-07-30
Last Modified: 2013-12-06
Question by:bryanjones
  • 2

Expert Comment

ID: 2009177
There are a few ways to accomplish this. As longe as you are using the same level of OS, you can just use the 'savevg' command, which will backup anything in the Volumegroup specified.  It will not make a bootable image of the rootvg.  'smit mksysb'  will make a bootable tape of the rootvg, but will not backup any other vg's.  


You should be able to use the 'rcp' command to copy the files from one system to the other over the network.

Author Comment

ID: 2009178
I am looking to find out if I have to create the volume groups or am I just able to dump all the information and the dump from tape or what ever I use will create the volume groups.  It seems to me that when you do a rcp it will place all the information into the root partition and create the file directories in the rootvg.  We have multiple, and I mean multiple mounted partitions.  I need to recreate the test machine the same way that the production machine is.  

Here is an output from the production machine.  

Filesystem  512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4          106496     35960   67%     1938  14% /
/dev/hd2         1040384    189600   82%    17924  14% /usr
/dev/hd9var       204800    169032   18%      233  1% /var
/dev/hd3          204800    195720    5%       51  1% /tmp
/dev/hd1           90112     86832    4%       34  1% /home
/dev/lv23         188416    157736   17%  1234     6% /PROD/NYLPR
/dev/lv01         180224    174424    4%       26  1% /REPORTS
/dev/lv07        1024000    412120   60%       95  1% /MIGRATE
/dev/lvssa901    4194304   3287704   22%     3856  1% /SSA01
/dev/lvssa801    4194304   2915576   31%    70     1% /OUTFRONT_B
/dev/lvssa802    1261568    533960   58%    56     1% /OUTFRONT_L
/dev/lvssa803    4194304   3466312   18%    66     1% /OUTFRONT_C
/dev/lvssa251    4194304   2549624   40%    46     1% /OUTFRONT_D
/dev/lvssa252    4194304   3121472   26%       35  1% /OUTFRONT_E
/dev/lvssa500     286720     58640   80%    25634   70% /OBJ
/dev/lvssa503     172032     12184   93%     5890   27% /ACCESS
/dev/lvssa502    3072000   1373784   56%     4212   2%/PRODDATA
/dev/lvssa504     204800    149096   28%     2076   8%/home.base
/dev/lvssa256     311296    244488   22%      590   2% /ARCHIVE
/dev/lvssa501     516096    168984   68%     2003   4% /UTILA
/dev/lvksa02      606208    565568    7%      150   1% /ksa
/dev/lvmjnwork01  1638400   1520376   8%      194   1% /mjnwork

their is more but - I need to know "Do I need to create the volume groups and logical volume groups on the test machine", and if so what is the correct and not quick ( but correct ) way to do this so that the test machine is word of word the same as the production.  

Where do I find the correct information that I need from the production server.  The correct vg's and lvg's and anything that I might need to know for the test machine to be "WORD FOR WORD" like the production server.

Accepted Solution

jpainter earned 100 total points
ID: 2009179
If you use the savevg methiod,  you will have to create the vg, but it will create the lv's.
Usage:  savevg [-i] [-m] [-e] [-b blocks] [-f device] vgName

-i      Create the <vgname>.data file.
-m      Create the <vgname>.data file and physical partition maps
-e      Exclude the files/directories listed in /etc/exclude.<vgname>
-b blocks       Number of 512-byte blocks to write in a single
                output operation
-f device       Name of device to receive the backup information.
                Default is /dev/rmt0
vgName  Name of Volume Group to backup.

The data files will allow the vg's and physical volumes to be restore as they were on the other system.

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question