Archiveadm system cloning - Solaris 11.4


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 4 Weeks Ago
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; 4 Weeks Ago at 10:16 PM..
This User Gave Thanks to javanoob For This Post:
samthewildone (4 Weeks Ago)
# 2  
Old 4 Weeks Ago
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 4 Weeks Ago
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
# 5  
Old 4 Weeks Ago
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
# 7  
Old 1 Week Ago
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 Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Cloning a system via mksysb backup from one system and restore to new system gull05 AIX 4 03-13-2016 03:02 PM
How to protect system from cloning? Installimat Cybersecurity 4 09-08-2014 03:17 PM
Cloning RAID0 drives, Solaris 10u11 eprlsguy Solaris 1 08-29-2014 07:11 AM
Cloning Solaris 10 with zones da2013 Solaris 4 11-08-2013 07:47 PM
Linux/Solaris System Administrator to become a Linux/Solaris System Programmer? Tlogine Programming 1 10-23-2013 04:22 PM
Cloning Solaris 10 perdicament nitrolinux Solaris 5 08-23-2013 11:20 PM
Problems cloning Solaris 10 x86 Installation to bigger HDD BigT79 Solaris 3 01-03-2013 06:05 AM
how to mount a file system from a solaris server into an hp-ux system fretagi HP-UX 2 08-03-2012 08:01 PM
Cloning a solaris system zzqv9p UNIX for Advanced & Expert Users 0 02-25-2010 01:51 PM
Solaris 10 Zones cloning beaker457 Solaris 6 11-25-2008 03:23 PM
Long Distance UNIX (Solaris) Cloning ? HikerLT UNIX for Dummies Questions & Answers 1 01-10-2008 04:29 PM
rsh commands not getting executed from Solaris 10 System to AIX System jumadhiya Solaris 25 01-22-2007 04:26 AM
Full System Backup / Cloning HPUX real-chess UNIX for Dummies Questions & Answers 0 08-12-2006 09:26 PM
Problem cloning system fgaulois AIX 2 03-17-2006 02:20 PM