DskPercent not returned for ZFS filesystems?

Hello.
I'm trying to monitor the space usage of some ZFS filesystems on a Solaris 10 10/08 (137137-09) Sparc system with SNMP. I'm using the Systems Management Agent (SMA) agent.
To monitor the stuff, I added the following to /etc/sma/snmp/snmpd.conf and restarted svc:/application/management/sma:default:
# Bug in SMA?
# Reporting - NET-SNMP, Solaris 10 - has a bug parsing config file for disk space.
# -> http://forums.sun.com/thread.jspa?threadID=5366466
disk /proc 42%  # Dummy Wert; wird fälschlicherweise ignoriert werden...
disk / 5%
disk /tmp 10%
disk /apps 4%
disk /data 3%Now I'm checking what I get via SNMP:
--($ ~)-- snmpwalk -v2c -c public 10.0.1.26 dsk
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2
UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3
UCD-SNMP-MIB::dskIndex.4 = INTEGER: 4
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /tmp
UCD-SNMP-MIB::dskPath.3 = STRING: /apps
UCD-SNMP-MIB::dskPath.4 = STRING: /data
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/md/dsk/d200
UCD-SNMP-MIB::dskDevice.2 = STRING: swap
UCD-SNMP-MIB::dskDevice.3 = STRING: apps
UCD-SNMP-MIB::dskDevice.4 = STRING: data
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.3 = INTEGER: -1
UCD-SNMP-MIB::dskMinimum.4 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 5
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: 10
UCD-SNMP-MIB::dskMinPercent.3 = INTEGER: 4
UCD-SNMP-MIB::dskMinPercent.4 = INTEGER: 3
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 25821143
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 7150560
UCD-SNMP-MIB::dskTotal.3 = INTEGER: 0
UCD-SNMP-MIB::dskTotal.4 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 13584648
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 6471520
UCD-SNMP-MIB::dskAvail.3 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.4 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 11978284
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 679040
UCD-SNMP-MIB::dskUsed.3 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.4 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 47
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 9
UCD-SNMP-MIB::dskPercent.3 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.4 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 9
UCD-SNMP-MIB::dskPercentNode.2 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.3 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.4 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: noError(0)
UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: noError(0)
UCD-SNMP-MIB::dskErrorFlag.3 = INTEGER: noError(0)
UCD-SNMP-MIB::dskErrorFlag.4 = INTEGER: noError(0)
UCD-SNMP-MIB::dskErrorMsg.1 = STRING:
UCD-SNMP-MIB::dskErrorMsg.2 = STRING:
UCD-SNMP-MIB::dskErrorMsg.3 = STRING:
UCD-SNMP-MIB::dskErrorMsg.4 = STRING: As expected, dskPercent.1 and dskPercent.2 (ie. */* and */tmp*) returned good values. But why did Solaris/SNMP/??? return 0 for dskPercent.3 (*/apps*) and dskPercent.4 (*/data*)? Those directories are on two ZFS which are on seperate zpools:
--($ ~)-- zpool list
NAME   SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
apps  39.2G  20.4G  18.9G    51%  ONLINE  -
data   136G   121G  15.2G    88%  ONLINE  -
--($ ~)-- zfs list apps data
NAME   USED  AVAIL  REFER  MOUNTPOINT
apps  20.4G  18.3G    20K  /apps
data   121G  13.1G   101K  /dataOr is it supposed to be that way? I'm pretty much confused, because I found some blog posting by a guy called asyd at http://sysadmin.asyd.net/home/en/blog/asyd/zfs+snmp. Copying from there:
snmpwalk -v2c -c xxxx katsuragi.global.asyd.net UCD-SNMP-MIB::dskTable
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /home
UCD-SNMP-MIB::dskPath.3 = STRING: /data/pkgsrc
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/dsk/c1d0s0
UCD-SNMP-MIB::dskDevice.2 = STRING: data/home
UCD-SNMP-MIB::dskDevice.3 = STRING: data/pkgsrc
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 1017935
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 0
UCD-SNMP-MIB::dskTotal.3 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 755538
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.3 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 21
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 18
UCD-SNMP-MIB::dskPercent.3 = INTEGER: 5What I find confusing, are his dskPercent.2 and dskPercent.3 outputs - for him, he got back dskPercent for what seems to be directories on ZFS filesystems.
Because of that I'm wondering about how it is supposed to be - should Solaris return dskPercent values for ZFS?+
Thanks a lot,
Alexander

I don't have the ability to test out my theory, but I suspect that you are using the default mount created for the zpools you've created (apps & data) as opposed to specific ZFS files systems, which is what the asyd blog shows.
Remember, the elements reported on in the asyd blog ARE zfs file systems; they are not just directories. They are indeed mountpoints, and it is reporting the utilization of those zfs file systems in the pool ("data") on which they are constructed. In the case of /home, the administrator has specifically set the mountpoint of the ZFS file system to be /home instead of the default /data/home.
To test my theory, instead of using your zpool default mount point, try creating a zfs file system under each of your pools and using that as the entry point for your application to write data into the zpools. I suspect you will be rewarded with the desired result: reporting of "disk" (really, pool) percent usage.

