Solved

installing AIX

Posted on 1998-07-30
3
275 Views
Last Modified: 2013-12-06
null
0
Comment
Question by:bryanjones
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Expert Comment

by:jpainter
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.  

OR

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

Author Comment

by:bryanjones
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.
0
 

Accepted Solution

by:
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

749 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