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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.