Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Ask the Expert: An Automated Journey of Cisco Process Orchestrator

Read the bioWith Shaun Roberts

Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to learn and ask questions about the Cisco Process Orchestrator with Cisco expert Shaun Roberts. Topics include out of the box content, core server engine components, and Custom Content Authoring. Custom Content Authoring helps unlock the true power of Cisco process orchestrator and allows you to code automations across your IT infrastructure. The discussion can also segway into development best practices as well as common do’s and don’ts for Cisco Process Orchestrator.

Shaun Roberts is a Customer Support Engineer at the Cisco Technical Services Organization. He is an Automation Engineer and former support team lead for the Cisco Process Orchestrator (CPO), Cisco Intelligent Automation for Cloud (CIAC), and IT Process Automation (ITPA) products. He has over 16 years of experience in development (both application and web), and over ten years in the IT industry. Roberts is an expert in SAP, Windows, Linux/Unix, many development languages, and has written numerous blogs on automation on the Cisco Support Community area found at Intelligent Automation. He is the original support person for CPO and has written numerous custom automations for customer and internal Cisco use. Roberts holds a Bachelor’s degree in Computer Science from Texas A&M, and a MBA from the University of Houston. He also holds an ITIL Foundations Certification and he is a Cisco Certified Network Video Specialist. Prior to Cisco, Roberts worked for Hewlett-Packard/Compaq as server hardware QA and he spent several years working in SAP doing FICO and BASIS configuration and developing interfaces.

Remember to use the rating system to let Shaun know if you have received an adequate response.

Shaun might not be able to answer each question due to the volume expected during this event. Remember that you can continue the conversation on the Data Center sub-community discussion forum Cisco Process Orchestrator shortly after the event.

This event lasts through July 26, 2013. Visit this forum often to view responses to your questions and the questions of other community members.

23 REPLIES
Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Thanks! Just some quick thoughts...

1) I will attempt to answer all that I can with my knowledge, if I do not know, I'll try to direct you to the best person I know or TAC(if it's a support issue/bug/enh)

2) I have done a lot of process authoring in CPO, and this is mostly a CPO event. I do have experience with Cloud Portal and with CIAC, but I am not an expert on developing inside of Cloud Portal outside of some basic, so I will try but likely (if you are looking for deep CCP development questions) I will have to re-direct you.

Set of great links to have...

CIAC Gift Box:

https://supportforums.cisco.com/docs/DOC-27412

Links of value for customers to work with TAC:

https://supportforums.cisco.com/docs/DOC-25257

Where you can find my blog on automation(videos included!):

https://supportforums.cisco.com/community/netpro/data-center/intelligent_automation?view=blog

How to subscribe to software updates on cisco.com:

https://supportforums.cisco.com/docs/DOC-23916

Location of documentation for CPO:

http://www.cisco.com/en/US/customer/products/ps11100/products_user_guide_list.html

If I need to, I'll post more links as the weeks go on.

Thanks for visiting!

--Shaun Roberts

shaurobe@cisco.com

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
Cisco Employee

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Shaun,

Could you please clarify the difference among these view types (Adhoc, Scheduled, Started and Triggered)?

For example, where should I look for activities of a process that was scheduled and now has started?

Thanks,

Edi Wibowo

Cisco Employee

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Edi,

Under Activity views those four are as followed...

Adhoc -> shows only processes that are running/have been run in an adhoc fashion. These have been right-clicked->start process

Scheduled -> this will show processes that are scheduled to go via a schedule trigger

Started -> this is the largest "bucket". It will show everything that has running or is running.

Triggered -> this will basically show everything that is non-adhoc. It ran via trigger, whether that's a CCMS alert, task change, etc

Adding some color this discussion...

personally I use "view started" pretty exclusively when I'm testing content as it gives a quick representation about what's going on.

It's under the activity view folder so you cannot sort by process name like you can in the "Process Views" folder or use the process filter like you can there as well.

However the activity views offer you a quick/straightforward view about what is going on or has gone on in your server.

