Connected Users balanced on CUPS

hello
I user CUPS Version 8.6.4 with automatic balance mode
We have 8000 users. 4000 are assigned to one server, 4000 are assigned to the others
I'm surprised that every day the Connected sockets are well balanced in term of users.
I don' understand why every day I have exactly the same number of connected sockets on each server.
How is it possible ?
Does the cups load balanced the users at every connection in order each server has the same connected users to it ?
For example, if 100 users that normally are assigned to the server 1, I should have 100 connected sockets to server1 and 0 on server2 OR does the cluster rebalance the users ?
What is the process of connection then ?
Thx
Olivier

Hi Jakub,
I'm looking for a shutdown option even with users connected. Did you solve this issue?
I use an iMac (with a busted video card) as a media server. Same problem with conected users (other computers).
Adam.

Similar Messages

  • Howto - connection load balancing

    Hello
    I have a 11.1.0.7 clustered oracle db with two nodes. Using the oci access through the ojdbc14.jar for oracle 9.2.0.1 I programmed a datasource like this:
    public class DataSource_9i_oci
    extends OracleOCIConnectionPool
    public DataSource_9i_oci() throws SQLException
    super();
    setUser(RACBehaviourTest.UNAME);
    setPassword(RACBehaviourTest.PSWD);
    setURL("jdbc:oracle:oci:@tnsname");
    Properties poolConfig = new java.util.Properties( );
    poolConfig.put (OracleOCIConnectionPool.CONNPOOL_MIN_LIMIT, "1");
    poolConfig.put (OracleOCIConnectionPool.CONNPOOL_MAX_LIMIT, "100");
    poolConfig.put (OracleOCIConnectionPool.CONNPOOL_INCREMENT, "2");
    setPoolConfig(poolConfig);
    My TNSNAMES.ORA contains the name
    tnsname=
    (description=
    (load_balance=on)
    (failover=on)
    (address_list=
    (address=(protocol=tcp)(host=xxx.xx.xx.xxx)(port=1521))
    (address=(protocol=tcp)(host=xxx.xx.xx.xxx)(port=1521)))
    (connect_data=
    (service_name=service.name)
    (failover_mode =
    (type = select)
    (method = basic))))
    Then I spawned a group of threads each issuing a select statement and holding after that, until a central thread collects session statisticss from gv$session about the opened sessions in each instance for my user, and unblocks the working threads only after that.
    This test is aimed at evaluating the load balancing capabilities of the oci vs thin drivers in different versions. The code above is the data source being used with the 9.2.0.1 oci driver.
    Then I have another DataSource to be used in the same test and the ojdbc6.jar thin driver for 11.1.0.7. It is programmed like this:
    public class DataSource_11g_thin
    extends OracleDataSource
    public DataSource_11g_thin(boolean enableFCF) throws SQLException
    super();
    String url = "jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on) " +
    "(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xx.xx.xxx) (PORT=1521)) " +
    "(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xx.xx.xxx) (PORT=1521)) " +
    "(CONNECT_DATA=(SERVICE_NAME=service.name)))";
    setURL(url);
    setUser(RACBehaviourTest.UNAME);
    setPassword(RACBehaviourTest.PSWD);
    setImplicitCachingEnabled(true);
    Properties props = new Properties();
    props.setProperty("InitialLimit", "500");
    props.setProperty("MaxLimit", "500");
    props.setProperty("ValidateConnection", "true");
    setConnectionCacheProperties(props);
    This test is using connection load balancing without leveraging the FAN infrastructure.
    So, with this setup and creating 100 threads, what my tests show is that there's no load balancing in the 9i oci driver, all the 100 sessions are being opened in the same instance. The 11g thin driver however, distributes the opened sessions between the two nodes, even if in an unbalanced way (70-30).
    Is there any way to activate load balancing in the oci driver ? Am I missing something ?
    Thank you in advance.

    use this link
    http://www.trivadis.com/uploads/tx_cabagdownloadarea/J2EE_RAC_setup_xp_ok_01.pdf

  • Error encountered during provisioning of user to SAP CUP in OIM 11g R1 BP07

    We recently updated our environment from 11.1.1.5 BP05 to 11.1.1.5 BP07.
    We are facing an issue with provisioning users to SAP CUP system. We receive an error specifying :
    Response: oracle.iam.connectors.sap.cup.ws.submitreq.ObjectFactory
    Response Description: Unknown response received
    However, we are unable to find any errors related in the log file. The SAP UM connector version is 9.1.2.5. Please let us know the cause of this issue.

    1. Login to Design Console and open your GTC provisioning process definition , then Add a new task called "Notify Email".
    2. Check Required for Completion, Allow Cancel and optionally Disable Manual Insert.
    3. In the Integration tab, add tcCompleteTask
    4. In the assignment tab, add an entry with the Default rule, target type of User, and for the User field pick an existing user with a valid email address in their User Profile.
    5. In the Notification tab add an entry and check Assignee, (You can select User, Manager etc ) have the Status field set to C and for the Email field pick a Provisioning type of Notification Template that you have already created.
    N.B: 7. Make sure the IT Resource and email configuration properly otherwise you will not get the mail.
    Thanks
    Tamim Khan

  • How to Use  Connected-User DBLink in a trigger??

    In the trigger body,I need to call a remote procedure through a Connected-User dblink.But error occurs when the trigger is compiled.
    ORA-01005:null password given;logon denied
    Can't a Connected-User dblink be used in a trigger?
    Thanks.

    Hi,
    I don't know if this helps, but you can create a DBLink with the username and password and the SID to connect to. Then try using this DBLink in trigger.

  • How do I view a list of connections (Connected users) to a service like web or file services?

    how do I view a list of connections (Connected users) to a service like web or file services? you used to be able to do this in Server Admin in 10.6 by lleft clicking on a service like file sharing and the clicking connections located towards the top of the server admin window. This seems to havedisappeared  in Lion server and its a useful feature
    any suggestions would be very welcome. Thank You.

    I've found a way through Terminal for AFP and Mail:
    https://discussions.apple.com/message/16155552#16155552

  • I want to connect a balance with a PC.

    I want to connect a balance with a PC.
    I search a free soft to capture the data on the rs232 port.
    thank
    * Remove the ~ me to contact *
    * Go to F.W.I with Media Evasion. *
    * http://www.multimania.com/vdelorme *
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    The manufacturer of the balance is a pretty important bit of information
    to know here. It could well turn out that there is driver software (a
    software programming interface written specifically to make
    communicating with the balance easy) available in LabVIEW or some other
    programming language.
    At the least, you could probably find out the list of commands that the
    balance supports on the manufacturer's Web site and then write your own
    serial I/O code in LabVIEW to interact with it.
    Regards,
    John Lum
    National Instruments
    > I want to connect a balance with a PC.
    >I search a free soft to capture the data on the rs232 port.
    >thank

  • JCO Connection User

    Hi gurus,
    I'd like to ask you what kind of user you use for connection in JCO connections. For our test system I used my own user but in live system a stable user must be used?
    Any ideas?
    Tolga

    Hi Tolga,
    You can have the JCO connection user having only the following authorizations from the S_DDIC_MDI profile.
    But i do not think there should be any issue if you have the JCO connection user having the SAP_ALL also. As this is the main connector user between the system.
    Thanks & regards
    Arun

  • Materialized view refresh using connected user db links

    I have a general question. I have a materialized view that more or less joins tables from 2 databases.
    For example I have a table X in database A, and a table Y in database B. I create the materialized view in the schema owning table X in database A. Tables A & B from both database are in the same schema with a synchronized password. My materialized view is created to join tables A & B using connected user DB links, and everything works when I create the view, however, it appears that the refresh is failing. I suspect this is because of the connected user link and there is no "logged" in user when the refresh occurs.
    Does anyone know if it is possible to create a materialized view between 2 tables in different databases to refresh using a connected user DB link?
    Thanks.

    sybrandb
    Why does it not make sense to have materialized views accross databases?
    If a materialized view is essentially a remote copy, then wouldn't that imply accross databases? The only thing I did was to take it a step further and join it with a local table in the owning database.
    About not being right about not having a connected user., that may be right, but I have a thought/question..... I equated this as using connected user links in jobs scheduled via dbms_job or dbms_scheduler, as when this runs there is no user connected to the database to provide remote credentials for the link... Essentially this seems to be like a cron job that fires on some schedule (whether a user is connected or not), it would seem to me that it might need to have credentials defined in order to be able to connect to the remote database.
    Thanks

  • Idea of sending a message for all connected users.

    Dears,,,
    I'm trying to develop through oracle forms an idea of sending a pop-up message to all connected users.
    Example, I need to inform users to quit in 5 minutes due to a restart to the application server.
    I thought about a timer trigger that will check every 5 seconds or 10 seconds a value somewhere in a table. But I don't want to use the timer triggers associated in oracle forms.
    Is there any idea ?
    Please let me know.
    Joe

    Use Iframe tag.
    For this:
    Add an “IFRAME” in the base html file used (for example basejpi.htm file)
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->
    %HTMLafterForm%
    <IFRAME SRC="/forms/java/iframe.html">
    </BODY>
    </HTML>
    Then create an html file named "iframe.html" with the following content :
    <HTML>
    <HEAD>
    <meta http-equiv="refresh" content="10">
    </HEAD>
    <BODY>
    <H1>Please disconnect, The system will go Down !!!!</H1>
    </BODY>
    </HTML>
    Every time you would like to send a message, just add it in the iframe.html file ans users will see it.
    The iframe size can be customized.

  • Server specifications for 1000 concurently connected users.

    Dear all,
    we want to prepare a server having windows server 2003 to install oracle database 10g. the same server will act as an application server as well.
    we want to know how much size of the following we need if we have 1000 concurrently connected users;
    1.RAM
    2.Processor
    Thank you.

    the same server will act as an application server as well.
    BAD Idea. Really very bad. IO patterns on an application server are completely different from a database server.
    Disk will be a bottleneck.
    And server will be Single Point of Failure,
    And why Win2003 and not Win2008?
    Sybrand Bakker
    Senior Oracle DBA

  • Connection Load Balancing question

    Hi All,
    this is from oracle net8 Administrator's Guide (between double quotes):
    "Connection load balancing improves connection performance by balancing the number of active connections among multiple dispatchers. In an Oracle Parallel Server environment, connection load balancing also has the capability to balance the number of active connections among multiple instances. "
    My question is, from that statement above, does it mean that the connection load balancing can only be useful on a OPS with MTS instances?
    and second is , does it make sense (or can it be done) to implement it on single instance of MTS?
    TIA,
    Andi

    Hi Andi,
    CLB is only used in cluster configuration! In single node instance there is no advantage for ovbious reason of putting one more layer.
    you are right...use only with OPS and preferably with MTS.
    Best,
    G

  • Data subsetting depending on connected user

    hi there.
    It is possible to define parameters in the where clause when defining a publication item. This parameter is resolved at runtime which provides the possiblity to send just a subset of the data of the given publication item back to the remote client.
    In my case the subset is driven by the connected user. How can I configure this requirement. Do I need to define a own MyCompose class or even an own queue for this purpose?
    thx for any hints.
    j.

    Here is a section on shared maps from the documentation. You accomplish your task by assigning the user to a group.
    It is very common for publications to contain publication items that are used specifically for lookup purposes. That is, a publication item that creates a read-only snapshot. The server may change these snapshots, but the client would never update them directly. Furthermore, many users often share the data in this type of snapshot. For example, there could be a publication item called zip_codes, which is subscribed to by all Mobile users.
    The main function of Shared Maps is to improve scalability for this type of publication item by allowing users to share record state information and reduce the size of the resulting replication map tables. By default, if you have a non-updatable publication item, it defaults to using shared maps.
    Note:
    Shared Maps can also be used with updatable snapshots if the developer is willing to implement their own conflict detection and resolution logic; however, normally shared maps are only for non-updatable snapshots.
    Shared maps shrink the size of map tables for large lookup publication items and reduce the MGP compose time. Lookup publication items contain read-only data that is not updatable on the clients and that is shared by multiple subscribed clients. When multiple users share the same data, their query subsetting parameters are usually identical.
    For example, a query could be the following:
    SELECT * FROM WHERE EMP WHERE DEPTNO = :dept_id
    In the preceding example, all users that share data from the same department have the same value for dept_id. The default sharing method is based on subscription parameter values.
    In the following example, the query is:
    SELECT * FROM WHERE EMP WHERE DEPTNO = ( SELECT DEPTNO FROM EMP WHERE EMPNO = :emp_id )
    In this example, users from the same departments still share data. Their subsetting parameters are not equal, because each user has a unique emp_id. To support the sharing of data for these types of queries (as illustrated by the example), a grouping function can be specified. The grouping function returns a unique group id based on the client id.
    There is also another possible use for shared maps. It is possible to use shared maps for shared updatable publication items. However, this type of usage requires implementation of a custom dml procedure that handles conflict resolution.

  • Run-time connection load balancing

    Hello!
    I'm using jdbc thin client (10g) and I'm trying to improve connection pool management. I would like to enable run-time connection load balancing. Is this option
    available with Fast Connection failover?
    Basically when a a client requests a connection from the connection cache by calling the getConnection method on the DataSource object, I want that the connection selected
    is the connection that belongs to the best instance from the connection cache. The client receives the connection that would process the work request with the
    best response time.
    With run-time connection load balancing ebabled what's happen when new connection is requested? The same algorithm?
    Other question:
    Is it possible create a manually process to distribute new connections? Having the following connection string:
    url="jdbc:oracle:thin:@
    (DESCRIPTION=
    (ADDRESS=(protocol=tcp)(host=192.168.12.17)(port=1521))
    (ADDRESS=(protocol=tcp)(host=192.168.12.18)(port=1521))
    (load_balance=on)
    (connect_data=(service_name=EHR)))"
    In a specific moment I want that new connections only will be created in a specific instance... How can I do this? P.e.
    Connection POOL has 10 connections (5 in each instance). All sessions are active and a new session needs to be created. At this moment I want to decide wich instance
    is the best to attend the request...
    Thanks a lot
    Best Regards

    Hi, there are several questions here. So, let me try to answer some, and I could address more if you have further questions. I am also presuming you are using JDBC driver's
    colocated Implicit connection cache.
    1) Yes, you need to enable FCF on the pool to leverage RCLB. Note, there are
    no specific knobs for RCLB on the client side, only the RAC / DB side which requires
    LBA to be enabled (this is documented in the RAC clusterware admin guide)
    2) When LBA is enabled on RAC/DB, RAC starts posting FaN events to the pool.
    This enables the pool to pick the best connection to an instance with the best
    service response time or throughput -- depending on how LBA was enabled.
    3) When new connections are created, the pool relies on the DB listener to place/create
    the connections on the appropriate RAC instance -- this depends on the LBA goal you
    set, and is required to be set to "short"
    4) The pool currently does not have the ability to create a conn to a named instance.
    What's the requirement or use case for this? If we understand this better, perhaps
    we could address this. How do "you" decide which is the best instance to connect?

  • Clients connections not balanced across proxies

    Guys,
    I have 8 Extend clients connecting to 6 proxies. With 3.7, my understanding was by default clients connections should be balanced across available proxies but its not the case always. I see some times client connections are not load balanced at all.
    Have been through -- http://docs.oracle.com/cd/E24290_01/coh.371/e22839/gs_configextend.htm#BEBBIJAI
    I've specified two proxies in the client side config
              <tcp-initiator>             
               <remote-addresses>
                   <socket-address>
                      <address>35.54.42.46</address>
                      <port>9099</port>
                   </socket-address>
                   <socket-address>
                      <address>35.54.42.47</address>
                      <port>9099</port>
                   </socket-address>
                </remote-addresses>
                   <connect-timeout>10s</connect-timeout>
                </tcp-initiator>
    Haven't configured load balancer on the proxy, so by default it should be set to 'proxy'. Have even tried by explicity configuring load balancer to 'proxy' bo luck.
    Certain times I see, which is perfect
         proxy 1 -- 1 client connection
         proxy 2 -- 2 client connection's
         proxy 3 -- 1 client connection
         proxy 4 -- 1 client connection
         proxy 5 -- 2 client connection's
         proxy 6 -- 1 client connection
    But I also see
         proxy 1 -- 1 client connection
         proxy 2 -- 3 client connection's
         proxy 3 -- 0 client connection
         proxy 4 -- 0 client connection
         proxy 5 -- 1 client connection
         proxy 6 -- 3 client connection's
    Any ideas to fix this would be appreciated.
    Thanks
    K

    Hi Venkat,
    Been monitoring RequestTotalCount, but I still think connections still imbalanced..
    Currently, I have 3 clients and 5 proxy nodes and i see
    Proxy node 1 ---  ConnectionCount=2, RequestTotalCount=25
    Proxy node 2 ---  ConnectionCount=0, RequestTotalCount=23
    Proxy node 3 ---  ConnectionCount=0, RequestTotalCount=4
    Proxy node 4 ---  ConnectionCount=0, RequestTotalCount=18
    Proxy node 5 ---  ConnectionCount=1, RequestTotalCount=19
    Would appreciate your clarification. Also, shound't client connections be balanced based on 'ConnectionCount' and other attributes like CPU usage, etc?
    Thanks
    K

  • Drive not visible to connected users

    I have an external drive that is partitioned and connected to my mac mini and on the network. The drive and both partitions mount automatically when the Mac Mini is restarted. And both partitions were visible when I connected to the Mac Mini as a registered user. However, I changed the name of one of the partitions and now it mounts on my Mac Mini but it is no longer visible when I connect to the computer via the network.
    What do I need to do to make to visible to connected users?

    Repaired Drive using Disk Utility and restarted Mac Mini. Volume now visible.

