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.
1
macaw infra --help
2
usage: infra [--insecure] [-h] [--debug]
3
{status,install,start,stop,remove-stopped-containers} ...
4
5
Manage infra services
6
7
positional arguments:
8
{status,install,start,stop,remove-stopped-containers}
9
status Status of the Macaw Infra
10
install Install the Macaw Infra containers
11
start Start the Macaw Infra Containers
12
stop Stop the Macaw Infra Containers
13
remove-stopped-containers
14
Remove infra containers that have exited
15
16
optional arguments:
17
--insecure Ignore SSL certificate issues when communicating with
18
various hosts
19
-h, --help show this help message and exit
20
--debug Enable debug logs for the CLI operations
Copied!
'macaw infra install' command is used to deploy/install cfxDimensions infrastructure services. Run the below command to view the available options.
1
macaw infra install --help
2
3
usage: macaw infra install [-h] [--debug] --tag TAG [--refresh-auth]
4
[--service SERVICE]
5
6
optional arguments:
7
-h, --help show this help message and exit
8
--debug Enable debug logs
9
--tag TAG Tag to be pulled from the Docker registry
10
--refresh-auth Refresh Authentication to Docker Registry.
11
--service SERVICE Restrict the scope of the command to specific service
Copied!
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.)
1
macaw infra install --tag macaw-2.2.17
Copied!
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
1
macaw infra install --service tomcat --tag macaw-2.2.17
Copied!
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.
1
macaw infra stop
2
macaw infra remove-stopped-containers
Copied!
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.
1
macaw infra stop --service <service-name> --remove-container
Copied!
Run the below commands to start/stop cfxDimensions infrastructure services.
1
macaw infra start
2
macaw infra stop
Copied!
Run the below commands to start/stop/restart a specific cfxDimensions infrastructure service.
1
macaw infra start --service <service-name>
2
macaw infra stop --service <service-name>
3
macaw infra restart --service <service-name>
Copied!