Skip to content

IBM watsonx.data VMware Image

The IBM watsonx.data lab can be run in a virtual machine environment using VMWare Workstation, VMWare Fusion, or Oracle VirtualBox. The location of the OVA file (a compressed OS image format) is provided in the TechZone page for resources for the lab:

https://techzone.ibm.com/collection/ibm-watsonxdata-developer-base-image/resources

Select the resources tab to get details on how to download the file.

Browser

Download the watsonxdata.ova file onto your local machine and then use the import function of VMware or VirtualBox to register it with the system.

Note: This virtual machine was created using X64 (Intel) hardware, so this will not work in an OSX environment using M1/M2 chips. Once the machine is imported you can delete the OVA file.

Before starting the machine, you may want to adjust the hardware requirements.

  • vCPUs – 4 VPCs minimum
  • Memory – 16Gb minimum (You can try 12Gb but tight!)
  • Disk – 30Gb initial size, but the image will grow in size
  • Disable side channel mitigation ON (VMware only)

VMware URLs

All the URLs in the lab use 192.168.252.2 as the host. When running in the VMware image, you must use localhost for the addresses. You must substitute localhost for the 192.168.252.2 address when you come across it in the documentation.

The following URLs and Ports are used to access the watsonx.data services. The ports that are used in the lab are listed below.

The Apache Superset link will not be active until started as part of the lab.

These links have been placed into the Firefox browser for your convenience.

Browser

Starting the VMware Image

When the machine starts, you will be prompted with the logon screen.

Browser

There are two userids that we will be using in the VMware image:

  • root – password watsonx.data
  • watsonx – password watsonx.data

When successfully logged in you should see the following screen.

Browser

Next, check that your network connection is up and running. You will be able to see if the network is connected when the network icon appears on the top row.

Browser

If it shows Wired Off, make sure to turn it on by clicking on the arrow and choosing "Connect".

Browser

If you are using something other than an English keyboard, click on the en1 symbol on the top bar to switch to a different layout. If your keyboard is not listed, you will need to go into Settings and add your keyboard layout.

Browser

You may also want to consider making the screen size larger. Use the drop-down menu at the top of the screen to select System Tools -> Settings.

Browser

In the Devices section of the Setting menu, select Displays and choose a resolution that is suitable for your environment.

Using External Ports with VMware/Virtual Box

The labs assume that you are using a browser "within" your virtual machine console. However, both VMware and VirtualBox provide a method for accessing the ports on the virtual machine in your local environment.

VMware

For VMware, the easiest way to connect to the virtual machine from your host machine is to use the ifconfig command to determine your virtual machine IP address.

ifconfig

Browser

Search for an ensxx** value in the output from the command. There you should see the inet address of your virtual machine (172.16.210.237). To access the Portainer application from your local browser, you would use this address followed by the Portainer PORT number: https://172.16.210.237:6443.

Remember that inside your virtual machine, you will be using https://localhost:6443. The following PORT numbers are open in the machine:

Service Port Active
watsonx.data management console 9443 Yes
Presto console 8443 Yes
MinIO console (S3 buckets) 9001 Yes
MinIO S3 Endpoint 9000 Yes
Portainer (Docker container management) 6443 Yes
Apache Superset (Query and Graphing) 8088 No
Jupyter Notebook 8888 Yes
Presto External Port 8443 Yes
Hive metadata Port 9043 Yes
Milvus 19530 Yes
MySQL External Port 3306 Yes
Postgres External Port 5432 Yes
Db2 Database Port 50000 Yes

VirtualBox

VirtualBox does not externalize the IP address of the virtual machine. The ifconfig command will provide an IP address of the machine, but it will not be reachable from your host browser. To open the ports, you must use the network option on the virtual machine. This step can be done while the machine is running. From the VirtualBox console, choose Settings for the machine and then click on the Network option.

Browser

Press the Advanced option near the bottom of the dialog.

Browser

Select the Port Forwarding button. This will display the port forwarding menu.

Browser

You must place an entry for each port that we want to externalize to the host machine. If the value for Host IP is empty (blank), it defaults to localhost. In the example above, the 5901 port in the Guest machine (watsonxdata) is mapped to the host machines 5901 port. To access the service on this port, you would use localhost:5901. If the guest machine port conflicts with the host machine port number, you can use a different port number.

Terminal Command Window

All the commands in the lab will require you execute commands in a terminal window. In addition, the labs require access to the root userid, and this can be accomplished in two ways that are described below.

Local Terminal Shell

Use a local terminal shell (iterm, Hyper, terminal) and use the SSH command to shell into the machine. For the VMware image, you need to know the IP address of the image and the port number that has been exposed for SSH command (default is 22). Assuming that your VMware machine has an IP address of 172.16.210.237, the command to SSH into the machine would be:

ssh watsonx@172.16.210.237
Browser

You will need to accept the unknown host warning and then provide the password for the watsonx userid: watsonx.data.

At this point you are connected as the watsonx user. To become the root user, you must enter the following command in the terminal window.

sudo su -
Now as the root user you will be ready to run the commands found in the lab.

Terminal Window in Virtual Machine

You can use the Terminal application in the virtual machine to issue commands.

Browser

This will open up the terminal window.

Browser

At this point you are connected as the watsonx user. You can ignore any lab instructions that ask you to ssh into the watsonx server. To become the root user, you must enter the following command in the terminal window.

sudo su -

Now as the root user you will be ready to run the commands found in the lab.