Sponsored Content
Operating Systems AIX Cloning a system via mksysb backup from one system and restore to new system Post 302968690 by MichaelFelt on Sunday 13th of March 2016 03:02:16 PM
Old 03-13-2016
hmm - are you guys related? gull04 and gull05 Smilie

I have an old article on setting up a NIM server - http://www.rootvg.net/content/view/431/309/ - that should give you an idea of what is involved. Read more here on unix.com - there is also lots of material here. Or google further.

FYI: cloneing via mksysb is one of AIX's strengths - since the early 90's. But it does require more than novice understanding of AIX administration - especially when changing the base hardware.
 

10 More Discussions You Might Find Interesting

1. AIX

Problem cloning system

Hi everyone, I want to clone a AIX 5.2 system from a machine to another one. So i modified bosinst.data and image.data files (according to future platform) before making mksysb on old platform. After booting on CD and restoring system using mksysb tape, the installation is launched but ever... (2 Replies)
Discussion started by: fgaulois
2 Replies

2. UNIX for Dummies Questions & Answers

Full System Backup / Cloning HPUX

I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup. Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies

3. UNIX for Dummies Questions & Answers

mksysb and system activity

Hello, With AIX 5.3 is it possible to run a mksysb with users logged into the system? The users are accessing a database app that runs on a separate physical disk than the system files. Does this even matter? Thanks (1 Reply)
Discussion started by: samsa1mi
1 Replies

4. AIX

How can I authorize a non-root user to do a system backup with 'mksysb'?

I use AIX 5.2 I want to allow a non-root user to do a system backup with 'mksysb' command. I try to add 'ManageBackup' Role to that non-root user but it have an error "ksh: mksysb: 0403-006 Execute permission denied." What should I do? (8 Replies)
Discussion started by: AIX122
8 Replies

5. UNIX for Advanced & Expert Users

Cloning a solaris system

I have several Solaris 8,9 and 10 servers. I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware. My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies

6. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

7. Solaris

Solaris 11 - how to backup and restore system disc

I have installed Solaris 11 Express on my machine and now I am wondering what is the best way to backup (to another hard disc) and restore the system hard disc content. The backup should to be done every night using a script launched by cron and all previously done backups should be available to... (8 Replies)
Discussion started by: RychnD
8 Replies

8. Solaris

how to restore backup from veritas vm in ufs file system

Hi all I have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. backup was taken... (0 Replies)
Discussion started by: nikhil kasar
0 Replies

9. Cybersecurity

How to protect system from cloning?

Hello there, I would like to protect a Linux system from cloning, I don't mind if the cloned hard drive works in the same computer, but I need to avoid it to work in other one, even if it uses exactly same mainboard model and rest of computer parts. I want the cloned system to get frozen or... (4 Replies)
Discussion started by: Installimat
4 Replies

10. Solaris

Archiveadm system cloning - Solaris 11.4

Hi all, I am trying to use archiveadm to backup/clone an existing Solaris11.4 system. However, i failed at media creation with the error -> "Media can only be created from archives containing root-only data" root@xxx:/mnt/opt/software# zpool list NAME SIZE ALLOC FREE CAP DEDUP ... (6 Replies)
Discussion started by: javanoob
6 Replies
virt-clone(1M)						  System Administration Commands					    virt-clone(1M)

NAME
virt-clone - clone virtual machine images SYNOPSIS
/usr/bin/virt-clone [option] DESCRIPTION
The virt-clone utility is a command line tool for cloning existing virtual machine images. virt-clone copies disk images of an existing virtual machine and defines a new guest with an identical virtual hardware configuration. Elements that require uniqueness are updated to avoid a clash between old and new guests. With appropriate command-line arguments, virt-clone can run completely unattended, with the guest automatically starting itself as well. This allows for easy automation of guest installs. If you do not specify options to virt-clone, the command runs interactively, prompting for input as required. To run virt-clone, you must become superuser or assume the Primary Administrator role. OPTIONS
The following options are supported: --connect=URI Connect to the hypervisor at URI. -d, --debug Display debugging information when running the install process. -f disk_image, --file=disk_image Path to the file, disk partition, or logical volume to use as the backing store for the guest's virtual disk. If the original guest has multiple disks, this parameter must be repeated multiple times, once per disk in the original virtual machine. -h, --help Display the help message and exit. -m mac_addr, --mac=mac_addr Fixed MAC address for the guest. If the keyword random is specified, a random address will be used. -n name, --name=name Name of the new guest virtual machine instance. This must be unique among all guests known to the hypervisor on this machine, including those not currently active. To redefine an existing guest, use the virsh(1M) tool to shut it down and delete it prior to running virt- clone. This parameter will be prompted for if omitted on the command line. -o original_guest, -original=original_guest Name or UUID for the original guest to be cloned. This guest must be shut down since it is not possible to safely clone active guests. -u UUID, -uuid=UUID UUID for the guest; if none is specified, a random UUID is generated. If you specify UUID, use a 32-digit hexadecimal number. Keep in mind that UUIDs are intended to be unique across the entire data center, and indeed, the world. EXAMPLES
Example 1 Cloning a Guest with a Single Disk The following command clones a guest named demo, which has a single disk to copy. # virt-clone --original demo --name newdemo --file /var/lib/xen/images/newdemo.img Example 2 Cloning a Guest with Multiple Disks The following command clones a guest named demo, with has multiple disks to copy. # virt-clone --original demo --name newdemo --file /var/lib/xen/images/newdemo.img --file /var/lib/xen/images/newdata.img Example 3 Cloning to a Device with Comparable Disk Space The following command clones a guest to a physical device that has at least as much disk space as had the original guest. . If the destina- tion device is has more space, the new guest can do a file system resize when it boots. # virt-clone --name demo --file /dev/HostVG/DemoVM --mac 00:16:3e:34:11:54 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxvmu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
virsh(1M), virt-install(1M), xm(1M), xVM(5), attributes(5), xVM(5) SunOS 5.11 23 Jun 2008 virt-clone(1M)
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy