Red Hat Training

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

3.6. Deploy a VDB via AdminShell

Prerequisites

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

Procedure 3.4. Deploy a VDB via AdminShell

  1. Open the interactive AdminShell interface

    Run the ./adminshell.sh command.
  2. Open a connection

    Within the interactive AdminShell, run the connectAsAdmin() command.
  3. Deploy your virtual database

    Run the deploy("PATH/DATABASE.vdb") command.
  4. Close the connection

    Run the disconnect() command.
  5. Exit the interactive shell

    1. Enter the exit command to leave the interactive shell.

Note

In domain mode, when deploying using AdminShell, the VDB is deployed to all available servers.
A VDB can also be deployed via the AdminShell console or using a script via the non-interactive AdminShell. For more information on using these, refer to topics on the Administration Shell.