ACE in Direct Server Return mode not working as expected

Dear all,
I configured my ACE as I found it here:
https://supportforums.cisco.com/docs/DOC-22555
the VIP is working, that means I can ping it, routing is working etc.
I created a loopback on the win2012 Server with the IP of the VIP. When I try now to test the LB with telnet on port 25 e.g. it is not working. direclty on the server it works, also in my last deployment where I use SNAT/PAT. But we want the real client IPs visible on the Exchange Server.
Where is my problem ? Any ideas would be great..
rserver host YY
  description AServer-1
  ip address 10.1.x.2
  inservice
rserver host XX
  description AServer-2
  ip address 10.1.x.3
   inservice
serverfarm host Mail
  description Mail
  transparent
  predictor leastconns
  rserver AServer-1
    inservice
  rserver AServer-2
sticky ip-netmask 255.255.255.255 address both Mail
  timeout 5
  replicate sticky
  serverfarm Mail
class-map match-all Exchange_ALL
  2 match virtual-address 192.168.1.1 any
class-map type management match-any remote_access
  2 match protocol xml-https source-address 10.a.b.0 255.255.255.0
  3 match protocol icmp source-address 10.a.b.0 255.255.255.0
  5 match protocol ssh source-address 10.a.b.0 255.255.255.0
  7 match protocol https source-address 10.a.b.0 255.255.255.0
  8 match protocol snmp source-address 10.a.b.0 255.255.255.0
  9 match protocol xml-https source-address 10.d.e.1 255.255.255.255
  10 match protocol icmp source-address 10.d.e.1 255.255.255.255
  11 match protocol ssh source-address 10.d.e.1 255.255.255.255
  12 match protocol https source-address 10.d.e.1 255.255.255.255
  13 match protocol snmp source-address 10.d.e.1 255.255.255.255
policy-map type management first-match remote_mgmt_allow_policy
  class remote_access
    permit
policy-map type loadbalance first-match mail
  class class-default
    sticky-serverfarm Mail
policy-map multi-match VLAN20
  class Exchange_ALL
    loadbalance vip inservice
    loadbalance policy mail
    loadbalance vip icmp-reply
interface vlan 2
  ip address 10.a.b.2 255.255.255.0
  access-group input ALL
  service-policy input remote_mgmt_allow_policy
  no shutdown
interface vlan 20
  description Server
  ip address 10.1.x.20 255.255.255.0
  peer ip address 10.1.x.30 255.255.255.0
  no normalization
  access-group input ALL
  service-policy input VLAN20
  no shutdown
ft interface vlan 4
  ip address 10.f.g.2 255.255.255.252
  peer ip address 10.f.g.1 255.255.255.252
  no shutdown
ft peer 1
  heartbeat interval 300
  heartbeat count 10
  ft-interface vlan 4
ft group 1
  peer 1
  associate-context Admin
  inservice
ip route 10.d.e.0 255.255.255.255 10.1.x.1
ip route 0.0.0.0 0.0.0.0 10.a.b.1

Oh, I see. Very interesting indeed!
Do you get the BAD CHECKSUM and IP CHECKSUM OFFLOAD on the remote sites?
It could be this that is the problem. I read this and it seems as though it causes disconnects just as you experience too.
or just disable - it worked for some here, but for others, they upgraded the drivers of the NIC:
http://www.techsupportforum.com/forums/f137/wireshark-question-tcp-checksum-offload-248812.html
1. Open Device manager (right click "Computer" and click "Manage")
2. Click on "Device Manager"
3. Expand "Network Adapters"
4. Right click your network adapter
5. click "properties"
6. click the tab named "Advanced"
7. Find "IP Checksum Offload" and click it
8. Put the value to the right to "Disabled"
9. Find "TCP Checksum offload (IPvX)
10. Set the value to the right to "Disabled"
The Wiki Wireshark article had this:
In Windows, go to Control Panel->Network and Internet Connections->Network Connections, right click the connection to change and choose 'Properties'. Press the 'Configure...' button, choose the 'Advanced' tab to see or modify the "Offload Transmit TCP Checksum" and "Offload Receive TCP Checksum" values.
It seems like a server side issue rather than Load Balancer problem.
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.

