fhg
Volume 7, Number 34 -- October 3, 2007

Admin Alert: Remotely Accessing an HMC System Console, Part 1

Published: October 3, 2007

by Joe Hertvik

The problem with i5/OS system consoles is that they are usually locked away in secured areas, and the only way that most people can use them is to go to the computer room. This week and next, I'll demonstrate a technique for using a remote 5250 session to access a system console on the Hardware Management Console (HMC) without leaving your desk.

Why Do I Need to Remotely Access My System Console?

Most System i and iSeries administrators don't mind walking to the computer room to use the system console if the console is in the same building, preferably on the same floor and not too far away from the coffee machine. The problem gets more difficult when your console resides in another building or in another city. My own search for remote access to our HMC system consoles started when we were co-locating an i550 system to another location, and our staff across town needed to access the console for system backups and to configure and test the machine while it was in restricted mode. But the need for remote access doesn't need to be that obvious. You might also want to configure remote access so that your operators or consultants don't have to go into the computer room and stand under a blowing air conditioning vent for hours at a time while they do their work.

Whatever the reason for remote system console access, I recently discovered that configuring an HMC system console for remote access is a fairly easy affair. It consists of two configurations. The first configuration checks and readies your HMC so that it can be accessed over a network (steps 1 and 2 below), and the second configuration sets up your Windows PC to access an HMC system console through an iSeries Access for Windows PC5250 emulator (step 3). This week, I’ll cover the HMC configuration piece and next week I’ll discuss setting up your PC for Remote 5250 console access.

Based on my experience, here's what you need to do to set up and connect to an HMC partition's system console by using an approved 5250 emulator.

  1. Make sure that your HMC is configured with an active Ethernet connection and a valid IP address. You also need to know whether or not your HMC is using Secure Sockets Layer for connections to other systems (probably not).
  2. Perform one small configuration change to your HMC partition system profiles to allow Remote 5250 console access.
  3. Make sure that you have the right software for running a remote access session to your HMC Remote 5250 console. Configure your desktop 5250 package to access a system console on the HMC and connect.

Here's how to configure your HMC so that you can easily connect to and use the system console from any location on your network (steps 1 and 2).

Shaking Down Your HMC

The first step is to ensure that your HMC can communicate over the network. An HMC is basically a Linux PC that has one or more Ethernet ports on the back of the box. The first port is always identified as eth0 and that port is used to connect your HMC box to the managed System i server that it controls. If you're not sure how to identify eth0, check out IBM’s Information Center entry on the subject. Once you’ve identified where eth0 is, your next job is to leave it alone and look instead for port eth1.

IBM generally delivers its Hardware Management Console PCs with an additional network card that the system identifies as port eth1. Once configured on the network, eth1 can be configured to use the Web-based System Manager (WebSM) or to connect to one of the HMC system consoles on your network through a 5250 session using iSeries Access for Windows. I'll cover WebSM (which allows you to run your HMC interface through a Web browser) in a future article. This week, I'll concentrate on bringing up a system console on an HMC partition through the HMC's Remote 5250 Console feature.

You need to check and possibly configure the following items to make sure that the HMC will allow you to start a 5250 session for remotely accessing its system consoles.

  • Check the Hardware Management Console to ensure that it is physically connected to your network infrastructure through eth1. IBM refers to this as an "Open" network connection from the HMC to the network.
  • Check to ensure that your eth1 Ethernet port is configured with an IP address and that it has the ability to talk to the network.
  • Check and configure your system profiles for any partition whose system console you want to access from the network.

Here's how to perform each of these steps in detail.

Physical Cabling From the HMC To the Network

The first step is to make sure that the HMC is physically cabled to the network, so that it can talk to your network infrastructure. You can do this by looking behind the HMC box and noting whether there are one or two Ethernet cables plugged into the back of the PC. If there are two cables, the cables are probably plugged into side-by-side Ethernet ports on the back of the HMC (eth0 and eth1). For a two cable setup, one cable is being used to connect the eth0 Ethernet port to your System i through the managed server's Flexible Service Processor (FSP), and the second cable is probably being used to attach your PC to the network via the eth1 Ethernet port. If there is only one cable on the back of your box, it is only being used to connect the HMC to the System i FSP, and you will need to attach a second Ethernet cable from the eth1 port to a LAN switch or network hub residing on your network. This will complete the physical configuration to allow remote users to attach to your HMC over a network.

Configuring eth1 for IP Communication

