40 Messages
How to launch a Collibra DQ installation in Azure from an Image
Microsoft Azure allows us to create images. These images contain the configuration for creating instances. A managed image resource can be created from a generalized virtual machine (VM) that is stored as either a managed disk or an unmanaged disk in a storage account. You can launch multiple VMs from a single image when you need multiple VMs with the same configuration.
Prerequisites: Have a Azure image created with Collibra DQ installed. Follow these instructions to install Collibra DQ in Azure.
Follow these steps to configure an instance from a GCP image with DQ installed:
- Within Azure, select the version of the image and click on “+ Create VM”.
- Configure the image with the desired configuration. In this case, introduce a name, check that the desired image is correctly selected and configure the CPU and memory. (click on “See all sizes” if you want to change the configuration selecting by default)
- Click on “Create”.
- After the creation, click on the new VM and select “Networking”. Check if the ports 9000, 9001 and 8080 are open. If not, configure these ports clicking on “Add inbound security rule”
- Once the instance is running, connect through ssh.
ssh -i “pemfile” user@ipaddress
Note: Keeping the configuration of the image, the credentials of the original instance will be configured in this new instance too.
- Check that there isn’t any owl process working.
- Start Postgres
#Postgres
export INSTALL_PATH=$(pwd)/owl
export PGPATH=/usr/pgsql-11/bin/
export PGDBPATH=$INSTALL_PATH/postgres/data
export LOG_PATH="$INSTALL_PATH/log"
sudo -u postgres $PGPATH/pg_ctl -D $PGDBPATH start >$LOG_PATH/postgres-start.log 2>$LOG_PATH/postgres-start-error.log & echo $! >/dev/null
Check Postgres is working:
- Start Apache Spark
#Spark
$INSTALL_PATH/spark/sbin/start-master.sh
$INSTALL_PATH/spark/sbin/start-slave.sh spark://$(hostname -f):7077
Check Spark is up and running:
Also, connect using the browser: http://awsip:8080
- Update the old Ip address with the new one. To do that, the following files have to be modified:
- $HOME/owl/config/owl-env.sh
Update export SPRING_DATASOURCE_URL= with the new private IP address.
- $HOME/owl/config/owl.properties
Update spring.datasource.url= and spring.agent.datasource.url= with the new private IP address.
- Change the permission on the PID file.
sudo chmod 777 $HOME/owl/pids/owl-agent.pid
- Start DQ Agent and Web app. The scripts are in $HOME/owl/bin
./owlmanage.sh start=owlagent
./owlmanage.sh start=owlweb
- Check the agent and the web app are working properly.
Open your web browser and navigate to: http://ipaddress:9000
- Go to Admin Console and Remote Agent. Make sure the agent number 2 appears in green:
Note: The name of the agent can be updated by clicking on the chain.
- Click on the pencil icon to update the settings. In this case, the “Default Master” has to be updated with the new Spark IP address.
- Once everything is changed, Collibra DQ is ready to be used.
Hope this helps!
rosariocarbone
22 Messages
3 years ago
Hi Ana,
This is very useful documentation.
I’d guess the images are already available from the Product Team rights?
I’d also guess a similar approach would be followed for installing Edge on Azure?
Do you know whether the images are available for Edge?
Do you know whether there is any documentation that explain what steps are needed to install Edge on Azure VMs? Apologise for the digression from DQ to Edge.
Kind Regards
Rosario Carbone
2
0
anasalas
40 Messages
3 years ago
Hi Rosario!
I’m glad you like it!
This article is about how to start DQ. When DQ is installed, there are some properties files that save the configuration of the instance, for example, the internal address of the instance. Even though an image saves the configuration of an instance, when a new instance is launched the IP address are changed, therefore the properties files and other configurations settings have to be updated. This article is an explanation of that.
We don’t have an article like this related to Edge or images yet.
The installation of Edge in Azure is not very different than the installation in another server, you have to launch an instance in Azure with the needed operating system, then open the needed ports (like I did with DQ), connect using ssh with your instance and follow the steps to install Edge. In this article, you can find the steps.
Hope this helps!
0
0