Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

3.5. Deploy a VDB via CLI

Prerequisites

  • Red Hat JBoss Data Virtualization must be installed.
  • The JBoss Enterprise Application Platform (EAP) server must be running.

Procedure 3.3. Deploy a VDB via CLI

  1. Open the command line interface

    Run the EAP_HOME/bin/jboss-cli.sh command.
  2. Connect to the server

    Run the connect command.
  3. Deploy the virtual database

    If in standalone mode, run deploy PATH/DATABASE.vdb.
    If in domain mode, run deploy -all-server-groups PATH/DATABASE.vdb.

Note

In domain mode, you need to select a particular "server-group" or all available server groups are deployment options.