r2 - 2013-12-13 - 09:00:48 - Main.liuzhichengYou are here: TWiki >  Deployment Web > CloudDeployment > SharedServicesAccessingSSH

Software Delivery and Lifecycle Patterns Accessing Shared Services via SSH

Authors: RobbieMinshall, XuePoWang
Build basis: Products, editions and versions as applicable

Status

To be done

Overview

Who performs this task

Typically there are only a few Shared Service Administrators supporting a team. This person is responsible for Shared Service running within the cloud. They need to have Workload resources administration with full permissions or the Cloud Administrator role.

Procedure

Preparing the SSH key pair on Windows


If you are on a Windows box, you can generate the key pair using PUTTYGEN.EXE
capture_27.jpg
Click generate button, the tool will generate the key pair for you. (move your mouse to provide some randomness for the tool)

Key generated. You can save the key pair in files for later use.
capture_28.jpg

Preparing the SSH key pair on Linux

If you are on a linux box, you can generate the key pair using ssh-keygen. The key pair will be generated and stored under ~/.ssh/

Logging in to the Shared Services done by using SSH key pairs. The public SSH key is provided at the time of deployment (or can be updated later), this then allows the Shared Service Administrator to login to the Virtual Machines using his/her private SSH key.

Adding SSH key during Shared Service deployment

sshkey-1.png sshkey-2.png

Adding or updating SSH key after Shared Service deployment

If you do not have the private SSH key, or need to update the SSH key pair associated with a deployment you can do so using an operation on the shared service instance.
sshkey-3.png
sshkey-4.png

Logging in via SSH

You can now use your private SSH key to login to the Virtual Machines. To find the hostnames of the machines go to the Shared Service Instances and look under Virtual Machine Perspective
sshkey-5.png
Then use your SSH client to login. In this case for linux or on a Mac we can use the command line. ssh -i [path_to_private_ssh_key] virtuser@[hostname]

For windows you can use a tool such as putty.

Troubleshooting

See the InfoCenter for more details on Rational Patterns. See IBM Pure Application System Information Center for more information on managing Shared Services.

  • capture_33.jpg:
    capture_33.jpg

  • capture_35.jpg:
    capture_35.jpg

  • capture_36.jpg:
    capture_36.jpg
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Ideas, requests, problems regarding the Deployment wiki? Create a new task in the RTC Deployment wiki project