Maybe you are looking for

  • Windows 8.1 on Mac Mini late 2012

    Hello, I'm trying to put Windows 8.1 on my Mac Mini late 2012 (as my Windows laptop is dying) but I'm not getting anywhere. What I've done so far: Use BCA to use Win8.1 ISO and make the bootable USB, it reboots, "No available drivers" Use BCA to make

  • Closed Sales orders in Open Item list

    Hi all, I facing a problem, I have closed few sales orders through right click and close but those are still visible in open sales order list report, can anybody please help me in this regards, Regards, Atul Joshi

  • ICloud on iMac - asked to enter password every time I login

    I share an iMac (intel) with my wife. We have separate accounts on the iMac each without a password. My account works just fine with iCloud and my AppleID is linked to my user account on the iMac. However, whenever my wife logs in, she is asked every

  • Windows 7: Unable to print pdf documents with Reader 9.3.0

    I have the following problem. Right now we are on the way to deploy Windows 7 in our environment. Now i have come over a problem with Adobe Reader 9.3.0, Windows 7 and our older printer modells from HP (4000er and 4050er). With them I can't print out

  • Where can i get osx lion

    Hi i have a macbook pro that came with osx lion and would like to uprgade my white macbook 2008 to osx lion 10.7 But i upgraded my macbook pro to 10.8 and i don't have osx lion on a cd or flash drive where can i purchase osx lion