How to determine which service instances are created with the "-t session-replication " tag in Tanzu GemFire for VMs
search cancel

How to determine which service instances are created with the "-t session-replication " tag in Tanzu GemFire for VMs

book

Article ID: 294377

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

This articles to covers how to determine which service instances are created with the "-t session-replication" tag or which service instances are session-replicated in Tanzu GemFire for VMs.

Environment

Product Version: 1.11

Resolution

Cloud Foundry (CF) has a curl command that shows all the information about service instances. These service instances can be queried in order to get desired data.

Run "cf service <service>" and look for the tags in the output of the service. If it says "session-replication", then that serviceĀ is using session replication.


For example, run this curl command to get the service instances that are have the "session-replication" tag in Tanzu GemFire for VMs:

cf curl /v2/service_instances | jq -r '.resources[] | .entity.name, .entity.tags ' | paste - -