Archiveadm system cloning - Solaris 11.4


 
Thread Tools Search this Thread
Operating Systems Solaris Archiveadm system cloning - Solaris 11.4
# 1  
Old 02-11-2019
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"

Code:
root@xxx:/mnt/opt/software# zpool list
NAME        SIZE  ALLOC  FREE  CAP  DEDUP  HEALTH  ALTROOT
fpool    1016G   726G  290G  71%  1.00x  ONLINE  -
ifpool   299G   180G  119G  60%  1.00x  ONLINE  -
progpool    556G   138G  418G  24%  1.00x  ONLINE  -
rpool       556G   107G  449G  19%  1.14x  ONLINE  -

root@Uxxx:~# archiveadm create -D fpool,ifpool /mnt/backup/solaris11sys.uar

Logging to /system/volatile/archive_log.11701

  0% : Beginning archive creation: /mnt/backup/solaris11sys.uar
  6% : Executing dataset discovery...
10% : Dataset discovery complete
10% : Executing staging capacity check...
11% : Staging capacity check complete
15% : Creating zone media: UnifiedArchive [08346390-1c25-457d-b3a9-36eed1127990]
53% : CreateZoneMedia: UnifiedArchive [08346390-1c25-457d-b3a9-36eed1127990] complete
55% : Preparing archive image...
73% : Archive image preparation complete
75% : Beginning archive stream creation...
93% : Archive stream creation complete
93% : Beginning archive descriptor creation...
94% : Archive descriptor creation complete
95% : Beginning final archive assembly...
100% : Archive assembly complete

root@xxx:~# ls -lrth /mnt/backup/solaris11sys.uar
-rw-r--r--   1 root     root         66G Jan 27 18:56 /mnt/backup/solaris11sys.uar


root@Uxxx:~# archiveadm create-media -f iso solaris11sys.uar -o solaris11sys.iso

Logging to /system/volatile/archive_log.29564

  0% : Beginning media creation...
archiveadm create-media: /mnt/backup/solaris11sys.uar contains non-root data. Media can only be created from archives containing root-only data.

q1) Can we use archiveadm to clone a system that include both rpool + non-rpool datasets ?
q2) Can this archive then be created as an iso media ? - if it cannot be done, why let us create a clone archive that contain rpool + non-rpool datasets in the 1st place ? how do we restore from it ?

Regards,
Noob

Last edited by javanoob; 02-11-2019 at 11:16 PM..
This User Gave Thanks to javanoob For This Post:
# 2  
Old 02-12-2019
Did you happen to open a SR with my oracle support ?

Please keep us updated as I'm going to be doing the same for a S11.3 system, except no physical media.
# 3  
Old 02-12-2019
Hi Sam,


Quote:
Please keep us updated as I'm going to be doing the same for a S11.3 system, except no physical media.
How are you going to do a recovery without media - Is it possible to do a restoration without a media for global-zone ?


Regards
Noob
# 4  
Old 02-12-2019
alternate boot environment ?!
# 5  
Old 02-12-2019
Hi Sam,


What i meant is , you mention you will be doing achiveadm as well just without creating it to media.

How can the archive be apply/deploy on an ABE ? is there any command to do so ?


Regards,
Noob
# 6  
Old 02-12-2019
i'm not sure anymore.
# 7  
Old 03-10-2019
I know this is long overdue but I kid you not we had this done recently after my comments above;
A) If you want to do media creation from the archiveadm you need to exclude non-root datasets
B) If you have non-root datasets they're usually not a part of rpools; if this makes any sense.
1b) It should be a zpool just for those datasets which can be exported
2b) Exported zpools can be imported to another system or reattached to current system
C) Once you create a bootable UAR from the archiveadm, you will be able to install the cloned system and, have the ability to re-attach
the non-root datasets / zpools.
We were able to do this with a little hiccup here and there but the job went well...
Please if you have additional questions of the process just let me know so we can share with others who come across
this article.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

2. 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

3. Solaris

Cloning RAID0 drives, Solaris 10u11

Hello all, this is my first time posting here. Where I work we have multiple servers (x3-2's) running Solaris 10u11 with 2 drives configured as RAID0, 300GB per. There are 4-6 open slots for drives to clone to. Past attempts to clone/backup these drives has failed. One of the machines is... (1 Reply)
Discussion started by: eprlsguy
1 Replies

4. Solaris

Cloning Solaris 10 with zones

Hello, What is the best method to use to clone a Solaris 10 machine with zones, to ensure all software and config can be easily installed on new hardware? Thank You (4 Replies)
Discussion started by: da2013
4 Replies

5. Solaris

Cloning Solaris 10 perdicament

Hello and let me say at first, thank you for viewing this problem I have. From the top! Where I work, we have a Dell PowerEdge T300 X86 system running Solaris 10 8/07 s10x_u4wos_12b X86, and we realized, if this machine went down, we would be in trouble. So to fix that situation, I took it... (5 Replies)
Discussion started by: nitrolinux
5 Replies

6. 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

7. Solaris

Solaris 10 Zones cloning

I have gone over some articles regarding zones, I haven't found one that gives the exact information I'm looking for. I think I'm close though. I have 2 servers, each with a HBA into a SAN, they are both presented with the same luns. On server1, configured and installed the zone (zone1), the... (6 Replies)
Discussion started by: beaker457
6 Replies

8. 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

9. 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
Login or Register to Ask a Question