Install Red Hat JBoss Data Virtualization

There are different ways to install Red Hat JBoss Data Virtualization:

  1. Graphical mode: Graphical mode launches a graphical wizard which provides step-by-step instructions for installing and configuring the Red Hat JBoss Data Virtualization. Additional setup, including the Quickstarts and Maven Repository, is also possible with the installer.

  2. Text mode: You can launch the installer in the text mode as well. Text mode provides step-by-step instructions for installing and configuring the Red Hat JBoss Data Virtualization.

  3. Automated script mode: You can install multiple identical instances of Red Hat JBoss Data Virtualization using the automated script. This automated script is generated after the first installation instance. We will explain the graphical mode and automated script mode in more detail in the following paragraphs.

  4. Custom scripts: You can provide your own script in order to automate the installation of the required components of Red Hat JBoss Data Virtualization.

Installing Red Hat JBoss Data Virtualization through graphical mode

Download

Download the Red Hat JBoss Data Virtualization installer binary by clicking the red download button at http://developers.redhat.com/products/datavirt/download/.

1.1 DV download.png

Start GUI installer

Open a terminal window and navigate to the location where the GUI installer was downloaded.

Run the installer using java at the command prompt:

$ java -jar jboss-dv-6.3.0-1-installer.jar

Follow the installer prompts to complete the installation process.

Tip
If needed you can also take a look at the video "Getting Started with Red Hat JBoss Data Virtualization Installation and Configuration". See http://vimeo.com/76457404 for more details.

License Agreement

A dialogue box will open followed by the End User License Agreement. If you accept the terms of the agreement, select I accept the terms of this license agreement and then click 1.1 DV NextBTN.png

1.1 DV EULA.png

File path confirmation

A filepath confirmation dialogue box will appear. Choose an existing EAP 6 installation location to install JDV or select a new location to install JDV, click 1.1 DV NextBTN.png

1.1 DV FilePath.png

When you select a new new location to install JDV a message dialogue box will appear to notify that a fresh Red Hat JBoss Enterprise Application Platform installation will be placed.

1.1 DV FilePath2.png

Packs selection

A select the packs dialogue box will appear. Review the packs you want to install and if satisfied, click 1.1 DV NextBTN.png

1.1 DV InstallPacks.png

Create users

You will be prompted to create new users. For convenience it is possible to select one password for all default passwords. Enter the new username and password in the appropriate fields. Furthermore select the checkbox "Add OData role" and "Add logging role". After filling-out the appropriate fields click 1.1 DV NextBTN.png

1.1 DV User.png

Click 1.1 DV NextBTN.png to proceed.

Configure runtime environment

You can install Red Hat JBoss Data Virtualization either with default configuration or with additional configuration options. Select option Perform default configuration. Click 1.1 DV NextBTN.png to proceed.

1.1 DV Install config.png

Configure password vault

You will be prompted to configure password vault, For convenience it is possible to select same password as Create users. Click 1.1 DV NextBTN.png to proceed.

1.1 DV Install vault.png

Summary Page

A summary of the installation will be displayed, see below.

1.1 DV install summary.png

Start install

Click 1.1 DV NextBTN.png to start the installation and the Component installation progress window will be displayed.

1.1 DV install component summary.png

Process Install

Click 1.1 DV NextBTN.png for the installation to commence. This may take a minute.

1.1 DV install completed.png

Finish Install

Once all the components are installed, click 1.1 DV NextBTN.png.

Click "Generate installation script and properties file" if you wish to generate an automatic script and properties file.

1.1 DV install completed 2.png

For now click 1.1 DV DoneBTN.png to complete the installation.

Verify

Red Hat JBoss Data Virtualization is now successfully installed and configured.

When the installation is complete, navigate to for example:

Unix/Linux
$ cd /opt/jboss/dv-6.3.0/bin
$ ./standalone.sh
Windows
C:\> cd \opt\jboss\dv-6.3.0\bin
C:\opt\jboss\dv-6.3.0> standalone.bat

to start the Red Hat JBoss Data Virtualization server.

Installing Red Hat JBoss Data Virtualization through automated script mode

Installing Red Hat JBoss Data Virtualization by using an automated script provides everything you need to get you started quickly.

