Questo contenuto non è disponibile nella lingua selezionata.

Chapter 9. Managing your installation manager configurations using the Management CLI


The Management CLI enables you to manage your installation manager configuration. You can perform actions like viewing channels, subscribing, and unsubscribing from channels. For more information about managing channels on JBoss EAP 8.0 see JBoss EAP channels in the Installation guide.

9.1. Listing subscribed channels

The following example describes how to use the Management CLI to list all the channels you are subscribed to in a stand-alone server and managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
    Copy to Clipboard Toggle word wrap
  2. List subscribed channels in your JBoss EAP server:

    1. List channels in a stand-alone server:

      [standalone@localhost:9990 /] installer channel-list
      Copy to Clipboard Toggle word wrap
    2. List channels in a managed domain:

      [domain@localhost:9990 /] installer channel-list --host=target-host
      Copy to Clipboard Toggle word wrap

9.2. Subscribing to a channel

The following example describes how to use the Management CLI to subscribe to a channel in a stand-alone server and a managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
    Copy to Clipboard Toggle word wrap
  2. Subscribe to a channel:

    1. Subscribe to a channel in stand-alone server:

      [standalone@localhost:9990 /] installer channel-add --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
      Copy to Clipboard Toggle word wrap
    2. Subscribe to a channel in a managed domain:

      [domain@localhost:9990 /] installer channel-add --host=target-host --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
      Copy to Clipboard Toggle word wrap

9.3. Unsubscribing from a channel

The following example describes how to use the Management CLI to unsubscribe from a channel in a stand-alone server and a managed domain.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
    Copy to Clipboard Toggle word wrap
  2. Unsubscribe to a channel:

    1. Unsubscribe to a channel in a stand-alone server:

      [standalone@localhost:9990 /] installer channel-remove --channel-name=test-channel
      Copy to Clipboard Toggle word wrap
    2. Unsubscribe to a channel in a managed domain:

      [domain@localhost:9990 /] installer channel-remove --host=target-host --channel-name=test-channel
      Copy to Clipboard Toggle word wrap

9.4. Editing a channel subscription

The following example describes editing a channel subscription using the Management CLI.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
    Copy to Clipboard Toggle word wrap
  2. Edit a channel subscription in JBoss EAP:

    1. Edit a channel subscription in a stand-alone server:

      [standalone@localhost:9990 /] installer channel-edit
      --channel-name=channel-name --manifest=org.new.test:org.new.test-manifest
      --repositories=mrrc::https://maven.repository.redhat.com ,mvncentral::https://repo.maven.apache.org/maven2/
      Copy to Clipboard Toggle word wrap
    2. Edit a channel subscription in a managed domain:

      [domain@localhost:9990 /] installer channel-edit
      --host=target-host
      --channel-name=channel-name --manifest=org.new.test:org.new.test-manifest --repositories=mrrc::https://maven.repository.redhat.com ,mvncentral::https://repo.maven.apache.org/maven2/
      Copy to Clipboard Toggle word wrap

9.5. Exporting a server snapshot

You can export the installation manager configuration used by your JBoss EAP server to an archive file. This file can be used to recreate the same server configuration using the jboss-eap-installation-manager tool. This feature ensures easy replication of your server setup in other environments. For information see exporting a server snapshot using the jboss-eap-installation-manager.

One compelling use case for this capability is when you encounter a technical issue and need to seek support from the JBoss EAP team. By sharing the exported archive file with the support team, they can recreate your server configuration precisely as it is in your environment. This ensures that the support team can replicate the issue you are facing and provide targeted assistance, ultimately expediting the resolution process. You can also provide more details about your environment by following the steps in the JDR tool documentation.

Procedure

  1. Launch the Management CLI:

    EAP_HOME/bin/jboss-cli.sh
    Copy to Clipboard Toggle word wrap
  2. Export a server snapshot:

    1. Export a server snapshot in a stand-alone server:

      standalone@localhost:9990 /] attachment save --operation=/core-service=installer:clone-export()
      Copy to Clipboard Toggle word wrap
    2. Export a server snapshot in a managed domain:

      [domain@localhost:9990 /] attachment save --operation=/host=target-host/core-service=installer:clone-export()
      Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat