Resource Management and Solaris Zones Developer Guide

Solaris Information Products ("Pubs") is creating a
developer guide for resource management and Solaris Zones.
The department is seeking input on content from application
developers and ISVs.
We plan to discuss the different categories of applications
that can take advantage of Solaris resource management
features, and provide implementation examples that discuss
the particular RM features that can be used.
Although running in a zone poses no differences to most
applications, we will describe any possible limitations and
offer appropriate workarounds. We will also provide
information needed by the ISV, such as determining
the appropriate system calls to use in a non-global zone.
We plan to use case studies to document the zones material.
We would like to know the sorts of topics that you would
like to see covered. We want to be sure that we address
your specific development concerns with regard to these
features.
Thank you for your comments and suggestions.

Hi there, i'm using solaris resource management in a
server with more thant 2thousand acounts.
Created profiles for users, defaul, staff, root and
services.Seeing the contents of your /etc/project file could be helpful.
But while using rctladm to enable syslog'ing, I set up
global flags of "deny" and "no-local-action" in almos
everything.The flags on the right hand side of the rctladm(1M) output are read-only:
they are telling you the characteristics of the resource control in question (what
operations the system will allow the resource control to take).
Now, many aplications don't work because they are
denied enough process.max-stack-size and
process.max-file-descriptor for them to work.
Applications such has prstat.If prstat(1) is failing due to the process.max-file-descriptor control value, that's
probably a bug. prstat(1) is more likely bumping into the limit to assess how many file
descriptors are available, and then carrying on--you're just seeing a log message since
prstat(1) tested the file descriptor limit, and you've enabled syslog for that control. Please
post the prstat(1) output, and we'll figure out if something's breaking.
I don't find a way to disable the global flags. You can't. I would disable the syslog action on the process.max-stack-size control first;
there is an outstanding bug on this control, in that it will report a false triggering event--
no actual effect to the process. (If you send me some mail, I will add you as a call record
on the bug.)
Can anyone tell me:
how to disable global flags?
how to disable and enable solaris resource management
all together?You could raise all of the control values, but the resource control facility (like the resource
limit facility it superseded) is always active. Let's figure out if you're hitting the bug I mentioned,
and then figure out how to proceed.
- Stephen
Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
[email protected]

