I'm looking for an elegant way for TES to communicate with CPO. Is an SNMP message the only? Or is there an adapter available? Or is there something I could be missing with CPO that would work?
What I'm trying to do is set up processes to run some general diagnostics on systems when either a job fails in TES or when we lose a connection within TES.
An ability for CPO to kick off a TES job as well would be great as well. For example, a TES job fails, CPO runs some diagnostics (restarts a service, whatever) and then reruns that job that failed in TES.
You could do a lot of things. Web Services, Powershell CLI, Windows Events - CPO can trigger from them all.
My suggestion would be to use web services. CPO has a north bound web services set to start processes and do other things. The standard WSDL for processes would be http:// server>:61527/WS/Process?WSDL (assuming you are using the standard http port). You do have to activate these web services by going to file->server (in the master UI) and clicking on the web services tab and activ them there.
You can also try the powershell CLI, CPO has some build in commandlets, like "Start-TEOProcess -name "
We have guides(in the doc) on both Northbound Web Services, and Powershell. If you need some further webex type help, best to open a case. We can give you some further guidance in setting things up.
As far as CPO kicking off a TES job, TES has web services as well so you can use CPO and the Web Service Execute activity to call into TES web services to start a job. (or restart or whatever)
We(in support) thought of another neat idea that would be to use CPO to monitor your agents and your master service and then if they go down you could do automated recovery and have CPO restart them and resubmit jobs or whatever. CPO has activities called "Query Windows Service" and "Control Windows Service" that give you full control over those. (if you ran a unix master, you could do the same using some unix/linux connections and scripting there)
CIAC Adoption Pilot Engineering Lead
The web services sound great! I'll have to look into that.
As far as CPO monitor the TES agents, how would I go about doing that? It would be great to be able to set up a trigger, that as soon as the agent goes down TES would send a message or run a process in CPO. CPO then would use the Services tools to fix/diagnose the problem.
I just can't think of any way that TES can do that (granted, I don't know nearly enough about TES's features).
I posted this question in the TES section as well, but I thought I would discuss it here since it is applicable:
1) I found the ability to set certain errors to write to the Windows Event Log in the System Configuration in TES, but Lost Connection is not there. I can do it as an action off of the the System Event that is generated when a connection is lost, but I wanted to verify that this is the best way to go about it. The System Configuration seems like a better way, if that option is available.
2) I cannot find the variable to pass in the machine location, only the agent name, to the event. This would be vital to letting CPO know where to fix the issue. Passing the platform would be hugely important as well.
I know these are TES specific questions, but I thought I would ask here just in case. Maybe some one else might find this useful later on as well (as I've found other people's posts useful)
This document explains the logic to develop Tidal Enterprise
Orchestrator workflow to automate the process of creating vCenter
Resource Pool* vSphere Power CLI must be installed either on the TEO
server or vCenter* vMA can also be used to achieve the same...
IntorductionCisco Process Orcehstrator (CPO) ships with the webservices
adapter that can be used to make Web Service API call to REST or SOAP
based applications. Before a sample workflow to make SOAP API calls
using CPO, lets understand some of the fundam...