Similar Messages

  • Mount options for ZFS filesystem on Solaris 10

    Do you know some recomendation
    about mount options for SAP on Oracle
    with data on ZFS filesystem?
    Also recomended block size required.
    We assume that file system with datafiles has 8kb block size
    and offline redologs has default (128kB).
    But what about ONLINE REDOLOGS?
    Best regards
    Andy

    SUN Czech installed new production HW for one Czech customer with ZFS filesystem on data-, redo- and archivelog files.
    Now we have performance problem and currently there is no SAP recomendation
    for ZFS file system.
    The HW which are by benchmark about tvice power has worst responses than
    old hardware.
    a) There is bug in Solaris 10 - ZFS buffers once allocated are not released
        (generally we do not want to use buffering due to prevence of double
         buffering)
    b) ZFS buffers takes about 20GB (32GB total) of memory on DB server
    and we are not able to define huge shared pool and db cache. (it may be possible
    to set special parameter in /etc/system to reduce maximum size of ZFS buffers to e.g. 4GB )
    c) We are looking for proven mount option for ZFS to enable asynchronious/concurent io for database filesystems
    d) There is no proven clear answer for support of ZFS/SOLARIS/Oracle/SAP.
    SAP says It is Oracle problem, Oracle does not certify filesystems from Jan2007
    any more and says ask your OS provider and SUN looks happy, but performance
    goes down and it is not so funny for system with 1TG DB with over 30GB grow
    per month.
    Andy

  • HttpUrlConnection.getInputStream() does not return for a particular website

    Hi,
    In my code, I am using an instance of java.net.HttpUrlConnection to "get" a web page. I am able to do it for all websites - except a particular website [Summary is at the end of this post]. The program hangs [for 10+ minutes and then throws an exception ] when I invoke
    InputStream err = httpCon.getErrorStream();
    System.out.println("Error is : " + err); // I get err as "null"
    // It hangs below for 10+ minutes and then throws an exception
    httpUrlConnection.getInputStream(); // httpUrlConnection is a valid
    I get an error when I try to get the webpage using I.E or Netscape too.
    So most likely there is some problem with the website. However I do not want my program to hang for 10+ minutes.
    I even tried to get the headers but even that invocation blocks:
    System.out.println("Reading header ........");
    for(int i = 1; i < 100; i++) {
    str = httpCon.getHeaderFieldKey(i); // <<<<<-- HANGS HERE!!!
    if(str == null || str.length() <= 0) {
    System.out.println("Header stopped reading at: " + i);
    break;
    System.out.println(str + ": " + httpCon.getHeaderField(str));
    I get an exception trace after 10+ minutes :
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:699)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:697)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:510)
    at com.panacya.dp.xml.HttpInputSource.processResponse(HttpInputSource.java:440)
    at com.panacya.dp.xml.HttpInputSource.get(HttpInputSource.java:398)
    Summary:
    1. Works for most of the websites but not for at least one [out of 30+ I tried]
    2. httpUrlConnection.getErrorStream() returns a null.
    3. httpUrlConnection.getInputStream() blocks for 10+ minutes and the httpUrlConnection.getHeaderFieldKey() also blocks.
    4. After 10+ minutes the program throws an exception.
    Q) How do make the getInputStream() call as non-blocking or have a tweakable timeout? [better still check if the call getInputStream()  should be made in the first place].
    Thanks,
    A C

    very simple... start a new thread with a timer... create a variable in your main thread... if you recieve a request (at least one) before the timer runs out... then set the variable in the main thread to true, so when the thread runs out it will not throw an exception.... on the other hand if you do not receive a request... the thread will run out... see that the variable in the main thread is still false... so then... it willl throw a exception... that you can catch... and work with from there...
    Have fun...
    matt

  • Mounting ZFS filesystems: (1/10)cannot mount  directory is not empt(10/10

    Hi
    in zone:
    bash-3.00# reboot
    [NOTICE: Zone rebooting]
    SunOS Release 5.10 Version Generic_144488-17 64-bit
    Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
    Hostname: dbspfox1
    Reading ZFS config: done.
    Mounting ZFS filesystems: (1/10)cannot mount '/zonedev/dbspfox1/biblio/P622/dev': directory is not empt(10/10 )
    svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 1
    Nov 4 10:07:33 svc.startd[12427]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" fa iled with exit status 95.
    Nov 4 10:07:33 svc.startd[12427]: system/filesystem/local:default failed fatally: transitioned to maintenanc e (see 'svcs -xv' for details)
    For sure the directory in not empty, but the others too are not empty.
    bash-3.00# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    zonedev 236G 57.6G 23K /zonedev
    zonedev/dbspfox1 236G 57.6G 1.06G /zonedev/dbspfox1
    zonedev/dbspfox1/biblio 235G 57.6G 23K /zonedev/dbspfox1/biblio
    zonedev/dbspfox1/biblio/P622 235G 57.6G 10.4G /zonedev/dbspfox1/biblio/P622
    zonedev/dbspfox1/biblio/P622/31mars 81.3G 57.6G 47.3G /zonedev/dbspfox1/biblio/P622/31mars
    zonedev/dbspfox1/biblio/P622/31mars/data 34.0G 57.6G 34.0G /zonedev/dbspfox1/biblio/P622/31mars/data
    zonedev/dbspfox1/biblio/P622/dev 89.7G 57.6G 50.1G /zonedev/dbspfox1/biblio/P622/dev
    zonedev/dbspfox1/biblio/P622/dev/data 39.6G 57.6G 39.6G /zonedev/dbspfox1/biblio/P622/dev/data
    zonedev/dbspfox1/biblio/P622/preprod 53.3G 57.6G 12.9G /zonedev/dbspfox1/biblio/P622/preprod
    zonedev/dbspfox1/biblio/P622/preprod/data 40.4G 57.6G 40.4G /zonedev/dbspfox1/biblio/P622/preprod/data
    bash-3.00# svcs -xv
    svc:/system/filesystem/local:default (local file system mounts)
    State: maintenance since Fri Nov 04 10:07:33 2011
    Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
    See: http://sun.com/msg/SMF-8000-KS
    See: /var/svc/log/system-filesystem-local:default.log
    Impact: 33 dependent services are not running:
    svc:/system/webconsole:console
    svc:/system/filesystem/autofs:default
    svc:/system/system-log:default
    svc:/milestone/multi-user:default
    svc:/milestone/multi-user-server:default
    svc:/application/autoreg:default
    svc:/application/stosreg:default
    svc:/application/graphical-login/cde-login:default
    svc:/application/cde-printinfo:default
    svc:/network/smtp:sendmail
    svc:/application/management/seaport:default
    svc:/application/management/snmpdx:default
    svc:/application/management/dmi:default
    svc:/application/management/sma:default
    svc:/network/sendmail-client:default
    svc:/network/ssh:default
    svc:/system/sysidtool:net
    svc:/network/rpc/bind:default
    svc:/network/nfs/nlockmgr:default
    svc:/network/nfs/client:default
    svc:/network/nfs/status:default
    svc:/network/nfs/cbd:default
    svc:/network/nfs/mapid:default
    svc:/network/inetd:default
    svc:/system/sysidtool:system
    svc:/system/postrun:default
    svc:/system/filesystem/volfs:default
    svc:/system/cron:default
    svc:/application/font/fc-cache:default
    svc:/system/boot-archive-update:default
    svc:/network/shares/group:default
    svc:/network/shares/group:zfs
    svc:/system/sac:default
    svc:/network/rpc/gss:default (Generic Security Service)
    State: uninitialized since Fri Nov 04 10:07:31 2011
    Reason: Restarter svc:/network/inetd:default is not running.
    See: http://sun.com/msg/SMF-8000-5H
    See: man -M /usr/share/man -s 1M gssd
    Impact: 17 dependent services are not running:
    svc:/network/nfs/client:default
    svc:/system/filesystem/autofs:default
    svc:/system/webconsole:console
    svc:/system/system-log:default
    svc:/milestone/multi-user:default
    svc:/milestone/multi-user-server:default
    svc:/application/autoreg:default
    svc:/application/stosreg:default
    svc:/application/graphical-login/cde-login:default
    svc:/application/cde-printinfo:default
    svc:/network/smtp:sendmail
    svc:/application/management/seaport:default
    svc:/application/management/snmpdx:default
    svc:/application/management/dmi:default
    svc:/application/management/sma:default
    svc:/network/sendmail-client:default
    svc:/network/ssh:default
    svc:/application/print/server:default (LP print server)
    State: disabled since Fri Nov 04 10:07:31 2011
    Reason: Disabled by an administrator.
    See: http://sun.com/msg/SMF-8000-05
    See: man -M /usr/share/man -s 1M lpsched
    Impact: 1 dependent service is not running:
    svc:/application/print/ipp-listener:default
    svc:/network/rpc/smserver:default (removable media management)
    State: uninitialized since Fri Nov 04 10:07:32 2011
    Reason: Restarter svc:/network/inetd:default is not running.
    See: http://sun.com/msg/SMF-8000-5H
    See: man -M /usr/share/man -s 1M rpc.smserverd
    Impact: 1 dependent service is not running:
    svc:/system/filesystem/volfs:default
    svc:/network/rpc/rstat:default (kernel statistics server)
    State: uninitialized since Fri Nov 04 10:07:31 2011
    Reason: Restarter svc:/network/inetd:default is not running.
    See: http://sun.com/msg/SMF-8000-5H
    See: man -M /usr/share/man -s 1M rpc.rstatd
    See: man -M /usr/share/man -s 1M rstatd
    Impact: 1 dependent service is not running:
    svc:/application/management/sma:default
    bash-3.00# df -h
    Filesystem size used avail capacity Mounted on
    / 59G 1.1G 58G 2% /
    /dev 59G 1.1G 58G 2% /dev
    /lib 261G 7.5G 253G 3% /lib
    /platform 261G 7.5G 253G 3% /platform
    /sbin 261G 7.5G 253G 3% /sbin
    /usr 261G 7.5G 253G 3% /usr
    proc 0K 0K 0K 0% /proc
    ctfs 0K 0K 0K 0% /system/contract
    mnttab 0K 0K 0K 0% /etc/mnttab
    objfs 0K 0K 0K 0% /system/object
    swap 2.1G 248K 2.1G 1% /etc/svc/volatile
    fd 0K 0K 0K 0% /dev/fd
    swap 2.1G 0K 2.1G 0% /tmp
    swap 2.1G 16K 2.1G 1% /var/run
    zonedev/dbspfox1/biblio
    293G 23K 58G 1% /zonedev/dbspfox1/biblio
    zonedev/dbspfox1/biblio/P622
    293G 10G 58G 16% /zonedev/dbspfox1/biblio/P622
    zonedev/dbspfox1/biblio/P622/31mars
    293G 47G 58G 46% /zonedev/dbspfox1/biblio/P622/31mars
    zonedev/dbspfox1/biblio/P622/31mars/data
    293G 34G 58G 38% /zonedev/dbspfox1/biblio/P622/31mars/data
    zonedev/dbspfox1/biblio/P622/dev/data
    293G 40G 58G 41% /zonedev/dbspfox1/biblio/P622/dev/data
    zonedev/dbspfox1/biblio/P622/preprod
    293G 13G 58G 19% /zonedev/dbspfox1/biblio/P622/preprod
    zonedev/dbspfox1/biblio/P622/preprod/data
    293G 40G 58G 42% /zonedev/dbspfox1/biblio/P622/preprod/data
    What i missed? what happen with zfs dev directory?
    thank you
    Walter

    Hi
    I finally found the problem.
    ZFS naming restrictions:
    names must begin with a letter
    Walter

  • GNU fortran90 doesn't work now.  I get the error message:gfortran: warning: couldn't understand kern.osversion '14.0.0 ld: library not found for -lcrt1.o collect2: error: ld returned 1 exit status

    GNU fortran 90 no longer works.
    I get the error message:
    gfortran: warning: couldn’t understand kern.osversion ‘14.0.0
    ld: library not found for -lcrt1.o
    collect2: error: ld returned 1 exit status

    GNU fortran 90 no longer works.
    I get the error message:
    gfortran: warning: couldn’t understand kern.osversion ‘14.0.0
    ld: library not found for -lcrt1.o
    collect2: error: ld returned 1 exit status

  • Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for retu

    Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for return the ipod

    Best thing would be to call Apple up again, and let them what has happened and they'll help you!

  • TANN item category item not picking for return sales order

    Hi all,
    I have a question regarding TANN item category. This TANN item category item is not picking for return sales order type. As far as i know RENN is the free goods for return sales order. Can you please clarify the above question further

    Hi
    If you are making return order by copying sales order then please see this procedure also.
    Try to check in the copy control also.
    Go to the following path IMG u2013 Sales and Distribution u2013 Sales u2013 Maintain Copy control for sales documents. (Tcode VTAA)
    Select copying control : sales document to sales document.
    Search your return delivery order from the reference sales document type.
    Then select the item from the left side Colum.
    Go and find out TANN item category and click on detail.
    Check out Item Cat proposal. If it is empty then type your RENN condition type over here.
    Now try to create the return sales order it might work.
    Raj.

  • Bulk editor is not returning values for default properties

    ..even though the content nodes have a value for this property. CQ version is 5.5.
    I need to export a report of all user generated content from /content/usergenerated/content/<sitename>/en. This is the root path.
    The query parameter I have specified is "type:Rating". By default the "sling:resourceType" is selected. No other custom properties are specified in the interface.
    The search returns the nodes of this type, but the results do not return a value for the "sling:resourceType" for these nodes.

    It should work. Might be you do not have data. Is the results shown as zero records?

  • When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card

    When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.
    I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).
            Mockery context = new Mockery();
            final MessageListener messageListener = context.mock(MessageListener.class);
            final Latch latch = new LatchImpl();
            final String prefix = "test" + System.currentTimeMillis();
            context.checking(new Expectations() {
                    oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));
                    will(new CustomAction("release latch") {
                        @Override
                        public Object invoke(Invocation invocation) throws Throwable {
                            latch.unlatch();
                            return null;
            final Connection connection = createConnection(null, null);
            Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
            connection.start();
            Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");
            Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");
            final MessageConsumer consumer = session.createConsumer(wildcardTopic);
            consumer.setMessageListener(messageListener);
            MessageProducer producer = session.createProducer(null);
            producer.send(destination, session.createTextMessage("MSG1"));
            latch.await(5000);
            connection.close();
            Thread.sleep(5);
            context.assertIsSatisfied();

    Check where your MDB sends the [response] messages to.

  • Binocular search for Cost Center is not returning any data

    Hi Gurus,
    When clicking on the SRM-Shooping Cart-Cost Assignment- Account Assignment Overview- Cost center Binocular search icon,  it is not returning any data.  However,  when drilling down in the Account Assignment Overview, you will see another Binocular search icon for Cost Center which is working fine.
    Any idea of how you troubleshoot it.
    Thanks in advace for your help.
    HA

    Not sure about the cost assignment drill down, but after we applied SP13 to SRM server 550 the binoculars for cost center stopped working. the following note corrected this.
    Note 1259735 - Search help of generic account does not work
    If it has never worked, then probably need to setup a RFC dialog user for the F4 search help, Multiple threads on here around the dialog user for F4 with details on configuration and use.
    JF

  • Pl/sql package for use with workflow will not return a value

    hi all,
    just trying to intercept a requisition being turned into an order if it uses a certain cost code. so i have amended the workflow and created a package to check what cost centre a requisition is using. how over the workflow stops on the function that calls the package witha a status of complete as if the package is not returning any values.
    the package is as below:
    CREATE OR REPLACE PACKAGE APPS.xxhccWFcapitalcheck AS
    procedure XXHCC_CHECK_CAPITAL(itemtype in varchar2,
    itemkey in varchar2,
    actid in number,
    funcmode in varchar2,
    resultout out NOCOPY vARCHAR2);
    END xxhccWFcapitalcheck;
    CREATE OR REPLACE PACKAGE BODY APPS.xxhccWFcapitalcheck AS
    procedure XXHCC_CHECK_CAPITAL(itemtype in varchar2,
    itemkey in varchar2,
    actid in number,
    funcmode in varchar2,
    resultout out NOCOPY varchar2 ) is
    x_progress varchar2(100);
    x_resultout varchar2(30);
    l_doc_mgr_return_val VARCHAR2(1);
    l_doc_string varchar2(200);
    l_preparer_user_name varchar2(100);
    doc_manager_exception exception;
    p_test varchar2(100);
    l_req_id varchar2(30);
    CURSOR p_line_id IS
    SELECT
    codes.segment2 cost_center
    FROM
    po_requisition_headers_all headers,
    po_requisition_lines_all lines,
    po_req_distributions_all dist,
    gl_code_combinations_v codes
    WHERE
    headers.requisition_header_id = lines.requisition_header_id
    AND
    lines.requisition_line_id = dist.requisition_line_id
    AND
    dist.code_combination_id = codes.code_combination_id
    AND
    headers.segment1 = l_req_id;
    line_rec p_line_id%rowtype;
    BEGIN
    -- Do nothing in cancel or timeout mode
    --if (funcmode <> wf_engine.eng_run) then
    -- resultout := wf_engine.eng_null;
    -- return;
    -- end if;
    l_req_id := wf_engine.GetItemAttrNumber (itemtype => itemtype,
    itemkey => itemkey,
    aname => 'DOCUMENT_NUMBER');
    --FOR line_rec in p_line_id
    ---loop
    open p_line_id;
    fetch p_line_id into l_doc_string;
    close p_line_id;
    IF p_line_id= 'Q9DEF'
    dbms_output.put_line p_line_id;
    Then resultout := 'COMPLETE:F';
    return;
    p_test := 'USE DIFFERENT CODE';
    ELSE
    resultout := 'COMPLETE:T';
    return;
    END IF;
    END LOOP;
    end;
    END xxhccWFcapitalcheck;
    any help would be great!

    Hi Community,  first of all, english is not my native language and im not sure to use the correct terms for PowerCenter - so if im wrong please help me correct and make clear what we need. We have a kind of 3-steps ToDo. First step: Load data from an external source into a "local" datastore (its an oracle db on a server in our "hands")Second step: Check data against several verifications, this is done with a PL/SQL Package. The PL/SQL Package shall be called with an Interfacename who is set in the First PowerCenter Mapping. Our current thoghts are to do this via a stored procedure, which runs as "Target Post Load" and gets a variable "Interface Name".Is that possible? Im not quite sure about it. About the last part its even more unclear how we can solve it:Third part should be switch back to PowerCenter now - and the package (or to be correct a function in the package) should return a value for "okay everything fine => workflow continue" or "something happened => workflow is stopped" Im not sure how i can handle this. I hope my explanations are good enough so you can provide some help?!If there are any questions please ask!  Thank you alot, best regards, Christian

  • Bing based federated result sources not returning any results for non-English languages

    I have a result source with this query:
    http://www.bing.com/search?q={?searchterms}  language:fr site:msdn.microsoft.com&format=rss&count=50&first={startIndex}
    This used to give me 40-50 results for common terms like download, blog etc.
    From today (7/14) IST, this source does not return any results. There are no results if I execute this query directly in IE either.
    Same behavior observed for: language:es, language:de etc.
    I do however get results as expected for language:en.
    Any idea what the issue might be?

    Hi Swapnil,
    According to your description, my understanding is that no results returned when searching with non-English in the Result Source query.
    I tested the same scenario per your post and I got the same results as you got.
    I recommend to change the language:fr in the Result Source query to be lang=fr to see if the issue still occurs.
    More references:
    http://kbdump.com/sharepoint-2013-opensearch-search-twitter-facebook-wikipedia-page/
    http://richardstk.com/2013/11/08/sharepoint-2013-federated-search-to-bing/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • ALUI Gateway Not Returning Scripts for Subset of Users

    We have a problem where the ALUI gateway is not returning some .NET scripts for a subset of users. We have the ALUI 6.5 portal and our using the .NET accelerator 3.1.
    The situation is that this subset of users request one of our portal pages via https, which then reaches through our firewall to our remote server which is running the .NET portlet. The .NET page is served and returned to the users correctly and quickly, but this particular subset of users do not see the result rendered in their browsers for about 3 minutes. A view html source in the browser, as well as tools like Fiddler, show the page is indeed in the browser, but it is stuck trying to request some .NET scripts, and only displays the page when those requests timeout.
    The .NET scripts that are problems are both WebResource.axd and ScriptResource.axd, which in some cases are in our .NET portlets because of the .NET framework itself, but in other cases they are there only because of the ALUI portal itself, when it munges the .NET portlet to handle multiple server forms and validators and such. These .axd scripts are gatewayed so that the client browser requests them through the ALUI gateway, which in turn requests them through our firewall to our remote server -- which always serves these scripts correctly and quickly according to the IIS logs. The problem seems to lie in the ALUI gateway, as it is receiving these scripts correctly and quickly, but it is not returning them to this subset of users. Instead the ALUI gateway seems to be processing for about 3 minutes, and eventually returns an html error page, which of course the client never sees since it is expecting javascript, but we can capture the error page via Fiddler and its just telling us there was a timeout -- the client browser just notes that there is a javascript error.
    The really bizarre part is that this only happens for a subset of users, which amounts to about 20% of our users. There are 2 things that delineate these users that we have found so far. First, these users have email addresses that are 27 - 30 characters long, and the email address is our login id. Note that both shorter and longer email addresses are OK, so there is not some limit to email addresses like this might sound like at first. Secondly, these users have to be in a particular branch of our ldap store, which means they are replicated across to the portal in a particular group. We can move these "bad" users into another branch of our ldap store and once they are replicated to the portal then they work fine, and then if we move them back they return to not working. We cannot find any other difference in our ldap branches or in the corresponding ALUI groups, plus its only the ones in that particular branch with the email lengths in that very specific range.
    The gatewayed requests for these scripts vary by user since the PTARGS in the gatewayed request include the integer userid, but that does not seem to matter because we can have a "good" user successfully request the script with a "bad" user's id, and we can have a "bad" user fail to successfully request the script with a "good" user's id. That seems to point to maybe the authentication cookie being the differentiating factor that determines whether or not a gatewayed request for one of these script files will succeed or fail. So far we have only seen the problem with these particular .net axd scripts, but that may simply be because we don't have many, if any, other scripts or resources that need to be gatewayed since we usually put resources on our imageserver -- these being different because .NET and/or the ALUI portal puts these references in there for us whether we like it or not. Long-term we can re-architect our .NET portlets to not get have these axd scripts, although as mentioned earlier, we also see the ALUI portal put these axd scripts in our portlets as part of their munging process -- so that is not in our control completely. We do need to test if this subset of users can successfully request other gatewayed resources or not -- this is actually the first time I thought of that test case, so all I can say right now is its axd scripts that we know are problems, but it may or may not be a bigger problem.
    One last comment, as we appear to have found a work-around, but it does not make sense at all, and its not our preferred solution, so we still very much believe there is a problem elsewhere -- most likely in the ALUI gateway, but possibly somehow related to authentication that we do not understand. Our work-around that so far seems to work is to make our remote server be accessed via https instead of http -- which matches the way the client browsers call our portal (https). Again that first doesn't make sense, since this is only a problem for a small subset of users -- obviously calling our remote server via http works successfully for all other users, so its not just is a simple case that we must match protocols or it won't work. We also use http successfully for our calls to the remote server for portlets that are Java, although its possible that they don't have any gatewayed resources. But we also would just prefer to not use https for our internal calls in our own network as there is no need for the extra overhead -- and by the way our dev and qa environments do use http even for these .NET portlets and do not have the same problem. What's different in our production environment? The only things that should be different are that we have multiple portal servers and multiple remote servers that are load balanced (not sure that's the right term for how the remote servers are combined) -- and of course we have a firewall between them that does not exist in dev or qa.
    So we would very much appreciate any thoughts on this, whether you've seen something like it before, or just have some additional insight into the gateway and/or authentication process that seems to be the issue.
    Thanks, Paul Wilson

    We've ran into this problem when using the Microsoft ReportViewer control. In our case, we found that the portal gateway malformed the urls containing webresource.axd, so the browser was unable to get the correct address to the files. Note that there are usually multiple links to the axd files, they return different resources depending on the query string they get.
    To solve the problem, we ended up with a bit of a hack solution, but it works well. We extracted the resources we needed from the ReportViewer control's assembly using Reflector, and then published them on the image server. The next piece was to override the Render method of the page that hosted the control. In our custom version of Render, we parsed the html of the page, and replaced the contents of the src= elements with pt:images// links. These processed just fine in the portal's transformer, and our resources started showing up.
    Our Render looks something like the following code sample. The "HACKReportViewerControlPortalImageGatewayFix" class has all of the code to do the parsing. In this case, it is specific to the report viewer, because it has some special considerations for parsing the urls. My bet if that your code will be quite custom as well. Therefore, I've not included this piece of code. The important piece below is the invocation of MyBase.Render, which tells the page to render all of it's contents. Once that method is done, all of the HTML for the page is in the writer. The ModifyImageTags method then parses the html, doing the necessary replacements. Finally, the modified html is written to the page's writer, so it can be output following the normal .net processes. Also note that when parsing for urls to replace, don't do all of them, just look for the ones containing axd.
    (VB.NET)
    Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
              Dim fixer As New HACKReportViewerControlPortalImageGatewayFix
              MyBase.Render(fixer.GetWriter)
              writer.Write(fixer.ModifyImageTags())
    End Sub
    This works great for images. However, if you are dealing with javascripts, I'm not sure if this will work for you - as some .NET controls send different scripts depending on the browser. For example, in IE, you get more buttons on the toolbar for the ReportViewer, so you get more javascript too. When using FF, you get less buttons, and less script. We didn't have a problem with the scripts, so we haven't needed to solve this one.
    As for timing, this type of solution doesn't take much to put together. You are really just doing some string parsing and replacements. If you are a regex ninja, it's probably even easier. We had our solution working in a day or two.
    An added benefit to this solution is that you are putting less bytes through the portal's gateway, and sending that traffic to the image server instead.

  • Quarterly Returns for India - SAP Note 1389028

    Hi All,
    This is regarding the Quarterly returns for India. We have applied the note 1389028. Under customisation, we need to update the tables J_1IMNSTRY_CD, J_1IDDCTR and V_SECCO_ADDL.
    Could anyone explain the meaning of the following terms:
    1) Ministry Code
    2) Ministry Name
    3) Deductor Type
    4) Deductor Desc
    5) Section Code
    6) PAO Code
    7) DDO Code
    8) PAO Region
    9) DDO Reg Number
    Please help me....
    Regards,
    NEchur

    Hi nachuriyer
    For J_1IMNSTRY_CD
    Min Code -Min Name
    01            AGRICULTURE
    02            ATOMIC ENERGY
    03            FERTILIZERS
    04            CHEMICALS AND PETROCHEMICALS
    05            CIVIL AVIATION AND TOURISM
    06            COAL
    07            CONSUMER AFFAIRS, FOOD AND PUBLIC DISTRIBUTION
    08            COMMERCE AND TEXTILES
    09            ENVIRONMENT AND FORESTS AND MINISTRY OF EARTH SCIENCE
    10            EXTERNAL AFFAIRS AND OVERSEAS INDIAN AFFAIRS
    11            FINANCE
    12            CENTRAL BOARD OF DIRECT TAXES
    13            CENTRAL BOARD OF EXCISE AND CUSTOMS
    14            CONTOLLER OF AID ACCOUNTS AND AUDIT
    15            CENTRAL PENSION ACCOUNTING OFFICE
    16            FOOD PROCESSING INDUSTRIES
    17            HEALTH AND FAMILY WELFARE
    18            HOME AFFAIRS AND DEVELOPMENT OF NORTH EASTERN REGION
    19            HUMAN RESOURCE DEVELOPMENT
    20            INDUSTRY
    21            INFORMATION AND BROADCASTING
    22            TELECOMMUNICATION AND INFORMATION TECHNOLOGY
    23            LABOUR
    24            LAW AND JUSTICE AND COMPANY AFFAIRS
    25            PERSONNEL, PUBLIC GRIEVANCES AND PESIONS
    26            PETROLEUM AND NATURAL GAS
    27            PLANNNING, STATISTICS AND PROGRAMME IMPLEMENTATION
    28            POWER
    29            NEW AND RENEWABLE ENERGY
    30            RURAL DEVELOPMENT AND PANCHAYATI RAJ
    31            SCIENCE AND TECHNOLOGY
    32            SPACE
    33            STEEL
    34            MINES
    35            SOCIAL JUSTICE AND EMPOWERMENT
    36            TRIBAL AFFAIRS
    37            D/O COMMERCE (SUPPLY DIVISION)
    38            SHIPPING AND ROAD TRANSPORT AND HIGHWAYS
    39            URBAN DEVELOPMENT, URBAN EMPLOYMENT AND POVERTY ALLEVIATION
    40            WATER RESOURCES
    41            PRESIDENT'S SECRETARIAT
    42            LOK SABHA SECRETARIAT
    43            RAJYA SABHA SECRETARIAT
    44            ELECTION COMMISSION
    45            MINISTRY OF DEFENCE (CONTROLLER GENERAL OF DEFENCE ACCOUNTS)
    46            MINISTRY OF RAILWAYS
    47            DEPARTMENT OF POSTS
    48            DEPARTMENT OF TELECOMMUNICATIONS
    49            ANDAMAN AND NICOBAR ISLANDS ADMINISTRATION
    50            CHANDIGARH ADMINISTRATION
    51            DADRA AND NAGAR HAVELI
    52            GOA, DAMAN AND DIU
    53            LAKSHADWEEP
    54            PONDICHERRY ADMINISTRATION
    55            PAY AND ACCOUNTS OFFICERS (AUDIT)
    56            MINISTRY OF NON-CONVENTIONAL ENERGY SOURCES
    57            GOVERNMENT OF NCT OF DELHI
    99            OTHERS
    For J_1IDDCTR_CD
    Deductor Type Deductor Desc
    A             CENTRAL GOVERNMENT
    B             BODY OF INDIVIDUALS
    D             STATUTORY BODY (CENTRAL GOVT.)
    E             STATUTORY BODY (STATE GOVT.)
    F             FIRM
    G             AUTONOMOUS BODY (CENTRAL GOVT.)
    H             AUTONOMOUS BODY (STATE GOVT.)
    J             ARTIFICIAL JURIDICAL PERSON
    K             COMPANY
    L             LOCAL AUTHORITY (CENTRAL GOVT.)
    M             BRANCH / DIVISION OF COMPANY
    N             LOCAL AUTHORITY (STATE GOVT.)
    P             ASSOCIATION OF PERSON (AOP)
    Q             INDIVIDUAL/HUF
    S             STATE GOVERNMENT
    T             ASSOCIATION OF PERSON (TRUST)
    In V_SECCO_ADDL
    just press Tab & link above information
    CA. NILESH ZAMBHURIA
    +919819336968

  • Workflow Return for correction RFC history not appearing

    Hi -
    I have built a custom new workflow in Oracle Learning Management.
    I am using the workflow attribute WF_NOTE to capture the comments of the approvers.
    When the approval moves from one approver to another, it successfully captures any comments made by the previous approvers and displays it to the next approver.
    However, when any of the approvers click on return for correction ( RFC ) button and the notification moves to the creator, the approval history is blank and does not have the comments made by the approver about why he is returning for correction.
    Any insight?
    Thanks

    In actual it should update only that SIT record which is currently under consideration and not allow other records to modify.Ayaz
    this is a very valid question .. and same thing happens with EIT as well. This happens because when you create or update EITs, SITs you can do more than one at a time at the time of creation/ updation. So when approver go to update action or send it back for return for correction you create/ update multiple EITs and SITs as all of that go in single transaction.
    Let us know if you find any solution for this one.

Maybe you are looking for

  • DOUBT IN MIRO TRANSACTION

    HAI,     CAN ANY ONE TELL ME THAT IN CASE MIRO TRANSACTION I AM GETTING THE INVOICE DOCUMENT NUMBER WHILE SAVING , BUT WHILE SAVING THER IS ONE MORE FI REFRENCE NUMBER HOW TO GET IT ,PLS HELP CHEERS

  • Updating a secondary datasource to a Sharepoint list via infopath form rules

    Using SharePoint 2010 and InfoPath 2010 I created a form that prior to submission it gets an integer value from a separate SharePoint list via a secondary datasource.  Just before the rule that submits the form to a document folder via the main datas

  • Why update query takes  long time ?

    Hello everyone; My update query takes long time.  In  emp  ( self testing) just  having 2 records. when i issue update query , it takes long time; SQL> select  *  from  emp;   EID  ENAME     EQUAL     ESALARY     ECITY    EPERK       ECONTACT_NO     

  • Links do not display correct

    can anyone explain me what can go wrong and since i link my file to a folder with localized graphs, when i open one wih original my graph seems loc at illustrator, but when i print my document my links are printed as EN language and not localized.. w

  • What is the Better choice to export, XML or AAF?

    I Know FCP does not support AAF natively. But I need to send my sequence to Avid, so my idea is export as .xml and open it in Premiere CS5, and then export as AAF from Premiere to open my sequence on Avid. Does anyone have a better idea? What is the