Installing & booting non-global zones

Hi all,
I am having problems with installing and booting a non-global zones. My configurations are as follows :
zonepath: /export/small-zone
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: 192.168.1.101
physical: hme0
There is no problems when I try to verify the zone. However, upon installing, I get the following errors :
<SUNWexplu SUNWexplo SUNWesr SUNWtftpr SUNWdtdmr SUNWmdu SUNWbsr .....(and many other pachages ) >
Despite all this, I am able to boot the new non-global zone. However when I do `zlogin -C -e\@ small-zone', I only get the message "[Connected to zone 'small-zone' console]" .I don't get the install sequence as expected. I am consequently unable to get the console login.
Can anyone please help me ?
Any help would be much appreciated.

Hi swa.. it's Lucky... thanks for your time...
the out put of "df -hk /export/small-zone" is :
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 9.6G 9.4G 118M 99% /
the out put of "zoneadm list -cv" is :
ID NAME STATUS PATH
0 global running /
6 small-zone running /export/small-zone
Now, I know it seems like its working, but it's not quite working properly. I tried a "zlogin -C small-zone" before I ever booted up. It just hangs with the message "[Connected to zone 'small-zone' console]"
Then upon booting up, I get :
"[NOTICE : zone booting up]
Sun OS Release 5.10 Version Generic 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved. Use is subject to licence terms.
INIT : can not open /etc/default/init. Environment not initialised.
INIT : can not stat inittab, errno:2.
INIT : Absent svc.startd entry a bad contract template. Not starting svc.startd.
Requesting maintenence mode
(see /lib/svc/share/README for additional information)
** Unable to retrieve 'root' entry in shadow password file ***
Entering maintainence mode
It seems that the initial configuration where you set up the username passwords has been totally bi-passed due to a failure. I have no idea why this is so.... Any help would be much appreciated.
Once again, thats for your help.

Similar Messages

  • Application pkg install in non Global zone

    I have got another virtual instance up on solaris box, i am trying to install application pkg which writes to
    /usr
    which is mounted as read only.
    is it possible to create policy to write under that folder
    e.g. /usr/writable where u can add/change stuff in non global zone
    thanks

    You'll need to build a "whole root" zone to do that. You currently have a "sparse root" zone.
    There are two types of non-global zone root file system models: sparse and whole root. The sparse root zone model optimizes the sharing of objects. The whole root zone model provides the maximum configurability. These concepts are discussed in Chapter 18, Planning and Configuring Non-Global Zones (Tasks).
    (from http://docs.sun.com/app/docs/doc/817-1592/6mhahuooc?a=view )

  • Update packages for newbie in a non-global zone

    Hi,
    I'm new on this forum and i'm a newbie. Recently, I have install OpenSolaris and I have install a non-global zone (big-zone). So, I can install new packages manually in my non-global zone with a terminal but i don't know if it's possible to use the package manager (same tool when i'm log on my global zone in a gnome-session).
    I don't know if it's possible to install gnome in a non-global zone because it's more easy to me to use the package manager tool in a graphical mode. It's very long to write a command for each package that i want update.
    Thanks a lot in advance and sorry for my english.
    jaymachine

    I know of patchadd -G, it is used when one has downloaded the pathch already. I was looking for an automated patch procedure. I use the java gui upadate manager in the global zone but it will not patch the Java Communications Suite installed in a sparse zone.
    Sparse zones are more than really cool. I have entire comms suite installed in a zone with SMF for all the components, anything siezes up and it's a few minutes to reboot, piece of cake. Allows me to use one host server whilst all webserver / application instances are on port 80.

  • After installing 137137-09 patch OK in global zone, bad in non global zone

    Hi all,
    scratching my head with this one.
    Installed 137137-09 fine on Sun Fire V210. Machine has one non global zone running a proxy server (nothing very exciting there!). non global zone has a local filesystem attached, but don't think this is the issue (on my test V210 I created the same sort of filesystem and was unable to replicate the problem :( ).
    So 137137-09 is fine in the global zone (I had the non global zone halted when patch installed) it is also installed in the non global zone (ie, when zone boots it says it's at rev 137137-09 via uname) in the patch log in the non global zone I get this:
    PKG=SUNWust2.v
    Original package not installed.
    pkgadd: ERROR: ERROR: unable to get zone brand: zonecfg_get_brand: No such zone configured
    This appears to be an attempt to install the same architecture and
    version of a package which is already installed. This installation
    will attempt to overwrite this package.
    /usr/local/zones/cotchin/lu/dev/.SUNW_patches_1000109009-1847556-000000d3e42faa84/137137-09/FJSVcpcu/install/checkinstall: /usr/local/zones/cotchin/lu/dev/.SUNW_patches_1000109009-1847556-000000d3e42faa84/137137-09/FJSVcpcu/install/checkinstall: cannot open
    pkgadd: ERROR: checkinstall script did not complete successfully
    Dryrun complete.
    No changes were made to the system.
    I'm not sure if the branding error is causing the checkinstall postpatch script error or if they are not related. There doesn't seem to be any obvious permissions problems that I can find. I have checked that all the pkg and patch patches are up to date on the system. Searching on the brand error gives me a link to a problem with 127127-11, but that was installed on the system before the local zone was created and all the other seemingly appropriate patches (eg: 119254) are all up to date or at a higher revision than recommended.
    I see the same problem on a M5000 which has two non global zones on it.
    Both machines had the Solaris 10 50/08 update bundle applied when it came out,a nd have had recommended patch sets applied at regular intervals since.
    This issue only came to light when trying the latest bundles with 138888-01/02 in it, and those fail to install on the global zones because the non global zone install dies claiming 137137-09 is not installed (which is plainly wrong).
    I've tried to recreate this on a test server but unfortunately everything works as it should, even though the test server has a similar history in terms of patches and original setup to the others.
    I'm planning to try to detatch the non global zone and try an attach -u to see if it will update the patches properly, but I'm not holding out much hope on that one (I need to wait for a mainteiance window when I can take the zone down in a couple of days).
    Any ideas?

    Well, I am following up to my own post it seems I have determined what is causing the problem, or at least situations where the problem can be reproduced which I have been able to do on my test system.
    It seems that if the zone container's zonepath is in /usr (eg: /usr/zones, /usr/local/zones, or some other path under /usr) the patchadd of 137137-09 will fail with the log similar to posted above, and this will stop further kernel patches (eg: 138888-02) being added.
    The test system had everything patched to current and searching the web I can't find any other instances of this being an issue, but I have reproduced this problem on my test machine (which worked OK because it's test zones were in a filesystem mounted as /zones). When I used zoneadd -z <zonename> move to a zone in /usr/local and applied 137137-09 the same problem came up.
    Not sure what is causing this issue.. I imagine it might have to do with some sort of confusion with the patch utilities and the read-only loopback filesystems in the sparse root zone but I can't bs sure.
    Maybe someone at sun will see this and figure out what the deal is :)
    When I moved my test zone back to /zones the patch applied perfectly so it's definitely having it in /usr or /usr/local (I tried both locations, even though they are seperate ufs filesystems on my test server).
    Oh I am running DiskSuite to mirror filesystems on my V210's which may or may not have anything to do with it.
    Hope this helps someone in the future at least!

  • Failing to install pkg on non-global zone

    (root)@syslog1:~# pkgadd -d . SUNWant
    Processing package instance <SUNWant> from </home/iqbala>
    Jakarta ANT(sparc) 11.10.0,REV=2005.01.08.05.16
    WARNING: Stale lock installed for pkgrm, pkg SUNWaspell quit in remove-initial state.
    Removing lock.
    Using </> as the package base directory.
    ## Processing package information.
    ERROR: Cannot allocate memory for package object array.
    pkgadd: ERROR: memory allocation failure
    pkgadd: ERROR: unable to process pkgmap
    Installation of <SUNWant> failed (internal error).
    No changes were made to the system.
    (root)@syslog1:~#
    (root)@syslog1:~# zonename
    syslog
    This non-global zone is capped to 1G phy memory out of 2G total of the T1000
    (root)@syslog-global:~# uname -a
    SunOS syslog-global 5.10 Generic_137137-09 sun4v sparc SUNW,Sun-Fire-T1000
    (root)@syslog-global:~# zoneadm list
    global
    syslog
    (root)@syslog-global:~# zonename
    global
    (root)@syslog-global:~# zonecfg -z syslog info
    zonename: syslog
    zonepath: /syslog
    brand: native
    autoboot: true
    bootargs: -m verbose
    pool:
    limitpriv: default,sys_time
    scheduling-class: FSS
    ip-type: shared
    inherit-pkg-dir:
         dir: /lib
    inherit-pkg-dir:
         dir: /platform
    inherit-pkg-dir:
         dir: /sbin
    inherit-pkg-dir:
         dir: /usr
    fs:
         dir: /var/logs
         special: /var/logs
         raw not specified
         type: lofs
         options: []
    fs:
         dir: /usr/local
         special: /syslog-local/usr/local
         raw not specified
         type: lofs
         options: []
    net:
         address: 192.168.0.114
         physical: aggr1
         defrouter: 192.168.0.1
    dedicated-cpu:
         ncpus: 1-8
         importance: 10
    capped-memory:
         physical: 1G
         [swap: 512M]
    attr:
         name: comment
         type: string
         value: "syslog server"
    rctl:
         name: zone.max-swap
         value: (priv=privileged,limit=536870912,action=deny)
    (root)@syslog-global:~# prstat -Z
    PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
    13118 root 7184K 5952K sleep 1 0 52:00:54 0.5% nco_p_syslog/10
    11730 root 162M 123M sleep 59 0 38:51:35 0.1% splunkd/22
    7324 root 12M 8280K sleep 59 0 0:58:06 0.0% syslogd/25
    266 root 97M 24M sleep 49 0 31:45:02 0.0% poold/8
    209 daemon 8104K 3080K sleep 59 0 24:39:56 0.0% rcapd/1
    29553 root 2496K 2024K cpu4 59 5 0:00:00 0.0% splunk-optimize/1
    21578 root 38M 36M sleep 59 0 0:01:10 0.0% puppetd/2
    29554 root 6088K 3712K cpu0 49 0 0:00:00 0.0% prstat/1
    24244 root 5760K 3104K sleep 49 0 0:00:00 0.0% bash/1
    1024 noaccess 171M 96M sleep 59 0 8:41:32 0.0% java/18
    27771 noaccess 189M 100M sleep 1 0 4:44:36 0.0% java/18
    274 daemon 3192K 496K sleep 59 0 0:00:00 0.0% statd/1
    279 daemon 2816K 576K sleep 60 -20 0:00:00 0.0% nfs4cbd/2
    326 root 2304K 40K sleep 59 0 0:00:00 0.0% cimomboot/1
    151 root 2576K 344K sleep 59 0 0:00:00 0.0% drd/2
    ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
    3 47 465M 513M 25% 99:54:00 0.7% syslog
    0 42 391M 466M 23% 71:04:39 0.1% global
    Total: 89 processes, 386 lwps, load averages: 0.21, 0.26, 0.26
    Am I hitting a bug?

    If your pkg wants to be installed in /usr or another inherit-pkg-dir, it can't because they are share as read-only.
    Verify wherer the pkg copies its files.

  • Always install applications into non-global zones?

    I am planning on taking full advantage of Containers and Zones as I migrate servers and applications to Solaris 10. During this migration process, I believe that I will have a need to initially just run just one application on a server. I fear that if I do this in the global zone I will lose flexibility down the road for future projects and workloads. So, should I consider always installing applications in a non-global zone and never install applications in the global zone? This would keep the global zone as the controller of the non-global zones and ensure that I can always add more non-global zones later without having to worry about what is running in the global zone.
    Are there any thoughts or comments on this topic?

    Yes we've found it's best to run the applications in non-global zones. Here are a few benefits, basically we only put an application in the global zone if it requires it (like Oracle RAC). Note non-RAC instances of Oracle will run in a non-global zone just fine.
    Reasons to put applications in non-global zones
    o Increased security (self contained environment)
    o Increased flexibility for provisioning resources (CPU, memory, etc) when/if we decide to run multiple applications on the same hardware
    o Increased flexibility in starting up temporary environments to debug issues in parallel to the primary environment (i.e. in another non-global zone on the same server)
    o Works well with Sun Cluster (i.e. we cluster the non-global zones so that they can run across several hosts)
    o Improved trouble shooting and performance diagnosis as the applications are isolated to a non-global zone
    o Simplified environment for the application admins as the environment can be fine tuned for their needs (i.e. only let them see what they need)
    o Disaster recovery is much faster for a non-global zone

  • Installing multiple MySQLs in Non-Global Zones

    Hi all,
    We have db01 and db02 physical servers with latest Solaris and Sun Cluster software installed. Each one has the following zones:
    db01z001 - db02z001
    db01z002 - db02z002
    db01z003 - db02z003
    db01z004 - db02z004
    db01zXXX - db02zXXX
    Every zone is installed on zpool zones (on local disks):
    root@db01:~$ zpool status zones
    pool: zones
    state: ONLINE
    scrub: none requested
    config:
    NAME STATE READ WRITE CKSUM
    zones ONLINE 0 0 0
    mirror ONLINE 0 0 0
    c2t0d0 ONLINE 0 0 0
    c2t1d0 ONLINE 0 0 0
    We want to install and configure a different MySQL application and data service in every pair of non-global zones.
    We want to use two SAN logical devices for mysql data:
    d3 db02:/dev/rdsk/c4t600508B4000906990001100000E70000d0
    d3 db01:/dev/rdsk/c4t600508B4000906990001100000E70000d0
    d7 db02:/dev/rdsk/c4t600508B40009069900011000008E0000d0
    d7 db01:/dev/rdsk/c4t600508B40009069900011000008E0000d0
    Is there any way to use this configuration for N pairs or we can only use 2?
    Thanks,
    George

    Hi George,
    You might get away creating global monunts, create directories below the mount pint. Now comes the trick, you create HAStoragePlus resources with filesystem_mountpoints=/global_mountmount/mysql1, you must set AffinityOn to false.
    This creates a lofs mount into the zone.
    I must admit, that I never tried this myself, but it should work. Of cause you will get a performance penalty if you create tables over the wire. Creating tables means creating small files. It is wortha a
    It would be better, if you would have more and smaller luns, so that you could restrict on lun to a pair of zones.
    Kind Regards
    Detlef

  • /boot not preent in Non-Global zones

    Hi,
    /boot directory is not present in non-global zones. Is there any specific reason for that?
    On sun x86 uses /boot/solaris/bootenv.rc to duplicate the “eeprom” functionality. Since bootenv.rc is used for boot prom functionality and /boot itself not present in zones, because of that eeprom command failing on x86 zones.
    Is there any specific reason why /boot is not present in Zones ?
    Thanks in advance,
    Chanthu

    Hi George,
    You might get away creating global monunts, create directories below the mount pint. Now comes the trick, you create HAStoragePlus resources with filesystem_mountpoints=/global_mountmount/mysql1, you must set AffinityOn to false.
    This creates a lofs mount into the zone.
    I must admit, that I never tried this myself, but it should work. Of cause you will get a performance penalty if you create tables over the wire. Creating tables means creating small files. It is wortha a
    It would be better, if you would have more and smaller luns, so that you could restrict on lun to a pair of zones.
    Kind Regards
    Detlef

  • Install Oracle Database 11g in a non-global Zone

    Hi Folks
    If everyone install a Oracle 11g database in a non-global zone, please give me some advice.
    Is there any requirements (Packages) in the global zone?
    Some special about the Installation process?
    Any documents or best practice?
    Best regards
    Martin

    If your using full root non-global zones, then it would be the same as installing it on the global zone. This how we do it at my work, we install the DB on a full root zone, that is the only zone on a global zone or the other zone is a very light load.

  • Installing Pakcage in Non Global Zone

    Hi,
    I have SUNWbtool package that is installed in Global Zone but not installed in one my (Non-global) Zones called test
    Below are parameters of package on Global Zone.
    SUNW_PKG_ALLZONES='true'
    SUNW_PKG_HOLLOW='false'
    But somehow I can't see this package in one of my test Zone. How to get this package reflected into my test Zone as it is already installed in Global Zone?
    This package is required to install Oracle10G grid on on my Test Zone.

    it's possible that it's not happening due to questions being asked in the install process. Which version of Sol 10 are you using? ( cat /etc/release)

  • How to install a SUN cluster in a non-global zone?

    How do I install a SUN cluster in a non-global zone? If it is the same as installing SUN Cluster in the global zone, then how do I access the cdrom from a non-global zone to the global zone?
    Please point me to some docs or urls if there are any. Thanks in advance!

    You don't really install the cluster software on zones. You have to set up a zone cluster once you have configured the Global Zone cluster (or in other words, clustered the physical systems + OS).
    http://blogs.sun.com/SC/entry/zone_clusters

  • How to install JDK6 and Netbeans 6 in a non-global zone?

    Hi,
    I have a Solaris system where I want to deploy separate containers for several developers.
    I'm having difficulty in installing JDK 6 and Netbeans 6, I get lots of missing package errors in non-global zone.
    What would be the best approach for installing jdk 6 + netbeans 6 seperately for each developer?
    Thanks in advance.

    Hi
    It depends how you have created your zone, what has been inherited from the global:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    But if you only want a jdk and netbeans, there is no really dependencies the simplest approach si to download the not packaged version and put it in /opt which is not inherited
    You just have to put a jdk in /opt/jdk1.6.0... and netbeans in /opt/netbeans-6.0..
    Don't really understand why you want a separate zone, one zone, several accounts which share the same jdk and netbeans, that's the way unix work ;)

  • How to install Oracle 10g on Solaris 10 non-global zone.

    Hi,
    I want to install Oracle 10g on Solaris non global zone with ASM.
    I need complete doc for doing the same.
    REgards
    S.Ali

    Check Oracle® Database Installation Guide 10g Release 2 (10.2) for Solaris Operating System.

  • Adding a cdrw to a non-global zone

    Hi all,
    I am attempting to add a cdrw on a laptop running Solaris 10 to a
    non-global zone via the following (after browsing the archives of this
    list as well as related forums and documentation):
    "cdrw -l" when run in the global zone reports
    "/dev/rdsk/c1t0d0s2" as the sole CD writer attached. I have previously
    burnt cdr(s) using this, so the functionality of the drive is not an issue.
    I then proceeded to configure a zone, "zulu01", and added a device via
    the following using zonecfg (I have omitted the other configuration data
    which is standard, root path, standard inherit-pkg-dir)
    "add device"
    "set match=/dev/rdsk/*"
    "end"
    "commit"
    "verify"
    I then installed the zone
    "zoneadm -z zulu01 install"
    zoneadm does the usual and reports success.
    I boot the zone
    "zoneadm -z zulu01 boot"
    and login via "zlogin -C zulu01"
    Inside zulu01, running "cdrw -l"
    reports "No CD Writers found."
    a "ls /dev/rdsk" shows that c1t0d0s2 is present.
    I am aware that adding such a device is not recommended, but it is
    supposedly possible?
    Please advise on what I am doing wrong, or is it not possible to add a
    cdrw to a non-local zone?
    Thanks in advance.
    Regards,
    Jeremy.

    This should work. A shot in the dark: can you try with another tool than cdrw, cdrecord for example? Also make sure that volume management is not running in the global zone (/etc/init.d/volmgt stop).
    Blaise

  • Help Required: Moving a Non Global Zone . . .

    I am trying to move a non global zone using Solaris 10 6/06 . . .
    # zoneadm -z testzone move /zones/newpath/testzone/
    this happens . . .
    usage: zoneadm help
    zoneadm [-z <zone>] list
    zoneadm -z <zone> <subcommand>
    Subcommands:
    help
    boot [-s]
    halt
    ready
    reboot
    list [-cipv]
    verify
    install
    uninstall [-F]
    i.e. there is no 'move' subcommand ???
    however this document talks about moving non global zones with the 'move' subcommand . . .
    http://docs.sun.com/app/docs/doc/819-2450/6n4o5mdg1?a=view
    any ideas?
    thank you.

    If you look closely at the document. You'll notice the solaris express in the document path.
    That functionality is scheduled for Solaris 10 11/6 aka sol10u3.

Maybe you are looking for

  • F110-proposal

    Hi all, we are using ECC 6.0 version. I have configured for the app and trying to run the app program. 1) I have entered parameters 2) i have clicked on proposal then i got below mentioned message. Proposal has been released 29.01.08 17:09:02 actuall

  • Cannot copy Steve Jobs' keynote onto iPod!

    I managed to download the keynote (over an hour of video) onto my iTunes on my computer but when I tried to syn my iPod and transfer the video onto the iPod, there's an error message: "iPhone (i.e. the video) was not copied to the iPod because it can

  • How to avoid E(Exponential) in large decimal numbers?

    Large Numbers like 999999999999999998.77 end up being rounded up to higher value or shown in Exponential format like 99E1445 etc. What needs to be done to retrive the same value as assigned above?

  • Product Licensing Problem

    I've installed Photoshop Elements 9 and used it for a while, but now its saying that "a problem has occured with the licensing of this product. Please restart your computer and re-launch the product." I've done all that, however it still will not wor

  • Porting to Carbon, Lock/UnlockPortBits and Lock/UnlockPixels

    I am porting an OS 9 app to Carbon and then Mac OS X. In the original source, I might have something like: GetGWorld (&currPort,&currDev); SetGWorld (mGridPictGW->gw, nil); LockPixels ((mGridPictGW->gw)->portPixMap); // do some drawing here SetGWorld