How to automate the execution of CLI commands in Fuse ?

Solution Verified - Updated -

Issue

  • Automate some of the deployment steps like:

    • Creating fabric profiles.
    • Editing fabric profiles (add config files, bundles).
    • Creating child containers.
    • Adding fabric profiles to containers.
    • What happens if some of the commands fail? Is it possible to detect it and stop the execution?
  • This can be done by accessing karaf console via ssh, but it looks like quite complicated task for automation.

  • Is there any other recommended way to automate commands?
  • How to automate some operation commands?
  • Cluster Setup Automation.
  • Ensemble setup automation.

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content