Agent vs context
Hi,
we have a small "architectural" doubt ... !
In the "Physical Architecture" we created two agents :
- <strong><em>agent_host_{color:#ff0000}prod{color}</em></strong>
- <strong><em>agent_host_{color:#008000}test{color}</em></strong>
In the "Logical Architecture" we have only one agent with two contexts :
{color:#0000ff}<em>logical_agent_1</em>{color} = {color:#ff0000}<strong><em>Prod </em></strong>{color}context - <strong><em>agent_host_{color:#ff0000}prod{color}</em></strong>
<em>{color:#0000ff}logical_agent_1{color}</em> = {color:#008000}<strong><em>Test </em></strong>{color}context - <strong><em>agent_host_{color:#008000}test{color}</em></strong>
Now , when I test something, I can select only one agent (<em>{color:#0000ff}logical_agent_1{color}</em>) and the context "redirects" to the physical agent (<strong><em>agent_host_{color:#008000}x{color}{color:#ff0000}x{color}</em></strong>)...
It's all right !
Now we would like schedule a scenario execution ...
we configure the <strong><em>agent_host_{color:#ff0000}prod{color}</em></strong>{color:#ff0000} {color}to connect ,with ODI_SECU_URL, ODI_SECU_WORK_REP, etc... parameters, to the <strong>{color:#ff0000}exe_repository{color}</strong> and the <strong><em>agent_host_{color:#008000}test{color}</em></strong>{color:#008000} {color}to connect to <strong>{color:#008000}dev_repository{color}</strong> ...
the doubt :
what happens when we schedule a scenario in {color:#ff0000}<strong>exe_repository</strong>{color} with {color:#0000ff}<em>logical_agent_1</em>{color} and <strong>{color:#008000}Test {color}</strong>context ( and vicecersa {color:#008000}<strong>dev_repository</strong>{color} with <strong>Prod</strong> context )?
Thanks a lot !
Mauro Benotto
Hi,
You should have two physical agents, two logical agents, and two contexts.
Your "dev" context should have the logical agent that is mapped to the dev physical agent.
Your "test" context should have the logical agent that is mapped to the test physical agent.
Also - you should have a Work Repository for Dev, and a Work Repository for Test ( one for each
stage of your development cycle - for example ( dev test qa production ) ).
Regards,
David Hecksel
http://davidhecksel.com/blog/odi
Similar Messages
-
Unable to Execute Packages using Agent
Hi,
When i am trying to run packages using Agent which is situated on other machine it is giving the following error.
*" unable to executethe selected logical agent is not assosciated to a physical agent in desired context."*
java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:350)
at com.sunopsis.graphical.dialog.SnpsDialogExecution.getAgent(SnpsDialogExecution.java:1436)
at com.sunopsis.graphical.dialog.SnpsDialogExecution.doScenarioExecuter(SnpsDialogExecution.java:1104)
at oracle.odi.ui.action.SnpsPopupActionExecuteHandler.actionPerformed(SnpsPopupActionExecuteHandler.java:64)
at oracle.odi.ui.SnpsActionControler.handleEvent(SnpsActionControler.java:75)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Hi mahesh,
check your agent with test connection, and have a look on your context while executing time it asks context and agent.
if u have various agents and contexts please choice correct logical agent name related to context...
in this case also you not able to find solution, then got to topology manager--->go to logical architecture and open your agent, see your logical agent name in different contexts,please check like this under physical schema window in contexts also.
Regards,
surya. -
Does Log reader agent use sa in sp_replcmds?
We have publisher, subscriber, and distributor on separate servers. Replication is Push Transactional with replication agents setup to run under SQL Agent account context. We are in the process of disabling sa from everywhere and I am monitoring sessions
that use sa to make sure there is no impact.
I see that log reader agent session sometimes uses sa as login name in its sessions on publisher. In sys.dm_exec_sessions, there are two columns for login: Login_Name and Original_Login_Name. The Login_Name shows sa. Most of the time the SPID of log reader
agent on publisher shows the SQL agent service account as login name of the session. But sometimes the same SPID shows sa as login name. This always coincides with session running SP_REPLCMDS without any parameters and also messages like "The Log Reader
Agent is scanning the transaction log for command to be replicated. Approximately...." in Replication Monitor. Normally, the session would run SP_REPLCMDS giving some parameters. When this happens, in sys.dm_exec_sessions, the log reader SPID keeps showing
Original Login name as that of Distributor agent service account but login_name sa.
Does sp_replcmds run as sa? If I disable sa on publisher, distributor, and subscriber, will it break replication?it all depends on what accounts you have set for log reader agent security, distribution agent security and snapshot agent security etc.. If you have not configured anything to use sa then you can disable and it should not have an issue.
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
Hi,
I've been following John's excellant blog. I've created the master repository. In topology manager, I have created the connection, the dataserver, the work repository, the agent and context. I've updated odiparams.bat (http://john-goodwin.blogspot.com/2008/09/odi-series-part-2-agent.html)
I try to test of start ODI Agent I get this error:
C:\ODI>C:\ODI\oracledi\bin\agentscheduler.bat "-port=20300" "-NAME=ODI_Agent"
The system cannot find the path specified.
OracleDI: Starting Scheduler Agent ...
'oracle.odi.Agent' is not recognized as an internal or external command, operable program or batch file.
My start agent .bat file:
C:\ODI\oracledi\bin\agentscheduler.bat "-port=20300" "-NAME=ODI_Agent"
My odiparams file:
rem
rem Repository Connection Information
rem
set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
set ODI_SECU_URL=jdbc:oracle:thin:@oradbserver:1521:TEST;selectMethod=cursor;databaseName=ODI_MASTERREP;integratedSecurity=false
set ODI_SECU_USER=ODI_MASTERREP
set ODI_SECU_ENCODED_PASS=erfa,mE7dy,q8gPvKnjVAb.n8a
set ODI_SECU_WORK_REP=ODI_WORKREP
set ODI_USER=SUPERVISOR
set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
set ODI_INIT_HEAP=128m
set ODI_MAX_HEAP=1024m
set ODI_JAVA_EXE="%ODI_JAVA_HOME%\bin\java.exe"
set ODI_JAVAW_EXE="%ODI_JAVA_HOME%\bin\javaw.exe"
set ODI_JAVAC_EXE="%ODI_JAVA_HOME%\bin\javac.exe"
OS Win 2003R2 32bit
ODI 10.1.3.5.0 has been updated to 10.1.3.5.5 via Oracle Data Integrator Cumulative Patch and Application Adapters for Data Integration Media Pack.Hi,
If you look in agentscheduler.bat the first lines are :-
if "%ODI_HOME%" == "" set ODI_HOME=..
call "%ODI_HOME%\bin\odiparams.bat"
echo OracleDI: Starting Scheduler Agent ...
In your output you have :-
The system cannot find the path specified.
It is trying to call "%ODI_HOME%\bin\odiparams.bat
and it can't find the file.
Do you have an windows environment variable set for ODI_HOME
If not create one and set its value to C:\ODI\oracledi
or update it to the path above
It should then find odiparams.bat
Cheers
John
http://john-goodwin.blogspot.com/ -
How To-set DFF to null and Not required in OAF page ??
enabled service dff, added 2 segments. i want them displayed in service request oaf pages.
details of dff-
Application=Service , title = Additional Information for Agents
in context field region : unchecked required and displayed
In global data elements - added 2 segments based on value set(validation type = independent, list type = poplist)
displayed and enabled checkbox are checked for both the segments.
I want to be able to do two things
1.in HTML service request agentdashboard- the 2 new dffs are displayed correctly as drop down lists. I can pick and save a value to those mapped columns.
but the two drop downs are REQUIRED. I do not want them to be. how can I make them un-required.
--while personalizing this flexfield elemnt from oaf page - I did not have the attribute-required to be unset.
2. I want a default blank value in both the drop down list.
I tried to add a nullvalue in valueset ,but its not letting me. can i do that ??
any pointers please.
Thanks in advanceFor your question
>
if I want to show one segment based on value of some other bean in the UI, then can I do it ? and how ?
>
If you do not want to extend controller then you need to use javascript. Sample code below
<SCRIPT>if (document.getElementById("QFEQHR_FV").value =='Class Room')
{document.getElementById("DescFlex2").style.visibility = "visible";}
else{document.getElementById("DescFlex2").style.visibility = "hidden";} </SCRIPT>Here "QFEQHR_FV" is any bean ID in your page and "DescFlex" is DFF flex item ID. To get handle of the required DFF attribute change numbers starting from '0' and test.
Sample code for testing
<SCRIPT>alert(document.getElementById("DescFlex0").value);</SCRIPT>You need to add this code to "Text" property of a "Raw Text" item.
Regards,
Anand -
Unable to activate domains on solaris 10
Hi all, I have installed guardian 1.1 on my local machine (Win XP). I am using java 1.5_06. I was able to activate 9.2.1 domains on my machine, but not the domains running on Solaris 10. It keeps saying "The agent is not properly deployed to all running servers in the domain. Guardian requires that the version of the agent installed in the client be deployed to the admin and all running servers" I have deployed the guardian application several times on admin and managed servers. I still get the error mentioned above.
Has anyone faced this problem before. Please help me with this.
ThanksWhen I try to access the application directly using the URL (http://host:port/bea-guardian-agent) from the browser I get at 500 error (Error 500--Internal Server Error). In the weblogic server logs I see the following error message:
####<Apr 10, 2008 10:03:04 AM CDT> <Error> <HTTP> <c2r7u01> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1207839784253> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@c0d1d2 - name: 'bea-guardian-agent.war', context-path: '/bea-guardian-agent'] Root cause of ServletException.
javax.servlet.ServletException: Username and password are required.
at com.bea.guardian.agent.weblogic.DispatchServlet.doPost(DispatchServlet.java:369)
at com.bea.guardian.agent.weblogic.GuardianServlet.doGet(GuardianServlet.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:214)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:120)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3022)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
>
Surprisingly, I see the same error message in server logs on Windows but am able to activate the domains. -
Schedule run after every 2 hours
hi all,
i want to create a schedule which will run after every 2 hours.. mean.......ist run 12 AM then 2AM then 4Am.............10PM.
how its possible.....Yes it is possible,
1. Go to scenario, right click on scheduling and click on 'create schduling'
2. give the neceessary information for agent and context
3. select execution type as daily and enter 12.00 am
4. click on Execution cycle, select 'Many times' , enter, maximum cycle duration = 24 hours
interval between repitition 2 hours
And save
Hope u have created the schduler agent
Regards
Reshma -
Context Directory Agent Path not found
I am trying to connect Cisco Context Directory Agent to my AD 2012r2 server,
Went through the setup guide and changed all needed register keys, firewall rules, DOCOM and wmimgmt permissions,
I got passed the access denied error, but now I am getting a "The system cannot find the path specified. [0x80070003]" error.
Here is my log.
wmi-property exception-stack org.jinterop.dcom.core.JIComServer.init(JIComServer.java:580)
org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:481)
org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:445)
com.cisco.cda.rt.adobserver.adobserver.jinteropUtil.getWmiLocator(jinteropUtil.java:42)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.QueryWMIProperty(EventsThread.java:81)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.getNetBIOS(EventsThread.java:171)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.extractDCData(EventsThread.java:203)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.run(EventsThread.java:609)
dc-hostname maddcr2.xxxxxxx.local/10.1.0.19
dc-name xxxxx
exception-cause org.jinterop.dcom.common.JIRuntimeException: The system cannot find the path specified. [0x80070003]
wmi-class Win32_NTDomain
exception-message The system cannot find the path specified. [0x80070003]
wmi-property DomainName
dc-username _zxxxxx
Thank you,Are you're running CDA 1.1 with Patch 1:
cda-patchbundle_1.0.0.011-1.i386.tar.gz
Support for Windows 2012 server was added in patch 1. Enable
this patch using the command:
admin# patch install cda-patchbundle_1.0.0.011-1.i386.tar.gz myrepository
(see step 2a below for setting up a repository)
Refer :
http://www.cisco.com/en/US/docs/security/ibf/cda_10/Install_Config_guide/cda_install.html#wp1061521 -
Context Directory Agent ipv4 and ipv6 mappings
I have the context directory agent 1.0 patch 2 installed and running. It works good mostly. We have a duel stack running ipv6 and ipv4 on our workstations. They connect to the AD with ipv6, so the mapping is for ipv6. Is there a way to get the ipv4 mappings?
We need to map both addresses for the Web Filtering on the CX.Same question.
-
Need of Context Directory Agent
Hi all
I downloaded from CCO CDA (Cisco Directory Agent - filename is AD_Agent-v1.0.0.32.1-build-598.Installer.zip) and installed it. The goal is to authenticate users of WSA using Windows Server 2003 Active Directory.
During deployement I discovered CDA supports until W2008R2 AD servers. Because customer plans to migrate soon AD to Windows Server 2012, I think CDA has to be replaced.
Is Cisco Context Directory Agent the right replacement? I read it runs on a separate Virtual Machine, so I need to inform customer we need an additional VM?
Thanks in advanceWhat you downloaded was the old Active Directory Agent. You need to download CDA (Context Directory Agent) and the four patches and install them on a VM. Download link here: https://software.cisco.com/download/release.html?mdfid=282803423&flowid=4949&softwareid=284724387&release=CDA&relind=AVAILABLE&rellifecycle=&reltype=latest
-
What is the new Cisco Context Directory Agent?
Hi Everyone.
I noticed on the ASA software download page the new Content Directory Agent (~800MB). I could not find any release notes nor other references from a Google search.
http://www.cisco.com/cisco/software/release.html?mdfid=280582808&softwareid=280775065&release=8.4.4.ED&flowid=4822
What is it?
AContext Directory Agent is the successor product to AD agent. It provides similar functionality buit comes with Linux distribution and has a GUI based interface. You are right that at the link you gave there is no documentation posted. Will need to dig around
The release notes for the AD Agent product are at: http://www.cisco.com/en/US/docs/security/ibf/release_notes/ibf10_rn.html -
Context Directory Agent server 2012R2
Hi,
Win server 2012R2 is not offically on the supported list for Contex Directory Agent ( CDA ) , anyone tested this setup ?
I have been following the Installation guide for 2012 : http://www.cisco.com/en/US/docs/security/ibf/cda_10/Install_Config_guide/cda_install.html but I the server stays red in the CDA gui. No error messages in the log though.
CDA is patch1 and CDA user is within the Domain Admin group and necessary priv changes according to the installation document is in place ( registry key ownership etc,) , firewall on the server has been temporarily disabled.
Just wanted to see if there is anyone who got the combination CDA/2012R2 running and/or when there will be an official patch to CDA to add 2012R2 support.I opened a case and they refer me to bug CSCun10631.
(CDA doesn't support 2012R2).
the good news is that a new patch (3) should be release this month (July) and will include support. -
Cisco Context Directory Agent - Windows logs - Forwarded events
Hello,
I have a setup testing with Cisco ASA, Cisco CDA and MS 2012 R2. All this works fine. Only problem I encountered is that I want to read the forwarded events on the AD LDS server instead of the security events.
So in small words is it possible to connect CDA agent with wmi to forwarded events instead of security logs?
Is this possible?
Thanks,
Mark PostHi,
I applied the solutions mentioned above, but now i get the below error. Domain still shows as down.
wmi-property
exception-stack
org.jinterop.dcom.core.JIRemUnknownServer.call(JIRemUnknownServer.java:158)
org.jinterop.dcom.core.JIRemUnknownServer.addRef_ReleaseRef(JIRemUnknownServer.java:181)
org.jinterop.dcom.core.JISession.releaseRef(JISession.java:805)
org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:777)
com.cisco.cda.rt.adobserver.adobserver.jinteropUtil.getWmiLocator(jinteropUtil.java:40)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.QueryWMIProperty(EventsThread.java:83)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.getNetBIOS(EventsThread.java:171)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.extractDCData(EventsThread.java:203)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.run(EventsThread.java:599)
dc-hostname
dc-name
exception-cause
java.net.ConnectException: Connection timed out
wmi-class
Win32_NTDomain
exception-message
An internal error occurred. [0x8001FFFF]
wmi-property
DomainName
dc-username
Any Idea on the error?
Thanks. -
I have 2 DC's and I'm trying to get the cda to connect to both dc's. Both are 2003 R2 but the one I'm having trouble with is Small Business Server. I've double checked security settings and firewalls, but I'm still receiving the error on one server only.
All help is appreciated.
The error I'm getting is:
Log attributes
wmi-property
exception-stack
org.jinterop.dcom.core.JIComServer.init(JIComServer.java:576)
org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:481)
org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:445)
com.cisco.cda.rt.adobserver.adobserver.jinteropUtil.getWmiLocator(jinteropUtil.java:42)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.QueryWMIProperty(EventsThread.java:81)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.getNetBIOS(EventsThread.java:169)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.extractDCData(EventsThread.java:201)
com.cisco.cda.rt.adobserver.adobserver.EventsThread.run(EventsThread.java:605)
dc-hostname
email.houstonarmature.local/192.168.1.1
dc-name
Email
exception-cause
java.io.IOException: Socket Closed
wmi-class
Win32_NTDomain
exception-message
An internal error occurred. [0x8001FFFF]
wmi-property
DomainName
dc-username
hawadminHi Toby,
Just an addition. Did you use an administrator account to logon the RWA and then connect to the remote computer?
Did encounter the same issue?
Meanwhile, please refer to following threads and check if can help you.
RD
Gateway - Unable to connect via IP (Netbios, FQDN work fine)
If any update, please feel free to let me know.
Hope this helps.
Best regards,
Justin Gu -
IronPort WSA S170 and Context directory agent
Hello people and experts,
I need your consultation regarding IronPort and CDA deployment.
I couldn't find any information in internet...
So my question is - if IronPort is AD domain member and Explicit forward proxy is planned to be used. Do I need CDA to be deployed? What will happen if I don't want to deploy CDA in my environment?
As I understood CDA is useful when IronPort works as Transparent Proxy or if IronPort is not a member of the same domaiin as users.
Please advise.The CDA eliminates the need for NTLM authentication. Once a user logs onto their computer in the morning and authenticates to the domain, the CDA will have received a successful audit event/log that informs it that user X is signed on to IP address X. When the WSA needs to find out who is on this IP address, instead of using NTLM to challenge the client machine, it will ask the CDA who signed on this particular IP address. Once it gets the user name, the WSA will proceed as usual and query the AD to determine the group membership of that particular user.
Maybe you are looking for
-
When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?
-
I cannot make phone calls using Skype
Hello, I have a subscription to call numbers in Argentina. I've been using that plan for a long time. I need to call a number that I called many times in the past but my Skype account is not working. Please help me. I need to call this number today.
-
My Mini is just a couple months old and I've had the problem of it freezing up after a couple of hours of inactivity. I did the Applecare phone help thing last weekend-found no hardware problems, wiped it & did a clean & install etc. I have the sleep
-
ITunes 8 lost library and all applications for the iPhone 3g
I am on WinXP Prof, using iTunes v8. This is second time I lost my entire library with ratings, applications, etc. for my iPhone 3g. The first tie it happened to iTunes v7, now with v8. Music folder (it is on another HDD) is still there, but iTunes s
-
? inserting pictures-what setting do I have wrong
What setting do I need to change so that iMovie won't automatically change the durations of pics and transitions when I add a new picture? I am making a slideshow in iMovie with pictures, transitions, music....but when I add a new picture to the slid