• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Admin Alert: Remotely Accessing an HMC System Console, Part 1

    October 3, 2007 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 Management→ HMC 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 Partition→Server 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

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    ARCAD Software

    Embrace VS Code for IBM i Development

    The IBM i development landscape is evolving with modern tools that enhance efficiency and collaboration. Ready to make the move to VS Code for IBM i?

    Watch this webinar where we showcase how VS Code can serve as a powerful editor for native IBM i code and explore the essential extensions that make it possible.

    In this session, you’ll discover:

    • How ARCAD’s integration with VS Code provides deep metadata insights, allowing developers to assess the impact of their changes upfront.
    • The role of Git in enabling seamless collaboration between developers using tools like SEU, RDi, and VS Code.
    • Powerful extensions for code quality, security, impact analysis, smart build, and automated RPG conversion to Free Form.
    • How non-IBM i developers can now contribute to IBM i projects without prior knowledge of its specifics, while ensuring full control over their changes.

    The future of IBM i development is here. Let ARCAD be your guide!

    Watch the replay now!

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    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

    Laserfiche Scales to Meet Content Management Needs of i5/OS Shop IBM Preps Update to Virtualization Manager

    Leave a Reply Cancel reply

Volume 7, Number 34 -- October 3, 2007
THIS ISSUE SPONSORED BY:

WorksRight Software
Vision Solutions
ARCAD Software

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

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • POWERUp 2025 –Your Source For IBM i 7.6 Information
  • Maxava Consulting Services Does More Than HA/DR Project Management – A Lot More
  • Guru: Creating An SQL Stored Procedure That Returns A Result Set
  • As I See It: At Any Cost
  • IBM i PTF Guide, Volume 27, Number 19
  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle