...
Go to Azure Portal.
Click On create a virtual machine.
Select Subscription, Resource Group, and provide the Virtual Machine name.
In the Image drop-down, select the Red Hat Enterprise Linux 8.6 - Gen 1 option (recommended).
Change the Username to adminuser
In SSH public key source, use existing public key and put its value, and click Next.
Create and attach a disk for BI/QE Installation, and click Next.
Choose Virtual Network, Subnet, and Public IP (if needed).
In NIC network Security Group, click Advance and then select a Security Group.
Click Next.
Add tags and click Review and Create.
Once the machine is created, ssh on it using credentials for the adminuser.
Switch to root user using sudo -I
Go to /tmp
Create a file using nano. Example- nano script.sh
Download the azure-bi-boot and azure-qe-boot script from the Azure Installation Files folder.
NOTE: If you download the script for Query Engine, you must specify the QE_DATA_DISK_SIZE parameter in the script.Copy and paste the content of the script into the script.sh file (created in Step 15) and save it.
Give executable permission to script.sh using chmod 777 script.sh command.
Then use ./script.sh to run the script.
Run the following commands one by one.
Install azcopy using the following commands. Replace $user with the deployment user name.
Code Block yum update -y --disablerepo='*' --enablerepo='*microsoft*' yum install -y keyutils AZCOPY_DOWNLOAD_URL=`curl -s -D- https://aka.ms/downloadazcopy-v10-linux | grep ^Location | awk '{print $2}' | tr -d '\r'` curl -o /tmp/azcopy.tar.gz $AZCOPY_DOWNLOAD_URL tar -xzvf /tmp/azcopy.tar.gz
Switch to Deployment user, then go to /data/kyvos/installs location and run the following commands:
Code Block export CLIENT_SECRET={Enter the Bundle download Client Secret} export AZCOPY_SPA_CLIENT_SECRET=$CLIENT_SECRET && /tmp/azcopy*/azcopy login --service-principal --application-id 78df1698-2e9e-40c9-befe-ea2203788da2 --tenant-id b9dfa905-6761-4a54-8aa0-7b7647bbafb8 && /tmp/azcopy*/azcopy copy https://kyvosjarsservice.blob.core.windows.net/thirdparty/2023.5/prereq/kyvosprereq.tar.gz /data/kyvos/installs/
Run the below command with the root user.
Code Block rm -rf /tmp/azcopy*
Switch to Deployment user, then go to /data/kyvos/installs location and run the following commands:
Code Block tar -xzvf kyvosprereq.tar.gz rm -rf kyvosprereq.tar.gz jre/
Run the below command with the root user.
Code Block keyctl new_session && /data/kyvos/installs/bin/azcopy copy https://kyvosjarsservice.blob.core.windows.net/thirdparty/2023.5/fontconfig/fontconfig-2.13.0-4.3.el7.x86_64.rpm /tmp/ echo yes | yum localinstall /tmp/fontconfig*.rpm chown -R $user:$user /data/kyvos/
Run the below command with Kyvos user.
Code Block AZCOPY_PATH="/data/kyvos/installs" $AZCOPY_PATH/bin/azcopy login --identity && $AZCOPY_PATH/bin/azcopy copy https://kyvosjarsservice.blob.core.windows.net/thirdparty/commons/kubectl $AZCOPY_PATH/bin/ --recursive >>$OUT_FILENAME chmod 777 $AZCOPY_PATH/bin/kubectl
Configure environment variables for the Deployment user, using the commands:
Code Block cd vi .bashrc export PATH=<install path>/kyvosmanager_war/kyvosmanager/jre/bin/: /data/kyvos/installs/bin:$PATH export JAVA_HOME=/data/kyvos/app/jre source .bashrc