Sharing directories READ/WRITE from Global Zone

I would appreciate some advice on the configuration of a machine in a client's environment.
I have a global zone on a v880 running Solaris 10, with 4 sub zones. The v880 has 2 A1000's connected to it.
One A1000 is mounted as /storage0, and the other as /storage1, with both having subdirectories called "zone1" "zone2" "zone3" and "zone4".
There is a requirement to have the /storage0/zoneX directories mounted READ/WRITE onto the appropriate zone as /data/rawdata, and the /storage1/zoneX directories mounted READ/WRITE onto the appropriate zone as /data/processeddata.
My client's environment where my hardware is located runs DHCP to assign IP addresses (and the DHCP server is non-Solaris).
My global zone has picked up an IP address over DHCP with no problem - I only had to modify /etc/nodename and /etc/hosts to ensure that the domain had its own name (i.e. it was not named "unknown".
In order to mount the filesystems READ/WRITE on the sub-zones, I thought there were 2 ways to proceed.
1) Give each subzone an IP address, NFS share the directories to be mounted, and mount them on each sub-zone as READ/WRITE....
HOWEVER, as stated, the client is on DHCP, and zonecfg seems to only allow us to set a static address. Is there a way to configure zones to pick up their IP addresses from a DHCP server?
ALSO - if I went down this route, would I have a massive overhead on NFS server?
2) Add the /storageX/zoneX directories to each zone as an "add-inherit-dir", and NOT configure each sub zone as a network presence.
HOWEVER, when I trialled this, the zones mount the file systems as READ ONLY. Is there a way to get the zones to mount the file systems as READ/WRITE?
ALSO - without the network presence, when I try to change user passwords on the zones, I get an error message of "passwd[5051]: passwdutil.so: can't get domain. Permission denied".
Actually, as I type this, I've thought of a third.... Is there a way to share the same IP address and network interface across mutliple zones and a global zone? If so, this may be the best method.... But how do I configure it?
Any assistance would be appreciated.

It's not "supported", but that's because RM6/RDAC doesn't work on Solaris 10.
If the array is configured, it just appears as a normal scsi device and it works fine. You just can't modify the configuration or monitor its status. Not something I'd do in production, but I might stick one on a non-production host.
Darren

