Dynamic config jobs in LMS4.x

Hello,
I am looking for a way to deploy dynamic generated config based on a group of devices - the config is  simple - like the example below:
int fa0/0.200
encapsulation dot1Q 200
ip address 10.200.x.y 255.255.255.248
router bgp AS
network 10.200.x.y mask 255.255.255.248
ip prefix-list Name permit 10.200.x.z/29
The variables are:
1.the interface - could be fa0/0 or fa0/1 or vlan200 - I have them on a list.
2."x",y,z from ip address is  different - is based on an internal location code. All the ip address  are generated for every device based on a list.
3. AS is different from each location - i have them in a list
I need to  deploy this config on more than 250 devices. Is there any way I can make  LMS read some input file to generate config or load some script/excel and then deploy the exact  generated config to the right device?.... generate 250 exact deploy-config jobs?... or something similar....
Thank you very much for any ideas
Best regards,
Bogdan Laslo

If that code is all planted "on" an object, that might the source of the problem.  Try following the AS3 protocol of keeping the code on the timeline. Instead of using "on" on the object, try using...
btnName.onRelease = function(){
   etc...
on the timeline like you would in AS3.

Similar Messages

  • Java function with Dynamic config throws null pointer exception

    hi Experts,
       I am using dynamic config using java function in my message mapping.
      The source message has a field called "fname".
      The value of "fname" is the input to my java UDF.
      The java UDF code is:
       public String getDynamicFile(String fname, Container container) throws StreamTransformationException{
       String str = fname + ".xml";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
    conf.put(FileName, str);
    return str;
       When I test this message mapping I get the following exception:
       Runtime Exception:[java.lang.NullPointerException: while trying to invoke the method com.sap.aii.mapping.api.DynamicConfiguration.put(com.sap.aii.mapping.api.DynamicConfigurationKey, java.lang.String) of an object loaded from local variable '<4>'] in class com.sap.xi.tf._<message mapping>_ method getDynamicFile[test, com.sap.aii.mappingtool.tf7.rt.Context@2e52cb31]
    What am I doing wrong in this UDF?
    Thanks
    Gopal

    Hi,
          Your UDF will run fine in an end to end execution,i.e, during runtime. However, if you want to test your message mapping test tab without the dynamic config UDF throwing an exception, encpasulate the code in a try catch block
    public String getDynamicFile(String fname, Container container) throws StreamTransformationException{
    String str = fname + ".xml";
    try{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
    conf.put(FileName, str);
    }catch(Exception ex){}
    return str;
    The above code should run fine when you test in the message mapping test tab.
    Regards

  • Possible to set Dynamic Config from ABAP Proxy

    Hi,
    I know how to get and set Dynamic Config from Java/XSLT mappings and adapter modules. But I want to do this from an outbound ABAP Proxy Call (in the same way I can set the serialization context for EOIO), is that possible?
    The scenario is: I have an interface; Proxy -> Xi -> ftp, with no mapping. It seems unnecessary to introduce a mapping just to set some dynamic config values for the receiving adapter which are already known at the outbound proxy call...
    rgds Johan

    Hi Bhavesh,
    In the thread you mention it is shown that you can set Dynamic Config properties during an ABAP mapping. My question was if I can set these properties already in the proxy call? Or did I miss something?
    Of-course I can introduce a dummy mapping in Java/XSLT/ABAP which copies the source message to the result message and sets the dynamic config properties, but I would rather not introduce a mapping if not neccessary...
    rgds Johan

  • BP data services:Can I config Job server via commandline?

    Hi Experts,
    Can I config Job server via commandline?
    I need to create a new Job server JS_TEST01/port3501 and add the repository to this Job server and restart Job server via command line,like I can create repository via command RepoManBatch.exe
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>
    Thanks
    Miller

    我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
    就好像使用DOS 命令RepoManBatch.exe创建repository一样。
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>

  • BODS-Can I config Job server via commandline in WindowsXP

    Hi Experts,
    Can I config Job server via commandline?
    I need to create a new Job server [JS_TEST01/port3501] and add the repository to this Job server and restart Job server via command line.
    Thanks
    Miller

    我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
    就好像使用DOS 命令RepoManBatch.exe创建repository一样。
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>

  • Can I config Job server via commandline in Windows XP?

    Hi Experts,
    Can I config Job server via commandline in Windows XP?
    I need to create a new Job server (like JS_TEST01/port3501) and add the repository to this Job server and restart Job server via command line.
    Thanks
    Miller
    Edited by: Miller Li on Dec 8, 2009 4:40 AM

    我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
    就好像使用DOS 命令RepoManBatch.exe创建repository一样。
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>RepoManBatch.exe
    Usage:
    -U<User> : Repository login user
    -P<Password> : Repository login password
    -S<Server> : Repository server name
    -N<DatabaseType> : Repository database type
    -Q<Database> : Repository database
    -g : Repository using Windows Authentication
    (Microsoft SQL Server only)
    -t<Type> : Repository type: local, central, pro
    filer
    -c : Repository create
    -u : Repository upgrade
    -v : Repository version
    -d : Show details
    -a : Repository security
    C:\Program Files\Business Objects\BusinessObjects Data Ser
    vices\bin>

  • LMS 3-2 baseline config jobs ?

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";}
    We have the LMS 3-2 bundle with RME4.3.1
    Is it possible to setup  “baseline” config jobs to so we can check for specific items in our configs globally?

    Yes that is what it is about.
    You can check for presence or absence of items in the config
    Cheers,
    Michel

  • Is there any way to create a job in LMS4.2 to configure only switchports matching a specific description

    Hello Network Management gurus.
    I'm baffled by a lot of new features of LMS4.2 and seem lost where to start looking.
    Our client needs to periodically make changes to switches to change their port settings.
    They have specific descriptions with a certain string. Let's say the description say "Cisco phone".
    The task is to create either template or ad-hoc Netconfig job that will send changes only to those switchports.
    How can it be done?
    Thanks for your help in advance
    Eugene

    Thanks, Michel.
    I'm almost done except for the task/commands definitions.
    This is what I'm doing.
    1)  Admin -> System -> Group Management -> Port and Module (once I clicked "Port and Module" I'm redirected to Inventory -> Group Management -> Port and Module)
    2) I create a group named "VoIP switchport"
    3) Then I select the device that I need to configure. It is my switch SW2
    4) Then goes Rule Expression:
    Port.PortDescription equals "VoIP_Port"INCLUDELIST {:RME:INVENTORY:Port$-1172380997>,
    :RME:INVENTORY:Port$-1172380996>,
    :RME:INVENTORY:Port$-1172380995>,
    :RME:INVENTORY:Port$-1172380994>,
    :RME:INVENTORY:Port$-1172380993>}
    In human language it say that that the switchport description should be matching the string "VoIP_Port" and it is applicable to 5 ports, they are Fa0/1 through Fa0/5 interfaces of the switch
    The fun starts when I try to create a job to push some VoIP parameters to the switchports in question.
    I create a new NetConfig job, select "Port based" type job, then I select the device which is a redundant step for me. I expect the job selector is smart enough to select the device based on my "Port and Module" group created previously.
    Anyways, when I click "Next" I select my Port group which is "VoIP switchport" and then the next screen suggests to select the task. I assume I should select "Adhoc task". When I add an instance of this task I'm presented with a screen prompting to configure CLI commands. This is where I stopped.
    What am I starting with? Should I go to the global config mode first ? If I want to send the command "switchport voice vlan 15" should I just add it in the CLI field? How am I applying it only to the required 5 ports?
    If I start the job anyway it fails and the error message is no applicable devices.

  • Send mail to spool list recipient from dynamically generated job

    Hi Friends,
    We are running the SAP payment run daily in background mode using the transaction F110S (program SAPF110S). We have scheduled the program SAPF110S to run in SM36 and have specified an email address there as Spool List Recipient.
    The problem is that SAPF110S itself will dynamically create two new jobs: a job for the Proposal Run and a 2nd job for the Payment Run of F110.  The name the system assigns to these jobs are generated at job release/start time in the format F110_CompanyCode_yyyymmdd - X (for the proposal step) and  F110_CompanyCode_yyyymmdd (for the payment step).
    The proposal and payment steps can create spool output. We want to have that mailed automatically by the system to a spool list recipient.
    The problem is that these proposal and payment job steps which are created do not get a spool list recipient assigned, it is empty in SM37.
    Is there any way to ensure that the spool list recipient which is populated in the calling job in SM36 gets transferred to the dynamically created proposal and payment steps jobs?
    Thanks for your advice.
    regards
    Mike

    Hi,
    At the moment sending custom e-mails from front-end via forms is not a feature on our road-map.
    What information do you want to include in the respective form, what are the fields supposed to be present in the form? You still have the auto-responder and the custom message in the workflow that could hopefully assist.
    Kind Regards,
    Alex

  • Config job failing

    I have periodic polling and peridoic colletion jobs scheduled to run everyday at 2:30 and
    14:30. These jobs are in pending for more than 72 hours and I didn't see a new job started
    since. Please advise
    LMS3.2 on Solaris 10

    Yeah, there are a bunch of threads stcuk in a loop.  This appears to be related to a problem performing terminal setup on WLC devices.  At this point, you will need to restart ConfigMgmtServer to resume config archive operations.  However, I would be curious to know if you can replicate this problem, and if so, with what WLCs (i.e. model and code version).
    To restart ConfigMgmtServer, run the following two commands:
    pdterm ConfigMgmtServerpdexec ConfigMgmtServer

  • Dynamic Config for Target directory

    Hello Experts,
    My interface is from MQ (JMS) to FILE.
    I have one sender and one receiver.
    I have the Lockbox data placed into the single Queue for 2 countries (AU u2013 Australia and NZ u2013 Newzeland)
    Point 1: My PI Interface Picks the lockbox data up from the Queue, then the respective file (dynamically by using dynamic configuration) is being created based on the condition in mapping.
    Here my mapping logic:
    SourceStrucutre                                                       ReceiveStrucutre                          
         Filed1               Filed1
         Filed2               Filed2
    INPUT -
     FIXED VALUES u2026u2026u2026..> UDF1 u2026u2026u2026> ReceiveStrucutre ( root node)
    Expected input values for INPUT: ABC and XYZ (ABC for AU and XYZ for NZ)
    Expected values in FIXED VALUES: ( if ABC -  create file name  FILE1.TXT; if XYZ -  create file name FILE2.TXT)
    The below UDF is mapped to root node of Receiver Structure.
    UDF1 code: ( with single Argument with name : arg)
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, arg);
    return "";
    the above mentioned logic works fine and am able to generate the file names (FILE1.TXT & FILE2.TXT ) in the target directory ( /tmp/common ) which mentioned in the receiver file adapter.
    Point 2:
    My Requirement is to generate the target directory dynamically based the file name generated..
    Expected Target directory:
    /tmp/AU/FILE1.TXT for the file FILE1.TXT
    /tmp/NZ/FILE2.TXT for the file FILE2.TXT
    I know we can do this by writing another UDF2 (DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory"); for the directory and by making ASMA ticked for Directory in communication channel..
    My question is how to map the two UDFs to the same root node of receiver..
    Valuable inputs are much appreciated!!
    Thanks,
    Kumar

    what i mean is have :
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    and
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    conf.put(key, arg)
    conf.put(key1, value for Directory)
    If you are worried on how to map two UDFs to root node then FYI you can map the o/p of the UDFs to any node in your target structure......it wont cause any harm....
    If you say no node is free then you can have two inputs to your UDF and then in the return statement send out the value that you want to pass to the target node (presently you are using return"".......if applying above then you will have return arg2)....
    Regards,
    Abhishek.

  • Dynamic config for attachment without any message mapping in mail adapter

    Hi,
    In our scenario, we are not using any message mapping as a specification.A fixed length file is sent from source via proxy as an attachment to the mail.
    here the issue is with the file name of the attachment. how do we configure the attachment file name dynamically with out using any message maping.
    Regards,
    Divya

    Hi Divya,
    I understand you want to set name for mail attachment.
    SAP Note: Mail Adapter sapnote_0000856599
    Q: Can I choose the name of an attachment in the mail?
    A: Yes. Most mail clients use some heuristics based on some *MIME headers to derive the name of an attachment.* The MIME headers involved in most heuristics are Content-Type, Content-Description,and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    in the adapter framework.
    Q: How can I set the file name of a mail attachment?
    There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
    Content-Type: application/xml; name="abc.xml"
    RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
    With this Content-Disposition header, you can set the file name as:
    Content-Disposition: attachment; filename="abc.xml"
    Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
    Content-Description: my xml file
    To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Feb 3, 2011 12:23 PM

  • Dynamic Config Troubles in 2:1 Message Mapping

    I am using PI 7.1, and I have a 2:1 mapping that takes two input messages and combines them.  The mapping itself is very simple: it takes message A, adds two values from message B and creates message C.
    This mapping is in a transformation step in a BPM.  Message A has several values stored in its dynamic configuration, but after the transformation step, the dynamic configuration values are no longer available (message C has no DynamicConfiguration object in the SOAP Header).
    I tried adding a UDF to the mapping that attempts to read and print one of the dc values contained in message A, but I get a null value.  It's as if the dc values that came in with message A are destroyed once the 2:1 mapping begins.  How can I pass on these original dc values?
    I would appreciate any help you could offer!
    Thanks,
    David

    Hi Abhishek,
    Thanks for the response.  I don't understand when you say that DC does not work in a BPM.  I tried removing the second input message (just making it a 1:1 mapping inside the BPM as a test), and the DC values were read and passed successfully.  I also have a mapping in the exception branch in the BPM that reads a value in from DC without problems.  It would appear that the problem is the fact that the problem mapping is 2:1 rather than that it's in a BPM, right?
    Thanks!
    David

  • Who know how to use dynamic config tools for voice ip

    Hi,
    I want to search a 37XX/voice gateway, 2FE , 8 E&M
    I use top to down shedule one by one
    but can't get the output and no E&M card to choice
    got message again and again
    Error!
    Please choose the following option before configuring any of its suboptions:
    1. In the left frame, click on 3725 Configurable Network Module Option Class
    2. In the right frame, select the NM-1FE2W-V2 option
    3. Now navigate back to Option class for all wics to view the list of available options.
    What happen here
    Thanks very much

    You can try using Software Advisor tool which will help for selcting the cards and IOS

  • Dynamic file names on file based  processing

    Hi Experts
    we are doing file to file scenario using file based processing not on message based ( No Reposiitory Objects - No mapping , no interface objects ).
    we need to pickup the file name from the source directory and place it in the target directory with the same file names.
    the source file name is added with the time stamp and client number,
    Since there no mapping , we can't use the dynamic file concepts.
    Please help me with the possible solutions
    thnz for the help in advance.
    Cheers
    Faheem

    Hi Faheem,
    You will be using the dynamic config when u want to map the input file name to a field in the target message.
    As per ur requirement ASMA will do :
    try this:
    In both the sender and receiver file adapters , select Adapter Specific Identifiers and File Name
    In the receiver file adapter give some dummy value for file name and directory.
    In the runtime, the source file name and directory will be used as the target file name and directory.
    You need not use any UDF or a mapping here
    Hope it helps!!!!!!!!

Maybe you are looking for

  • Cumulative Balance in General Ledger

    I'm trying to design a general ledger report. I almost finish but I have a little problem with the initial Cumulative Balance. I don't know how I can display this number. I filter the report with a initial date, so all previous movements are not show

  • How to pass from a document pdf towards another

    Hello, I have two open documents. In javascript, how to pass from a document pdf towards another. David G

  • Image-safe data not writing to new images ...

    Hello, I am new to Zenworks Imaging, but I have lots of the pieces working on our system. One bit that I don't understand is the Image-Safe Data, so I'm wondering if someone can enlighten me. Here's our setup ... SITUATION: A school district with thr

  • Imac find wireless but wont connect!

    As the subject states...i recently purchased an imac G5 from a friend, he wanted rid and i got it for dirt cheap; so figured id make most of a bargain! Anyway while setting up the computer and ridding it of all his rubbish etc i tried connecting to m

  • Print Determination MIGO

    Hi All what is the difference between WE01,WE02,WE03,WA01 and so on.. what is the settings i need to make if i forget to take printout during GR. Is there anyother setting other than MB02 & MB90. Please Suggest Regards Jagadish