IBM Cloud Satellite in India Chennai DC
A developer explores the new IBM Cloud Satellite and how to get an instance of Satellite up and running on your own machine.
Join the DZone community and get the full member experience.Join For Free
Recently IBM launched IBM Cloud Satellite. It surely looks like a game-changer in the multi-cloud world. While Satellite is fairly new, this is my attempt with a very basic setup in the IBM Cloud Chennai DC setup.
With IBM Cloud Satellite, you use your own compute infrastructure that is in your on-premises data center, other cloud providers, or edge networks to create a Satellite location. Then, you use the capabilities of Satellite to run IBM Cloud services on your infrastructure, and consistently deploy, manage, and control your app workloads.
Note that satellite deployments in IBM Cloud are used only for testing. For production workloads in your Satellite location, use on-premises, edge, or other cloud provider hosts.
In this tutorial you will learn how to:
- setup a satellite location in IBM Cloud Chennai DC.
- run Red Hat OpenShift in the satellite location.
- launch the OpenShift dashboard.
To run this tutorial, you need an IBM Cloud account.
IBM Cloud UI
Log in to IBM Cloud (https://cloud.ibm.com). Go to Catalog. Under Services you can find Virtual Server for Classic.
In this demo, I have used:
- Type of virtual server : Public Multi-tenant
- Quantity : 6 ( we need minimum 3 host for the control pane and 3 more to run ROKS cluster)
- Billing: Hourly
- Hostname and Domain kept it default
- Location : Asia-Pacific- CHE01 - Chennai
- Profile: Balanced | B1.4x16
- Image: Red Hat 7.x Minimal(64 bit) - HVM
- Attached storage disks : Boot disk 100 GB SAN
- The rest I kept as default and clicked create. This will create 6 virtual server instances (VSI)
Go to Catalog, under services you can find Satellite. Click Create a Satellite location. Choose Manual setup.
- Name: India (choose your name). If need be, add relevant tags.
- Resource group: default
- Managed from: Washington DC
- Zone 1: Chennai-1
- Zone 2: Chennai-2
- Zone 3: Chennai-3
Click on Create location.
You will be redirected to the Getting started page of the Satellite dashboard.
Click on Assign host to location-> select generate script.
You will have a script file,
attachHost-india.sh, downloaded locally.
Now let's Start attaching hosts to our location. Here you would need the IP addresses of the VSI's created and the root password. You can either use the dashboard (IBM Cloud -> Classic Infrastructure -> Device list) to get the details or you can use the command line to get the VSI details.
To retrieve the IP address:
Retrieve the credentials to log in to your virtual machine:
Keep it handy.
Run the below steps for all VSI one at a time.
Step 1: Copy the script from your local machine to the virtual server instance.
Step 2: Log in to your virtual machine. If prompted, enter the password that you retrieved earlier.
Step 3 : Refresh the Red Hat packages on your machine.
Step 4: Run the registration script on your machine.
Once it starts, you can interrupt and go to the next step
Step 5: Monitor the progress of the registration script.
You can interrupt again and exit the session.
Step 6: Exit the SSH session.
Repeat Steps 1-6 for all the VSIs created.
Back to Satellite
In the IBM Cloud web page, let's assign hosts to your location.
Click next, it will lead to configure the control plane.
Click on Assign hosts and choose three VSIs for three different zones. You must add three hosts for high availability. You can leave the other three unassigned for now.
It takes a few minutes for the hosts to be assigned successfully. Once this is done, you can click on next and click Complete.
Red Hat OpenShift on Satellite
Now, let's try to run Red Hat OpenShift on the Satellite location. For this, Go to Catalog. Under Services you can find Red Hat OpenShift on IBM Cloud.
Choose the OpenShift version: in this demo we used 4.5.35.
- OCP entitlement: keep it default (you can purchase additional licenses for this worker pool).
- Infrastructure: Satellite.
- Choose location: India (the satellite location we created).
- Worker pools: I kept it default (by default all three zones are selected with four vCPUs, 16 GB of memory, and one worker node per zone.
- Satellite Config: Enable cluster admin access for Satellite Config.
- Cluster name: Choose any name your wish.
Click on create.
Here it might take some time (unfortunately, I haven't timed it. But, when I checked in after a couple of hours the nodes were up and running).
Once it's up and running, you can click on OpenShift web console to access the OpenShift dashboard.
That's it! Your Red Hat OpenShift on Satellite location is up and running.
Published at DZone with permission of Deepak Rai. See the original article here.
Opinions expressed by DZone contributors are their own.