Similar Messages

  • Resource manager and images being rewritten in the project root

    Hi everybody,
    I began using the Resource Manager, and I created two folders, one with HTML files (topics), and another one with pictures present in those topics.
    As I transferred the topics to the HTML shared folder the pictures references remained the old ones, i.e. the ones inside the project folder, right?
    Therefore I began reassigning the pictures to the ones copied in the pictures shared folder, and here begins to be a little bit illogical and difficult.
    I deleted the pictures from the original project folder as I want to save the space and have, of course, the pictures only in the shared folder, however after I reassign the pictures to one of the topics, and I sync it, the pictures I deleted appear in the root folder of the project.
    I wanted to have the "common" pictures (they appear in 2 different projects) only in the shared folder (declared as pictures folder in Resource Manager) because if I do a modification of one picture, I would like to have this modification propagated in the second project, right?
    And also save some space, as it does not make any sense to me to have the same pictures in 2 places (double space consumed) when I can have them in only one folder.
    I would like to know how I can avoid this recopying of the picture files in my project folder, if possible.
    The procedure I used was:
    1. Found out which are the common topics for the 2 projects and copied them in the Resource Manager shared folder for HTML files.
    2. Found out which pictures were on those topics and copied them in the Resource Manger shared folder for pictures
    3. I included the shared topics into the project, and reassigned the pictures to the ones that are in the Resource Manager shared pictures folder
    4. I saved the topic, and did a sync in the Resource Manger
    Did I do something wrong here?
    Thank you.

    The repository has all the images you may want to use in any of your projects or elsewhere.
    Each time you link in a project, that image only is copied to the project, not the whole repository. If either copy changes, you are notified. You then have the choice of updating the out of date copy or breaking the link because for some reason you now want the difference.
    Your statement "I saw that if I use an external directory to the actual project where I have pictures, RoboHelp will copy those into the project's folder" is not correct. The Resource pod will show all the images available in the repository but only the ones in used in the project are copied locally.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Resource Manager and Images

    Hi,
    I upgraded to RH9 (from RHX5) and very happily started to use both the Snippet and Resource Manager functionality.
    I seem to have hit a mental block despite reading the help and looking up this forum regarding updating images in the resource manager .....
    I have multiple projects and the same image is used throughout the projects - sometimes only once in a project and sometimes multiple times in the same project.
    Lets say this image is called Picture1.gif - due to program re-design I now need to update Picture1.gif.
    Picture1.gif is stored in Resource Manager and as it is linked then a copy is also stored in my project.
    I delete the old image, create a new image, rename it to the original name Picture1.gif and drag it to Shared Resources and then drag it back again so that it is linked.
    Despite the back and forth steps this does in fact work - the image is updated in other projects as expected.
    However, if an image appears in a project multiple times then I have to change it everywhere before I can rename it,  etc. etc.
    I feel quite sure that I am missing something here and that the whole process should be simpler!!
    I would have expected somehow to be able to update the image in the resource manger and then sync.
    TIA
    Morven

    Hi Morven
    In my own experience, it really shouldn't matter where you update the image, as the Resource Manager is a two way street. If you update in RoboHelp, it should be sensed and the updated image copied from your project to replace and update the centralized image. And likewise, if you update the centralized image, Resource Manager should update your project to match the updated centralized image.
    Again, I woudn't want to first delete the image followed by saving a new one using the same name. I would either open one of them (centralized or project) and edit as needed. Or edit a copy, make edits, then save using the same file name so the existing image is replaced.
    To the best of my knowledge, Resource Manager should sense the change as the date/time stamp should be different as well as possibly the size. Then the automation should kick in to update the image's counterpart and synchronize everything nicely. The only fly in this ointment would be if the new image were different in size from the pixel measurement standpoint. If the new image is wider or taller or narrower or shorter, you would need to ensure that you reset the sizes in your project so they match the new dimensions. Otherwise they will be a bit skewed and have the fun house effect. I believe RoboHelp supplies a script for this.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • EM 12c and Solaris Zone Monitoring

    Hi all,
    I am using Oracle EM 12c to monitor Oracle database server which run on Solaris zone, which is capped to run using only 4 cores.
    BUT the Host management home page is still showing "Total Cores" of 8 (I am using Sun T4-1).
    Is there some configuration which required to be done to reflect the number of capped CPU.
    Also is there a way to isolate the CPU, Memory, Filesystem and Network utilization to only look at the local zone?
    I suspect what I see now represent the resource utilization of the physical machine.
    Thank you.
    -Joel

    Loc,
    I've opened quite a few SRs, some handled well, some not. My biggest issue perhaps is that SRs are needed at all. We are a small shop that relied on OEM 10.2 for a long time, skipped over 11G and went right to 12R2. It was a culture shock, and I'm not sure if skipping the version added to our woes.
    There are 3 DBAs here, with Oracle experience between 13 and 18 years, we are not newbies. I took the em12c class from Oracle.
    But still, acceptance of its use has not been high, mostly because it's no longer the quick, targeted place we 'go to'. It's a huge product now, with much built-in. We are finding we need a mind adjustment to use it and the transition period related to how much time we can spend on that. Our intent, though, was to make things easier, not harder.
    Case in point is our implementation of DataGuard. This project was new to us and I made EM12C upgrade as a predecessor project because I needed its help. I ultimately abandoned it, we hired a consultant, we learned manual steps, and that's what we use today. Everything is homegrown.
    I feel as through the purpose for EM moved from a DBA monitoring tool. Remember OEM 10.2 and its initial summary page that showed the overall health of everything on one shot? I can't do that in em12c, or at least haven't found that.
    Here are some SRs:
    SR 3-6392247151
    Sr 3-7159111371
    SR 3-6645421051
    * SR 3-6608820051
    SR 3-6667182071
    * Covers "invalid objects" missing, something we previously relied on.
    Back to the original question of this post - I understand now that if we use EM to switch our databases, the role reversal will show. We would have loved to rely on EM for everything. Now that we must do everything manually, I have to then manually drop the target being monitored and re-add it. Again, something that should make our jobs easier is now harder.
    Thanks for listening. Am I really the only DBA that says EM12C is harder to use for basic functionality?
    Sherrie

  • SAP Java and Solaris Zones SolMan 4.0

    May require Solaris Zones experience to continue.
    I have three SAP database instances/central instances running in three sparse Solaris zones with no problem.
    I have created a new sparse zone for a new SAP installation (Solution Manager 4.0) and started the installation. SAP requires a 1.4.2 SDK even though Java 1.5 comes with Solaris 10. The 1.4.2 SDK is in /usr/j2se. The installation in the sparse zone errors out because it can't get "write" rights to /usr/j2se/jre/lib/security/local_policy.jar as it is trying to install some security encryption JCE component.
    I have thought about creating a /usr/j2se_zonename file system, copying the contents of /usr/j2se into it and then mounting /usr/j2se_zonename in the zone as a lofs with the name /usr/j2se. However when I do the copy of /usr/j2se I get some recursion errors.
    Any thoughts about how to add a writable /usr/j2se into the sparse zone with the least amount of effort ? Otherwise plan B would be to create a "large" zone with a writable /usr directory.
    Received a great answer, that while it may not be architecturally "pure" it may get the job done.
    You might just download the relevant JDK tarball and unpack that
    somewhere in your zone (anywhere you like), and point SAP at it...
    http://java.sun.com/j2se/1.4.2/download.html
    Get the one called "self extracting file"-- you can unpack that anywhere
    you want.
    Message was edited by: Atis Purins

    Hi Russ,
    no you only have to generate two RFCs to your R/3 and assign them in SMSY to for system monitoring
    Then you need a Solution, assign your R/3 to the Solution, setup the system monitoring.
    Regards,
    uDo

  • OSB and Solaris Zones

    Hi,
    Does anybody have any experience of running OSB inside a Solaris zone?
    I'm experimenting with this at the moment and would like to share the OSB installation with the global zone, but keep the /usr/etc and /usr/tmp directories where the host-specific stuff is stored private.
    Thanks.

    I following Oracle® Secure Backup Installation and Configuration Guide
    Release 10.3 :
    - To Viewing SCSI Bus Name-Instance Parameter Values in Solaris :
    # cd /usr/local/oracle/backup/install
    # installdriver
    bash: installdriver: command not found
    # ./installdriver
    case: Too many arguments
    How could i can run the installdriver script for SCSI information
    Best Regards
    Ch

  • Oracle 10g database as Resource manager and heuristic transaction decision

    Hi,
    I have read in documents about distributed tarnsaction that resource manager like oracle databasecthat are involved in distributed transaction can take heuristic decision(unilateral decision) and can either rollback or commit the transaction associated with itself without having confirmation from the transaction manager.
    I want to know how a resource manager take this unilateral decision and can we set this as parameter either in resource manager or in application server.
    Thanks in advance

    Hi,
    Following are some links to documents.
    Handling Heuristic Completions
    http://edocs.bea.com/wls/docs81/ConsoleHelp/jta.html
    A heuristic completion (or heuristic decision) occurs when a resource makes a unilateral decision during the completion stage of a distributed transaction to commit or rollback updates. This can leave distributed data in an indeterminate state. Network failures or resource timeouts are possible causes for heuristic completion. In the event of an heuristic completion, one of the following heuristic outcome exceptions may be thrown:
    HeuristicRollback—one resource participating in a transaction decided to autonomously rollback its work, even though it agreed to prepare itself and wait for a commit decision. If the Transaction Manager decided to commit the transaction, the resource's heuristic rollback decision was incorrect, and might lead to an inconsistent outcome since other branches of the transaction were committed.
    HeuristicCommit—one resource participating in a transaction decided to autonomously commit its work, even though it agreed to prepare itself and wait for a commit decision. If the Transaction Manager decided to rollback the transaction, the resource's heuristic commit decision was incorrect, and might lead to an inconsistent outcome since other branches of the transaction were rolled back.
    HeuristicMixed—the Transaction Manager is aware that a transaction resulted in a mixed outcome, where some participating resources committed and some rolled back. The underlying cause was most likely heuristic rollback or heuristic commit decisions made by one or more of the participating resources.
    2. Understanding EJB Transaction
    http://www2.sys-con.com/itsg/virtualcd/Java/archives/0504/tyagi/index.html
    Unilateral Decisions
    The transaction manager allows certain heuristic or speculative decisions to be made based on the state of all participating resources in a transaction and the underlying two-phase commit protocol. A heuristic decision occurs when one of the resources in the transaction unilaterally decides to commit or roll back the transaction without permission from the transaction manager
    3. Oracle® Containers for J2EE
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28958.pdf
    Heuristics
    To achieve consensus, two-phase commit is a blocking protocol. This means that, if a coordinator fails before delivering the final phase messages, the participants must remain blocked, holding onto resources. Modern transaction systems add heuristics to two-phase commit, which allows such participants to make unilateral decisions about whether they will commit or rollback. If a participant makes a choice that turns out to be different from the one taken by other participants, then non-atomic behavior occurs.
    I got this problem while trying to do a distributed J2EE tarnsaction with two XA (one MQ and other Oracle 10g database XA) and one non-xa (oracle 10g database). According to above docs a resource manager can decide tarnsaction final state unilaterally and that can result in unatomic transaction.
    Do oracle also make such decision and if yes then on what ground it takes decision? Can we change this according to our requirement either always rollback/commit anywhere as parameter setting?
    Thanks

  • CRM 7 Marketing Resource Management and BI

    Hello Gurus,
    we want to use the scenario for marketing resource management with integrated BI.
    Unfortunately in customizing and SAP Help only the connection to SAP BI BPS is described.
    As far as I know BPS is an old tool. What about the use of BI-IP or BPC?
    If you any information on that, I would be happy if you share it with me.
    Thanks a lot and kind regards
    Hannes

    Yes, Marketing resource management (MRM) is about managing all the resources required in marketing - money/budgets, time and resources (people, assets, etc.) and improving efficiency.
    Defined by analysts as "a set of processes and capabilities that aim to enhance a company's ability to coordinate and optimize the use of internal and external marketing resources. MRM applications facilitate planning and budgeting, they coordinate execution and measure the impact of marketing efforts."
    So, it goes beyond scenario planning and also includes budgeting, digital asset management, workflows, etc.
    Refer to this link for documentation:
    [http://help.sap.com/saphelp_crm70/helpdata/en/e0/4017b12a414e50bde6eb17b4b1233e/frameset.htm|http://help.sap.com/saphelp_crm70/helpdata/en/e0/4017b12a414e50bde6eb17b4b1233e/frameset.htm]
    Let me know if you need any additional information.
    Anik

  • Database resource manager and RAC

    Hello,
    This is probably is very simple question, but...
    I have a system with mixed workloads (OLTP and BATCH). As many before, I want to prevent BATCH processes from impacting OLTP. I read about RAC and DRM, and how each could be used to assign resources to services.
    Do I need RAC to be able to use DRM? Or can I do DRM without RAC? Are they the same thing?
    Thanks in advance for your help.

    DRM provides control over resource management decisions on both oracle standard and clustered databases.
    pecifically, using the Database Resource Manager, you can:
    * Guarantee certain users a minimum amount of processing resources regardless of the load on the system and the number of users
    * Distribute available processing resources by allocating percentages of CPU time to different users and applications. In a data warehouse, a higher percentage may be given to ROLAP (relational on-line analytical processing) applications than to batch jobs.
    * Limit the degree of parallelism of any operation performed by members of a group of users
    * Create an active session pool. This pool consists of a specified maximum number of user sessions allowed to be concurrently active within a group of users. Additional sessions beyond the maximum are queued for execution, but you can specify a timeout period, after which queued jobs will terminate.
    * Allow automatic switching of users from one group to another group based on administrator defined criteria. If a member of a particular group of users creates a session that executes for longer than a specified amount of time, that session can be automatically switched to another group of users with different resource requirements.
    * Prevent the execution of operations that the optimizer estimates will run for a longer time than a specified limit
    * Create an undo pool. This pool consists of the amount of undo space that can be consumed in by a group of users.
    * Limit the amount of time that a session can be idle. This can be further defined to mean only sessions that are blocking other sessions.
    * Configure an instance to use a particular method of allocating resources. You can dynamically change the method, for example, from a daytime setup to a nighttime setup, without having to shut down and restart the instance.
    * Allow the cancellation of long-running SQL statements and the termination of long-running sessions.
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10739/dbrm.htm#i1007556

  • Differences between Soalris and Solaris Express /Developer Edition

    Hi
    Thank you for readingn my post
    What is different between Solaris Express (Developer Edition) and solaris OS?
    Are they the same and with same capabilities?
    Can I install S1 Grid suite in a Express edition?
    Thanks

    Solaris 10 (with several updates) is the current release version of the Solaris operating system.
    Since the release in '05, Sun has been developing the "next" version of Solaris. Using the OpenSolaris code as a base, this version is codenamed "Nevada". Periodic builds of this version are available as Solaris Express. So you get more up-to-date drivers, features, and bugs from it. Because it's under development, there are no patches. Instead you'd need to upgrade to the next release (or create your own patch).
    I haven't looked specifically at S1 Grid, so it very likely will install. However installations on Solaris Express may not be a supported configuration if you need that.
    Darren

  • Resource management and information about material.

    The system enables the management of resources and information about materials, vendors and stocks in the data base quickly. How is this made?
    I.   Through individual researches of Purchase Orders.
    II.  Through the display or issue of reports and/or analysis (monitoring the PO history and stocks balance).
    III.  Through the invoice Verification process.

    Hi,
    Probably all of mentioned in some extent - depends, which data system needs.
    regards,
    wojciech

  • Location Manager and Time Zones Feature Request

    I use my Powerbook for consulting - and travel extensively.
    Location Manager handles my network setups, but, to the best of my knowledge, NOT the time zone information.
    I'd like to have the option to set the time zone from my location manager, so that when I get to a customer site, and attach to the network, files, iCal, Mail, and other timestamped files are correctly in sync with the location.
    I could probably write an automator script to do this, but it would be best supported directly in Location Manager.

    Hi, Kirk. Welcome to the Discussions.
    For Mac OS X feature requests, submit a Mac OS X Feedback. These Discussions are user-to-user communications only. Feedback is the formal mechanism for submitting feature requests.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Error Implementing Oracle Projects Resource Management

    I'm implementing Oracle Resource Management and I've followed all the requirement/steps in the Implementation Guide. I realized that after I changed the flag "Include in Utilization" to Yes in the Job Definition, the request showed me the following error in log:
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8ISO8859P1
    Enter Password:
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-06503: PL/SQL: Function returned without value
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-06503: PL/SQL: Function returned without value
    Thanks in Advance.

    Hi Dean and Dina,
    Thanks for your answers. Following is the missing info:
    - Yes, we are using the AIA PIP
    - We are using 'Workplan enabled' projects for integration with a 'Partially Shared Structure'
    - In integration options, we are only integrating 'Workplan' with a 'Working Version'
    - We are trying to send only progress information from P6 to Oracle Projects, not the time card info
    Iniitially, when trying to send progress from P6 to Oracle Projects, we were getting the error - 'You cannot update a published version of the workplan'
    However, after checking the following flags, we stopped getting any errors in AIA/middleware and still not getting any data into Oracle Projects:
    Projects --> Setup --> Integration settings:
    Integrate - Workplan - Send Task - Current Working Version
    Integrate - Workplan - Receive Task
    Workplan --> setup:
    Allow Physical Percent Complete Collection
    Allow Physical Percent Complete Overrides
    Thanks for your help.

  • XRPM Resource management fast entry screen

    When I user the staffing in resource management, I can see the project for which I have been assigned as resource manager and also resources in my pool. But the entry screens are non editable. Is there any setting to make this fast entry screen editable
    Thanks

    Hi,
    Please check whether you have the resources in the Staffing filed or not.
    I would suggest if you can have it after the Cache clearance once, if you are checking the above functionality immediately after creating the resources.
    As you said you have the Project manager and other resources as viewable, please also check their availability maintained during the period.
    Hope it will solve your query.
    Regards,
    Nishit

  • Over of using Database Resource Manager

    Hi All,
    I am currently, doing a research on Database Resource Manager for implementing it in one of the Warehouse project database. Before, implementing it I would like to know few things. My Question is:
    Q. Does using Database Resource Manager cause any overhead? Any extra background process? any extra CPU Usage overhead? Any resource cost of using Database Resource Manager? Does it have any impact on resources and does it impact performance of the database?

    Hi Madrid,
    Thank you for your reply. Currently, we are looking into to implement Resource Manager in a dataware house environment because there are some ad-hoc users who execute really bad queries which puts lot of load on the database server which in turn slows down the performance. And there are few other reasons too. I not the primary for that environment though. This Resource Manager came up we thought that it might help us in controlling the ad-hoc users bad queries and also the environment.
    I have one more question in regards to resource manager. I have written a shell script which generates a report for stats of a resource plan from V$RSRC_CONSUMER_GROUP - which has stats data. But my concern is it stores historical stats too. For example, I have implemented resource manager and ran some queries and generated report and terminated all the sessions.
    Next day when I again run some queries and generate a report it gives stats combined with previous days stats. Is there any solution for this? So, that I can generate a report for stats at a point of time. For OEM I can reset the stats and get most current stats but this is not the case with the view I mentioned above. Please let me know if there is any other alternative for this. Hope you got my question.

Maybe you are looking for

  • I look after multiple ipads each with their own itunes account. How can I manage them all from one computer.

    I am looking after 20 ipads each with their own itunes account.  Am I able to have more than one itunes account on my computer so that I can sync these ipads when necessary.  We don't always buy our songs on itunes. Sometimes we buy the cds and downl

  • [SOLVED] External USB HDD drive gets disconnected randomly

    Hi, I'm encountering problem with external HDD drive. Recently I've installed a new drive and reinstalled Arch. I use my old disk as external one connected by USB. Unfortunately it get's disconnected randomly. This is what I found in journal: journal

  • How to change mobile activation email account?

    Mistakenly while making activation of mobile iPhone 4, I entered wrong email address and now its getting problem. How could I change my activation email account, its creating problems in itunes, and other applications?

  • Too many addresses in mail's "From" pull-down menu

    i have 3 mobileme addresses, a few of aliases, and 1 gmail account. my problem is this: when composing a new message, there are too many addresses the "from" pull-down menu, because mail includes both the .mac and .me versions of each of my aliases.

  • How to make automators actions invisible

    My wife and I share an iPhoto library on an external firewire drive connected to an iMac. My wife connects to this from her Macbook via wifi. I have developed a simple automator script which automatically connects to the iMac and changes to the firew