Moving a zone in Solaris10 3/05

3/05 is pre # zoneadm -z my-zone move /newpath
Could someone please provide me with the proper procedure for moving a zone?

Hi,
what we have done in the past with the same version is stopping the zone and then
do a cpio to the new destination. Also we tried the same procedure with an
rsync procedure.
Both has worked, but the sizes of the copied and original zones had been different
by comparing with the du -ks command.
We have never seen any problems, but of course i assume that this procdures are NOT supported
by SUN.
Frank

Similar Messages

  • Moving a zone in Solaris 10 3/05

    What is the proper procedure for moving a zone in Solaris 3/05 (which does not have the 'zoneadm -z <zone> move <path>' command)?

    The zones stuff is tightly integrated with much of the other OS infrastructure eg kernel, libraries etc.
    Its not possible to upgrade just the zones stuff by installing packages.
    You could upgrade the zones stuff by applying patches, but it will drag a lot of other stuff in as preqrequisites.
    Just installing a recommended patch set should accomplish this.
    But it may be simpler to just upgrade to 5/08 and be done with it. Liveupgade or upgrade install should work.

  • DB 10gR1 in a zone on solaris10/x86

    Hi,
    i'm trying to install Oracle10g R1 on solaris 10 ( 6/06 ) x86 ( 32 bit ) -- thus i can't load R2 on it. ( only x86-64 supported ). Moreover i'm trying to install in a dedicated zone with inherited /usr,/var, /opt etc. there aren't any resource pools created ( pooladm )
    i've already figured that i had to update some ini file to support 5.10 OS version ( only 5.6-5.9 were listed )
    the DB server is not running Xserver, but i've setup environiment to connect to remote Xserver -- my workstation -- this works -- xterm/xload/xlogo are all working. but when i launch runInstaller:
    oracle@db:/ora-install/Disk1$ sh runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.6, 5.7, 5.8, 5.9 or 5.10. Actual 5.10
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /var/tmp/OraInstall2006-08-23_03-53-47PM. Please wait ...oracle@db:/ora-install/Disk1$ Oracle Universal Installer, Version 10.1.0.3.0 Production
    Copyright (C) 1999, 2004, Oracle. All rights reserved.
    Warning: Cannot convert string "MetaCtrl<Key>Insert" to type VirtualBinding
    Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
    and the instalator creates on my workstation single gray-filled box with nothing inside it, it is called "Oracle.sysman.oii.oiic.OiicInstaller'.
    i've figured using truss -f that the process is waiting for something ( pollsys() syscall ).
    This works also great ( no-error ):
    oracle@db:/tmp$ cat Test.java
    import java.awt.*;
    public class Test {
    public static void main(String[] args) {
    // This code will force AWT to connect to the X server
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();
    oracle@db:/tmp$ javac Test.java
    oracle@db:/tmp$ java Test
    oracle@db:/tmp$

    add-on:
    [root@db ~]# /usr/ucb/ps auxwwwww | grep ^oracle
    oracle 2070 0.2 2.86748028996 ? S 16:01:36 0:04 /var/tmp/OraInstall2006-08-23_04-01-30PM/jre/1.4.2/bin/java -Doracle.installer.library_loc=/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/lib/solaris -Doracle.installer.oui_loc=/var/tmp/OraInstall2006-08-23_04-01-30PM/oui -Doracle.installer.bootstrap=TRUE -Doracle.installer.startup_location=/ora-install/Disk1/install -Doracle.installer.jre_loc=/var/tmp/OraInstall2006-08-23_04-01-30PM/jre/1.4.2 -Doracle.installer.nlsEnabled="TRUE" -Doracle.installer.prereqConfigLoc= -Doracle.installer.unixVersion=5.10 -mx96m -cp /var/tmp/OraInstall2006-08-23_04-01-30PM:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/OraInstaller.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/xmlparserv2.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/srvm.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/share.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/OraInstallerNet.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/InstImages.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/InstHelp.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/oracle_ice.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/help4.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/help4-nls.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/ewt3.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/ewt3-swingaccess.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/ewt3-nls.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/swingaccess.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/classes12.jar::/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/prereq.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/jewt4.jar:/var/tmp/OraInstall2006-08-23_04-01-30PM/oui/jlib/jewt4-nls.jar oracle.sysman.oii.oiic.OiicInstaller -scratchPath /var/tmp/OraInstall2006-08-23_04-01-30PM -sourceLoc /ora-install/Disk1/install/../stage/products.xml -sourceType network -timestamp 2006-08-23_04-01-30PM -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2

  • Zones on Solaris10 x86

    I don't understand the licensing, support and platforms zones run on.
    1) Are zones supported on X86 Solaris?
    2) Are they available in OpenSolaris x86?
    3) I saw a demonstration of a really nice gui tool to configure and move zones, (Container Manager?), is that an additional product?
    Thank you,
    Hank

    1) Are zones supported on X86 Solaris?Yes
    2) Are they available in OpenSolaris x86?Yes
    3) I saw a demonstration of a really nice gui tool to
    configure and move zones, (Container Manager?), is
    that an additional product?You're probably thinking of Solaris Container Manager, which is an add-on product to Sun Management Center. Both of these are licensed seperately from Solaris. They do come with the Solaris 10 media kit (2 CDs with yellow labels) or can be downloaded at http://www.sun.com/software/solaris/sunmanagementcenter/.
    From the website:
    Note: Sun Management Center software can be downloaded free of charge, however a license needs to be purchased in order to use.

  • Ldd  shows differend amount of required libs if file was moved btw zones!

    Hi!
    I'm trying to compile the application (apache) in zoneA . everything goes fine, it's compiled and worked properly.
    if I create a package and deploy it in to another zone (with the same patch level) application still working but with nomber of issues (w/o cgi functionality and SIGSEGV some times)
    After long research i discover that situation:
    ZoneA#ldd /opt/local/sbin/httpd
            libm.so.2 =>     /lib/libm.so.2
            libaprutil-1.so.0 =>     /opt/local/lib/libaprutil-1.so.0
            libexpat.so.0 =>         /opt/local/lib/libexpat.so.0
            libapr-1.so.0 =>         /opt/local/lib/libapr-1.so.0
            libuuid.so.1 =>  /lib/libuuid.so.1
            libsendfile.so.1 =>      /lib/libsendfile.so.1
            librt.so.1 =>    /lib/librt.so.1
            libsocket.so.1 =>        /lib/libsocket.so.1
            libnsl.so.1 =>   /lib/libnsl.so.1
            libpthread.so.1 =>       /lib/libpthread.so.1
            libc.so.1 =>     /lib/libc.so.1
            libaio.so.1 =>   /lib/libaio.so.1
            libmd.so.1 =>    /lib/libmd.so.1
            libmp.so.2 =>    /lib/libmp.so.2
            libscf.so.1 =>   /lib/libscf.so.1
            libdoor.so.1 =>  /lib/libdoor.so.1
            libuutil.so.1 =>         /lib/libuutil.so.1
            libgen.so.1 =>   /lib/libgen.so.1
    ZoneB# ldd /opt/local/sbin/httpd
            libm.so.2 =>     /lib/libm.so.2
            libaprutil-1.so.0 =>     /opt/local/lib/libaprutil-1.so.0
            libexpat.so.0 =>         /opt/local/lib/libexpat.so.0
            libapr-1.so.0 =>         /opt/local/lib/libapr-1.so.0
            libuuid.so.1 =>  /lib/libuuid.so.1
            libsendfile.so.1 =>      /lib/libsendfile.so.1
            librt.so.1 =>    /lib/librt.so.1
            libsocket.so.1 =>        /lib/libsocket.so.1
            libnsl.so.1 =>   /lib/libnsl.so.1
            libpthread.so.1 =>       /lib/libpthread.so.1
            libc.so.1 =>     /lib/libc.so.1
            *libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1*
            libaio.so.1 =>   /lib/libaio.so.1
            libmd.so.1 =>    /lib/libmd.so.1
            libmp.so.2 =>    /lib/libmp.so.2
            libscf.so.1 =>   /lib/libscf.so.1
            libdoor.so.1 =>  /lib/libdoor.so.1
            libuutil.so.1 =>         /lib/libuutil.so.1
            libgen.so.1 =>   /lib/libgen.so.1And as a result :
    ZoneB# lari  /opt/local/sbin/httpd
            symbol not found: apr_pollcb_create_ex          (/opt/local/sbin/httpd)
            symbol not found: apr_poll_method_defname               (/opt/local/sbin/httpd)
            symbol not found: apr_pollset_method_name               (/opt/local/sbin/httpd)
            symbol not found: apr_pollset_wakeup            (/opt/local/sbin/httpd)
            continued ...
    [2:1E]: __divdi3(): /lib/libc.so.1
    [2:0]: __divdi3(): /usr/sfw/lib/libgcc_s.so.1
    [2:0]: htonl(): /lib/libc.so.1
    [2:3ES]: htonl(): /lib/libsocket.so.1
    [2:0]: htons(): /lib/libc.so.1
    [2:3ES]: htons(): /lib/libsocket.so.1
    [2:1E]: __moddi3(): /lib/libc.so.1
    [2:0]: __moddi3(): /usr/sfw/lib/libgcc_s.so.1
    [2:0]: ntohl(): /lib/libc.so.1
    [2:3ES]: ntohl(): /lib/libsocket.so.1
    [2:0]: ntohs(): /lib/libc.so.1
    [2:3ES]: ntohs(): /lib/libsocket.so.1
    [2:1E]: __udivdi3(): /lib/libc.so.1
    [2:0]: __udivdi3(): /usr/sfw/lib/libgcc_s.so.1
    [2:0]: __umoddi3(): /lib/libc.so.1
    [2:0]: __umoddi3(): /usr/sfw/lib/libgcc_s.so.1
    Wow! The package installation  in to ZoneA (on top of 'make install' installation) takes the same effect as in ZoneB. I have no idea where to look for solution!
    Does any body known why these ldd outputs are different?
    Edited by: ph7 on May 13, 2010 8:36 AM

    The answer is very easy, but very difficult to discover:
    because i have installed new files over the files already available in the system, I've missed what link /opt/local/lib/libapr-1.so.0 was changed from libapr-1.so.0.3.9 to libapr-1.so.0.4.2. And as a result, no changes in prototype file were done! In spite of this, application starting with old libraries and had the problems that this library had.

  • Moving from solaris6 to solaris10

    Hey,
    I'm going to upgrade my e450 server that is running solaris 6 to another e450 that i'm going to install with solaris 10.
    The thing is the old installation have a lot of binary home made stuf on it and I havn't got the source code, so my question is can a solaris 10 run my solaris 6 binaries ???
    Tnx

    Probably not.
    You will not know until you try.
    Install everything to the newer system and test it before you remove the original system from production.

  • P2v migration,brandzone solaris10 on solaris 11-Exiting with exit code 254

    hi...
    doing p2v migration on vmware : solaris 10 as branded zone on solaris 11
    im moving my physical machine solaris 10 to brand zone as in soialris 11
    some how im facing the issues..while zone installation
    it fails at the end
    follwing are the logs::
    root@solaris11:/var/log/zones# tail -f zoneadm.20120304T231155Z.s10zone.install
    [Monday, March 5, 2012 04:42:03 AM IST] | install_flar
    [Monday, March 5, 2012 04:42:07 AM IST] setting ZFS property zoned=on on zpool1/zones/rpool
    [Monday, March 5, 2012 04:42:10 AM IST] setting ZFS property canmount=on on zpool1/zones/rpool
    [Monday, March 5, 2012 04:42:10 AM IST] setting ZFS property mountpoint=/rpool on zpool1/zones/rpool
    [Monday, March 5, 2012 04:42:14 AM IST] setting ZFS property canmount=noauto on zpool1/zones/rpool/ROOT
    [Monday, March 5, 2012 04:42:14 AM IST] setting ZFS property mountpoint=legacy on zpool1/zones/rpool/ROOT
    [Monday, March 5, 2012 04:42:15 AM IST] Creating active_ds zpool1/zones/rpool/ROOT/zbe-0
    [Monday, March 5, 2012 04:42:16 AM IST] Mounting boot environment in zpool1/zones/rpool/ROOT/zbe-0 at /zpool1/zones/root (including child datasets)
    [Monday, March 5, 2012 04:42:17 AM IST] Preparing to mount zpool1/zones/rpool/ROOT/zbe-0 at /zpool1/zones/root
    [Monday, March 5, 2012 04:42:17 AM IST] Mounting zpool1/zones/rpool/ROOT/zbe-0 at /zpool1/zones/root/ with ZFS temporary mount
    [Monday, March 5, 2012 05:23:37 AM IST] ERROR: Unpacking the archive failed
    [Monday, March 5, 2012 05:23:37 AM IST] Destroying datasets under zpool1/zones that are not pinned
    [Monday, March 5, 2012 05:24:57 AM IST] Destroyed unpinned dataset zpool1/zones/rpool/ROOT/zbe-0
    [Monday, March 5, 2012 05:24:57 AM IST] Unpinning datasets under zpool1/zones
    [Monday, March 5, 2012 05:24:58 AM IST] Unpinning zpool1/zones
    [Monday, March 5, 2012 05:24:58 AM IST] Unpinning zpool1/zones/rpool
    [Monday, March 5, 2012 05:24:58 AM IST] Unpinning zpool1/zones/rpool/ROOT
    [Monday, March 5, 2012 05:24:58 AM IST] Unpinning zpool1/zones/rpool/export
    [Monday, March 5, 2012 05:24:58 AM IST] Unpinning zpool1/zones/rpool/export/home
    [Monday, March 5, 2012 05:24:58 AM IST] Exiting with exit code 254
    [Monday, March 5, 2012 05:24:58 AM IST] ==== Completed: ====
    zone configuration :
    root@solaris11:/var/log/zones# zonecfg -z s10zone
    zonecfg:s10zone> info
    zonename: s10zone
    zonepath: /zpool1/zones
    brand: solaris10
    autoboot: false
    bootargs:
    file-mac-profile:
    pool:
    limitpriv:
    scheduling-class:
    ip-type: exclusive
    hostid: 0005b1bc
    fs-allowed:
    [max-lwps: 32500]
    [max-processes: 16250]
    attr:
    name: zonep2vchk-info
    type: string
    value: "p2v of host test"
    attr:
    name: num-cpus
    type: string
    value: "original system had 2 cpus"
    rctl:
    name: zone.max-processes
    value: (priv=privileged,limit=16250,action=deny)
    rctl:
    name: zone.max-lwps
    value: (priv=privileged,limit=32500,action=deny)
    will provide the truss o/p if needed..
    my solaris 11 having the system/zones/brand/brand-solaris10
    please guide me to clear the issue...any doc will really helpful....
    thanks again
    muvvas
    Edited by: user13152599 on Mar 5, 2012 8:17 AM

    source machine:::
    bash-3.2# cat /etc/release
    Solaris Express Community Edition snv_101a X86
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 31 October 2008
    and its ufs
    flarcreate -S -n s10-system /nfs/s10-system.flar
    on target solaris 11::i have executed the following cmds::;
    zonecfg -z s10-zone -f zone.config
    zoneadm -z s10-zone install -u -a /export/home/muvvas/s10-system.flar
    rpool 20G 39K 9.3G 1% /rpool
    zpool1 47G 32K 40G 1% /zpool1
    zpool1/zones 47G 6.5G 40G 14% /zpool1/zones

  • ICal time zone sync issue btwn macbook & iPhone

    I've moved time zones and iCal insists on changing events to have a 3 hour difference! I'm trying to sync between my macbook (from 2008) and iphone (3G), to have the same timed events. Please help!

    On your iPhone, drill down Settings>Mail,Contacts, Calendars and drop down to Calendars. My Time Zone was ON and set to an offset of GMT, I turned it OFF and my appointments are at the correct time on my iPhone.

  • Change time zone of many events

    I've moved time zones. How do I change the time zone of all my extant events to be in the new time zone?

    Dr. Pantzo,
    I will presume you are using Snow Leopard.
    Use iCal>Preferences...>Advanced>Turn on time zone support.
    Open System Preferences...>Date & Time>Time Zone: either check "Set time zone automatically," or pick your closest city.

  • Zone creation

    Hi,
    My machine is x86 , OS is winxp
    Iam using solaris10 running on VMware player. I have created a test zone on solaris10 using solaris9 container and down loaded solaris9-image.flar and saved on Apps folder. But iam unable to install solaris9-image.flar to test zone.
    #zonecfg -z testzone info
    zonepath: /zones/testzone
    autoboot:true
    pool:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    net:
    address:
    Physical:
    #zoneadm -z testzone install -u -a /Apps/solaris9-image.flar
    -u: illegal option --u
    usage: install
    install the configuration on to the system
    As iam new in solaris can anyone help on regard this......Thanks in advance.
    Arunii2

    one more thing, I just noticed, that you are using X86 solaris. so have a look at this:
    "A Solaris 9 branded zone (solaris9) is a complete runtime environment for Solaris 9 applications on *SPARC* machines running the Solaris 10 8/07 Operating System or later."
    http://docs.sun.com/app/docs/doc/820-4490/gfjbk?a=view
    so, you won't be able to test those things on x86 machine.
    Laszlo

  • How to install Zone

    Hi,
    I am new to this zone feature and I do not know where and how to start. Can you tell me how to install/create a zone?
    Thanks.
    HS

    You have to write the vfstab entry only for /zone
    the permissions for /zone must be 700, the subdirectory, in your example my-zone , will be created automaticly.
    A little example for a simple root-zone
    root@solaris10-test:/usr/bin # zonecfg -z my-zone
    my-zone: No such zone configured
    Use 'create' to begin configuring a new zone.
    zonecfg:my-zone> create
    zonecfg:my-zone> set zonepath=/zone/my-zone
    zonecfg:my-zone> set autoboot=true
    zonecfg:my-zone> remove inherit-pkg-dir dir=/lib
    zonecfg:my-zone> remove inherit-pkg-dir dir=/platform
    zonecfg:my-zone> remove inherit-pkg-dir dir=/sbin
    zonecfg:my-zone> remove inherit-pkg-dir dir=/usr
    zonecfg:my-zone> add net
    zonecfg:my-zone:net> set physical=hme0
    zonecfg:my-zone:net> set address=XX.XX.XX.XX
    zonecfg:my-zone:net> end
    zonecfg:my-zone> verify
    zonecfg:my-zone> commit
    zonecfg:my-zone> exit
    zoneadm -z my-zone install
    After the package-copy
    zoneadm -z my-zone boot
    zlogin -C my-zone

  • Updating memory capping for zones in default pool.

    Updating memory capping for zones in default pool. Has anyone else run into this where the items for physical/locked/shared memory and swap for zones within the default pool are not changeable? Is this a known bug or feature?
    After moving a zone from the default pool to a user created pool, update these values and then move back to the default pool, I find that I am at that point able to update these values for zones in the default pool now?
    Anyone else hitting this?

    Is it a full zone or a sparse zone?
    prstat doesn't really understand everything that's going on. Its numbers are not accurate when pages are shared (very likely in a sparse zone).
    Darren

  • Zone Restoration

    Hi
    I have a server running Solaris 10 with whole root zone mounted on /zone/zone1. I want to know if I take the backup of /zone/zone1 directory mounted on Filesystem1 in single user mode using tar or cpio can I restore the zone and be able to start it if I just restore the /zone/zone1 backup onto a new filesystem Filesystem2 and mount that under /zone/zone1 or any other steps are involved to make the zone bootable
    TIA

    I don't think you need to do anything in single user mode. To move a zone, I'd login to the underlying machine (global zone) and from there do the following:
    1. Shut the zone down.
    2. Detach the zone (zoneadm -z ZONENAME detach)
    3. Move the files of the detached zone to where I need them.
    4. If necessary, tweak the zone configuration using zonecfg.
    5. Attach the zone (zoneadm -z ZONENAME attach -u)
    6. Boot the zone.
    If you move the zone to a different machine, step #4 would be to establish a proper zone configuration on the new machine. You may not need the -u option on attach, particularly if you're moving the zone to another location on the same machine. I use sparse root zones and find that attach -u helps clean up errors on those. I'm not sure how it would apply to whole root zones.

  • Buttons set as "free position" change back to default

    In iDVD 6, if you move a button to free position and then save it, when you re-open the project the button position changes back to the default position. I am using the iDVD 6 theme "Reflection Black" and positioned the button in the gray pane at the bottom but it moves back up the pane to the default position no matter how I try to save it. Anyone else having this problem?
    Thanks
    Craig

    The first six slideshows behave themselves and stay where I position them in the area designed for the listing. The remaining six are off to the side right across the moving drop zones, which makes them hard to read.
    I believe all of the menus are defaulted to handle six buttons, while you can add up to twelve on some, maybe this main menu can only "hold" six... I had four on mine.
    How about one button on the main menu that says something like "Slideshows" and when you click on that it takes you to a new menu (the chapter menu) and try to put twelve there.
    G4 DP 1.25 GHz 2GB RAM 4 Drives 770GB   Mac OS X (10.4.6)   2 SuperDrives (SL 8X & DL 16X)

  • Solaris adapter: Error building user.

    Hello!
    We are using our IDM to manage users in Solaris Zones. This worked fine, but after moving some zones to a new system, the IDM says it does not find the users any more. When I do a "Accounts / Load from resource", I get the following error for many users:
    Error extracting account 'nobody': com.waveset.adapter.exception.ContinuableIteratorException: Error building user.Does anyone know how to fix this error?
    TIA
    Stephan

    Problem solved: I forgot to change the profile for the user which changes accounts on the system. After editing /etc/user_attr all works fine now.

Maybe you are looking for