Similar Messages

  • ACE DSR (Direct Server Return) Questions.

    I currently have an ACE 4710 configured for DSR. However, I am at a loss as to how I should configure the loopback (or virtual interface) for the servers. Easy to do in Linux, but not so much on a Windows Server 2000 box.
    Any ideas or guides would be appreciated.

    Hi, Syed is right, you can find further information on this configuration (Asymmetric Server Normalization) here :
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/configuration/slb/guide/rsfarms.html
    or here for further considerations :
    http://snippets101.blogspot.com/2008/08/asymmetric-server-normalization-on.html
    Hope this helps,
    Alberto

  • Oracle 9i Server : Job Scheduling not working as expected on Windos XP

    Hi
    I have a oracle 9i on my system. The underline OS for the system is
    Windows XP.
    I am trying to execute a oracle job on the oracle server but it seems
    it is not getting executed. The same job if I am placing on a oracle
    9i server installed on a Linux based OS, then I am getting the
    expected outcome from it.
    Can you please let me know, what should I do to get it executed on
    Windos XP system.
    One more thing, while installing the Oracle 9i, I had seen numerous
    options but not very sure @ which one is used for what functionality.
    It would be a greatful if you can send me some docs ( presentations
    would be the best ) to understand the componenets.
    We are also facing some problem while creating a new service.
    What steps needs to be followed for the same.
    Thanks and Regards,
    Pratibh V Pokharna
    Senior Software Engineer
    HSBC GLT, Pune
    M: 91-9226713562

    Can you please let me know, what should I do to get
    it executed on
    Windos XP system.
    What is JOB_QUEUE_PROCESSES parameter set in init.ora on Windos XP ?
    It suppose to be more then 0 .
    One more thing, while installing the Oracle 9i, I had
    seen numerous
    options but not very sure @ which one is used for
    what functionality.
    Check following doc for options and there functionality
    http://download-west.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHDDBCG
    Cheers,
    Virag

  • Direct Server Return on CSM

    i have an CSS11506 where i use the Direct Server return mode
    circuit VLAN19
    description "LOL"
    ip address 192.168.158.39 255.255.255.240
    no redirects
    service WEB_LOL_36
    ip address 192.168.158.36
    keepalive type tcp
    keepalive port 80
    protocol tcp
    port 80
    type nci-direct-return
    active
    service WEB_LOL_37
    ip address 192.168.158.37
    keepalive type tcp
    keepalive port 80
    protocol tcp
    port 80
    type nci-direct-return
    active
    owner LOL
    content WEB_LOL
    vip address 192.168.158.38
    add service WEB_LOL_36
    add service WEB_LOL_37
    protocol tcp
    port 80
    active
    group WEB_LOL
    add destination service WEB_LOL_36
    add destination service WEB_LOL_37
    vip address 192.168.158.38
    active
    I use this config because the ip addresses 192.168.158.37 and 192.168.158.36 are NAT in Router and the default Gw in this router is not the CSS.
    but i cannot find any information about how implement Direct Server mode on CSM
    how configure vserver, serverfarm natpool,etc.
    _If you could help me, i appreciate
    Thanks

    this is a test config that i tried to use on CSM
    vlan 916 server
    ip address 192.168.175.93 255.255.255.248
    alias 192.168.175.94 255.255.255.248
    natpool LOL 192.168.175.91 192.168.175.91 netmask 255.255.255.248
    real LOL_NAT_01
    address 192.168.175.89
    inservice
    real LOL_NAT_02
    address 192.168.175.90
    inservice
    serverfarm LOL_WEB_01
    nat server
    no nat client
    real name LOL_NAT_01
    inservice
    real name LOL_NAT_02
    inservice
    serverfarm LOLOUT
    no nat server
    nat client LOL
    predictor forward
    vserver LOL_WEB_01
    virtual 192.168.175.91 any
    unidirectional
    serverfarm LOL_WEB_01
    persistent rebalance
    inservice
    vserver LOL-SALIDA
    virtual 0.0.0.0 0.0.0.0 any
    vlan 916
    serverfarm LOLOUT
    persistent rebalance
    inservice

  • Loadbalancing, DAG and direct server return

    Hi,
    I've one DAG with 6 servers.
    CAS and MBX are installed on the same servers, running Exchange 2013 SP1 on Windows Server 2012 R2
    DAG is configured without a cluster administrative access point.
    Our hardware loadbalancers can be configured to do NAT or Direct Server Return (DSR).
    The loadbalancer runs within the same subnet as the Exchange servers.
    Yesterday I switched from using NAT to DSR. To do that I've added a loopback adapter and gave it the same IP as the load balancers virtual server + Subnet 255.255.255.255
    Then I allowed the Exchange server to process the packets.
    netsh interface ipv4 set interface "team" weakhostreceive=enabled
    netsh interface ipv4 set interface "loopback" weakhostreceive=enabled
    netsh interface ipv4 set interface "loopback" weakhostsend=enabled
    Everything seemed to work fine and the logs showed client ip addresses instead the load balancer ip address connecting to the server.
    After checking the Eventlogs I saw that this broke my DAG-replication.
    Cluster network 'Cluster Network 3' is partitioned. Some attached failover cluster nodes cannot communicate with each other over the network. The failover cluster was not able to determine
    the location of the failure. Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapter. Also check for failures in any other network components
    to which the node is connected such as hubs, switches, or bridges.
    Any idea how to fix this?
    I like the idea of using DSR and see real client ips or are you all using NAT?
    Thank you.
    Kind regards,
    Carsten
    Name                                   : dag1
    Servers                                : {ex1, ex2, ex3, ex4, ex5, ex6}
    WitnessServer                          : witnesseerver.domain.com
    WitnessDirectory                       : C:\Witness\dag.domain.com
    AlternateWitnessServer                 :
    AlternateWitnessDirectory              :
    NetworkCompression                     : InterSubnetOnly
    NetworkEncryption                      : InterSubnetOnly
    ManualDagNetworkConfiguration          : False
    DatacenterActivationMode               : Off
    StoppedMailboxServers                  : {}
    StartedMailboxServers                  : {}
    DatabaseAvailabilityGroupIpv4Addresses : {255.255.255.255}
    DatabaseAvailabilityGroupIpAddresses   : {255.255.255.255}
    AllowCrossSiteRpcClientAccess          : False
    OperationalServers                     :
    PrimaryActiveManager                   :
    ServersInMaintenance                   :
    ServersInDeferredRecovery              :
    ThirdPartyReplication                  : Disabled
    ReplicationPort                        : 64327
    NetworkNames                           : {}
    WitnessShareInUse                      :
    DatabaseAvailabilityGroupConfiguration :
    AutoDagSchemaVersion                   : 1.0
    AutoDagDatabaseCopiesPerDatabase       : 1
    AutoDagDatabaseCopiesPerVolume         : 1
    AutoDagTotalNumberOfDatabases          : 0
    AutoDagTotalNumberOfServers            : 0
    AutoDagDatabasesRootFolderPath         : C:\ExchangeDB
    AutoDagVolumesRootFolderPath           : C:\ExchangeVol
    AutoDagAllServersInstalled             : False
    AutoDagAutoReseedEnabled               : True
    AutoDagDiskReclaimerEnabled            : True
    AutoDagBitlockerEnabled                : False
    ReplayLagManagerEnabled                : False
    MailboxLoadBalanceMaximumEdbFileSize   :
    MailboxLoadBalanceRelativeLoadCapacity :
    MailboxLoadBalanceOverloadedThreshold  :
    MailboxLoadBalanceUnderloadedThreshold :
    MailboxLoadBalanceEnabled              : False
    AdminDisplayName                       :
    ExchangeVersion                        : 0.10 (14.0.100.0)
    DistinguishedName                      : CN=dag1,CN=Database Availability Groups,CN=Exchange Administrative Group
                                             (FYDIBOHF23SPDLT),CN=Administrative
    Groups,CN=Company,CN=Microsoft
                                             Exchange,CN=Services,CN=Configuration,DC=domain,DC=com
    Identity                               : dag1
    ObjectCategory                         : domain.com/Configuration/Schema/ms-Exch-MDB-Availability-Group
    ObjectClass                            : {top, msExchMDBAvailabilityGroup}
    OrganizationId                         :
    OriginatingServer                      : dc1.domain.com
    IsValid                                : True
    ObjectState                            : Unchanged

    Hi,
    Thanks for your sharing.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • I would like to know why when i make a web page and test in my local browser it works fine then when i tranfer to my server i does not work fine example i used javascript to put a prompt bar on a page and it worked fine local but on server not working

    how come when i make a web site and i test it in my local server it works fine when i tranfer to server certain things do not work example i used javascript to put in a prompt bar for a newsletter page at the server it did not work but at local it did also it works at MOZZILLA but not internet explorer i also have cs4 was wondering if there is a way to test a page in dreamweaver and then transfer   THANK YOU X-FACTOR-MEDIA

    In future, please try to make the subject line of your posts shorter. In this case the following would have been sufficient: "JavaScript works locally, but not on remote server".
    Short, but meaningful subject lines make it easier for others to identify what your question is about, and often bring faster help.

  • Barcode Carriage Return Function not working in Forms 6i

    Dear All,
    I m using Oracle Forms 6i with OS Windows 2000 Professional
    When I receiving Data from Barcode slot reader RS232 interface, carriage Return funtion not working in the forms 6i for e.g Barcode is *12345$M*
    ('$M' for carriage return). Full ASCII code enabled in my slot reader and carriage return switch is also on, its working fine on note pad.
    Please help me in this regard
    Thanks in Advance

    Hello Muhammad,
    Thanks for your reply, but unfortunately, this would not work.
    Indeed, when I scan a barcode, the cursor is already in the text field and no event is triggered.
    This idea is not to replace the Carriage Return but to have a When-Validate-Item with the Carriage Return sent by the barcode reader.
    In Forms, when I scan in a multi-lines text field, the string is displayed and the cursor goes to the next line
    But when I scan in a single line text item, it displays the strings but nothing else.
    Kind Regards,
    Olivier

  • Lion Server DNS service not working for locally created zones. Caching working fine.

    OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
    Surely someone actually tested that DNS still worked on Lion?

    I upgraded from Snow Leopard Server to Lion Server on day 01.  I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
    I finally took a few minutes to figure out what was wrong.  After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
    The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain).  I never messed with it because it worked, but generally I would have put all of them in the same zone.
    My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv.  I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel.  This was fine in Snow Leopard.  This was failing the zone load in the updated bind for Lion Server, though.  The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
    My fix:
    1. In Server Admin, add the server to the zone "mydomain.priv".  I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
    2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
    3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server.  In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'.  Your in-addr.arpa zone name will change based on whatever your server IP address was.  My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
    4. Once the specialized zones for just the server were removed, I started the DNS up again.  Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones.  And, now, it is resolving my local machines for the mydomain.priv zone.
    YMMV.  I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
    Hope that helps.  That's been the only hiccup I've noticed updating to OS X Lion Server thus far.

  • Widgets on my desktop using dev-mode not working in Lion

    I'm trying to get iStat back ontop of my desktop like I had in Snow Leopard. Dev-mode not working to bring widgets forward anymore. Any Ideas how to do this in lion? In Snow Leopard it was defaults write com.apple.sashboard devmode YES now that isn't working.

    When I connect my MBP (mid 2010) to iMac 27" (mid 2010), via Mini DisplayPorts, after pressing Command+F2, iMac screen went "blank" while MBP screen stays "blue" for few seconds and went back to normal. How to solve this problem?

  • Blue screen on start up. Safe mode not working?

    Blue screen on start up. Safe mode not working, any suggestions?

    Thank you, I had forgotten about target mode. I was able to back up all of my files. I also copied some additional 50 GB of files of the disk as a stress test and the hard drive worked fine and quick (and because it was quicker than retrieving the same files from a network drive to my desktop).
    I was hoping to also unpack the Applejack files on my desktop and put them back so I could run them in single user mode without running /etc/rc. However I haven't been able to get my Linux desktop to mount the iBook in Read-Write instead of Read-Only yet (I don't have access to another Mac at the moment).

  • TCP Window sizing not working as expected for Windows server 2008 R2 SP1

    Hi ,
    TCP window size is not working as expected. It is varying . Aplied the hotfix suggested by Microsoft and set the multipliccation factor as 1.The window size is not getting auto tuned based on the client machine. The data transfer rate is getting degraded.
    Please help.
    Thanks,
    Pro1962

    Hi,
    I think window auto-tuning is enabled.
    You can disable it by running the following commend.
    netsh interface tcp set global autotuninglevel=disabled
    Hope this helps.

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Container-Managed Transaction Type Attributes not working as expected

    I am having a problem with the container-managed transactions not working as expected. I have 2 methods that work as follows:
    MethodA{
    for(a lot)
    call MethodB;
    @Transaction Type = RequiresNew
    MethodB{
    EntityManager Persist to database
    I want the code in MethodB to be committed to the database when methodB returns. The problem is that I am running out of memory and MethodA is failing. When methodA fails after numerous calls to MethodB nothing is persisted to the database.
    It is my understanding that when using requires new transactions that a new transaction is started for each call to the method and ends when the method returns while the calling method transaction is suspended.
    How am I misunderstanding the requiresNew transaction attribute. What can I do to make a batch insert into my database that will not run out of memory (commit when a methodB returns)?
    Thanks in advance.

    The problem is that EJB invocation semantics for security, container-managed transactions, etc.
    only apply when an invocation is made through an EJB reference. In your case, you are directly
    invoking the implementation method from within the bean. The EJB container has no idea that's
    happening. It's no different than invoking a utility method.
    In order to get the behavior you'd like, you need to retrieve a reference to your own bean and invoke
    through that. You can use SessionContext.getBusinessObject() to get the EJB reference for the
    business interface through which the method in question is exposed.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Subtraction of two key figures normalized to result not working as expected

    Hello SAP Community!
    I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
    In order to explain the problem I am facing please analyze below text:
    1) Let's assume I have below data:
    LOAD MONTH  PLANT    MATERIAL HORIZON MONTH     FORECAST UNITS
    200805         PLANT-A  MAT-1            200805         510,235.00
    200805         PLANT-B  MAT-1           200805          74,240.00
    200805         PLANT-A  MAT-1           200806         438,721.00
    200805         PLANT-B  MAT-1           200806          74,240.00
    200805         PLANT-A  MAT-1           200807         356,981.00
    200805         PLANT-B  MAT-1           200807          74,240.00
    200806         PLANT-A  MAT-1           200805               0.00
    200806         PLANT-B  MAT-1           200805               0.00
    200806         PLANT-A  MAT-1           200806         510,235.00
    200806         PLANT-B  MAT-1           200806          74,240.00
    200806         PLANT-A  MAT-1           200807         438,721.00
    200806         PLANT-B  MAT-1           200807          74,240.00
    2) Then, assume I have a comparison report, restricted by load month for two months May and June 2008 (filter restricted by two month variables) with FORECAST units spread accross columns for whole horizon (two months also in this case).
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Comparison Units (June 2008) 510,235.00  438,721.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Comparison Units (June 2008)  74,240.00   74,240.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    3) Now, let's suppose we want to know the proportions (%) of Base vs Comparison units, so
    we normalize forecats to results an we get the below report:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    4) Finally, let's suppose we want to know the deltas (differences) of Base vs Comparison
    units, for both number of units and %. The report now look as below:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  1.77%       2.74%
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %  -1.77%      -2.74%
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    5) PROBLEM:
    In my report, the "Delta base vs. comp. units %" is not working as expected and
    calculates number of units just as "Delta base vs. comp. units" does instead of calculating the % difference.
    So my report looks as follows:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  71,514.00  81,740.00 <<<WRONG!!
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %       0.00        0.00
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    The formulas are:
    a) Delta base vs. comp. units %
      Delta base vs. comp. units % = Comparison Units % - Base Units %
    b) Delta base vs. comp. units
      Delta base vs. comp. units = Comparison Units - Base Units
    The KFs
    - Comparison Units %
    - Base Units %
    Are RESTRICTED key figures (restricted to Base and comparison month variables) which
    are setup as:
    1) Calculate Result As:  Summation of Rounded Values
    2) Calculate Single Value as: Normalization of result
    3) Calculate Along the Rows
    The KFs
    - Delta base vs. comp. units %
    - Delta base vs. comp. units
    are FORMULAS setup to:
    1) Calculate Result As:  Nothing defined
    2) Calculate Single Value as: Nothing defined
    3) Calculate Along the Rows: user default direction (grayed out)
    Thanks for the time taken to read in detail all of this. Long text but necessary to understand what the problem is.
    Any help is highly appreciated.
    Thank you.
    Mario

    Hi,
    The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
    I hope this will solve your issue.
    Regards,
    S P.

  • AFS ARUN Size Substitution Not Working As Expected

    Hi All,
    I need help with this. If any one of you have worked with AFS ARUN size substitution, kindly provide me with some details on how can I set it up. I am specially interested in setting up size substitution with two-dimensional grids.
    I have setup some examples but it does not work as expected.
    Here is a small example:
    Say I have a size 28/30, 28/32 .........29/30....
    What I want to achieve is that during ARUN if there is a shortage of stock in 28/30 then the remaining requirement qty should be confirmed from size 28/32.
    with my setup after 28/30 it goes into looking for stock in 29/30, which is what I do not want.
    Any inputs will be really appreciated.
    Thanks!!

    srdfrn wrote:
    Hi YOS,
    I tried importing a PCX image into CVI 2010 and then sizing the image to the control and didn't see the behavior you have been describing.  Would you mind posting an example (alongside an image file) that demonstrates this?
    Also, one thing I noticed is that PCX images appear to be quite dated.  Could upgrading them to a JPEG or PNG format be an option for you?
    Thanks,
    Stephanie R.
    National Instruments
    Stephanie, thanks for the reply.
    I am very sorry to state that I made a mistake.
    VAL_SIZE_TO_IMAGE indeed works.
    What fails to work is VAL_SIZE_TO_PICTURE. (Second option in Fit Mode attribute in control editing panel)
    I tried with JPEG and it's the same.
    I am attaching an example.(Load_Image.c & ONEP_3Trow_POS1.JPG)
    A panel with two picture rings.
    - SW_1 remains at the intended size and the loaded picture is not clear.
    - SW_2 will fit to picture size and looks OK.
    Appreciate your support,
    YOSsi Seter
    Attachments:
    Load_Image.c ‏2 KB
    ONEP_3Trow_POS1.JPG ‏4 KB

Maybe you are looking for