220 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
Connecting to the lab environment
To connect to the lab environment, you need access to the account credentials to your admin 
OpenShift web console and the terminal window with root privileges, as shown in Figure B-1.
Figure B-1   Access OpenShift web console
Complete the following steps:
1. Modify the hosts file on your local computer.
The containers that are deployed in OpenShift are on a private network within the 
OpenShift cluster. Accessing applications from an external connection requires network 
and deployment planning, which is beyond the scope of this lab exercise. In this step, you 
modify the hosts file on your local machine to access the deployments that were created 
for this lab, as shown in Example B-1.
Example B-1   Modifying the hosts file
IP_ADDRESS console.router.default.svc.cluster.local app2-http-git
2. Open a terminal window to the OCP machine by using a user with root privileges. Run the 
ssh command or PuTTY from your local computer.
3. Verify the release of Red Hat and other pieces of information about your operating system, 
as shown in Example B-2.
Example B-2   Verifying the release of Red Hat
$ uname -srm
Linux 3.10.0-957.21.3.el7.ppc64le ppc64le