Keeping mountpoints/attributes on a replicated (zoned=on) zfs filesystem

Hi,
I'm having to identical servers, one which is active and the other acts as a hot failover. Data on both servers should be identical. Both share the same IPs and hostnames. To ensure that I have data integrity I'm sending ZFS snapshots from the active server to the failover many times an hour, and one full snapshot every 24hrs.
The layout is like this (both servers are evidently identical)
global zone, mainly unused except by sysadmins, with one "production" zone
- in the zone I have a zpool :
- in the zpool I have pool/prodServer, mounted in /zones/prodSrv, which contains my production zone
- I also have pool/home-prodSrv , which is delegated to the zone, and mounted in /export/home in the zone.
It is important that I separate the /export/home from other data.
Since pool/home-prodSrv is set with the attribute zoned=on , it is not seen in the global with df -h (it is, of course seen with zfs list).
To replicate my data, in both global zones (active server and failover) I have a user called zfsman who sends / receive snapshots like this :
[from the active zone] :
sudo zfs snapshot pool/prodServer@full
ssh zfsman@FAILOVER sudo zfs destroy pool/prodServer (so that the full will succeed)
sudo zfs send pool/prodServer@full | ssh zfsman@FAILOVER sudo zfs recv pool/prodServer
Now, if I shutdown the active zone on the main server and start it up on the failover, I get a problem :
- pool/home-prodSrv is mounted over /export/home in the global zone
- quota/reservation/other attributes are unset
- pool/home-prodSrv is mounted in pool/prodServer in the production zone instead of /export/home
I tried this, from the active zone :
ssh zfsman@FAILOVER sudo zfs set mountpoint=/export/home pool/prodServer (it will complain that /export/home is already mounted, but no matter)
ssh zfsman@FAILOVER sudo zfs set zoned=on pool/prodServer
It works, but it just doesn't look/feel clean...
I'm obviously missing the way to keep the attributes on the receiving end as they are set in the sending zone.
Any idea, anybody, how to fix this ?
Regards,
Jeff
Edited by: J.F.Gratton on Nov 15, 2008 11:33 AM

Hi,
I'm having to identical servers, one which is active and the other acts as a hot failover. Data on both servers should be identical. Both share the same IPs and hostnames. To ensure that I have data integrity I'm sending ZFS snapshots from the active server to the failover many times an hour, and one full snapshot every 24hrs.
The layout is like this (both servers are evidently identical)
global zone, mainly unused except by sysadmins, with one "production" zone
- in the zone I have a zpool :
- in the zpool I have pool/prodServer, mounted in /zones/prodSrv, which contains my production zone
- I also have pool/home-prodSrv , which is delegated to the zone, and mounted in /export/home in the zone.
It is important that I separate the /export/home from other data.
Since pool/home-prodSrv is set with the attribute zoned=on , it is not seen in the global with df -h (it is, of course seen with zfs list).
To replicate my data, in both global zones (active server and failover) I have a user called zfsman who sends / receive snapshots like this :
[from the active zone] :
sudo zfs snapshot pool/prodServer@full
ssh zfsman@FAILOVER sudo zfs destroy pool/prodServer (so that the full will succeed)
sudo zfs send pool/prodServer@full | ssh zfsman@FAILOVER sudo zfs recv pool/prodServer
Now, if I shutdown the active zone on the main server and start it up on the failover, I get a problem :
- pool/home-prodSrv is mounted over /export/home in the global zone
- quota/reservation/other attributes are unset
- pool/home-prodSrv is mounted in pool/prodServer in the production zone instead of /export/home
I tried this, from the active zone :
ssh zfsman@FAILOVER sudo zfs set mountpoint=/export/home pool/prodServer (it will complain that /export/home is already mounted, but no matter)
ssh zfsman@FAILOVER sudo zfs set zoned=on pool/prodServer
It works, but it just doesn't look/feel clean...
I'm obviously missing the way to keep the attributes on the receiving end as they are set in the sending zone.
Any idea, anybody, how to fix this ?
Regards,
Jeff
Edited by: J.F.Gratton on Nov 15, 2008 11:33 AM

Similar Messages

  • CS4 crashes when I send to print and pen tool loses the ability to keep the attributes of a multi-stroked line.

    Using Illustrator CS4 (can't upgrade because the office I am contracted with will not upgrade) on a Mac running Mavericks 10.9.5 (just upgraded from 10.6). CS4 crashes when I send to print (I've been saving as a PDF and printing that). Also, the pen tool loses the ability to keep the attributes of a multi-stroked line.

    Thanks, Larry. I should have remembered the "…Basic Appearance…" thingy. I've tutored enough people in Illustrator—it just never occurred to me. As for the printer, I'll give that a shot. I'll fumble my way around in that; not sure exactly how to go about doing it, but I'm game. Thank you for your help.   — Jim

  • Use Enum to keep config attributes.

    Hi Guys,
    There´s some restrictions to keep config atributes on enum??? Thanks !! I have an xml and use the folow code to retrieve data, and i think to replace this with a enum ...
    public static Map loadFolderConfig()
        if (xmlConfig != null)
          return xmlConfig;
        try
          String docFullPath = "/my-config.xml";
          DocumentBuilder db = JAXPFactory.getInstance().getFactory();
          Document xml = db.parse(DocumentoHelper.class
              .getResourceAsStream(docFullPath));
          NodeList nodeListPrincipal = xml.getElementsByTagName("myconfig");
          NodeList nodeList = nodeListPrincipal.item(0).getChildNodes();
          Node nodeAtual = nodeListPrincipal.item(0).getFirstChild();
          xmlConfig = new LinkedHashMap();
          for (int f = 0; f < nodeList.getLength(); f++)
            NamedNodeMap attributes = nodeAtual.getAttributes();
            if (nodeAtual != null && attributes != null)
              String value = attributes.item(0).getNodeValue();
              xmlConfig.put(attributes.item(0).getNodeName(), value);
            nodeAtual = nodeAtual.getNextSibling();
        }Edited by: PaulH on 30/03/2012 12:09

    An XML file is the better way to go in my opinion.
    If you use an Enum to store your config attributes, you have to compile your Java code any time an attribute needs to be changed.
    Using an XML config file, you don't need to recompile your code so it makes for easier modifications of config attributes.
    Another option might be keeping your config attributes in a database table as that makes for easy modification without recompiling as well.

  • Diffrent node keep diffrent data in a replicated configure

    hi
    I use a simple configuration as below
    and I contain 4 node in cluster.most time it is no problem.
    but some time one node contain 199 objects, one contain 200 objects, and one contain 201 objects.
    AND sometime when I restart one node, the node data is not sync from servers.(meaning the object data is not the same as others)
    what's wrong?
    <replicated-scheme>
    <scheme-name>replicated</scheme-name>
    <backing-map-scheme>
    <class-scheme>
    <scheme-ref>unlimited-local</scheme-ref>
    </class-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </replicated-scheme>
    <class-scheme>
    <scheme-name>unlimited-local</scheme-name>
    <service-name>LocalSessionCache</service-name>
    <class-name>com.tangosol.util.SafeHashMap</class-name>
    </class-scheme>
    ----------------

    sorry,I'm not good at english
    the case is
    public void clear(){
    NamedCache cache = CacheFactory.getCache(cacheName);
    cache.clear();
    public void load(){
    //load from database
    NamedCache cache = CacheFactory.getCache(cacheName);
    while(rs.next()){
    cache.put(id,obj);
    obj is a xmlBean object and put XML in the direct already
    when I do clear() and load()
    in diffirent servet it has different counter
    like one server have 639 items in cache
    another have 640 items
    it is a replication schema
    Member(Id=1, Timestamp=Sat Nov 19 15:24:03 HKT 2005, Address=192.168.5.201, Port=8088, MachineId=28105)
    Member(Id=2, Timestamp=Sat Nov 19 15:24:12 HKT 2005, Address=192.168.5.202, Port=8088, MachineId=28106)
    Member(Id=3, Timestamp=Sun Nov 20 00:10:38 HKT 2005, Address=192.168.5.2, Port=8088, MachineId=27906)
    Member(Id=4, Timestamp=Sat Nov 19 15:24:29 HKT 2005, Address=192.168.5.3, Port=8088, MachineId=27907)
    Message was edited by: kywi

  • How do I keep product attributes from floating over product description on ecommerce site?

    When MistyAcresAlpaca.com went live, the site was working perfectly.  Over the past week, I've seen changes to the site's menus , footers and products pages that were not initiated by myself.  It appears to be a software, JS or JQuery issue.
    To clarify, catalogs have been rearranged on menu, product attributes float over product descriptions and foot information has been rearranged. 
    Customers who try to order products using IE as a browser are unable to do so.  Using Chrome or Firefox, customers are able to order products but attributes (size, color) are still floating over the product. Most of the sites customers use IE as a browser.
    Please advise on how this can be resolved and the website stablized.

    Think you may have a missing end </div> for your <div id="nav">, as it appears to be currently encapsulating the entire page including the footer.
    As a result styling for the menu #nav ul li is being adopted further down on the product details.
    Regards
    Mike

  • Replacing multiple clips but keeping attributes

    Hello,
    I have a lot of clips in multiple sequences that I would like to replace because I have changed the background but I would like to keep the attributes (cropping) of the original clips. At the moment I feel that I have to copy each clip and paste its attributes to its replacement but I'm wondering if there's a way to replace the clips without changing the attributes.
    Any thoughts or am I just going to have to paste attributes 67 times?
    Thanks,
    Stef

    There MUST be an easier way to do this, I just can't think of it at the moment.
    I can only suggest you review your sequences carefully and see if there aren't some shortcuts you can use. Maybe the cropping or motion settings from one clip are used again on others? That would at least eliminate several copy operations. You can do multiple selects and apply a single paste.
    Wish I could be more help other than to just kvetch along with you.
    bogiesan

  • How to setup Dimension Attributes in ERPI

    Hi All,
          I am currently in process of setting metadata rules in ERPI to extract hierarchies from EBS into EPMA Planning and HFM application. Our hierarchies are already setup in these applications but we need to replace this process with ERPI. I know ERPI does give capability of handling some attributes such as Data Storage Parent, Data Storage, Expense Reporting, Account Type, Time Balance for Balance sheet and income statement OR use system defaults.
    My question is how do I define these attributes in a way that it keeps the ones that are currently in the system?. How about +,- aggregation operators, Two Pass Calculation, Smartlist, Data Type, etc?. If I use system defaults, will it overwrite the current ones?.
    Please suggest. I need to be able to keep currenty attributes as it is and just update the metadata piece.
    Thanks Everyone. Any feedback will be greatly appreciated.

    Refer to pages 81-82 of the ERPI Administrator Guide (11.1.2.2)
    http://www.oracle.com/technetwork/middleware/epm/documentation/index.html

  • Persistance of the Parent attribute

    Hi - I have a 8 applications (appxxx.ear)in OC4J (9.0.3) and uses the parent attribute between them.
    However - redeployment of .ear file with Enterprise Manager removes the parent attribute and changes the sequence of applications in server.xml
    How do I keep this attribute without re-applying it everytime after redeployment.

    See what happens when ya don't read the spec's backing the API's ya use? I haven't read that spec in over 2 years, and apparently it didn't jump out at me at that time as importand and/or major. Guess it all depends on what you're looking for when you read something.
    Thanks for the quick help; I'm off to implement my own personal version...erm...vision of versioning...um...anyway, back to it.
    Thanks again!
    -dSn

  • User attributes checked by Delta Discovery in SCCM 2012

    Hi All,
    Since I simply cannot find an answer to my question using google, will ask it here and hope you can help me.
    Which EXACT User attributes does Delta Discovery check for in SCCM 2012? Is it possible to manipulate this, and add one more attribute?
    Microsoft's answer to this question is a simple: Basic User Information, but that not an exact answer.
    Here is the deal. We updated the extensionAttribute12 with computernames, so that we know what the primary device for a User is (I know this feature is present in CM12, but we will not use it for reasons). This information will be collected by User Discovery
    and by using a nested query in the device collection, the Primary device will be added to it. This works like a charm, the only issue is time. We need that value to be checked by delta discovery if it has been changed, however this only works with FULL discovery
    which is set to 1 week. If I lower this value that might cause serious backlogs, as the jobs get piled up in the inboxes due to the large amount of DDR files. Is there anything we can do? Powershell script, a configuration file in CM12 for delta discovery
    or something. We really don't what to set the User discovery to run a FULL scan every 4 hours or so, as I don't know what would happen when checking for 24k Users.
    Thank you in advance for any sort of feedback!
    Regards,

    Hi,
    Well, I checked the attribute if its replicated to the GC and according to this line isMemberOfPartialAttributeSet: TRUE it does. Will run a test again with delta discovery, and if that failes, will try to change the SystemFlag on it.
    dn:CN=ms-Exch-Extension-Attribute-12,CN=Schema,CN=Configuration
    >objectClass: top
    >objectClass: attributeSchema
    >cn: ms-Exch-Extension-Attribute-12
    >distinguishedName: CN=ms-Exch-Extension-Attribute-12,CN=Schema,CN=Configuration
    >instanceType: 4
    >whenCreated: 20050715092317.0Z
    >whenChanged: 20110528160036.0Z
    >uSNCreated: 6155
    >attributeID: 1.2.840.113556.1.2.600
    >attributeSyntax: 2.5.5.12
    >isSingleValued: TRUE
    >rangeLower: 1
    >rangeUpper: 2048
    >mAPIID: 35928
    >uSNChanged: 6155
    >showInAdvancedViewOnly: TRUE
    >adminDisplayName: ms-Exch-Extension-Attribute-12
    >adminDescription: ms-Exch-Extension-Attribute-12
    >oMSyntax: 64
    >searchFlags: 16
    >lDAPDisplayName: extensionAttribute12
    >name: ms-Exch-Extension-Attribute-12
    >objectGUID: {5AC9437E-18AE-4EE6-909B-94CC1B6EF1C5}
    >schemaIDGUID: {167757F7-47F3-11D1-A9C3-0000F80367C1}
    >attributeSecurityGUID: {E48D0154-BCF8-11D1-8702-00C04FB96050}
    >isMemberOfPartialAttributeSet: TRUE
    >objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration
    >dSCorePropagationData: 16010101000000.0Z
    >msDS-IntId: -1992421057

  • When should an attribute be placed in a separate dimension

    heyyyyy
    when should an attribute be placed in separte dimension

    HI,
    you can't keep any attribute in separe dimension, but you can keep Charecter in separate dimension, i.e. Line Item Dimension. See the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/d50f395fc8cb7fe10000000a11402f/frameset.htm
    Thanks
    Reddy

  • SmartView 11.1.2.2-drill down with attribute dimensions

    In Smartview 11.1.2.2.300, we have noticed that if we exclude attribute dimensions from our report, then we are able to drill down to Bottom level on all our reports; but if there are attribute dimensions listed, then it throws errors. Is it an option to drill down to bottom level, while keeping the attribute dimensions in the report? Thanks.
    Edited by: 937685 on Jan 17, 2013 9:35 AM

    According to Oracle that still relates to a timeout error: SmartView Error "XML Load Error: DTD is prohibited [ID 1059964.1]
    Update the registry on the client machine with the following settings:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "ReceiveTimeout"=dword:00075300
    "KeepAliveTimeout"=dword:000493e0
    "ServerInfoTimeout"=dword:000493e0
    You may need to reboot, I've seen it make a difference without the need.
    Is this an FDM connection?
    Anyway try that.
    Steve

  • How to keep Tabstrip width constant

    Hi
    In my Tabstrip the width changing according to tabstrip content.I want to make this tabstrip width constant when i am moving through the Tabs.I was trying to keep width attribut in the tabstrip control.But its not working,the width changing ,when i am moving through the Tabs.
    Is there any otherway of controling it.
      Regards
    Usman

    Hi Usman,
    Use <xhtmlb:overflowContainer> within your tabstrip item.
    Assign the same width and height to all the overflow containers of all the tapstrip items.
    <xhtmlb:tabStripItem name  = "p22ts1i1"
                           title = "Shipping Address" >
        <xhtmlb:overflowContainer mode   = "SCROLL"
                                  width  = "50%"
                                  height = "50%" >
          <%@include file="p22ts1i1.htm" %>
        </xhtmlb:overflowContainer>
      </xhtmlb:tabStripItem>
    Regards,
    Alwyn

  • Master Data Text and Attributes

    Guys,
               I read some posts on sdn regarding differences between master data texts and attributes and now I am a little confused.  I thought attributes define a char.  then what does text do?  Does it not define or describe the char as well?  If both are doing the same thing then why do we need both ?  I am not sure if my understanding is correct.  Please help me.
    Thanks,
    RG

    Hi Ram,
    To understand in a better way little bit of R/3 work would have been helpful.
    In R/3 Every entity has master data maintained like customer, material, plant etc.
    If you would see a customer in R/3 you can see it has lots of information..like address,telephone number,street company name, etc.
    And along with it we have customer name...i.e. description..(text)
    Now in R/3...text tables are generally maintained separately then master data tables...it can be together as well.
    Something like for you Ram Goswami is descrption(text) for the user ID XXXXXXX in SDN.
    Email ID and company name is the master data stored here for him.
    BW has used the same modelling concept to keep the text table separate from the msater data table.
    It creates to separate data target for master data and text so that two seperate tables can be maintained in BW and you have to load the data in both to see the master as well as text.
    Since we have separate master data table and text table in R/3 therefore we have separate data sources as well based on them.
    You would like to have you master data table exactly as the master data table of R/3 so you will add attributes in the infoobject 0customer and it will create a P table for 0customer...keep adding attributes to make the columns in the table and to make the exact copy of R/3 table i.e. to bring all the information from R/3 about customer master you add attributes in the 0customer.The data soiurce based on this table in R/3 will contain the fields from the table.
    Now you do the mappings with fields between infoobject and data source and load the data ...so master data is loaded.
    For text...once you check the text option in infoobject..SAP creates a new table Tcustomer in the background..
    Now you have to do the mappings for this as well through the data source based on the text table in R/3.
    In some cases the master data table contains text as well and in that case you use the same data source based on this table to create two separate update rules one for master data object and another one for text object and do the mappings accordingly.
    In this case you schedule the load to both the target at the same time and data gets loaded.
    but for different data sources you will have to schedule the load separately.
    Once data loaded for this...now you can use it in the report and see the text as well as master data attributes in the reports and there values.
    I hope that was more then enough
    Thanks
    Ajeet

  • How to unlock account on read only replica (DS 5.2 p4)

    We are planning to turn on password policy to lock account after user failed to provide correct password after n times and the account will be lock forever unless administrator is to reset the password retry count.
    We implemented password policy with role and cos so that the policy only imposed on end users but not administrators. The password policy works fine.
    We understand that for DS 5.2 p.4, the password retry count is per instance, so the account lock is per instance. The problem we now encountered is at account unlock. We developed a function to reset the password retry count in order to unlock the account. It works fine in our test env. However, in production, we have 2 masters and 4 replicas and our replicas are all read only, all update is referred to the 2 masters. Now, when we update the master setting 0 to the password retry count, the reset is not populated to the replicas and when we try update the replica directly, the update get referred to the master and hence the attribute on the replica remains the same.
    Is there a way to unlock the account that got locked at the read only replica?

    As I recalled the way to unlock an account is to reset password using admin account. I think Ludovic once mentioned that in one of his post.
    If I were right here in this point, you should reset password which will be replicated to your read-only account and reset the counter to be 0.
    BTW, just found Ludovic's original post link:
    http://forum.java.sun.com/thread.jspa?forumID=761&threadID=5159009
    Message was edited by sun_iplanet
    sun_iplanet
    Message was edited by sun_iplanet
    sun_iplanet

  • New paragraph attributes

    I know that this has been answered before, but I can't find it anywhere. In my text pane, when I hit return and start a new paragraph, I lose all my style formatting. I lose color, bold, italics, etc. I was wondering if there is some flag that I am not setting for this not to happen. I would like to keep all attributes if possible.

    the workaround in bug 4433937 may help (subclassing StyledEditorKit and overring createInputAttributes)

Maybe you are looking for

  • How to view deski report in html format ?

    Hi, I use BO XI R2. I use jsp. I just want to know how to view deski report in a html format. thanks a lot. hatoug

  • Cannot open pdf attachment on Curve 9360

    Hi, I cannot open some pdf attachments on my Curve 9360. Some pdfs are fine but our fax to email service pdfs will not open - just get a qustion mark in the file icon and when trying to open I get 'This attachment type cannot be viewed on your device

  • Users in PORTAL30.WWSEC_PERSON$ ... forever?

    Hi, Anybody now ... Why when user is removed from Login Server / Admin User (portal30_sso schema) this is not deleted from Oracle Portal (portal30 schema)? Regards.

  • How to read output of native program

    Hi, I wrote a Java program that runs a native program. In my case, the native program is written in C++ and runs under Linux. My purpose is, to start the native program and to capture the output of it and send also some input. I found the code to do

  • Please recommend pdf library (read, with suffix)

    Hello I want to extract text from pdf file. extractly I want to pdf convert to html. My pdf file include suffix(in html, I use sup, sub tag) How can I extract text with suffix effect? thank you