Target-to-target associations in a plug-in

Hi there,
I'd like to use the out-of-box associations available in the EM 12c in a plugin.
One of the effects I want to get is a topology view reflecting my product.
The product is made of several entities for which I've developed different target types
and archived everything into one management plug-in of the metadata type (MP).
I've tried the CONTAINS association in the plug-in but without any good result.
I can't see anything in the Configuration Topology viewer what would reflect the CONTAINS association between the targets types. The only connection I can see is between my target and the host where it's installed. I haven't created it. Must be something automatically done by the EM to my target.
Let's assume I have these target types in my plug-in:
+ my_center
+ my_provider
+ my_pool
I want to create target-to-target associations between the my_center target type and the others like this:
my_center CONTAINS my_provider
my_center CONTAINS my_pool
All this should me visible in the topology viewer.
Target->Configuration->Topology.
I've tried this code without any success in the stage/agent/metadata/my_center.xml file:
<AssocTarget ASSOC_TARGET="myprovider" TYPE="my_provider" ASSOC_TYPE="CONTAINS"/>
<AssocTarget ASSOC_TARGET="mypool" TYPE="my_pool" ASSOC_TYPE="CONTAINS"/>
This modification to the plugin hasn't thrown any errors during the validate process. Neither any errors while importing/installing the plugin.
What should I do to my plugin to get the CONTAINS association visible in the topology viewer?
What should I do to my plugin to get any association to work?
Is the two lines good enough for the associations to work? What am I missing here?
Are the out-of-box associations visible in the topology viewer once configured?
Can you give me a pointer to a sample plugin of the matadata type (MP) which uses the associations?
That would be great helpful.
I actually can't get any association to work in my plugin, any help is appreciated.
Thank You

If you think you need to allocate the whole image at one time, much less multiple copies of the whole image -- you're doing it wrong.
Rethink the problem so you can work in strips or tiles.

