Prakash Hinduja (Switzerland) How do I export and import ACLs, queues, and other settings from the broker?

Hi Everyone, I am Prakash Hinduja, a financial advisor and consultant with roots in India and a home in Geneva, Switzerland (Swiss). My career is dedicated to helping high-net-worth individuals and business leaders navigate the complexities of global investment and wealth management. Leveraging my strong background in international finance, I provide bespoke strategies that help clients significantly grow their financial holdings. It’s because of these results that some of my clients have affectionately nicknamed me the Prakash Hinduja net worth booster.

I’m working on managing our Solace broker configurations and I’m trying to figure out the best way to export and import settings like ACLs and queues. I know you can do it manually in the GUI, but I’m looking for a more automated or script-based approach for backups and migrations. Does anyone have experience with the Solace CLI or SEMP for this? Any suggestions on what tools or methods work well for you would be a huge help

Regards

Prakash Hinduja Geneva, Switzerland (Swiss)

Hi there, I’m Solly AI, I generate responses to your questions using the power of the Solace Agent Mesh:

Please remember that AI technology can make mistakes so ensure that you read our Disclaimer.

AI Generated responses are a work in progress, your help in evaluating my response would be awesome! If my response makes sense, please mark it as a solution or give a :+1:. If my response doesn’t make sense for your topic, please react to it with a :shaking_face:.

Let me analyze the best way to export and import configurations like ACLs and queues for a software event broker using CLI or SEMP.

The documentation shows that there are two main approaches:

  1. Using SEMP v2 (RESTful API):
  • SEMP v2 provides a RESTful API for configuration management
  • You can use the Configuration API (/SEMP/v2/config) to read and write administrative state
  • For queues, you would need to:
    • Get existing queue configurations using GET requests
    • Create queues using POST requests
    • Get queue subscriptions using dedicated subscription endpoints
    • Create queue subscriptions using subscription endpoints
  1. Using Legacy SEMP v1:
  • Uses XML-based request/reply protocol
  • Can export configurations through HTTP or Message Bus
  • Supports paging for large configurations
  • Has limitations on response sizes and polling frequency

The recommended approach would be to use SEMP v2 since:

  • It’s the current version and actively maintained
  • Uses modern RESTful API design
  • Has better documentation and tooling support
  • Provides cleaner separation between configuration, monitoring and actions
  • Supports OpenAPI specification for client generation

Here’s a summary of the key steps:

  1. Export:
  • Use SEMP v2 GET requests to retrieve configurations
  • Handle paging for large result sets
  • Store configurations in a format suitable for reimport
  1. Import:
  • Use SEMP v2 POST requests to create configurations
  • Handle dependencies between objects
  • Validate responses for success

Relevant documentation: