Links

macaw infra

cfxDimensions Infrastructure services management:

'macaw infra' command is used to deploy and manage cfxDimensions infrastructure services. Run the below command to view available CLI options.
macaw infra --help
usage: infra [--insecure] [-h] [--debug]
{status,install,start,stop,remove-stopped-containers} ...
Manage infra services
positional arguments:
{status,install,start,stop,remove-stopped-containers}
status Status of the Macaw Infra
install Install the Macaw Infra containers
start Start the Macaw Infra Containers
stop Stop the Macaw Infra Containers
remove-stopped-containers
Remove infra containers that have exited
optional arguments:
--insecure Ignore SSL certificate issues when communicating with
various hosts
-h, --help show this help message and exit
--debug Enable debug logs for the CLI operations
'macaw infra install' command is used to deploy/install cfxDimensions infrastructure services. Run the below command to view the available options.
macaw infra install --help
usage: macaw infra install [-h] [--debug] --tag TAG [--refresh-auth]
[--service SERVICE]
optional arguments:
-h, --help show this help message and exit
--debug Enable debug logs
--tag TAG Tag to be pulled from the Docker registry
--refresh-auth Refresh Authentication to Docker Registry.
--service SERVICE Restrict the scope of the command to specific service
Run the below command to deploy all cfxDimensions infrastructure services. (Note: Below shown tag name is a sample one for a reference only, for actual tag, please contact CloudFabrix support/sales team.)
macaw infra install --tag macaw-2.2.17
Run the below command to install a specific cfxDimensions infrastructure service. Below are the supported infrastructure services. (Note: Below shown tag name is a sample one for a reference only, for actual tag, please contact CloudFabrix support/sales team.)
  • tomcat
  • haproxy
  • kafka
  • zookeeper
  • mariadb
  • minio
macaw infra install --service tomcat --tag macaw-2.2.17
Run the below command to delete all cfxDimensions infrastructure services.
Warning: It is a disruptive operation, please take a full backup of your data before you perform this operation on a Production environment.
macaw infra stop
macaw infra remove-stopped-containers
Run the below command to delete a specific cfxDimensions infrastructure service. Below are the list of infrastructure services.
  • tomcat
  • haproxy
  • kafka
  • zookeeper
  • mariadb
  • minio
Warning: It is a disruptive operation, please take a full backup of your data before you perform this operation on a Production environment.
macaw infra stop --service <service-name> --remove-container
Run the below commands to start/stop cfxDimensions infrastructure services.
macaw infra start
macaw infra stop
Run the below commands to start/stop/restart a specific cfxDimensions infrastructure service.
macaw infra start --service <service-name>
macaw infra stop --service <service-name>
macaw infra restart --service <service-name>