Inter-zone IPC in solaris 10

Hi,
I want to do IPC between inter-zones ( commnication between processes running two different zones). So what are the different techniques can be used. I am not interested in TCP/IP ( AF_INET) sockets.
Please suggest the different possible solutions.
I thought of a two solutions.
1. create a directory in a global zone and remount it in read-write mode using lofs file system in non-global zone.
2. unix domain socket
Is above solution possible??
Thanks,
Sanjay

This particular forum is for issues with applications, daemons
and applets that provide reports to you about a system state or condition.
Sun Remote Servies and Net Connect, are some of those reporting services
that you would subscribe to from Sun Support.
This is NOT a forum for you to report about an issue.
None of your postings, thus far, are within the scope of this particular forum.
For example, this latest thread would be better suited in the forum for Solaris Zones.
Put some planning into your posts and place each one into its appropriate place.

Similar Messages

  • How do I get from Branded Zones to "real" Solaris 10 Zones?

    My head is beginning to spin! I am beginning to think I have been led down a blind alley.
    We have vast numbers of old Solaris 8 systems that we want to consolidate on new hardware in Solaris 10 Zones. We have been bombarded with advice that the way to go is to move it first to Branded Zones, as a stepping stone, and then migrate/upgrade it from there to Solaris 10. So we have started on our journey.
    We now have our first bunch of Solaris 8 containers happily installed and running. And yes, it was relatively easy and painless, and the tool support was good. But now what? What are the steps and tools that will make the second step, from Solaris 8 to Solaris 10?
    Everything out there hints that it is supposed to be easy. But every time I try and spec out the steps for our teams to follow I come unstuck. Does Live Upgrade feature in this anywhere? (And if so, at what point does my zone lose its Brand identity?) Is there some way to use archives? (And if so, how do I only include the bits I need to move?) Is there something magic under the covers of the Zone administration commands? (And if so, what pulls in my Solaris 8 stuff?) Is there at least some tool somewhere that will capture the configuration I need and build me a new one?
    If the answer is that I just define the new Zone by hand and re-install all my applications from scratch, then can somebody explain just what I have achieved so far, and in what way it can be construed as a "stepping stone"?

    Correct. But we have now invested in the time taken to learn about Branded Zones, do the migrations, teach the support teams how to manage them... Plus we are paying the subscription for the Branded Zone software. And we still have pure Solaris 8 applications staring end-of-support in the face. We could have made the same investment to re-install the applications in a real Solaris 10 Zone and make them work "properly". All the publicity tells me I've made my migration to Solaris 10 much easier, but I still can't see how I'm any nearer my end point.Here's where your losing it. There is no real distinction between what you call a normal Solaris 10 zone and a Solaris Branded 8 zone. They could have called it something else and you would still insist that somehow one is normal and one is not. There are a variety of Branded Zones. There's a Solaris 8, Solaris 9, and Linux Branded Zones. They differ from what you call "normal" zones in that you basically are adding an OS to the Base OS and are not just copying files from the Base OS. That's the only difference. In all other respects they are the same. The only differentiators is for a Branded Zone you are adding the files from some other OS, even if it's just an earlier version of Solaris.
    How do you migrate from a Solaris 8 zone to a Solaris 10 zone. The same way that you moved from the Solaris 8 physical box to the Solaris 8 branded zone. The steps should be the same. Implicite_Order pretty much said the same thing.
    You seem to have a hang up on the words "normal zone." Yea I know, you've spent time and money and educated everyone and now your looking for the payoff. As I already stated and has been echoed by I_O, contact the vendor to see if they have Solaris 10 support, if they do, create a zone on a dev box, do some testing, and then create the zone on the real box, do the install, migrate the data. Just as you already did from the Solaris 8 box. If they don't have a Solaris 10 specific version you can still setup a test box, create a "normal" zone, install the app and some test data, make sure it works, and then create the "normal" zone, install the app, migrate the data, and relax.
    alan

  • IPIPGW and Inter-Zone calls using NetMeeting

    I'm using Netmeeting to test inter-zone calls through an IPIPGW. The IPIPGW registered in the zone0-gk zone should be used to establish the calls between zones.
    I have two local zones, zone1 and zone2 and I'm using NetMeeting to test basic connectivity, with one endpoint (1000) registered in zone1 and another (2000) in zone2.
    When a call is placed from 1000 to 2000 a call arrives at 2000 from the ipipgw. When this is accepted, another call arrived from the endpoint itself. (The same occurs in the opposite direction).
    I'm not sure whether this is a configuration error with the IPIPGW/GK or a feature of NetMeeting.
    voice service voip
    allow-connections h323 to h323
    h323
    interface Loopback0
    description IPIPGW/GK Source Interface
    ip address 10.0.0.10 255.255.255.255
    h323-gateway voip interface
    h323-gateway voip id zone0-gk ipaddr 10.0.0.10 1719
    h323-gateway voip h323-id ipipgw
    h323-gateway voip bind srcaddr 10.0.0.10
    interface FastEthernet0/0
    ip address 192.168.0.100 255.255.255.0
    ip route-cache same-interface
    duplex auto
    speed auto
    dial-peer voice 1 voip
    destination-pattern 2...
    session target ras
    codec transparent
    dial-peer voice 2 voip
    destination-pattern 1...
    session target ras
    codec transparent
    gateway
    timer receive-rtp 1200
    gatekeeper
    zone local zone0-gk test.com 10.0.0.10 invia zone0-gk outvia zone0-gk
    zone local zone1 test.com invia zone0-gk outvia zone0-gk
    zone local zone2 test.com invia zone0-gk outvia zone0-gk
    no zone subnet zone1 default enable
    zone subnet zone1 192.168.0.14/32 enable
    no zone subnet zone2 default enable
    zone subnet zone2 192.168.0.18/32 enable
    zone prefix zone1 1...
    zone prefix zone2 2...
    no use-proxy zone1 default inbound-to terminal
    no use-proxy zone1 default outbound-from terminal
    no use-proxy zone2 default inbound-to terminal
    no use-proxy zone2 default outbound-from terminal
    no shutdown

    I have since tried this using OpenPhone instead of NetMeeting (just in case this was a NetMeeting issue, but I am still unable to use the IPIPGW to get up a video call between two local zones.
    One OpenPhone believes it is transmitting video data, and the other believes it is receiving video data, but the receiving OpenPhone doesn't display the video (which is consistent with the behaviour observed with NetMeeting). The audio is working.
    The output of "show call active video" shows the inbound and outbound audio legs, but only the outbound video leg, not the inbound leg:
    Outgoing Channel Number = 259
    Type = VIDEO
    TX Bandwidth = 8250
    RemotePort = 49590
    LocalPort = 17538
    SelectedQos = best-effort
    Incoming Channel Number = 258
    Type = AUDIO
    RX Bandwidth = 63
    RemotePort = 49592
    LocalPort = 16766
    SelectedQos = best-effort
    Outgoing Channel Number = 258
    Type = AUDIO
    TX Bandwidth = 640
    RemotePort = 49592
    LocalPort = 16766
    SelectedQos = best-effort
    Examples on CCO show configurations for using the IPIPGW between an endpoint in a local zone and a remote zone endpoint. I'm unable to find any examples of the use of IPIPGW to set up a call between endpoints in local zones.

  • Problem with zone installation on solaris 08/07

    Hello :)
    I need some help
    I install solaris 10 08/07 on my x2100 M2.Everything is ok.
    Then I try to install non-global zone named web-zone with the following commands:
    # mkdir /export/web-zone
    # chmod 700 /export/web-zone
    # zonecfg -z web-zone
    web-zone: No such zone configured
    Use 'create' to begin configuring a new zone.
    zonecfg:web-zone> create
    zonecfg:web-zone> set autoboot=true
    zonecfg:web-zone> set zonepath=/export/web-zone
    zonecfg:web-zone> add net
    zonecfg:web-zone:net> set address=192.168.0.3
    zonecfg:web-zone:net> set physical=bge1
    zonecfg:web-zone:net> end
    zonecfg:web-zone> info
    zonepath: /export/web-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.0.3
    physical: bge1
    zonecfg:web-zone> verify
    zonecfg:web-zone> commit
    zonecfg:web-zone> exit
    # zoneadm -z web-zone verify
    # zoneadm -z web-zone install
    # zoneadm list -cv
    # zoneadm -z web-zone boot
    When I zlogin into zone configuration stack with:
    Fatal internal error: prompt_error called before prompt_open!
    The IP address previously set on the network interface
    is no longer available. The system state is corrupted. System identification
    can no longer continue.
    Press Return to continue
    And that�s it :)
    On interface bge1 I have 2 ip addresses, one for management processor (192.168.0.254) and one for global zone (192.168.0.2)
    The output from ifconfig �a is :
    # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    zone web-zone
    inet 127.0.0.1 netmask ff000000
    bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255
    ether 0:1b:24:5:4f:6f
    bge1:1: flags=4001000842<BROADCAST,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 2
    zone web-zone
    inet 192.168.0.3 netmask ffffff00 broadcast 192.168.0.255
    Any Ideas ?? :)
    Thaks
    pp Sory for my baad english :)

    Hi
    Thank you for replay
    This is happened exactly when I zlogin for first time to complete installation.
    The installation procedure flow flawless.I set terminal type 13 (dt terminal) and everything is OK, but when I try to setup hostname I�ve got this error.
    I try this with 3 different zones on this machine with same result
    I have old x86 machines with solaris 11/06 zones installed , everything works fine (1 year uptime)
    This is not the first zone in my life :)
    Best Regards
    DJ JAM

  • Problem with zone creation in Solaris 10 6/06

    Hi,
    I have configured and installed a non-global zone following the example given in the guide http//www.sun.com/software/solaris/howtoguides/posgresqlhowto.jsp. My zone has the following configuration:
    # zonecfg -z pg_zone
    zonecfg:pg_zone> info
    zonepath: /export/zones/pg_zone
    autoboot: true
    pool:
    fs:
    dir: /pg_log
    special: /dev/dsk/c1d0s0
    raw: /dev/rdsk/c1d0s0
    type: ufs
    options: []
    net:
    address: 192.168.10.100/24
    physical: bge0
    zonecfg:pg_zone> exit
    The installation completed but I got the following errors:
    # zoneadm -z pg_zone install
    Preparing to install zone <pg_zone>.
    Creating list of files to copy from the global zone.
    Copying <130101> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    Preparing to initialize <1059> packages on the zone.
    Initialized <1059> packages on zone.
    Zone <pg_zone> is initialized.
    Installation of these packages generated errors: <SUNWgnome-a11y-libs-share>
    Installation of <63> packages was skipped.
    The file </export/zones/pg_zone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
    When examined the logs there were several messages like this:
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWamutl> was not installed:
    The package <SUNWamutl> is registered to be installed in the
    global zone only. The package may have been installed in the global
    zone using the pkgadd '-G' option, or the package may contain a
    request script, or the package may directly set the package attribute
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWiimdv> was not installed:
    The package <SUNWiimdv> is either not fully installed in the
    global zone, or the package contains a request script. Only packages
    that are fully installed in the global zone and that do not contain a
    request script can be installed when a new zone is created. If this
    package does not contain a request script, you can correct this
    problem by removing and reinstalling the package in the global zone.
    And when I try to boot the zone I get this error:
    # zoneadm -z pg_zone boot
    zoneadm: zone 'pg_zone': "/usr/lib/fs/lofs/mount -o zonedevfs /export/zones/pg_zone/dev /export/zones/pg_zone/root/dev" failed with exit code 33
    zoneadm: zone 'pg_zone': call to zoneadmd failed
    Any suggestion how to solve this problem?
    thanks

    To answer your question wangzh: Yes I did. I actually followed exactly the procedure on the how-to-uides: http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp.
    I think the problem here might reside in the script supplied in the solaris distribution for creating zones. For example, in the default configuration script, the package directories /lib /platform /var and /usr are by default set to be automatically imported. But when I try to create a zone using these defaults settings, it ends up with an mounting error that prevents the installation of the zone. only when I remove manually those directories from the configuration then the installation continues.
    And during the installation process there are number of packages that are by default imported via the installation script and this is some of those packages that cause the errors here. I also tried to exclude the offending packages as suggested by henryC but I couldn't find all of them and the creation still fails at the booting.

  • Zone setup in solaris 10 some problem and doubts

    Hi Experts
    I have small problem and doubt
    If i login to global zone ... "zlogin -C -e @ testzone" how to logout from global zone......
    testzone# when i press exit button it is comeing to zone login prompt
    zone1 console login: @ ( from Zone login prompt i want to come
    back to my normal solaris prompt i tried with pressing "shift+@ "
    nothing is happening could you please tell me how to come out from zonelogin prompt ................
    one more query after installation we are using " zlogin -C -e testzone "
    is it rquire this same login commmand we have to use every time or only one time after installation of zone. we can use
    "zlogin testzone " also what is difrrent these two... if you use " zlogin -C -e testzone " then only it will prompt for locale and language settings......
    i have seen it is asking for locale setting and language ...... and it is asking only one time but if you use "zlogin testzone" it won't ask any such seetings......( only one time it will ask after the zone configuration)
    Thanks
    RK

    This particular forum is for issues with applications, daemons
    and applets that provide reports to you about a system state or condition.
    Sun Remote Servies and Net Connect, are some of those reporting services
    that you would subscribe to from Sun Support.
    This is NOT a forum for you to report about an issue.
    None of your postings, thus far, are within the scope of this particular forum.
    For example, this latest thread would be better suited in the forum for Solaris Zones.
    Put some planning into your posts and place each one into its appropriate place.

  • New Zones features in Solaris 10 Beta 5

    Solaris 10 Beta 5 (otherwise known as Software Express 7/04) should be
    available shortly via the download link
    http://wwws.sun.com/software/solaris/solaris-express/get.html
    For more information on what's available in the release, please see the
    already posted documentation
    http://docs.sun.com/db/doc/817-0547
    There are some new Zones features in this release that folks might be
    interested in
    * Command line editing and history for zonecfg(1M)
    With support from the the libtecla(3LIB) library, zonecfg(1M) now has
    command line editing and history support which should help in creating
    and/or modifying a zone's configuration.
    * Configuring UFS, UDFS, HSFS and PCFS file systems through zonecfg(1M)
    Starting with this release, users can specify ufs, udfs(7FS), hsfs(7FS)
    and pcfs(7D) file systems as part of the zone's configuration. For
    example, if /dev/dsk/c0t0d0s7 is a block device that you want to
    dedicate to a zone under the name /mydata, it can be added as follows:
    # zonecfg -z myzone
    zonecfg:myzone> add fs
    zonecfg:myzone:fs> set dir=/mydata
    zonecfg:myzone:fs> set special=/dev/dsk/c0t0d0s7
    zonecfg:myzone:fs> set raw=/dev/rdsk/c0t0d0s7
    zonecfg:myzone:fs> set type=ufs
    zonecfg:myzone:fs> end
    zonecfg:myzone> commit
    zonecfg:myzone> ^D
    This file system will automatically get mounted under the name /mydata
    inside the zone when it is booted or made "ready".
    * NFSv4 client support for Zones
    Zones can now be NFSv4 clients although in this release the default is
    to begin negotiating as NFSv3 clients. To configure a zone to
    negotiate NFSv4, the NFS_CLIENT_VERSMAX parameter in /etc/default/nfs
    should be uncommented and set to "4".
    * The new -z and -Z options to ps(1)
    The new -z option can be used to select only processes in the given
    list of zones. For example, the command "ps -z twilight,16,myzone"
    will print those processes from the zones with the names "twilight",
    "myzone" and the zoneid 16.
    The -Z option automatically adds a ZONE field to the existing reports
    as the first column.
    The Zones team would appreciate hearing feedback from our customers on
    these new features and any other Zones issues or questions that you
    might have.

    In the README file for the 07/04 release it says that there's a problem with some 64bit runtime libraries missing from the SUNWlibC package. I'm a bit unsure about where to download this package from. Do you have the link to the page it is refering too???

  • Network access from local zones on a Solaris 10 router

    I'm kind of stuck at an interesting problem.
    I have a Solaris 10u6 system which is itself a router between a number of networks.
    It has several dozen routes to different networks via different next-hop gateways,
    just one of which is a default route to the ISP to internet.
    I thought of setting up local zones to securely run infrastructure services (BIND,
    Squid, Mail relay) on this machine, with only a single dedicated public IP address
    (from our delegated address space) per such zone. Zones use a shared-IP stack
    on one of the machine's VLAN interfaces (the LAN part with public IP addresses).
    The problem is - since this machine is the gateway for the subnet used for the
    local zones, they don't inherit any default route. The one default we have to the
    ISP is on another interface's subnet.
    [root@ns8 /]# netstat -rn | grep default
    [root@ns8 /]# netstat -rn | wc -l
    50
    On a side note, these zones do inherit dozens of other routes (50 above) with
    next-hop routers not on the local zone's subnet - so these are also not accessible.
    I think such useless routes should also be filtered away - as "mismatching" default
    routes are.
    Due to all this the zone has no networking outside its subnet/mask: it doesn't
    even try to send anything, since there is not a single route with a matching next
    hop router, i.e.
    [root@ns8 /]# traceroute -nI 194.87.0.50
    traceroute to 194.87.0.50 (194.87.0.50), 30 hops max, 40 byte packets
    1 xx.yy.zz.8 0.102 ms !H 0.032 ms !H 0.027 ms !H
    To reiterate, this setup is different from that of the numerous replays of "How to
    set up internet for zones with virtual IP addresses?"
    That recipe suggests to add a fake router and maintain its ARP address to be
    that of the real default gateway, and set up NAT to rewrite private IP addresses
    to the global zone's public IP. While I've also used the recipe a number of times,
    it does not seem feasible in this router's case - there are too many next-hop
    routers (and learned with a dynamic routing protocol), not just one default-gw.
    I can of course go back to running services in the global zone and binding them
    to these dedicated public IP addresses via configuration files - and this works
    since the global zone has access to any needed routers having IP addresses
    in relevant subnets - but I hoped to secure the system a bit more and separate
    routing from infrastructure tasks...
    So the question is: how can I set up networking for local zones in this case
    when they are running on a router? Is it possible?
    Thanks,
    //Jim

    You can set the Airport Extreme in "Bridge" mode, and then it will just extend the existing subnet.
    Airport Utility -> Airport Extreme -> Internet -> Connection Sharing -> Off (bridge mode)

  • "ZONE" question of  Solaris 10

    Hi,
    Recently i'm reading the administrator guide of solaris 10, I found the new concept of virtual server is "ZONE" in sol10. But I don't understand what different is it which compared by "vPartition" of HP and
    " DLPAR" of IBM.
    Who can help me to explain these different items of such ones??
    Thanks advance,
    Regards,
    Denis
    PS: Maybe this post is placed at wrong place. ;-))

    xdeluo wrote:
    Hi,
    Recently i'm reading the administrator guide of solaris 10, I found the new concept of virtual server is "ZONE" in sol10. But I don't understand what different is it which compared by "vPartition" of HP and
    " DLPAR" of IBM.
    Who can help me to explain these different items of such ones??
    Thanks advance,
    Regards,
    Denis
    PS: Maybe this post is placed at wrong place. ;-))
    IBMs LPAR and DLPAR technology are ways of carving the physical hardware up into subsystems. Each "subsystem" is an entirely independent OS and that means you end up having N full copies of the OS installed that you have to maintain.
    I don't have familiarity with HPs vPartition to give you any useful feedback on this.
    Zones are a different path altogether. The global zone is the master and each local zone can either share the OS (shared root) or have its own OS (whole root). The IP stack can be independent or shared between the GZ and the LZ. The beauty is that the zone itself has minimal overhead and some applications might run faster in a zone than outside of it.
    The gz can see all of its local zones.
    IBM has WPAR technology. On the surface it looks like it might be very similar to zones.
    Cheers,

  • Any simple command to query the zone ID on Solaris 10?

    Hello,
    As we know, the APIs in zone.h can be used in C/C++ codes to get the ID of a zone on Solaris 10. The other commands like ps can also show the zone ID together with other information:
    # ps -o zoneid
    ZONEID
    0
    0
    However, does anyone know if there is a simple system command which can be easily used in shell script to find the zone id for the current system?
    There is the command "zonename" and I really hope to have the command like "zoneid" which can give zone ID for the current zone (global or non-global). If there is no such a tool from Solaris, I can easily create one with the APIs or parse the output from "ps -o zoneid". However, I like to check with the experts here in case I missed some command which can do this simple task:-)
    I expect the command simply return the zone id like:
    #zoneid
    0
    Thanks and Regards
    Frank

    Hello,
    Thanks for your reply. The zoneadm command shows the IDs of all zones. I try to find a command which can simply display the ID number for the current zone where the command is run. Any more hints?
    Frank

  • Q:Creating Solaris 11.1 zone inside Solaris 11.1 LDOM fails

    Hello,
    I have a server where I've created a LDOM and I'd like to create zones inside that LDOMs and it isn't working at all for me. If I try to create a zone outside of my LDOM it works perfectly fine. What am I missing here?
    Control domain: host-22
    LDOM hostname is host-40.
    Zone name is wls-zone.
    OS: Solaris 11.1
    Server: T5220Some information from the SP:
    ============================ FW Version ============================
    Version
    Sun System Firmware 7.4.4.f 2012/09/07 17:21
    ====================== System PROM revisions =======================
    Version
    OBP 4.33.6.a 2012/03/29 11:22I am trying this when I am creating the zone and I get an error message when I am trying to boot the zone, which I don't know the solution or how to debug. AFAIK, in Solaris 11.1, the VNIC should be created automatically when creating the zone (as it does on a bare metal machine without LDOMs)?
    root@host-40:~# zoneadm -z wls-zone boot
    zone 'wls-zone': failed to create vnic for net0: operation failed
    zoneadm: zone 'wls-zone': call to zoneadmd failedThe zone is very simple:
    root@host-40:~# zonecfg -z wls-zone info
    zonename: wls-zone
    zonepath: /rpool/zones/wls-zone
    brand: solaris
    autoboot: true
    bootargs: -m verbose
    file-mac-profile:
    pool:
    limitpriv:
    scheduling-class:
    ip-type: exclusive
    hostid:
    fs-allowed:
    anet:
         linkname: net0
         lower-link: auto
         allowed-address not specified
         configure-allowed-address: true
         defrouter not specified
         allowed-dhcp-cids not specified
         link-protection: mac-nospoof
         mac-address: random
         mac-prefix not specified
         mac-slot not specified
         vlan-id not specified
         priority not specified
         rxrings not specified
         txrings not specified
         mtu not specified
         maxbw not specified
         rxfanout not specified
         vsi-typeid not specified
         vsi-vers not specified
         vsi-mgrid not specified
         etsbw-lcl not specified
         cos not specified
         pkey not specified
         linkmode not specifiedSome more information executed inside the LDOM:
    root@host-40:~# dladm show-phys
    LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
    net0              Ethernet             up         0      unknown   vnet0
    root@host-40:~# dladm show-link
    LINK                CLASS     MTU    STATE    OVER
    net0                phys      1500   up       --And even more information from the control domain (host-22):
    root@host-22:~# ldm list-services
    VCC
        NAME             LDOM             PORT-RANGE
        primary-vcc0     primary          5000-5100
    VSW
        NAME             LDOM             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE   INTER-VNET-LINK
        primary-vsw0     primary          00:14:4f:fb:93:c6 net0      0    switch@0              1               1                         1500         on        
        primary-vsw1     primary          00:14:4f:f8:bb:62 net1      1    switch@1              1               1                         1500         on        
    VDS
        NAME             LDOM             VOLUME         OPTIONS          MPGROUP        DEVICE
        primary-vds0     primary          vol1                                           /dev/zvol/dsk/dpool/ldoms/ldmdev/disk_image
                                          vol2                                           /dev/zvol/dsk/dpool/ldoms/ldmprod/disk_image
    root@host-22:~# dladm show-phys
    LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
    net1              Ethernet             up         1000   full      e1000g1
    net2              Ethernet             unknown    0      unknown   e1000g2
    net0              Ethernet             up         1000   full      e1000g0
    net3              Ethernet             unknown    0      unknown   e1000g3
    net4              Ethernet             up         1000   full      vsw0
    net5              Ethernet             up         1000   full      vsw1Any ideas what could be wrong?
    Thanks,
    Andy
    Edited by: A Tael on Nov 13, 2012 9:54 PM

    To use a Solaris 11 zone with an exclusive IP based on a VNIC, you need to be at a recent SRU of Solaris 11.1 and run a recent version of the logical domains manager  (3.0.0.2 or later) - and then configure the virtual network device to have additional MAC addresses. Please have a look at https://blogs.oracle.com/jsavit/entry/vnics_on_vnets_now_available
    regards, Jeff

  • Solaris 8 Container in Solaris 10 Zone

    Hi All,
    one of our customers wants to run Solaris 8 with Oracle 8.1.7 in a BrandZ Zone. Does anybody have an idea about how stable Solaris 8 is in a Zone environment? Are there any known issues with Solaris 8 running in a Zone?
    Since Solaris 8 is EndOfShipment, are there chances to get up-to-date Sun Hardware bundled with Solaris 8 apart of using Solaris 10 Zones?
    Thanks in Advace,
    Dog

    i didnt however i wasnt hammering it. if the load was expected to be high i would have done the io layout diff (try and follow some of oracles ideas: SAME for one, if possible).
    some depends on the load and the load from the other zones. you can use allocate resource limits to give more priority to more important zones or make sure you have enough resources to start. what type of load are you expecting?

  • Problem with Java in solaris 10 zone

    HI ,
    i get this error message in my solaris 10 zone :
    #./java version
    Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /BUILD_AREA/jdk1.5.0_11/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?
    in global zone , java works fine !
    uname -a
    SunOS Server 5.10 Generic_141414-07 sun4u sparc SUNW,SPARC-Enterprise
    best regards

    I see mention of a similar problem, but only with early development releases of solaris10 branded zones running on Solaris 11 development bits. It seems as though this is not what you are running.
    Since there are no swap caps nor brand emulation in place, the next thing I would suspect would be that you somehow have inconsistencies between key libraries (e.g. libc) and the kernel. This could happen if you have a full-root zone that has been force attached (zoneadm -z <zone> attach -F). In the past, I've seen products that do this under the covers (e.g. Veritas Cluster) so it may have happened without your knowledge. If it is a sparse root zone, you may want to run "zoneadm -z <zone> detach; zoneadm -z <zone> attach -u". Prior to doing so, take whatever precautions you would normally take when patching a system.
    If you open a support call about this I bet the first advice you are going to get is to patch, as you seem to be 2+ years behind. Also, newer releases of Java 5 are available at http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html.

  • Solaris 10 Zone for Solaris 11.1 creation with template fails.

    Hi,
    We are trying to use the Oracle VM Template for Oracle Solaris 10 Zone to create a solaris 10 zone on a solaris 11.1 GZ
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -v
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    Version: 1.0.9.12
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -p /rpool -a 10.83.128.35/24 -i net6 -z testzone
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    IMAGE: ./solaris-10u11-sparc
    ZONE: testzone
    ZONEPATH: /rpool/testzone
    VNIC: vnicZBI83273795
    IP ADDR: 10.83.128.35
    NETMASK: 255.255.255.0
    DEFROUTER: 10.83.128.1
    TIMEZONE: Europe/Copenhagen
    Checking disk-space for extraction
    Ok
    Extracting in /opt/scripts/bootimage.8Ham6r ...
    100% [===============================>]
    Checking data integrity
    Ok
    Checking platform compatibility
    The host and the image do not have the same Solaris release:
    host Solaris release: 5.11
    image Solaris release: 5.10
    Will create a Solaris 10 branded zone.
    Checking disk-space for installation
    Ok
    Installing in /rpool/testzone ...
    100% [===============================>]
    Attaching testzone
    Problem attaching testzone.
    More details in /var/sadm/install/logs/solaris-10u11-sparc.log
    Cleaning up and exiting.
    Friday, May 10, 2013 03:18:01 PM CEST: cleaning up
    root@exsolh0005:/opt/scripts#
    root@exsolh0005:/opt/scripts# cat /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] ==== Starting: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    [Friday, May 10, 2013 03:17:56 PM CEST] Progress being logged to /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:17:56 PM CEST] Log File: /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:57 PM CEST] Converting detached zone boot environment 'zbe'.
    [Friday, May 10, 2013 03:17:57 PM CEST] Unmounting /rpool/testzone/root
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property zoned=on on rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property canmount=noauto on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property mountpoint=legacy on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Mounting boot environment in rpool/testzone/rpool/ROOT/zbe-0 at /rpool/testzone/root (including child datasets)
    cannot open 'ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1': invalid dataset name
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: refresh of ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1 failed
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: Error: rpool/testzone/rpool/ROOT/zbe-0: No such dataset.
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:18:01 PM CEST] Result: Attach Failed.
    [Friday, May 10, 2013 03:18:01 PM CEST] Exiting with exit code 254
    [Friday, May 10, 2013 03:18:01 PM CEST] ==== Completed: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    Looks like a script bug..
    Regards
    Claus

    Hello All,
    I would love to know if someone has a solution to this as I am seeing a similar issue with a slightly different setup.
    Solaris 8 and Netra 240. I get the same result with and without patches and finish scripts. After the jumpstart and the failed boot attempt from disk. I can boot from cd, copy the glm driver from the cd to disk, and then everything works as it should. Obviously this is not a solution but only a work around.
    Is it something to do with the SCSI hardware architecture used in the *240s?
    Edited by: Gareth_Mann on Oct 2, 2007 7:41 PM

  • Reinstall zones (solaris 8 container)

    Hi
    I have to restore 2 zones, because originally the zones are stored on a ZFS filesystem i've did the backup with the zfsdump scripts.
    I'm able to restore the ZFS filesystems but that leaves me with the problem of reconfiguring the zones.
    how do i configure and reinstall these zones?, the original flash archive used to setup these zones is missing.
    would it be possible to use the following procedure
    1) restore the zfs filesystemen
    2) clone the latest snapshot and mount it.
    3) create an archive from the mounted snapshot to use as the install media for the zone
    the second option i can think of is
    1 ) create a standard solaris 8 zone with the solaris 8 image you can download from Sun
    2) Copy the files from the mounted clone to the new zone
    3) boot the zone
    I'm hoping someone could guide me in the right direction
    Regards,

    I just managed to restore a zfs filesystem with a solaris 8 container on it using the steps below.
    I'm curious if i got it right or if there is another more obvious way as i have only a little experience and hands on time with the zfs filesystem.
    bash-3.00# zfsrestored.sh -z storage/z-chili
    storage/z-chili is restored from /nsr/storage_z-chili.20081206.
    bash-3.00#
    bash-3.00# zfs clone storage/z-chili@20081206 storage/z-chili/restored
    bash-3.00# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    storage 85.9G 48.0G 24.5K legacy
    storage/data 69.7G 48.0G 69.7G /data
    storage/z-chili 7.61G 48.0G 7.61G legacy
    storage/z-chili@20081206 0 - 7.61G -
    storage/z-chili/restored 0 48.0G 7.61G legacy
    storage/z-polen 4.26G 48.0G 4.26G legacy
    storage/z-polen@20081211 832K - 4.26G -
    storage/zones 4.32G 48.0G 4.32G /export/zones/
    bash-3.00#
    zfs set mountpoint=/mnt/restore storage/z-chili/restored
    bash-3.00# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    storage 85.9G 48.0G 24.5K legacy
    storage/data 69.7G 48.0G 69.7G /data
    storage/z-chili 7.61G 48.0G 7.61G legacy
    storage/z-chili@20081206 0 - 7.61G -
    storage/z-chili/restored 0 48.0G 7.61G /mnt/restore
    storage/z-polen 4.26G 48.0G 4.26G legacy
    storage/z-polen@20081211 832K - 4.26G -
    storage/zones 4.32G 48.0G 4.32G /export/zones/
    bash-3.00# flar create -n zchili -R /mnt/restore/root/ /data/z-chili-restored.flar
    Full Flash
    Checking integrity...
    Integrity OK.
    Running precreation scripts...
    Precreation scripts done.
    Determining the size of the archive...
    and i've used the flar image to install the zone.
    apart from some file/dir permission rights this worked and i got the zone and webservers up and running.

Maybe you are looking for

  • How to export keynote to imovie

    I did an animated presentation in keynote, and want to sync an audio that I made in garage band. But now that I've finally gotten the timing right in keynote, I can't export it directly to imovie!  I only saw choices to export it as a QuickTime movie

  • Selecting a row in the output of alv grid

    hi, how do i select a row in the output of alv grid?plz help... regards, sheeba.

  • TS3212 I cannot download itunes

    I just bought the Iphone 5. I tried to install it and itunes told me I must download itunes 10.7 from www.itunes.com/download . when I tried this I was told there was invalid signature files and it would not allow me proceed. I then tried to download

  • Mountain Lion won't connect to WPA-Enterprise

    Configuration: Macbook Pro (8,2) running OS X 10.8.3. My office's "IT Guy" changed our Wifi network recently, with the surprise side effect that the Mac users are now offline, including me.  The odd thing is that my iPhone connects very nicely, as do

  • MobileMe, iCloud and Macbook Core Duo

    My gf has a macbook intel core duo, so we can't go higher than OS X.6 but OS X.7 is required for free iCloud.  I have an iPhone 3G which can go no further than iOS 4 and she has an iPhone 3GS which is on iOS5. We have MobileMe which is soon to become