+

Search Tips   |   Advanced Search

dxctl

Learn how to use dxctl with custom resource DxDeployments with HCL WebSphere Portal 9.5 container deployments. Administrators can use the dxctl tool provided with Container Update CF19 and higher releases to define and configure custom DX container deployments. See the following guidance:

General help help for the dxctl tool or help related for subcommands (create, update, collect, and destroy) and the command syntax is found with --help.

dxctl can be used to deploy DX using a properties file. Sample properties files are included in the dxctl/properties directory.

The properties files function as follows:

Example: composer.enabled: false disables Content Composer.

Note: Experience API is a dependency of Content Composer and Digital Asset Management and must be enabled to deploy the two components.


Create a deployment

Follow these steps to create a deployment.

  1. We must copy the properties file once a deployment is created.

  2. Use the copied file to perform a deployment and maintain and update a deployment.

    For example:

      mkdir -p /home/$USER/deployments/

      cp dxctl/properties/full-deployment.properties /home/$USER/deployments/myfirst_deployment.properties

  3. Change the settings. For example, change dx.namespace: to myfirst-dx-deployment.

      ./linux/dxctl --deploy -p /home/$USER/deployments/myfirst_deployment.properties


Update a deployment

Follow these steps to update a deployment.

  1. Edit the properties file.

      vi /home/$USER/deployments/myfirst_deployment.properties

  2. Change the min/max replicas or enable/disable services and then save the file.

      ./linux/dxctl --update -p properties/hybrid-deployment.properties

  3. Change the settings. For example, change dx.namespace: to myfirst-dx-deployment.

      ./linux/dxctl --deploy -p /home/$USER/deployments/myfirst_deployment.properties

With this updated deployment, if you were switching to a next release, we can use the properties file to replace the repository, image, and tag as required and perform the update command.


Delete a deployment

There are two ways to delete a deployment.


Main usage

Usage information for dxctl, for additional information, use --help with an action.


Main help

Subcommand required: deploy, update, collect, or destroy.

Parent topic: Deployment