Download the Red Hat JBoss Data Virtualization installer binary by clicking the red download button at http://developers.redhat.com/products/datavirt/download/.

1.1 DV download.png

Place the software in the software subfolder.

Modify the support/installscript_dv630.xml file to contain the full path to the preferred installation directory for JBoss Data Virtualization 6.3.0.

<installpath>/home/jboss/dv</installpath>

The script performs the automated install of JBoss Data Virtualization v6.3.0.GA. Run the following java command to install JBoss Data Virtualization in as shown below.

$ cd support
$ java -jar ../software/jboss-6.3.0-1-installer.jar installscript_dv63.xml

The following username/passwords will be installed automatically for access to

Component URL Username Password

JBoss EAP Administration console

http://localhost:9990/console

admin

redhat1!

Teiid Server

http://localhost:8080/odata/<VDB name>

teiidUser

redhat1!

ModeShape

http://localhost:8080/modeshape-rest

modeshapeUser

redhat1!

Dashboard Builder

http://localhost:8080/dashboard

dashboardAdmin

redhat1!

Tip
The ModeShape rest URL is accessible by the user modeshapeUser. If you want to have user teiidUser to access this url you have to add the connect role privileges to this user in the application-roles.properties file.

In case you want to change the password of the admin user or one the other users shown above, go to dv/jboss-eap-6.4/bin and type the following command and inputs as shown below.

1.2 DV auto install 2.png

Browse to http://localhost:8080/dashboard for the Red Hat JBoss Data Virtualization Dashboard to verify the installation and use teiidUser/redhat1! as the credentials that were installed as default and click btn:[Log In].

Red Hat JBoss Data Virtualization is now successfully installed, configured and started using the automated script mode.

Installing Red Hat JBoss Data Virtualization through custom scripts

We created custom scripts to automates the deployment of all the required components of JBoss Data Virtualization on Windows, Linux and Unix environments for running this workshop.

The github repository Vijay created can be found here: https://github.com/vchintal/jboss-data-virtualization-setup

Follow the instructions mentioned in the repository to full automate the JBoss Data Virtualization installation.

Provision Red Hat JBoss Data Virtualization using OpenShift 2.x

With OpenShift you can easily deploy and run Red Hat JBoss Data Virtualization in minutes to connect your applications to data from many different sources.

Get your free OpenShift Online account Sign up for your free account OpenShift Online account at https://www.openshift.com/app/account/new and you should see the screen below.

1.3 DV OpenShift.png

If you already have an OpenShift Online account please sign in with your known OpenShift Online username password combination.

Create a new application If this is your first login into OpenShift Online click at the “→ Create your first application now” link

If you already have an OpenShift Online account click btn:[Add Application] below your list of applications. Alternatively, you can deploy the Data Virtualization 6 (jboss-dv-6.1.0) cartridge using the OpenShift RHC Client Tools. Using the rhc client tools type:

$ rhc app create dv jboss-dv-6.1.0

Choose a type of applications

You can either scroll down to the list of quick links and click the btn:[JBoss Data Virtualization 6 (jboss-dv-6.1.0)] button under “xPaaS” or search for “Data”.

1.3 DV OpenShift app.png 1.3 DV OpenShift app2.png

Configure Application

Name your application in your domain, scroll down and click the btn:[Create Application] button.

1.3 DV OpenShift config app.png

Next steps

In the Next steps we would like to include a PostgreSQL database to the application previously created on OpenShift Online. The figure below is shown when the application is successfully created in your domain.

1.3 DV OpenShift app create.png

Now we would like to add a PostgreSQL database to the application. Click the Application name link, in the above figure it’s called “dv61”. The following screen should appear.

1.3 DV OpenShift add psql.png

Click “Add PostgreSQL 9.2”

1.3 DV OpenShift add psql2.png

Click “Add Cartridge” to add PostgreSQL 9.2 to previously created dv61 environment.

You have now a successfully created a Red Hat JBoss Data Virtualization environment with a PostgreSQL 9.2 database in just a matter of seconds.

Provision Red Hat JBoss Data Virtualization using OpenShift 3.x

Coming soon…​…​

Congratulations, you have now completed this lab.

results matching ""

    No results matching ""