Creation of virtual keyfigure.

Hello All,
Please lookinto the below requirement...
my requirement is One keyfigure available in cube and one more key figure available in multiprovider.
we need to calcule the total vale.
For example total value menas in our case : SR_Co/SR_coff.
we need this calcucation based on the company code.
company code available in multiprovider and cube.
sR_CO available in multiprovider.
SR_coff availble in Cube this loaded throgh IP function.
how to write virtual keyfigure on this case.
regards,
ch.

Hi
Yes i think this can be done using VKF which is similar to CKF but more dynamic as data populates at run time.
Newly created VKF will be added to the cube , but it would nt have any mapping but would derive data at run time using a custome code. Add a new Virtual key figure and write the logic in Either CMOD ZXRSRU02 enhancement or you can try implementig a BADI. Once implemented you can use this in the query in Place of the CKF you were using earlier.
Go through the following articles they shall help you in implementing the same:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c?quicklink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0aa5390-eb7c-2c10-06a1-908f4849ad2a?quicklink=index&overridelayout=true
Regards
Raj Rai

Similar Messages

  • Creation of Virtual Cube

    Hi all,
    My requirement is creation of virtual cube based on Function Module.
    Would you please tell me what all are the steps need to be done, how to create Function Module,What is the structure of Function Module.
    Regards,
    K.Krishna Chaitanya.

    I think you may be confusing two different concepts. I have provided links to more on both.
    1) Extract data into Virtual InfoCubes using function modules
    [http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    2) Creating function modules
    [http://help.sap.com/saphelp_46c/helpdata/en/ea/e9af304c7211d189520000e829fbbd/frameset.htm]

  • Using result of a Calculated Keyfigure as input for a Virtual Keyfigure

    Hi experts,
    is it possible, to use the result of a calculated keyfigure of a query for the input of a virtual keyfigure und use the virtual keyfigure within the same query?
    My problem: depending on drilldown, I have a different percentage within the calculated keyfigure. And depending on that value, I would like to read a score out of a DSO and fill a virtual keyfigure with that, and show the score in the same query. In my opionion, the only way to calculate the score is on the fly, depending on the navigation step I do. Maybe there is another approach that I do not know.
    I was glad for any ideas. Thank you in advance!
    Regards
    F.L.

    Hi,
    Sorry but a calculated key figure result cannot be used in a virtual key figure calculation. The reason purely being that the CKF calculations happen after the Virtual KF/ Char calculations (through BAdI or CMOD).
    The only solution i see here is that you will need to do the calculations in the VKF logic itself. Please do remember that VKF calculations and population happens for each record bein fetched into OLAP from the Infoprovider for the Filters put into the report.
    Hope it helps.
    Thanks,
    Abhishek.

  • Badi-Virtual keyfigure value not populating in query

    HI all,
    I am trying to populate a constant value into the virtual keyfigure when the query is executed but the value is not getting populated.
    I followed the steps how to do this by looking into the step by step process for keyfigure article which i found in SDN.
    When i execute my BADi in se19 i am able to get the value but not in the query.
    Is there a special way to create keyfigures or is it the same way as we create a normal keyfigure.
    Can someone tell me how to get the values in query.
    Thanks in advance.
    Regards,
    Harish

    Hi,
    why dont you debug the badi while executing the report from RSRT t-code. This will give you some idea.
    To debug, put a break point in 'define' as well as 'compute' function of your Badi-implementation, then go to RSRT t-code, enter your query name and then click generate. It will stop at the break-point. Here you can see what is the problem
    Regards
    akshay

  • Ranking - virtual keyfigure

    Hello experts, please help make my life easier today !
    Requirement: Need to create virtual keyfigure to calculating Rankings for all plants (cannot use thank ranking option in BEX cuz of sub-totals issue).
    Issue: Seems like the virtual keyfigure is populating the value at the record level in the cube. I want to populate at the leve of query result based on the variable in query (days selection).
    How could I take result of the query, possibly into an internal table and then calculate the rankings.
    Please guide me through the code. Any guidance would be appreciated.

    Any help ???

  • Create Virtual Keyfigure using BADI

    Hi All,
    I Am tring to implement a virtual keyfigure using BADI, here is what i did created a Enhancement for BADI RSR_OLAP_BADI but i am not sure how to write the code for methods DEFINE and COMPUTE, i am just trying to populate value 100 for Virtual Keyfigure ZVIRT (Just testing) and i am using this keyfigure in my ODS.
    here is the define method i have:
    METHOD IF_EX_RSR_OLAP_BADI~DEFINE .
      DATA: l_s_chanm   TYPE rrke_s_chanm,
            l_kyfnm     TYPE rsd_kyfnm,
            l_s_chanm_used TYPE rschanm.
      FIELD-SYMBOLS:
            <l_s_chanm> TYPE rrke_s_chanm,
    CASE i_s_rkb1d-infocube.
    WHEN 'CUBEXYZ'.
    ENDCASE.
    ENDMETHOD.
    Compute Method:
    METHOD IF_EX_RSR_OLAP_BADI~COMPUTE .
    ENDMETHOD.

    found this code in other post thought this would be helpful for others, this works.
    The coding for DEFINE is
    DATA: l_s_chanm TYPE rrke_s_chanm,
    l_kyfnm TYPE rsd_kyfnm.
    FIELD-SYMBOLS:
    <l_s_chanm> TYPE rrke_s_chanm.
    CASE i_s_rkb1d-infocube.
    WHEN 'MYCUBE'.
    characteristic
    l_s_chanm-chanm = 'ZVIRTUAL'.
    l_s_chanm-mode = rrke_c_mode-no_selection.
    APPEND l_s_chanm TO c_t_chanm.
    l_s_chanm-chanm = 'ZPMORDER'.
    l_s_chanm-mode = rrke_c_mode-read.
    APPEND l_s_chanm TO c_t_chanm.
    The coding for compute is:
    field-symbols: <f_virt> type /bic/oizvirtual,
    <f_ord> type /bic/oizpmorder.
    if P_CHA_zvirtual > 0.
    assign component P_CHA_zvirtual of structure C_S_DATA to <f_virt>.
    if P_CHA_zpmorder > 0.
    assign component P_CHA_zpmorder of structure C_S_DATA to <f_ord>.
    <f_virt> = <f_ord>+2(3).
    else.
    clear <f_virt>.
    endif.
    else.
    clear <f_virt>.
    endif.

  • Virtual Keyfigures

    All,
    For a client we want to use virtual keyfigures in a query. Now we have a value in the user exit, but we cannot get the value back into the query. Does anyone have an example of ABAP or some documentation on this subject?

    hi,
    try to put 'break-point' and do debug.
    and check with RSRT->click 'technical information', see 'virtual char/key figures', it should 'yes'.
    and try to generate the query with RSRT1.
    take a look
    Extractors
    and let's know your email, can send you some how to docs.
    hope this helps.

  • Error in virtual keyfigure exit

    Hi All,
    I have written some code in customer exit for virtual keyfigure.
    There is no error in the code.
    But when i am trying to execute the query, the following exception error occurs.
    Please let me know how to correct this.
    Thanks in advance!

    Hi Ashish,
    The error is 'ESubroutine call failed. Could not find the form USER_EXIT_INIT.
    EAn exception with the type CX_SY_DYN_CALL_ILLEGAL_FORM occurred, but was
    I>> Row: 480 Inc: SRRK0F30 Prog: SAPSRRK0.
    Please help on this.

  • Creation of virtual directory for EPMA during 11.1.2.2 configuration

    Hi Experts,
    I was trying to install and configure the EPM 11.1.2.2 products on a POC machine with Windows 2008 R2. I was able to install and configure some products and i was facing issue with the EPMA configuration where it struck during "Creation of EPMA virtual Directory". I can see the virtual directory created but not sure why this is not finishing up and just struck at this level, deployment is all fine. Attached the config log for any reference
    I have enabled Windows authentication in IIS 7 and disabled Basic authentication
    Please let me know if anyone has come across this issue and thanks for your help
    [2012-11-14T11:33:51.278-08:00] [EPMCFG] [TRACE] [EPMCFG-01496] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] IIS version is 7
    [2012-11-14T11:33:51.278-08:00] [EPMCFG] [TRACE] [EPMCFG-01516] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Removing virtual directory: hyperion-bpma-server
    [2012-11-14T11:33:51.278-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: removeVirtualDir
    [2012-11-14T11:33:52.729-08:00] [EPMCFG] [TRACE] [EPMCFG-01508] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Creating virtual directory: hyperion-bpma-server(2:2), configRoot: C:\OracleEPM\Middleware\EPMSystem11R1\products\Foundation\BPMA\AppServer\DimensionServer\WebService
    [2012-11-14T11:33:52.729-08:00] [EPMCFG] [TRACE] [EPMCFG-01504] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Creating application pool: DefaultAppPool
    [2012-11-14T11:33:52.745-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: createApplicationPool
    [2012-11-14T11:33:56.769-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01001] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] trace: Updating .Net version of application pool...
    [2012-11-14T11:33:56.769-08:00] [EPMCFG] [WARNING] [EPMCFG-01001] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] trace: .Net version v2.0 will be used
    [2012-11-14T11:33:56.769-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: updateApplicationPoolManagedRuntime
    [2012-11-14T11:33:58.142-08:00] [EPMCFG] [TRACE] [EPMCFG-01510] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Using default application pool for hyperion-bpma-server
    [2012-11-14T11:33:58.142-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: createVirtualDir
    [2012-11-14T11:34:00.997-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: installAspDotNet
    [2012-11-14T11:34:02.573-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01499] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Going to allow Web Service Extension.
    [2012-11-14T11:34:02.573-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: enableWebServiceExtension
    [2012-11-14T11:34:04.008-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01500] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Web Service Extension allowing complete.
    [2012-11-14T11:34:04.008-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01499] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Going to allow Web Service Extension.
    [2012-11-14T11:34:04.008-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: enableWebServiceExtension
    [2012-11-14T11:34:05.552-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01500] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Web Service Extension allowing complete.
    [2012-11-14T11:34:05.552-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01499] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Going to allow Web Service Extension.
    [2012-11-14T11:34:05.552-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: enableWebServiceExtension
    [2012-11-14T11:34:07.050-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01500] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Web Service Extension allowing complete.
    [2012-11-14T11:34:07.050-08:00] [EPMCFG] [TRACE] [EPMCFG-07380] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.utils.os.windows.IisUtils] Getting IIS7 Default site name
    Regards

    Why did you modify analytics.ear ?
    Should'nt you make changes here : Middleware_Home>\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1
    \analyticsRes\WEB_INF\web.xml
    Follow this note : OBIEE 11g: How To Access Custom Files Through URL By Creating Virtual Directory In Weblogic Server? [ID 1408240.1]
    And you should be able to deploy that virtual directory and access it after authentication.
    HTH,
    SVS

  • Creation of virtual outbound delivery from MIGO.

    Hi All,
    Scenario - Material, packing material, virtual Goods receipt and virtual outbound delivery and PGI, and final billing.
    We have a scenario wherein we have a Sales Scheduling Agreement for a material is created. The requirement will be generated and send to a vendor.
    The vendor will send goods with packing material directly to the customer ( as it happens in third party ). Packaging material will be added in MIGO as non order item. Packing material will have unique identifiers numbers which the vendor will send and will be updated in MIGO ( as text ).
    At the same time vendor will also send the data to SAP and on that basis MM guys will do a inbound delivery and Goods Receipt ( MIGO ).
    This is the place where I need help.
    As per requirement, we want to create an Outbound Delivery from the MIGO transaction. As soon as MIGO is saved, a outbound delivery should be created for already existing sales scheduling agreement. Delivery should have the main material and the packing materials and the Text ( to be copied from MIGO ).
    I want to know how this can be acheived. Plz sugegst User Exits / BADI's etc.
    Regards,
    Danny.

    Thanks for your valuable replies. I need some more help as the requirement is changed a bit.
    We will get an ASN with only one line item as main material with packaging material text ( no line item for packaging material ). In MM side they will create n inbound delivery with only one item - main material with text in text field.
    We want to create a outbound delivery on Post Goods Receipt save action.
    The outbound delivery should have 2 line items, 1st  for main material referencing the sales scheduling agreement, and 2nd needs to be programmatically added which will have Packaging material with text saved in text tab.
    As suggested by Lakshmipathi Sir, I check include MV50AFZ1, USEREXIT_SAVE_DOCUMENT. But I am bit confused if this can be used for triggering Outbound delivery from PGR.
    Request Gurus to suggest the best option for this requirement.
    Regards,
    Danny.

  • Creation of Virtual Directory in weblogic.xml (OBIEE11 Weblogic)

    We are using OBIEE 11.1.1.6.4, we want to create a Virtual directory mapping in weblogic server so that we can place our static image files to access from the application URL.
    To do this activity, we have performed following steps -
    1) Navigated to C:\OBIEE11G\Oracle_BI1\bifoundation\jee
    2) Open analytics.ear file
    3) Existing code in weblogic.xml is: (if weblogic.xml is not present we need to create the file with below code)
    <?xml version = '1.0' encoding = 'US-ASCII'?>
    <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <session-descriptor>
    <cookie-path>/analytics</cookie-path>
    </session-descriptor>
    </weblogic-web-app>
    4) We have added virtual-directory-mapping tag; After adding virtual directory mapping tag, the code in weblogic.xml is
    <?xml version = '1.0' encoding = 'US-ASCII'?>
    <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <session-descriptor>
    <cookie-path>/analytics</cookie-path>
    </session-descriptor>
    <virtual-directory-mapping>
    <local-path>D:/virtualdirectory</local-path>
    <url-pattern>/images/*</url-pattern>
    <url-pattern>*.jpeg</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    5) We have created a folder virtualdirectory under D: drive. And then created a folder images within folder virtualdirectory.
    6) Then we have placed an image (lets say) test.jpeg within image folder.
    7) Restarted all BI services,
    8) Now when we try to access URL http://localhost:9704/analytics/images/test.gif. Now we are able to see the image, it’s working perfectly fine.
    If we paste the above URL in browser it will automatically displays the image without any authentication. So our requirement is, on pasting the URL in browser first it should redirect to OBIEE homepage and when authentication is done then it should display the image.
    Request you to please advise with your inputs.

    Why did you modify analytics.ear ?
    Should'nt you make changes here : Middleware_Home>\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1
    \analyticsRes\WEB_INF\web.xml
    Follow this note : OBIEE 11g: How To Access Custom Files Through URL By Creating Virtual Directory In Weblogic Server? [ID 1408240.1]
    And you should be able to deploy that virtual directory and access it after authentication.
    HTH,
    SVS

  • Creation of virtual characteristic

    I have to create a virtual characteristic (ZVCDOCNO) same as another object (Document Number - ZDOC_NO).
    This virtual characteristic should have same data as Document number but should contain values that begin with 11.
    I have checked the forum and found some good inputs, but all of them have been done using BADIs.
    Is there any other method other than BADIs?
    Solution suing BADI
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c?QuickLink=index&overridelayout=true]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?QuickLink=index&overridelayout=true]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04be008-86cc-2c10-4bad-e517ea3f4c80?QuickLink=index&overridelayout=true]
    Using BADIs what will be the DEFINE and COMPUTE codes.

    I created and interface.
    In the Class interface
    Attributes tab
    Attribute          Level              Visibility     Typing    Associated Type
    P_CHA_ZDOC_NO      Instance Attribute      Public         Type      VBELN
    P_CHA_ZVCDOCNO     Instance Attribute      Public         Type      VBELN
    In Methods tab
    IF_EX_RSR_OLAP_BADI~DEFINE
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      CASE i_s_rkb1d-infocube.
        When 'ZBKDSO'.
          Append 'ZVCDOCNO' to c_t_chanm.
      ENDCASE.
    endmethod.
    IF_EX_RSR_OLAP_BADI~COMPUTE
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
    FIELD-SYMBOLS <fs_zdoc_no> TYPE /BI0/OIZDOC_NO.
      FIELD-SYMBOLS <fs_zvcdocno> TYPE /BIC/OIZVCDOCNO.
    If P_CHA_ZDOC_NO is not initial.
    ASSIGN COMPONENT P_CHA_ZDOC_NO OF STRUCTURE c_s_data to <fs_zdoc_no>.
    IF <fs_zdoc_no>(2) = '11'.
    <fs_zvcdocno> = <fs_zdoc_no>.
    ENDIF.
    endif.
    endmethod
    I still find some logic missing.  What are the changes to be done to code?

  • VM creation and Virtual IP to the OVM pool

    hi,
    i have confiugred a pool of 8 servers and repository mounted on Nfs.
    while creating Vms the OVM gives me a error..
    Register virtual machine cdrom
    Register virtual machine preferred server
    Create HVM: preJobs
    Failed. Result - failed:<Exception: failed:<Exception: ['virt-install', '--hvm', '--name=18_Deven1', '--ram=1024', '--vcpus=1', '--vnc', '--vnclisten=0.0.0.0', '--vncpasswd=/tmp/tmp59GP-1', '--noautoconsole', '--keep-cdrom', '--cdrom=/var/ovs/mount/825D2FF7ED2645428AD5AED714B5E777/iso_pool/Win 2003/W2K3-SP2.iso', '--mac=00:16:3E:12:E4:DE', '--bridge=vlan225', '--file=/var/ovs/mount/825D2FF7ED2645428AD5AED714B5E777/running_pool/18_Deven1/System.img', '--file-size=10.0', '--os-type=windows', '--os-variant=win2k3', '--keymap=en-us'] => libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating domain: Acquire running lock failed: 256')
    Failed to create domain 18_Deven1
    Traceback (most recent call last):
    File "/opt/oracle/usr/sbin/virt-install", line 506, in ?
    main()
    File "/opt/oracle/usr/sbin/virt-install", line 470, in main
    dom = guest.start_install(conscb)
    File "/opt/oracle/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 408, in start_install
    self.domain = self.conn.createLinux(cxml, 0)
    File "/opt/oracle/usr/lib/python2.4/site-packages/libvirt.py", line 249, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
    libvirt.libvirtError: virDomainCreateLinux() failed
    +>+
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXXenVMInstall.py", line 173, in xen_install_vm_hvm
    run_cmd(args=cmdlist)
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 69, in run_cmd
    raise Exception('%s => %s' % (cmdlist, p.childerr.read()))
    +>+
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSSiteVMInstall.py", line 100, in install_vm_hvm
    else: raise Exception(rs)
    Now the Virtual IP issue,
    out of the 8 servers, 1 is given role of master, utility and vm server and the rest 7 are utility and vm servers.
    servers have 8 nics in all. i have grouped them in 4 (LACP). 1 grp for network and other for Data.
    Also I have given a virtual IP to the pool, in case the master fails, other server takes over the role of master server..
    when i checked rebooting the master server, a diff server from the pool took over as the master server. the Virtual IP gave RTOs.
    All my servers became unreachable.
    kindly help.

    No. The VM manager is run as a seprate box with 4G RAM..

  • Creation of Virtual folders and subscription

    Hi All,
    We currently have a scenario where permissions are enabled at document level, but there is a business need to set subscription at folder level. The folders have documents of different regions and permissions to these documents are set based on user region.
    How do I enable subscription at folder level? Should we create virtual folders or is there an alternate way. Please provide pointers to do the same. How do we set permissions to virtual folder's based on the user access.
    Thanks in advance.
    Regards
    Rukmani

    Hello Rukmani,
    When you create a subscription, you have various options to choose from, as far as how deep into a subfolder structure the subscription reaches.  So, if you set the subscription at the folder level, you can set the subscription to reach documents inside subfolders.  That way, you could have multiple subfolders (perhaps one for each region?) within the parent folder, each with their own set of permissions, and the users will only be notified when something is published that they have access to.
    Would this fulfill your requirement?  Hope this helps a bit.
    Cheers,
    Fallon

  • Problem in bulk creation of Virtual machines using .csv file

    Hello Guys
    the problem is self-explanatory so i only put the screen shot here:
    import-csv D:\2.csv |
    ForEach-Object { new-vm -Name $_.VMname -MemoryStartupByte $_.memory -Path 'c:\testfolder' -NewVHDPath $_.myvhdpath -NewVHDSizeBytes $_.myvhdsize }
    the error message is :
    New-VM : Cannot bind parameter 'MemoryStartupBytes'. Cannot convert value "1024MB" to type "System.Int64". Error: "Input string was not in a correct format."
    At C:\Untitled2.ps1:2 char:82
    + ... oryStartupByte $_.memory -Generation 2 -Path 'c:\testfolder' -NewVHDPath $_.myvh ...
    +                    ~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [New-VM], ParameterBindingException
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
    New-VM : Missing an argument for parameter 'Name'. Specify a parameter of type 'System.String' and try again.
    At C:\Untitled2.ps1:5 char:8
    + new-vm -Name
    +        ~~~~~
        + CategoryInfo          : InvalidArgument: (:) [New-VM], ParameterBindingException
        + FullyQualifiedErrorId : MissingArgument,Microsoft.HyperV.PowerShell.Commands.NewVMCommand
    i usually search before asking problems but here i really don't know what to search about this certain situation.
    i guest there must be something related to variables in powershell !
    thanks in advanced

    That's all there is. The $x now contains the number you want.
    ¯\_(ツ)_/¯
    no, you didn't guide me.
    i asked you where is the location of your writings :
    $num='1732Mb' 
    [scriptblock]::Create($num).Invoke()[0]
    $x=[scriptblock]::Create($num).Invoke()[0]
    $x.GetType()
    in my code :
    import-csv D:\2.csv |
    ForEach-Object { new-vm -Name $_.VMname -MemoryStartupByte $_.memory -Path 'c:\testfolder' -NewVHDPath $_.myvhdpath -NewVHDSizeBytes $_.myvhdsize }
    how i must use these two codes along with eachother? i understand them separatly but how to use them together?
    if i was instead of you & i wanted to guide someone, i would help him in this way:
    1- first type this block:
    2- then write this
    3- then write this
    4- at the end your final script would be ......

Maybe you are looking for

  • OK...I am at my wits' end here!

    Hello all, I just received my iPod shuffle in the mail today (it was ordered on eBay from Circuit City, a major retail electronics chain in the US). It was sold in excellent working condition, according to Circuit City (I have dealt with them before)

  • Need Help in User Mapping

    Hi, I have created some R/3 transactions and assigned to end user. When i click on some Transaction name, it prompts me for username and password. Can i personalise this by taking the username and password automatically. Regards, Raju

  • Random line in skin

    LC While developing training material via demonstration, we have run across a problem. We have selected BlackGlass skin and modified the color and progress bar. We have content slides at the beginning and end that are static (similar to PowerPoint).

  • Sorting not working inside xml format

    Ok I know my title is not clear, but I have a table that is called with a spry if, inside another spry data set, and I have been having quite a bit of trouble with it. The sorting and even odd would not work....(though they work on the same table wit

  • Identification of additional Invalid Objects of Apps Patches in Test mode!

    All, Could anyone please share if there is an option to "Identify additional Invalid Objects creation while applying Apps Patches in Test mode!" EBS R12.1.1 DB:11.1.0.7 O/S:Linux Red Hat Thanks for your time! Regards,