Jahia 8.2

Karaf command jahia:clustered-bundle-states

Question

What is jahia:clustered-bundle-states used for?

Answer

jahia:clustered-bundle-states is a Karaf command used to inspect bundle state consistency across a Jahia cluster. 

It shows only clustered bundles, the local state on each cluster node, and the shared cluster state. 

It is mainly useful for spotting inconsistencies between nodes and troubleshooting cluster drift. 

Optional flags let you display the bundle name (--show-name), the bundle location (--show-location), or only inconsistent entries (--only-inconsistencies).

Usage:

jahia:clustered-bundle-states --help

DESCRIPTION
        jahia:clustered-bundle-states

	List the states of the bundles in the cluster: 
       - only shows the bundles that are clustered
       - shows the local states for each Jahia cluster node
       - shows the shared cluster state


SYNTAX
        jahia:clustered-bundle-states [options] [group] 

ARGUMENTS
        group
                The cluster group name ([default] if not specified)
                (defaults to default)

OPTIONS
        -n, --show-name
                Shows the bundle name
        -i, --only-inconsistencies
                Shows only inconsistent states
        -l, --show-location
                Shows the bundle location
        --help
                Display this help message

Output:

jahia:clustered-bundle-states -i

Symbolic name               │ Version │ browsing.11590 │ processing.11591 │ Cluster
────────────────────────────┼─────────┼────────────────┼──────────────────┼──────────
osgi-configurations-manager │ 1.0.1   │ Resolved       │ Resolved         │ Installed