**Remember, only those processes who are archived or "persistant" will show in this view after they have finished running.

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Let me add a little bit more details...

  • Scheduled view will show not only what has run but also proceses that WILL run based on the configured schedules. It is useful when you are trying to figure out when a scheduled process will run next. This could be a fairly busy view with a lot of "future" processes mixed up with the processes that actually executed.
  • Triggered view will not show any scheduled or adhoc processes. It will only show those that were triggered by an event (such as a SNMP trap or Task Change or CCMS alert or Windows Event Log).
Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Thanks Shaun and Svetlana.

Shaun, how do you set a process to be persistent?

Cisco Employee

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Edi,

You can turn it on and off by going into the properties of a process and going to the options tab and clicking the checkbox next to archiving.

Steps:

1) On a process, right click->EDIT

2) Click on the OPTIONS tab on the far right

3) Check or Uncheck the box next to Archive Completed Instances

Checked = On, Unchecked = Off

What does this do?

Archiving or Persistence(as many call it) saves the output of activities and a process to the database. So if you run a process and want to go into the operations view and review what it's doing and the activities' outputs, then you would want archiving to be enabled. This is for completed outputs. Techincally you could still watch your process run in the operations view but only for a short time as once the process was in a completed state and archiving is disabled, the outputs would be removed.

If you do not care about the outputs, then you can leave it disabled. It is enabled by default when you create a new process.

Why would you disable it?

For better performance and to save database space in my opinion. You will find much of the Out of The Box SAP content has archiving disabled because these processes are monitoring typing process. If they find an issue an alert/incident is raised and that is saved off for the user to review. If everything is nominal then there is no reason to review the process. So by not saving off a process (that no one would review) we save database space and can get better performance out of the server. We do still save off the last known status of the process itself (succeeded, failed, etc).

In my opinion, it is best to look through your content when you are happy with it, and disable anything that is monitoring related, or any small functional type pieces that you really do not care about the inner workings of.

You can always go back and re-enable it as well if you start to see issues or think you need to troubleshoot that workflow.

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Shaun, thanks for the explanation. It is clear now.

New Member

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Shaun,

Here's one for you. One of my bugbears with CPO is it's handling of web services calls using a WSDL. The default behaviour when configuring a SOAP call is for CPO to supply default values for any item not specifically given a value even if the item is allowed to be nil.

This is particularly annoying when the SOAP call is a search. For instance, if there is a date field and I don't specify a value and the WSDL says that value is optional, CPO will instead supply a default value of 1-1-1900 or similar. This took me a long time to figure out and I actually had to snoop the network traffic to work out what was going on and then and to specifically go to each item and tell CPO to supply no value.

Is there an easier way? I know speedwise its sometimes better to use a direct HTTP POST but it's not always the quickest way to get something working.

Thoughts?

Ryan (CPO Dude)

Cisco Employee

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Ryan,

I have done a ton of web service calls in the past 6 months. (build up demi-adapters with their method calls) I have found the best way to do things is to use the Web HTTP Request activity and to write out the method call yourself. While this might take a bit longer it does give you more control over what you are doing and these activities (prior to the release of 3.0) are much, much faster.

I do not remeber the scenario you mentioned above but I have not used the web service execute activity in a good 6+ months. I know there are some fixes and updates coming to it in 3.0 but outside of that I cannot say. If this is a major issue for you and needs to be resolved, in this case, I would suggest you open a TAC case and get the TAC engineer to work with the BU and reproduce the issue inhouse.

I have done multiple searches in my calls and had no issue (both with similar ideas that you post above). In fact I have an API set for SPLUNK which has a create search with time and without and using the Web HTTP Request activity, it all works great.

--shaun

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Hi, Ryan!

In 2.3.X release using HTTP Web Request activity would be the only way to achieve "omitting" parameters from a Web Service call. In addition, in 2.3.X HTTP Web Request activity is also a much more performant way of calling SOAP Web Service than the Web Service Execute activity.

In the upcoming 3.0 release, the Web Service Execute activity has undergone significant changes. It is now much better performance and supports manual "removal" of parameters, and has a number of other improvements.

Svetlana

New Member

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Svetlana,

That's good to hear they're updating that component. I understand the HTTP POST is faster but obviously you then have to use some other tool to craft the SOAP request (e.g. SoapUI). I'll look forward to the new version coming out but in the mean time I'll work around it.

Thanks.

Ryan

New Member

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Extension Points Do we have any videos or illustrated examples on how we use 'author' content using extension points in both CPO and CPSC ? Many thanks Rob

Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Von posted them @

https://supportforums.cisco.com/thread/2228815?tstart=0

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
New Member

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Chris,

For some reason I can't view the videos. Are they in a 'special' section?

Ryan

Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Ryan,

They are in the IA Design center which is employees only.

@Von,

Could those VODs be made available for customers out here or are they internal only?

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
Silver

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Here is a CIsco Live presentation on the topic:

https://www.ciscolive365.com/connect/rockfish.do?url=http://d2zmdbbm9feqrf.cloudfront.net/2013/usa/BRKNMS-2516.mp4

Per the link above, the author would have to agree to post the other presentations for customer access.

New Member

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Dear Shuan,

      Could you help me solve this isue , I want to known the server link the switch(3750G) what's port . For example , at the switch can connected , so I want use show arp | include IP get the mac ,and then use show mac address-table | include mac get the server match switch port .But I use show arp | include IP not data to display ,and use show ip int brief not corresponding IP data to display , please help me to solve the isue, thanks.

Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Hi Andrew,

Are you doing this through the terminal adapter and not seeing results?

Can you post screenshots from CPO of what you are doing exactly?

I have done automations against the 3500s switches using CPO so I assume it would not be different and show mac address-table is a fairly standard command that should show output assuming your mac table has addresses in it.

Please post screenshots of the automation/workflow from CPO for what you are trying to do above and post the exact string of commands you are using.

thanks,

--shaun

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
New Member

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

hi Shaun

The first picture is the type of  switchboard ,switchboard is mnanged by CRT ; if it is working well,it will show like the second picture  ;I have many servers link to switchboard(for example,the third picture ),but only several ports work well like the second picture ,other ports work not so well it just showed like the  fourth picture . so I want  all ports work well like the second picture ,could you help me how to do it.Thanks a lot .

  --Andrew

捕获4.PNG

                                 the  first picture

捕获3.PNG

                               the second picture

捕获2.PNG

                                 the third picture

捕获1.PNG

                             the fourth picture

 
Cisco Employee

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Andrew,

Sorry for the confusion. This is an expert discussion on CPO (Cisco Process Orchestrator) which is an automation application, not a switch. A couple of things to investigate would be the actual connection is ok? You can ping everything you want?

Are the ports aligned in the proper VLANS?

I can understand a few things as I'm working on my CCENT currently, but my true expertise is automation and software, not Cisco IOS/switches/routers, plus I do not want us to diverge this conversation away from that. It would be best for you to open a TAC case with this question and have an experienced network support engineer work with you on it.

Not trying to deflect just trying to get you the best help in the quickest way

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
New Member

Re: Ask the Expert: An Automated Journey of Cisco Process Orches

Shaun,thank you very much .

New Member

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Hi Mr. Roberts am desperately in need of your help in configuring a cisco 3620 series router for VPN

remote access with ios

flash:c3620-jk9s-mz.122-29.bin please help my boss is on me for this

Cisco Employee

Ask the Expert: An Automated Journey of Cisco Process Orchestrat

Hi Keddian,

Again like I mentioned above. This is an Ask the Expert for Cisco Process Orchestrator which is a piece of automation software. This is not a place to ask about routers or switches. I could not tell you how to configure that as I do not know. I suggest you go to the router area of these forums and ask there or open a TAC case with your local TAC to give you guidance.

thanks.

--shaun

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
584
Views
19
Helpful
23
Replies
CreatePlease to create content