This step prevents application related errors when the zone is started on the target.
oracle1@SourceSystem $ sqlplus / as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Wed Aug 1 15:49:52 2018 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> exit oracle1@SourceSystem $ lsnrctl stop LISTENER LSNRCTL for Solaris: Version 10.2.0.5.0 - Production on 01-AUG-2018 15:53:26 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) The command completed successfully
The flarcreate(1M) command creates a flash archive (FLAR) of the source system, including the root file system and the mounted UFS file systems. In this example, this includes the Oracle database installation and data. The FLAR is created on the shared storage so that it is easily accessed by the target system.
Syntax:
flarcreate -L pax -S -c -n name flar_pathname
Where:
-L pax – Create the flash archive using portable archive interchange (pax) archiver.
-S – Skip the disk space check and do not write the archive size data to the archive.
-c – Compress the archive using the compress(1) command.
-n name– Used to specify a name that describes the archive. name is supplied as the value of the content_name keyword. See flash_archive(4).
flar_pathname – Is the full path name of the created FLAR file.
Example:
root@SourceSystem# time flarcreate -L pax -S -c -n my_s10_source_system /ovas/SourceSystem.flar Full Flash Checking integrity... Integrity OK. Running precreation scripts... Precreation scripts done. Creating the archive... Archive creation complete. Running postcreation scripts... Postcreation scripts done. Running pre-exit scripts... Pre-exit scripts done. real 1:03:42.9 user 32:26.8 sys 6:26.9 root@SourceSystem# ls -l /ovas/SourceSystem.flar -rw-r--r-- 1 nobody nobody 23384788425 Aug 1 18:19 /ovas/SourceSystem.flar