Similar Messages

  • Read/write from OBIEE repository data using API

    Hi, I need to create a my own application that could read/write from the repository data, the same as I can do using the BI Admin user interface (like creating dimensions, hierarchies, levels, etc.).
    Are there any API's to do that?
    I'm usually working with .NET/C# technology but I can also programming in Java, the important is that I could be able to write metadata in the repository, and simply read them, I'm not interested in complex report functions... any suggestion will be appreciated!

    I've looked for it before, but I didn't find anything about BI Server accessing, so I requested on this forum. After that I've looked for another kind of API and I've found these about web services!
    In the PDF I linked says:
    "Oracle BI Web Services allows external applications such as J2EE and .NET to use Oracle Business
    Intelligence as an analytical calculation and data integration engine. It provides a set of Presentation
    Services that allow external applications to communicate with Oracle BI Presentation Services. You
    can use Oracle BI Web Services to extract results from Oracle BI Presentation Services and deliver
    them to external applications and Web application environments. You can reference a saved report
    or send the criteria for the report to Oracle BI Web Services."
    without talking about Metadata, but in this another tutorial http://oraclebizint.wordpress.com/2007/07/31/customizing-obi-ee-soap-api/ talks about "metadata"... is it only about Presentation Service? Has Presentation Service metadata too? Are they like Dimensions and hierarchies?
    Excuse me but although I've read the documentation I can't understand what kind of metadata it refers to...

  • Read/Write from an Applet

    hi,
    I need to read/write from/to a file from an Applet. Reading is no Problem. Actually writing is!
    I have try it but I get some problems with the getOutputStream function.
    Can everybody send me an simple example.

    You are right and I have try it.
    There are some guys with the same problem but there are no answers to the specified problem.

  • How to copy file from global zone to non-global zone?

    Hi,
    I'm new in zone.
    I have installed a zone and I would like to install some programs.
    Could you please tell me how to copy downloaded file from internet to the new installed zone?
    Kind regards,
    Daniel

    I like to use zcp which came from BigAdmin I believe.
    #!/usr/bin/perl
    # zcp - copy a file from the global zone to a nonglobal zone. Solaris 10.
    # 10-Mar-2005, ver 0.50 (first release)
    # USAGE: zcp file1 zonename:file2
    # eg,
    # zcp /etc/syslog.conf workzone1:/tmp
    # Standard Disclaimer: This is freeware, use at your own risk.
    # 10-Mar-2005 Brendan Gregg Created this.
    $ENV{PATH} = "/usr/bin:/usr/sbin";
    $VERBOSE = 1;
    # Process arguments
    # check for arguments,
    if (@ARGV != 2) {
    die "USAGE: zcp file1 zonename:file2\n";
    # check source file exists,
    $srcpath = $ARGV[0];
    if (! -e $srcpath) {
    die "ERROR1: Can't find source file $srcpath\n";
    # check destination zone exists,
    ($destzone,$destpath) = split(/:/,$ARGV[1]);
    chomp(@Zones = `zoneadm list`);
    foreach $zone (@Zones) { $Zone{$zone} = 1; }
    unless ($Zone{$destzone}) {
    die "ERROR2: Can't find zone $destzone\n";
    # check if destination is a directory or filename,
    $dir = `zlogin -S $destzone '
    if [ -d "$destpath" ]; then echo 1; else echo 0; fi'`;
    if ($dir == 1) {
    $node = $srcpath;
    $node =~ s:.*/::;
    $destpath = "$destpath/$node";
    # Print message
    print "zcp from $srcpath, to zone $destzone, to file $destpath.\n" if $VERBOSE;
    # Copy File
    system("cat $srcpath | zlogin -S $destzone 'cat - > $destpath'");
    # Verify file copied
    $srcsize = -s $srcpath;
    $destinfo = `zlogin -S $destzone 'ls -l $destpath'`;
    @Fields = split(' ',$destinfo);
    $destsize = $Fields[4];
    if ($srcsize != $destsize) {
    print STDERR "ERROR3: Copy failed, size mismatch ".
    "($srcsize != $destsize)\n";
    } else {
    print "Copy successful ($destpath, $destsize bytes).\n" if $VERBOSE;
    }

  • Sharing software package with non-global zone

    I've installed Solaris Studio 12.3 to a global zone on Solaris 11 following instructions from http://pkg-register.oracle.com which I want to make available to the non-global zones.  Do I need to install it independently for all zones, or can I export/share it?

    All files are normally installed in /opt/solarisstudio12.3. You can share it, but it is recommended to install it independently for all zones if you want different installed versions.

  • Making sql server database read -write from read only

    hey guys
    i attached adventure works in sql server 2008 and it showing as read only ,
    so please guide me to make it read write or remove read only tag from database
    thanks in advance
    sujeet software devloper kolkata

    Hi,
    Is there an error message while you attach (Or restore) the database if so please provide it.
    If no Right click on your database choose properties -> go to options -> scroll to end then change read only option to false
    I hope this is helpful.
    Elmozamil Elamir
    MyBlog
    Please Mark it as Answered if it answered your question
    OR mark it as Helpful if it help you to solve your problem
    Elmozamil Elamir Hamid
    http://elmozamil.blogspot.com

  • Access registry (read/write) from java

    Hi folks,
    I'm struggeling with a Java/COM bridge to read/write the registry from my java application. The documentation from Sun on this is very sparely. Would be grateful for any hints!
    Regards,
    C.H. Liljegren

    Hi Bud,
    After a long time of asking everybody and then getting no response from any of the guys from the forum .I finally decided to do it myself and guess what I do succeded in reading and writing from the registry of windows from a Java program .
    I dont have the code now its there in my office . I will send it to u tomorrow .
    But one thing I came to know that if u wanna do some thing u have to take the initiative.
    I will send u the code tomorrow.
    Take Care.
    Manoj.

  • Online read + write from/to ms sql server database

    hi all,
    we're using R 4.6C. Want to connect to MS Sql server database and read/write data from abap program.
    what's the best (and fastest) way do to this ?
    joerg

    I know only DBCON (Database multiconnect): see the notes 178949 and 323151 for more details.
    Message was edited by: max bianchi

  • Can PL/SQL read/write from a database server to another server?

    hi,
    please advise.
    thanks

    what i mean is output text file to other servers using pl/sql through utl_file package.No. utl_file reads/writes only on the server where your pl/sql code is running.
    But maybe you could map a network drive. Haven't tried that.

  • Slow nfs read/write from solaris 8 to solaris 10

    there is a bug:4852269 which sums up my problem well.
    I have a solaris 10 sparc with a big nfs shared raid5, and most of the other suns I have run solaris 8. the access time from sol8 to sol10 is awfull.
    Is there some config/patch I can apply to the solaris 10 box?
    I have put on the latest 10_Recommended.zip

    it's a ufs filesystem
    If it helps, here is my /etc/default/nfs
    # ident "@(#)nfs 1.10 04/09/01 SMI"
    # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # Sets the maximum number of concurrent connection oriented connections.
    # Default is unlimited and is obtained by not setting NFSD_MAX_CONNECTIONS.
    # Equivalent to -c.
    #NFSD_MAX_CONNECTIONS=
    # Set connection queue length for the NFS over a connection-oriented
    # transport. The default value is 32 entries.
    # Equivalent to -l.
    NFSD_LISTEN_BACKLOG=32
    # Start NFS daemon over the specified protocol only.
    # Equivalent to -p, ALL is equivalent to -a on the nfsd command line.
    # Mutually exclusive with NFSD_DEVICE.
    NFSD_PROTOCOL=ALL
    # Start NFS daemon for the transport specified by the given device only.
    # Equivalent to -t.
    # Mutually exclusive with setting NFSD_PROTOCOL.
    #NFSD_DEVICE=
    # Maximum number of concurrent NFS requests.
    # Equivalent to last numeric argument on nfsd command line.
    NFSD_SERVERS=16
    # Set connection queue length for lockd over a connection-oriented transport.
    # Default and minimum value is 32.
    LOCKD_LISTEN_BACKLOG=32
    # Maximum number of concurrent lockd requests.
    # Default is 20.
    LOCKD_SERVERS=20
    # Retransmit Timeout before lockd tries again.
    # Default is 5.
    LOCKD_RETRANSMIT_TIMEOUT=5
    # Grace period in seconds that all clients (both NLM & NFSv4) have to
    # reclaim locks after a server reboot. Also controls the NFSv4 lease
    # interval.
    # Overrides the deprecated setting LOCKD_GRACE_PERIOD.
    # Default is 90 seconds.
    GRACE_PERIOD=90
    # Deprecated.
    # As for GRACE_PERIOD, above.
    # Default is 90 seconds.
    #LOCKD_GRACE_PERIOD=90
    # Sets the minimum version of the NFS protocol that will be registered
    # and offered by the server. The default is 2.
    #NFS_SERVER_VERSMIN=2
    # Sets the maximum version of the NFS protocol that will be registered
    # and offered by the server. The default is 4.
    NFS_SERVER_VERSMAX=2
    # Sets the minimum version of the NFS protocol that will be used by
    # the NFS client. Can be overridden by the "vers=" NFS mount option.
    # The default is 2.
    #NFS_CLIENT_VERSMIN=2
    # Sets the maximum version of the NFS protocol that will be used by
    # the NFS client. Can be overridden by the "vers=" NFS mount option.
    # If "vers=" is not specified for an NFS mount, this is the version
    # that will be attempted first. The default is 4.
    #NFS_CLIENT_VERSMAX=4
    # Determines if the NFS version 4 delegation feature will be enabled
    # for the server. If it is enabled, the server will attempt to
    # provide delegations to the NFS version 4 client. The default is on.
    #NFS_SERVER_DELEGATION=on
    # Specifies to nfsmapid daemon that it is to override its default
    # behavior of using the DNS domain, and that it is to use 'domain' as
    # the domain to append to outbound attribute strings, and that it is to
    # use 'domain' to compare against inbound attribute strings.
    #NFSMAPID_DOMAIN=domain
    #

  • Read/Write from FAT/NTFS volumes

    I have a Windows/DOS formatted external harddrive adn want to access/write/delete data from it using my MCP with Lion OS. I downloaded
    NTFS-3G 2011.1.15 and installed and restarted my Mac but then got this error when OS started
    and I cant see my Windows external disk any more. I am not 100% sure if the format of this disk was FAT or NTFS. Any idea what's going wrong and what I can do about this ?
    Any other suggestions for a application instead of the one I downloaded ?

    I have uninstalled NTFS-3G now, and am again able to see my external HDD in Finder. Then I look for MacFuse on Spotlight and click on Macfuse in system preferences. Finally I get this - not sure how to go forward ?

  • How to read/write from Access database

    Hi everybody
    I need a little help for doing what I wrote in the topic!
    I use LabVIEW 6i student edition, do Ireally need to install the Database
    connectivity toolkit?

    Hi Vicio,
    There are a couple of different methods to communicate with Access in LabVIEW, and some are more difficult than others. You can use ActiveX Automation to open Microsoft Access and control many aspects of the Access Application. For actual database manipulation however, the Access automation classes rely upon the Microsoft DAO (Data Access Object) and/or ADO (ActiveX Data Object) classes. These classes can be used independently or through the Access automation classes to read and write data into an Access database. These classes can be difficult to use and may require a fair amount of SQL knowledge to accomplish a complicated task. Attached is a very simple example of how you can use DAO from the Access automation classes to read an Access table.
    For more information about the Microsoft Access automation classes, DAO or ADO classes refer to the Microsoft website and Developer Network:
    MSDN
    It is also possible to use Dynamic Data Exchange (DDE) communication between LabVIEW and Access. DDE is a Microsoft technology that preceded COM and ActiveX. DDE is NOT recommended as it is considered by most to be obsolete. However, examples still ship with LabVIEW that demonstrate how to communicate with MS Access using DDE. The examples are located in ..\LabVIEW\examples\comm\access.llb
    Note: The LabVIEW Database Connectivity Toolset is the preferred method of database communication with LabVIEW. The LabVIEW Database Connectivity Toolset offers many powerful tools and extended capabilites for quickly accessing databases. The LabVIEW Database Connectivity Toolset offers connectivity to most popular databases through Microsoft ADO technology, complete SQL Functionality, and the ability to save records in XML format. It provides both easy-to-use and advanced functions to allow common database operations as well as detailed database accessibility. The LabVIEW Database Connectivity Toolset is sold separately or in the LabVIEW Enterprise Connectivity Toolset along with the LabVIEW Statistical Process Toolkit and the LabVIEW Internet Developers Toolkit.
    Sincerely,
    Feroz
    National Instruments
    Attachments:
    Access_ActiveX.vi ‏43 KB

  • Read & write from external files in java

    Hello everybody,
    I need your help in two problems. I have to write a method that read specific numbers from a file, save them in an array, do some calculation on that array and write it again in a new file.
    For example, I have a file that contains the following:
    #VRML V1.0 ascii
    Material {
    diffuseColor [ 1 1 1 ]
    ShapeHints {
    vertexOrdering COUNTERCLOCKWISE
    shapeType UNKNOWN_SHAPE_TYPE
    Coordinate3 {
    point [
              1 0 0 ,
              1 1 0 ,
              1 1 1 ,
              1 0 1 ,
              0 1 0 ,
              0 1 1 ,
              0 0 1 ,
              0 0 0 ,
    IndexedFaceSet {
    coordIndex [
    0,1,2,-1,
    0,2,3,-1,
    1,4,5,-1,
    1,5,2,-1,
    3,2,5,-1,
    3,5,6,-1,
    0,3,6,-1,
    0,6,7,-1,
    6,5,7,-1,
    7,5,4,-1,
    0,7,4,-1,
    0,4,1,-1,
    I need to read the point coordinates only and save them in a two dimension array, then I'll do some transformation on that array and write it in a new file that contains the previous data but the point coordinates are the transformed coordinates. I tried the following:
    FileReader in = new FileReader("C:\\hexahedron.txt");
              BufferedReader br = new BufferedReader(in);
              String line;
              StringTokenizer s;
              int [][] point = new int [8][3];
              int row = 0;
              int column;
              while ( (line = br.readLine()) != null) {
                   s = new StringTokenizer(line);
                   column = 0;
                   while (s.hasMoreTokens()) {
                        if ( s.nextToken() == "[" ){
                             point [row][column++] = Integer.parseInt(s.nextToken());
                   row++;
              br.close();
              in.close();
    But when I tried it, I found out that it saves 0s in the array!
    As I mentioned before, my problem is that I don't know how to read specific information from a file. I know how to write new information a file, but how to write a file that I already have with changed specific information.
    I'll be grateful if you show me how to solve those problems.
    And I hope that I explained my problems in an understandable and clear way.
    Regards,

    if ( s.nextToken() == "[" ){should beif (s.nextToken().equals("["){Also, you have two nextToken for each has hasMoreTokens, which is going to cause an exception.
    You are never hitting the parseInt code because of your equals/== error. Therefore, everything is zeros.
    The order of reading lines and checking for "[" isn't right. You should find the [ (maybe including the "point" word), then get numbers from the following lines (read line, tokenize, read line, tokenize, ...) until you hit the end of the points.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Import a new service in a non-running zone from global zone

    Hi All,
    I have zones implemented in VCS. i need to import a new service in SMF. i can do that in the running node by logging into the zone server directly.
    Now i want to know, how can i import this new service in the non running zone (hsoted in other node), so that the service starts automatically during the faile over also.
    Thanks in Advance !!!!

    You could do it just as if they were separate systems by using a network tool like RSH/SSH.
    If the non-root account has permissions on the full path to to the zone files (that would be unusual), then it could directly copy them there. But normally the root of the zone is set for root only access.
    # zoneadm list -iv
    ID NAME STATUS PATH
    0 global running /
    8 zone1 running /export/zones/zone1
    # ls -ld /export/zones/zone1
    drwx------ 4 root root 512 Jan 10 09:10 /export/zones/zone1
    Darren

  • Can I read/write global variables that are in other PC?

    I attach the vis and the executables.
    My problem is that when I run( continuosly, because in other way, I read the default value of the variable) getvalue.vi and setvalue.vi, I don´t have any problem, I can read/write the global variables, the two vis is running in the same PC.
    But when I do the exe and I run them continuosly , it doesn´t work.
    Any solution?
    Thanks in advanced!
    Graci
    Attachments:
    Get_Value.vi ‏30 KB
    Set_Value.vi ‏30 KB
    Exe.zip ‏272 KB

    Hello Bichillo,
    By running the vis continuously you are running into race conditions. If you cannot control when you are writing to or reading from a global variable, you cannot know whether the value writen/read is the right one or not.
    In your case the global variable value that is read is sometimes the last value writen and sometimes an empty string.
    To make the global variable behave as desired, that is, keeping its last value, the global variable must be in memory when you access it using VI Server. If it is not in memory, the returned value is an empty string. That´s why you sometimes get a non-empty string: when you access the global variable to read its value, it happens to be in memory because you´ve just writen to it.
    To ensure that the global
    variable is always in memory and it keeps its last value, you must include the global variable into your block diagram. I am attaching modified vis that implement this.
    Hope it helps.
    César Verdejo
    Training and Certification | National Instruments
    Attachments:
    Get-_Set_Value.llb ‏48 KB

Maybe you are looking for

  • How can you share a iPhoto library with another account user

    I have recently seen the light and swapped from Windows to my lovely new iMac. However I am rather confused how I can configure my iPhoto library so my wife can view the same library in her account on the same machine (this was a simple thing within

  • Outlook 2010/Exchange 2007 Calendar Will Not Display

    Hi Folks, I've been working on an issue for the past 3 weeks and would love some assistance. Here's the problem: A user indicated that she was using Outlook normally, flipping between the Mail and Calendar tab. When she went back to the Calendar tab,

  • Turning off info in web gallery

    Is there a way to make the photo info unavailable in a web gallery? I don't want my site's visitors to have access to my photos' metadata. Thanks.

  • Need to load external jpgs at once

    I am using loadMovie to load all my external jpgs at once. On start I have thumbnails which animates, and using loadMovie load jpgs into that thumbnails. Offline it works fine, but online it only loads few jpgs first with animation and rest loads wit

  • Project layout and themes missing PSE7

    Hello, Now and then when i turn on my computer , which is running Windows XP I click on the Adobe photoshop Elements 7 icon. Once the PSE 7 welcome screen appears i click on organize, this brings up some previous photos ive imported with key word tag