Similar Messages

  • Creating target instance for custom plug-in

    I must be missing something basic. How do I get EM to include the target types from my custom plug-in in the list of target instances that can be added?
    I'm using OEM 10g Grid Control Release 10.2.0.1.0. I have successfully imported and deployed a simple test plug-in to one agent, but when I go to the Targets area, the new target type is nowhere to be found. Do I need to do something in addition to importing and deploying the plug-in?

    You ran 'emctl stop oms;emctl start oms' or 'emctl
    stop agent; emctl start agent'? You'll want to make
    sure that you're restarting the OMS.Yes, my bad, I intended to write "emctl stop oms; emctl start oms"
    Actually, it might not be a bad idea to restart the
    agent. Deployment should have reloaded the agent's
    metadata, but you can restart the agent to see if
    that helps. Just because the files are there doesn't
    mean that the agent has picked them up.I did that too. No difference.
    Confirm that MGMT$TARGET_TYPE shows the metrics
    associated with your target type.Okay, here we may have something. My custom target type is not in MGMT$TARGET_TYPE. I log in to Oracle as SYSMAN and look at this table, and I can see the standard ones, but it does not appear to list all target types available from the Add pulldown on the Agent page. This table has both a TARGET_TYPE and a TARGET_NAME column, and it appears to only list created target instances because all rows have values for both columns.
    The most basic requirement for all target types is a
    Response metric with a Status column, so make sure
    you have one of those (and a corresponding collection
    file entry).Yes, that's all I have as a matter of fact. Maybe my sample target is too simple? Here's the complete metadata XML file:
    <!DOCTYPE TargetMetadata SYSTEM "../dtds/TargetMetadata.dtd">
    <TargetMetadata META_VER="0.2" TYPE="echo">
      <Display>
        <Label NLSID="my_name">Echo</Label>
      </Display>
      <Metric NAME="Response" TYPE="TABLE">
        <Display>
          <Label NLSID="my_resp">Response</Label>
        </Display>
        <TableDescriptor>
          <ColumnDescriptor NAME="Status" TYPE="STRING" IS_KEY="FALSE">
            <Display>
              <Label NLSID="my_resp_Status">Status</Label>
            </Display>
          </ColumnDescriptor>
        </TableDescriptor>
        <QueryDescriptor FETCHLET_ID="OSLineToken">
          <Property NAME="echo_text" SCOPE="INSTANCE">Hello World!</Property>
          <Property NAME="command" SCOPE="GLOBAL">
             echo begin %echo_text% end
          </Property>
          <Property NAME="startsWith" SCOPE="GLOBAL">begin</Property>
          <Property NAME="delimiter" SCOPE="GLOBAL">end</Property>
        </QueryDescriptor>
      </Metric>
       <InstanceProperties>
        <InstanceProperty NAME="echo_text" CREDENTIAL="FALSE" OPTIONAL="FALSE">
          <Display>
            <Label NLSID="echo_text_iprop">Text to echo</Label>
          </Display>
        </InstanceProperty>
      </InstanceProperties>
    </TargetMetadata>And here's the complete collections XML:
    <TargetCollection TYPE="echo" >
      <CollectionItem NAME = "Response">
         <Schedule>
            <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/>
         </Schedule>
         <MetricColl NAME="Response">
         <Condition COLUMN_NAME="Status" CRITICAL="0" OPERATOR="EQ" OCCURRENCES="foo"/>
         </MetricColl>
      </CollectionItem>
    </TargetCollection>According to "emctl ilint", it's valid. I do get an INFO message about "No CATEGORY_PROPERTIES specified for metatdata", but that sounds harmless to me.
    On your agent homepage, is the data current, or does
    it look like there is some disconnect between agent
    and OMS?It seems to be up-to-date. All timestamps are current and the list of Monitored Targets is accurate, even after I removed one of the targets.
    And when you try to add your target instance, you're
    going to the Monitored Targets section in the middle
    of the page and using the Add pulldown on the right
    hand side above the table?Yes.
    I appreciate any additional ideas you may have.

  • Using patch plans for 12.1.0.2 target oracle home fails with 'PREREQ_MESG: Unable to get the version of OPatch'

    We are attempting to use patch plan to apply PSU and one-offs to a new 12.1.0.2 database oracle home.  Our EM version is 12.1.0.4.
    We are experiencing the same issue described in ''Bug 20271609 : Unable to get the version of OPatch".   This bug is closed as 'duplicate bug to filer' but we do not appear to have visibility into what patch/bug fixes the issue.
    Description from the above mentioned bug is our same issue.  We do not have this issue when we use patch plans against an 11.2.x oracle_home target.  It is unique to 12.1.0.2 oracle_home target.
    Description from the bug:
    The Plan failed in step "Run Prerequisite Checks" with the following errors:
    PREREQ_NAME: Minimum Version of OPatch
    PREREQ_DESC: Check if the required version of OPatch is present on the target
    PREREQ_TYPE: PATCH_TOOL_CHECK
    PREREQ_STATUS: FAILED
    PREREQ_MESG: Unable to get the version of OPatch at
    /u01/app/oracle/product/12.1.0/dbhome_2/Opatch
    We have opened an SR to see if we can get more info on what was already identified as a bug.  Has anyone else experienced this issue?  If so, can you share any patches or workarounds (other than manually applying patches) that you found useful?
    Thanks.

    You'll probably get the same info from Support, but the workaround is to use the Patch Database (however that doesn't work if there's no DB target associated to that home).   If you were trying to do patchign out of place (clone home, patch, then move db's), EM can do this for you.   If you're just installing a new DB Home and trying to patch, then i don' think there's another workaround.  The base bug is marked fixed though, so a backport for the 12.1.0.6 plugin should be available very soon.  I would ask the support analyst to request the backport for your plugin/patch level...

  • Flashing ? and Target mode errors

    I first must say, that I have read a few posts, but haven't found anything that has helped as of yet. I shut down my iMac yesterday and when I attempted to turn it back on I had a flashing picture of a file folder with a ? in the middle.
    I read some threads that told me to put in the startup disk...and when I restarted to hold "c". Then onto Disk Utility, and tell it to repair disk. I went through every step, however it did not allow me to click the "Disk Repair".
    So I went on and tried to start using the x-key...then reset PRAM...and nothing worked. So I resolved that I will have to just re-install OS-X...which is fine. But in order to keep files and pics, etc...I tried using my Powerbook to start in target mode.
    I plugged in my 6 pin firewire to the powerbook and the shutdown iMac...I then booted up the iMac and held the "t" and the firewire symbol came onto the iMac's screen. But I could not see the iMac's hard disk. I know the firewire works and was connected correctly because I was able to access the OS-X startup disk that was in the iMac through the powerbook.
    Bottom line, how can I either get the powerbook to recognize the iMac's hard disk? Or, how can I get the iMac to recognize OS-X without having to reinstall the operating software? I know the question is complex, and any help is appreciated.

    Then onto Disk Utility, and tell it to repair disk. I went through every step, however it did not allow me to click the "Disk Repair".
    Sounds like you might be trying to use the version of DU on your boot partition rather that the one on the system install/restore disk. With Tiger, there is a utilities menu that loads when you boot from the CD/DVD, and that makes certain you're invoking the DU version on the optical drive.

  • Bug: Target Display Mode + optical audio cable = black screen

    Using Target Display Mode on my iMac 27" (late-2012) with my MacBook Air (mid-2013) always resulted in a black screen on the iMac.
    Hardware used:
    MacBook Air mid-2013 (Mac OS X 10.8.4)
    iMac 27" late-2012 (Mac OS X 10.8.4)
    Thunderbolt cable between MBA and iMac
    optical audio cable in iMac (digital audio out through optical mini jack plug)
    Now, enter Target Display Mode on the iMac keyboard (Cmd+F2).
    Result: black screen on the iMac (MBA is okay, optical audio is okay)
    Workaround: unplug optical audio cable before entering Target Display Mode. Plug in the optical digital audio out cable after TDM is working and all is fine.
    I sent a bug report through the feedback form. Just posting here to save others the few hours I had to spend finding the cause and workaround!
    -- Richard

    Thank you!! Saved me a trip to the Genius Bar.
    Confirmed: Bug also exists in the new 2013 iMac under Mavericks. Unplugging the optical cable before entering Target Display Mode solved the problem.

  • Web Dynpro: several navigation links connect to one outbound plug of a view

    Hi,
    I have two questions in general Web Dynpro. (I have not found precise answer for the question yet)
    1) What should happen in the following case?
    We have three views in a component. The outbound plug of the first view is connected to the inbound plug of the second and third view via navigation links. Which view should appear, if i fire the outbound plug of the first view?
    Some documentation says, this case is not allowed, some documentation says it is allowed...
    2) If the previous case is allowed, what should happen in the following case?
    In a child component, a window outbound plug is connected to a view inbound plug. Beside this, I implement an inbound plug of the window, where i fire this outbound plug of the window.
    Now, the interface view is embedded into a parent component window. In the parrent component I connect the outbound plug of the interface component to an inbound plug of a parent view (which is also embedded into the window). I also connect an outbound plug of the parent view to the interface view inbound plug.
    What will happen if I fire the parent view outbound plug? Will the parent view or child view appear?

    Hi Huszar,
    I'm a newbie and found your question interesting. So I played a little with this issue and hope I found something to help you.
    But  I wonder in why you want to use such a constellation the first place. What is your purpose? For me the idea itself doesn't make much sense... Did you by chance actually think of one of the following purposes:
    You want two different action elements (e.g. 2 buttons) to fire different conenctions. Then you should use different outbound plugs. Connect the two buttons and the two links to different methods so that the corrsponding plug and button have the same method.
    You want to decide by value or state which view to show. Then you should use two different outbound plugs as well and decide in the button's event handler mehtod which plug to fire , e.g.: if <condition> then <firePlugA> else <firePlugB>.
    Generally, if you connect two views in a window via link you must chose a method to use or create a button. If you chose a method (event handler) the effect in the Java file is that the  method (onActionButtonX()) will call the corresponding firePlugOut-method.
    Unfortunately in the firePlug-method itself there was no hint about the plug's destination. As I connected the same method for button and two plug targets, Web Dypro for no obvious reason always chose the same target. I did not find a possibility to directly chose the target from one outbound plug, so I guess this information is stored somewhere in the background logic.
    Did I get the point or did you think of something completely different? Or maybe you just asked theoretically? In that case I don't seem to get the idea.
    Kind regards,
    Jana

  • StartUp Plug Missing

    Hello Experts
      I am getting StartUp Plug Missing Error.
      actually i add two window in one component and after deleting first one i am getting this error.
    Please Help Me.

    Hi Sunny,
    The interface view of the component and its attached window should have a inbound plug of type startup.
    The Web Dynpro application uses this plug to launch the window via interface view.
    If this error comes it means
    1) The application is not pointing to a component without startup plug mentioned.
    OR
    2) The interface view and window doesn't have a plug of type startup.
    For 2) -> Open the controller of interface view and check that there is a plug of type startup. If not create one by name Startup and type startup.
    Check the same in window controller. Create a plug of same name "Startup" and type startup.
    Go to the application controller and check that in target interface view and plug you have have mentioned this interface view and this "Startup plug".
    For 1) Go to the application controller and check that in target interface view and plug you have have mentioned is of type startup (Check Interface to find which plug is of type startup). Check that you have plug of type startup in interface view and window and of same name.
    Hope it helps.
    Best Regards,
    Ashwani Kr Sharma

  • CRM IC Web - Inbound Plugs

    Hi,
    I have created a Custom view and attached the same within the Viewset 'BuPaIdentifyCustomer'. The Custom view is displayed as needed.
    I am trying to link 'BuPaSelectCustomer' and my Custom view. BuPaSelectCustomer displays all the customers in tabular format, and the first column is a button, on click of which method EH_ONSELECT is triggered.
    I have created a navigational link in BuPaNavigationalLinkGlobal.xml as follows:
                       <NavigationalLink name="intrec">
                        <Source viewRef="BuPaSelectCustomer" outboundPlugRef="default"/>
                        <Targets>
                             <Target viewRef="Z_CRM_IC/IntRecords" inboundPlugRef="INBOUNDPLUG"/>
                        </Targets>
                   </NavigationalLink>
    The Outbound plug method in the source view is triggered.
    I have created manually an inbound plug method 'IP_INBOUNDPLUG' in the target view controller class.  This method is not getting triggered.
    Can anyone please help me out in the same?
    Thanks,
    Shankar

    Hi All,
    The problem is solved. The inbound plug method's visibility was protected, it has now been set to Public and its working fine.
    Thanks,
    Shankar

  • Plug-in load issue

    I had created a new plugin by copying the code of an existing plugin.
    Now when I launch Acrobat Pro only one of the plug-ins gets loaded (on Windows Platform). My guess is that it could be happening if there is some ID associated with the plug-in is same for both the plugins. But I couldn't find out this information.
    Is there any ID associated with a plug-in which identifies it uniquely? How can I debug as to why plug-in is not getting loaded?
    -amit

    Few more details:
    I am using Acrobat SDK for writing the plugins. Both the plugins are placed in the plug_ins directory and the one which comes before in alphabetical order is the one gets loaded.
    I am not getting any error for the second plug-in load failure. But the menu item that I have added for the second plug-in is not displayed which tells me that this plug-in is not loaded.
    -amit

  • Disk Repair Boot from OSX Disc...

    Have a bad issue: my iMac has been found (using disk verify) to be corrupt. It tells me to boot from the installation disc to repair. Only problem is my DVD SuperDrive is dead! How can I boot from a disc if the drive won't mount? I've used three other external drives and none are recognized.
    Any suggestions?
    Thanks!!

    Hi Gully, I agree with iyacyas
    {quote:title=iyacyas wrote:}If you have another Mac to use you can place the sick Mac into Target Disk Mode and plug it into the good Mac via firewire and run DU against it from their.{quote}
    See > http://blogs.techrepublic.com.com/itdojo/?p=198
    and > http://www.selfreliantfilm.com/?p=143
    Even if you can't repair the drive from the MacBook Pro in TDM, you should be able to move your user files to either the MacBook Pro or an External HD until you can repair or replace the iMac.
    Dennis

  • Can use old macbook for Time Machine Backup?

    Have an old macbook running snow leopard.  Can I use it for Time Machine Back-up for my current macbook pro?

    Boot your old into Target Disk mode, then plug a FireWire cable from your old to your pro.  Presto!  Your old's internal HD will appear in your pro's Finder as a disk on your pro.  Time machine running on your pro can use it for backup.  Time machine won't disturb its contents, except to add a potentially huge folder there, which will grow to fill the disk with copies of your backups. (Backing up, then) partitioning (and then restoring from backup) your old's internal hard drive will keep your pro's Time Machine from consuming all free space.

  • Recover data from external hard drive that was Windows format and connected on a Macbook Pro. Did I lose everything? What happened?

    Hi there this is my first question here!
    I connected my external hard drive originally formatted on PC on my new Macbook. The first time I connected it I could see all my files but today I connected it and after I couldn't see any file nor even on my pc appears as NO NAME with a different name and nothing on it. I think was reformatted, any help to recover all my data?
    It's really important stuff for me

    If the Apple Store couldn't get files off of the drive, it is unlikely that you will be able to. If you have backups, those would be the best way to go. You could also try booting up the computer and holding down T to boot into Target Disk Mode. Plug the broken computer into another one with FireWire and see if it works to recover data from external hard drive. If you can see it, try booting up the broken computer while holding down Option. Choose Recovery HD from the menu, then choose to Reinstall OS X.
    It is unlikely that this will work, because I'm pretty sure that the Apple Store would have tried this. You could try using expensive software to get files off the drive, but it would be risky and the results might not be any good.
    https://discussions.apple.com/docs/DOC-4273

  • Want to wipe old iMac hard drive

    I have an old iMac (circa 1998) with OS 9.2 installed. The thing hasn't worked for years, and it's been collecting dust in my attic. In fact, I no longer use Mac computers at all. Now I'm moving, and want to recycle the thing. Before I take it in, I'd like to wipe the hard drive.
    Near as I can tell, this can be done two ways:
    1) Boot the computer from a system disc and erase the hard drive
    2) Use a firewire connection to hook it up to another Mac, boot from that other computer, and erase the hard drive.
    I no longer have any system discs, and I have no access to another Mac to connect to. All I can do is look online (using my Vista machine) to find some sort of software/etc to download and then burn to CD or whatever.
    So, does anyone have any suggestions of how I might go about completely erasing my iMac's hard drive? I'd prefer to do this without resorting to the screwdriver and sledgehammer, but that's my last resort...
    Any help would be greatly appreciated!
    Thanks!!

    There probably is/was a disk utility for your Windows box that could've
    wiped the hard disk drive in the Mac, if the old Mac had FireWire ports
    and the PC, also. Then, if the Mac wasn't too old to do it, you'd start
    the Mac up, in FireWire Target Disk Mode and plug it into the PC via
    FireWire. Then run a disk utility to erase or reformat the drive.
    A hammer does OK; but still leaves those data platters inside in fine shape.
    An expert could take apart a similar hard disk drive and swap out the platters.
    If you have a huge electro-magnet, set it on top of the hard disk drive, awhile.
    {A buddy has a hydraulic press and a large forge. The aluminum melts easy
    and the rest is easily broken into bits or melted into a metal slush puddle.}
    What version iMac G3 was that? There's probably someone in a town
    near you who would pick it up for free; just run an ad in craigslist. Or,
    there are free plans online to convert an iMac G3 into a dry fish bowl
    where you can hang cut-outs of paper fish; for real ones, add a water tank.
    Glad to hear you were able to make an impact on settling the initial concerns.
    Good luck & happy computing!

  • Powermac G4 as media file server/storage?

    Hello everyone,
    Long time reader, first time poster.
    I currently run a 15" Pbook G4 1.67g with 2 GB of RAM and 100GB HD, hooked up to an 80GB and 250GB external FW drives. I've slowly been transferring all my DVDs and CDs to the drives, not to mention video footage and all the photos I've been taking. Right now I've got maybe 3 or 4 GB free between the 3 drives.
    I'm greedy. I want to keep going. I don't want to trim back. I have this dream of getting ALL of my music and movies onto HD storage, so I can digitally access any of my media at any time.
    I run iTunes off my Pbook to access my library (which is stored on the 250GB external), but it runs SOOO SLOOOWW. iTunes is extremely sluggish and slow to react. Batch editing files (I'm extremely anal about the tags and album art) takes FOREVER. I hate it.
    I blame the external drives. Maybe they're slow? (The 250GB FW is a Maxtor OneTouch drive).
    I do have an old Powermac G4 dual 533mhz with a nearly-dead 80GB HD in it. I was wondering if there was a simple way to load that machine up with the maximum amount of HD storage, and hook it up to the Pbook for my super-optimal-dream-media-storage solution.
    I'd prefer the cheapest and fastest (in terms of access/transfer speed) solution possible. I know I can set up the Powermac as a file server (but I don't know HOW), and I know I could set up the Powermac as a FW target drive and just plug it in (is that really optimal? Also, I have sold the monitor for it ... all I have is the keyboard and mouse.. is there a way to hook up the MacG4 to the Pbook as a monitor? and how much of a headache would it be to repeatedly connect/disconnect to the MacG4 without a monitor?)
    Anyway. I'm also open to solutions which would make the Powermac a wireless storage solution, since I live in a small apartment and love toting the Pbook around to surf and blog in bed, at the table, in the kitchen, etc.. except with my current setup I have to disconnect it from the music storage. So I can't have my Pbook in the kitchen and play wirelessly off iTunes...
    Thoughts? Comments? Suggestions? I know I'm asking like a million questions in one post, but I appreciate all the help in advance.

    Hi, jzn omg!
    Right now I've got maybe 3 or 4 GB free between the 3 drives...
    I run iTunes off my Pbook to access my library (which is stored on the 250GB external), but it runs SOOO SLOOOWW. iTunes is extremely sluggish and slow to react. Batch editing files (I'm extremely anal about the tags and album art) takes FOREVER. I hate it.
    I blame the external drives. Maybe they're slow?
    Your hard drives are severely overloaded. I try to maintain at least 10-15% or more available space on a drive, particularly on a startup drive. I'm not surprised that the applications are "beachballing" - your system hasn't been given sufficient hard drive space from which it can effectively operate. Moreover, your drive data is likely to be significantly fragmented with the system working "overtime" to constantly search for and piece together files before it can use them and execute the next command.
    Gary
    1GHz DP G4 Quicksilver 2002, 400MHz B&W rev.2 G3, Mac SE30   Mac OS X (10.4.5)   5G iPod, Epson 2200 & R300 & LW Select 360 Printers, Epson 3200 Scanner

  • Powerbook G4 will not install OS X

    Hey guys, so my sister gave me her old Powerbook G4 15inch 1.5 ghz. She had a lot of stuff on it and I had the great idea of reinstalling the system software and starting fresh. I did the following:
    1) Started up in Target Disk Mode
    2) Plugged it into my friend Macbook with OS X 10.5 installed
    3) Repartitioned the powerbook's harddrive as MacOS Extended and checked the "Install os 9 drivers" option
    So everything formatted and the hard drive is empty. So now I try to install OS X 10.5 from my install DVD and the laptop spits it right back out after a minute or so. My sister doesn't have her original disks, so I borrow my friends OS X 10.3 install CD's. When I start up the computer will begin to read the disks and then the grey screen with the apple logo comes up, about a minute later the logo changes from the apple to a "DO NOT ENTER" that circle with a line thru it, sign.
    This is where I'm at.. Can ANYONE PLEASE help... If I just start up the computer it will only get as far as a grey screen with a blue folder that switches from the little blue face thingy to a question mark and back...
    Any help would be greatly appreciated!!!
    JP

    Welcome to Apple Discussions!
    It sounds like you do may not be using the right discs. If you want to install Leopard, you will need the retail DVD--black with the purple aurora. If you want to install the original OS (Panther?), you need the exact install discs for the PowerBook. If you don't have these, you can call Apple with the serial number and get a replacement set for a fee.
    Any other gray machine specific discs will simply not work. These are optimized for the computer they were shipped with.
    The ?/Mac face just reflects the fact that the drive you erased is empty and there is no OS on it.
    The idea of erasing and reinstalling the system software is basically a good idea. It just sounds like you are trying to use the wrong discs and will need to try to acquire the right ones.
    Good luck!

Maybe you are looking for