Installing CHAI™ without chctl¶
Create target directory¶
Download the setup package¶
Keep the single quotes (') around the URL as shown.Extract the package¶
user should see the following files extracted:
Create required folder structure¶
mkdir -p /opt/cloudhedge
mkdir -p /opt/cloudhedge/shared
mkdir -p /opt/cloudhedge/shared/activity-service
mkdir -p /opt/cloudhedge/shared/auth-gateway-service
mkdir -p /opt/cloudhedge/shared/cloud-infra-service
mkdir -p /opt/cloudhedge/shared/core-engine
mkdir -p /opt/cloudhedge/shared/discover-service-linux
mkdir -p /opt/cloudhedge/shared/discover-service-aix
mkdir -p /opt/cloudhedge/shared/discover-service-windows
mkdir -p /opt/cloudhedge/shared/license-service
mkdir -p /opt/cloudhedge/shared/notification-service
mkdir -p /opt/cloudhedge/shared/report-service
mkdir -p /opt/cloudhedge/shared/transform-service-linux
mkdir -p /opt/cloudhedge/shared/transform-service-windows
mkdir -p /opt/cloudhedge/shared/vault-service
mkdir -p /opt/cloudhedge/shared/webapp
Update permissions for folders¶
Load Docker containers¶
Run and start the db-service container¶
To get the image name for db-service, run the command below and copy the image name:
<db-service_image_name> with the actual db-service image name.
docker run -d --name db-service -p 27017:27017 -v /opt/cloudhedge/mongodb-vol:/data/db <db-service_image_name>:tag
Eg: docker run -d --name db-service -p 27017:27017 -v /opt/cloudhedge/mongodb-vol:/data/db 123456789.dkr.ecr.us-east-1.amazonaws.com/public/db-service:7.0.12
Copy the seed database script to the container¶
Load the seed data into MongoDB¶
Let the process to be completed.
Create MongoDB authentication user¶
Inside the Mongo shell:
var cloudhedgeuser = { "user": "chadmin", "pwd": "CHAdmin$123", "roles": [ "readWrite", "dbAdmin" ] };
use ch-db;
db.createUser(cloudhedgeuser);
Exit the MongoDB shell
Exit the Docker container shell
Stop and remove the db-service container¶
Edit cloudhedgeenv file¶
Update the following values:
Modify chctl-compose.yaml¶
In the db-service section, add the line below before the expose line:
It should look like:
Ensure correct YAML indentation.Start the appliance using chctl-compose file¶
Access the application via browser¶
Open Google Chrome and go to:
Login Credentials:
Please change the default password on your first login.