Once you are sure that the HMC is cabled to the network through eth1, the next step is to make sure that the port is configured with an IP address and that systems on the network can communicate with the port. To check your Ethernet card configuration and change it if necessary, go to the HMC Console and open the HMC ManagementHMC Configuration node for your configuration. The HMC Configuration menu will appear in the right-hand pane of the HMC screen. Choose the Customize Network Settings menu option, and the Customize Network Settings window will appear. Perform the following actions from that window:

  1. Select the Lan Adapters tab on the screen and the HMC will show you all the LAN Adapters configured for your system. If your port was previously cabled to eth1, look to see if there is already an IP address present for that adapter. The IP address will show up directly under the entry for that port on the Lan Adapters screen. If the network card already has an IP address, go to another PC on the network and see if you can ping the IP address set up for eth1. If you can ping the adapter, your HMC is already attached to the network and you can proceed to the next section. If not, continue with the next step.
  2. With the eth1 adapter highlighted on the Lan Adapters tab, click on the Details button to provide all the necessary IP address details for the adapter. On the Lan Adapters Detail screen that appears, enter the following values. In the Lan Interface Area, click on the Open radio button and make sure that the Media speed (Ethernet) dropdown box is set to Autodetection. Since we are using this port to communicate through the network, make sure that the Partition Communication box is unchecked. By configuring these setting, you are telling the HMC that eth1 will be configured as part of the "Open" network. In the DHCP Client/IP Address area of the screen, click on the Specify an IP Address radio button and enter the IP address and subnet mask that you want to assign to the port in the TCP/IP interface address and the TCP/IP interface network mask input field. When finished, click the OK button, and the HMC will display a message stating "Network Settings Changes will be applied after the next reboot." This will exit the screen back to the Customize Network Settings screen. Don't reboot the HMC yet.
  3. While still in the Customize Network Settings screen, you can finish your network configuration for the HMC by designating a DNS server and a default gateway for the "Open" network that the HMC will be communicating with. Perform the following configurations. Click on the Name Services tab on the screen and use the screen that appears to add any DNS servers that you may want the HMC to use over the network. Click OK to save your changes. Click on the Routing tab on the screen and use the screen that appears to add the IP address of the default gateway that you want applications communicating over the eth1 adapter to use. In the Default Gateway Information of the screen, enter the IP address of the default gateway that you want the card to use and select eth1 from the Gateway device dropdown box on that screen. This will designate that IP address as the location of the default gateway for your "Open" network card residing on eth1. Click OK to save your changes.

Configure Your Partitions To Connect Using the 5250 Console

The final step in preparing your HMC to allow remote 5250 access to the remote console is to perform one simple configuration for each partition where your users will be connecting remotely to the partition’s system console. For each partition, go to the main HMC console screen and expand the Server and PartitionServer Management node. In the right-hand contents pane, open the Partitions folder and right-click on any partition that you want to provide remote 5250 access to its system console. Select Properties from the pop-up menu that appears and click on the Tagged I/O tab on the Properties screen that appears. On the Tagged I/O screen, check the Use HMC console check box and click OK to save the change. Repeat this procedure for any other partitions that you want to provide remote 5250 access to the partition’s system console.

If you added an IP address to your eth1 adapter, you can exit and reboot the target Hardware Management Console. At this point, your HMC is ready to accept 5250 sessions for system console access. Next week, I’ll discuss how to set up your iSeries Access for Windows PC to connect to and run a system console that resides on the HMC.


RELATED STORIES

HMC and System Setup, IBM

System i, Managing the HMC Console, IBM



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
ARCAD SOFTWARE

Harness Application Complexity

Organize and automate multi-platform application change
around your System i with our highly integrated solutions:

                                               · rigorous, cross-platform change management,
                                               · application mining
                                               · test automation, and more!

We can help unite your System i, UNIX, Linux, and Windows technical teams to ensure integrity
of modernization projects and make enterprise application deployment more reliable.

Call 800-676-4709;
www.arcadsoftware.com


Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

COMMON:  Join us at the annual 2008 conference, March 30 - April 3, in Nashville, Tennessee
Help/Systems:  Discover Robot/SECURITY, the i5/OS security monitoring and auditing software
NowWhatJobs.net:  NowWhatJobs.net is the resource for job transitions after age 40


 

IT Jungle Store Top Book Picks

The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95


 
The Four Hundred
State of the System i: What's Going On in the Market?

Summit Partners Sells Help/Systems to Audax Group

Reader Feedback on EGL: At Least It's Not Java, But It Ain't RPG, Either

IBM Helps Users Migrate to Power6-Based System i Boxes

The Linux Beacon
IDF Server Wrap Up: Intel to Keep the Pressure on AMD

Mandriva Readies Linux 2008 Editions for October

SAP Plants Its Flag in Mid-Market Territory with SaaS Apps

Opsware Adds Storage, Process Management with System 7 Tools

Four Hundred Stuff
Bug Busters Achieves High Availability Milestone with RSF 8.1

LANSA to Deliver Code-Less Business Process Integration for SMBs

Water District Makes Second Run at Electronic Document Retention

The ROI of RF Technology

Big Iron
Hosing z/OS.e and Other Withdrawals

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

System i PTF Guide
September 29, 2007: Volume 9, Number 39

September 22, 2007: Volume 9, Number 38

September 15, 2007: Volume 9, Number 37

September 8, 2007: Volume 9, Number 36

September 1, 2007: Volume 9, Number 35

August 25, 2007: Volume 9, Number 34

The Windows Observer
Microsoft Launches Business Intelligence Tool for the Masses

Microsoft Revs Betas of Longhorn, Viridian, Vista SP1

IDF Server Wrap Up: Intel to Keep the Pressure on AMD

Sun Ships Intel-Based Galaxy Rack Servers

The Unix Guardian
Sun Enhances Solaris Developer Edition, Adds Support

Sun Ships Intel-Based Galaxy Rack Servers

IDF Server Wrap Up: Intel to Keep the Pressure on AMD

As I See It: Shocking

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

WorksRight Software
Vision Solutions
ARCAD Software


Printer Friendly Version


TABLE OF CONTENTS
IFS Commands Give You Generic Access

APIs Sometimes Fail (But Programmers Don't Have To)

Admin Alert: Remotely Accessing an HMC System Console, Part 1

Four Hundred Guru

BACK ISSUES

From the IT Jungle Forums
Crashing processes!

SQL 'Hidden' Field

What's coalesce good for?

How do I transfer output from a query to Excel?

Copying record of join logical file mutiple times





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement