22
Sun, Dec
3 New Articles

LAN Gateways and Microsoft's SNA Server

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

I can always tell when I walk into a shop that has just connected PCs to an AS/400 through a LAN. The data processing manager or programmer responsible for this usually doesn't have a single hair left on his head. He's pulled every one out, even the eyelashes, and he's reduced to mumbling about multiprotocol stacks and 640K memory limits. It's an ugly sight.

It doesn't have to be that bad. There's another way, and it's called a Systems Network Architecture (SNA) gateway. An SNA gateway provides a single system that handles all communication between the PCs on a LAN and the AS/400. You only have to configure one computer to talk to the AS/400, instead of 20, 300, or however many PCs your network supports.

In the past we didn't have many choices. Gateways were often expensive and difficult to install, configure, and support. We have another option now, Microsoft's recently released SNA Server Version 2.1. While previous versions had some significant limitations, this version creates a new standard for the market. SNA Server has very competitive pricing, is easy to install and configure, and has Microsoft behind it for support. So the good news is, you can keep your hair!

A Very Tight Fit

All AS/400 LAN installations face a basic problem. PCs on a LAN generally don't like to talk SNA, and AS/400s don't like to talk anything but SNA. TCP/IP, IPX/SPX, and NetBEUI are the protocols that perform the best and have the greatest support on PC networks.

Even though IBM has worked on improving the performance of the AS/400's TCP/IP in V3R1, SNA is still going to be the best and fastest link to an AS/400. As far as the other protocols go, they might as well be Greek to an AS/400. It doesn't natively support most other protocols and probably never will.

To solve the problem, people try to run two protocols over the same network adapter in the client PC. This can be done, but there's a problem-DOS and Windows. To run these protocols, you normally have to load device drivers and protocol managers into conventional memory. If you use too much conventional memory, you're going to have problems, such as applications not loading, general protection faults in Windows programs, and intermittent failure of LAN connections.

1 shows an example of a typical LAN in which PCs connect to both an AS/400 and a server. The PC client talks to the server using NetBEUI and to the AS/400 using SNA. This shows the problem configuration.

Figure 1 shows an example of a typical LAN in which PCs connect to both an AS/400 and a server. The PC client talks to the server using NetBEUI and to the AS/400 using SNA. This shows the problem configuration.

Using an SNA LAN gateway solves some of these problems because an SNA LAN gateway uses a PC as a server. The PCs talk to the gateway server in whatever protocol you select for your LAN, and the gateway converts the traffic intended for the AS/400 into SNA. This lets you pick the best protocol for your LAN and talk to the AS/400 in the protocol it prefers.

2 shows the same basic LAN as 1, but using an SNA gateway. The difference is that the server is directly connected to the AS/400 and has two LAN adapter cards in it. The client PC now uses only the NetBEUI protocol, even for data destined for the AS/400. The server is the only system using more than one protocol.

Figure 2 shows the same basic LAN as Figure 1, but using an SNA gateway. The difference is that the server is directly connected to the AS/400 and has two LAN adapter cards in it. The client PC now uses only the NetBEUI protocol, even for data destined for the AS/400. The server is the only system using more than one protocol.

You also have the option to have the AS/400 connected to the LAN instead of the server. This is cheaper, since you need only one LAN adapter card in the server, but less efficient because all data sent to the AS/400 is transmitted over the LAN twice. The data travels from the client PC over the LAN to the server and is then transmitted over the LAN to the AS/400.

Microsoft's SNA Server

Up to this point, everything I've discussed is true of any SNA gateway. As I noted earlier, most gateways are expensive and complex. SNA Server, Microsoft's SNA gateway product, solves these problems. Microsoft released Version 2.1 late last year. I'll cover the new features, but first I'll discuss SNA Server in general.

The foundation for SNA Server is the Windows NT operating system. Since there is some confusion about how Windows NT has evolved, I'll explain it a bit. Originally, there were two types of Windows NT available-Windows NT and Windows NT Advanced Server (NTAS). Both were released at Version 3.1. The main difference between the two is that Microsoft targeted NTAS for larger-scale LANs.

The release of SNA Server Version 2.1 was concurrent with the release of Windows NT Version 3.5, also known as Daytona. There are still two flavors of NT, but their names have changed to Windows NT Workstation and Windows NT Server. NT Workstation is a full 32-bit, preemptive, multitasking desktop operating system targeted primarily at developers and power users. It's what I run on my PC both at work and at home. Windows NT Server is Microsoft's network operating system (NOS) designed to compete with Novell NetWare.

Based on Microsoft's performance testing, SNA Server requires NT Server. It will also run on NT Workstation but Microsoft doesn't support this. However, there are some hard-coded connection limits built into NT Workstation, which isn't optimized for use as a server. Because of the limitations associated with running SNA Server on NT Workstation, most people will only do so when they want to learn how to install and configure it.

SNA Server's integration with Windows NT has a number of benefits.

o The monitoring tools and utilities provided with Windows NT work with SNA Server.

o When you use the Windows NT performance monitor, you have options to monitor the performance of SNA Server.

o Windows NT puts errors related to SNA Server in the event log, which is similar to the QHST log on the AS/400.

o SNA Server supports any of the LAN protocols that Windows NT supports, including TCP/IP, IPX/SPX, NetBEUI, and AppleTalk.

Windows NT is a reason to feel confident in the reliability of SNA Server. Because Windows NT runs applications in different memory spaces, applications that crash (even 16-bit Windows applications) are less likely to cause problems with SNA Server. Most problems that you have won't require you to disrupt connections to the AS/400.

Running under Windows NT isn't the only reason for the effectiveness of SNA Server. One of SNA Server's strengths is its modular design. Microsoft intentionally designed SNA Server so that third-party vendors can extend it by following the standards. This allows vendors to support new communications tech-nology when it becomes available or to support features Microsoft doesn't necessarily think are cost effective.

For example, Microsoft supports a number of interfaces to the AS/400, including token-ring, Ethernet, SDLC, and X.25. It does not support twinax cabling. Microsoft apparently didn't feel there would be enough demand for twinax support, possibly because of its relatively low throughput. Another company, however, disagreed. It felt there was a market for twinax connectivity for SNA Server. By working with Microsoft and writing a driver conforming to the SNA Device Interface Specifications (SNADIS) standards, that company is able to provide twinax support which Microsoft will bundle with SNA Server.

To complement SNA Server's strengths, here's what's new in Version 2.1. The number of clients and sessions supported has increased to 2,000 and 10,000 respectively; Version 2.1 runs on all of the processors that NT Server supports and supports the new protocols available, including native TCP/IP, AppleTalk, and Banyan Vines.

Problems With LAN Gateways

One problem with any gateway is that all connections to the AS/400 are lost if the server goes down since you are routing all SNA traffic through a server. However, Microsoft designed SNA Server so it supports hot backup if you have two or more servers. This allows you to define more than one route to the AS/400 and have users switch to an alternate route on their own when a failure occurs. Because this requires more than one server, it may not apply in a small shop.

Performance is another issue. Since a single resource supplies services for a number of clients, there is naturally going to be a bottleneck. In the case of SNA Server, the potential resource bottleneck is the server PC, but, if you have multiple servers, SNA Server supports load balancing. This allows dynamic routing through a server based on the load on that server.

Another solution from Microsoft is to simply refute the contention (pardon the pun). Microsoft studied the delays involved in transmitting data through an SNA Server configuration. According to the information provided by Microsoft, the delay imposed as a result of the server was negligible. Almost all the time was spent in the physical transmission of the data and in the processing time the host needed to receive the data.

From my perspective, a simpler answer is that the performance of the server is something you can control. Earlier, I explained that Microsoft integrated SNA Server with Windows NT, including the performance monitor. If you suspect that the server is a bottleneck, you can use the performance monitor to find out if that is true and why. That way you can find out if you need to add more memory or a faster processor, or if the problem is not with the server in the first place.

Deployment And Development

SNA Server supports just about every client PC you can think of, including MS- DOS, Windows, Windows NT, as well as Macintosh operating systems and versions of OS/2 that support LANs. The software you need for client PCs is included on the SNA Server CD-ROM. Microsoft has a method to create install diskettes for the client software; you can also install the client software from the server.

Installing and configuring SNA Server is a simple process. A future article on SNA Server implementation will provide more details. One of the reasons it is so simple to configure is because you use processes like drag-and-drop to configure the connections as you do with other PC software.

Another reason the software is easy to use is the support you get from Microsoft. The CD-ROM contains all of the documentation, and Microsoft has included a 90-minute videotape that explains the basics of SNA. The tape also goes into detail on how to configure SNA Server both for the mainframe and for the AS/400.

You can obtain support through a forum (MSSNA) on CompuServe and an Internet FTP (FTP.MICROSOFT.COM) site. Microsoft also has pay-per-incident telephone support and two additional levels of support: priority and premier. Additional support is available from Microsoft's Solution Providers and Consulting Services.

If you are developing applications for or need support for certain APIs, SNA Server supports all of the SNA APIs, including APPC, CPI-C, and EHLLAPI. The CD-ROM contains a number of example programs demonstrating APPC and CPI-C. The irony is that many of the sample programs come from IBM.

Microsoft includes a 5250 and 3270 emulation applet (a scaled-down emulator) with SNA Server. It's only for "demonstration, evaluation, training, [and] support" purposes, and the license only allows you to run it on one PC at a time. A number of other vendors supply 5250 emulation programs for both Windows and Windows NT. Many of these vendors have included coupons with the SNA Server package, allowing you to obtain a copy of their software free or at very little cost.

SNA Server also works with Microsoft's Remote Access Service (RAS). RAS is a protocol that allows a remote client to dial-in to the network. Everything appears as though the user is locally attached to the network. RAS also allows you to access an AS/400 remotely through SNA Server. RAS services include dial- back capability.

Is an SNA Gateway for You?

The greatest problem with SNA gateways has been the price. With SNA Server, you pay a per-seat license charge, and you pay for a copy to run on each server. With Version 2.1, Microsoft has changed the pricing structure and, more importantly, dropped the overall price as a result.

There are a number of quantity purchase programs available, ranging from a fairly small quantity of 50, up to 10,000 client licenses. Microsoft sells the license packs in units for single clients and 20 clients through a number of retail outlets. This makes it easier to get the exact number of client licenses you need, which can save you money.

There are a number of questions you can ask yourself to help determine if an SNA gateway will help you. Answering "Yes" to any of the following questions means you should be looking at an SNA gateway.

o Are you running more than one protocol on the client PCs?

o If so, are you having problems with conventional memory?

o Is the fact that you need to connect to an AS/400 determining which protocol you use?

o Do you want more control over how resources are allocated for LAN-connected PCs?

o Are the PCs you have attached using too much memory and too many CPU cycles?

o Is setting up LAN clients that connect to the AS/400 too difficult?

If you decide you need an SNA gateway, the question is, which one? In the past, if you were running a Novell NetWare network, you had only one choice. With SNA Server's better integration with NetWare, you now have a second choice.

The strengths of SNA Server and Windows NT-namely, support for symmetrical multiprocessing (SMP) and non-Intel processors, ease of configuration, performance, and price-mean that it should be at the top of your list of SNA gateways to evaluate.

Product Information

The minimum hardware requirements for SNA Server above what you need for NT Server are 4 megabytes (MB) of RAM and 11MB of disk space. The memory requirements are variable based on the number of clients you will attach, but the speed of the processor has a significant effect as well. The disk requirements are 2.2MB for a DOS client, 4MB for a Windows for Workgroups client, and 7MB for a Windows NT client.

SNA Server Price: $1,059 (10 clients) Microsoft Corporation One Microsoft Way Redmond, WA 98052 800-426-9400; fax: 206-936-7329

Jim Hoopes is a senior technical editor for Midrange Computing.


LAN Gateways and Microsoft's SNA Server

Figure 1 LAN Without an SNA Gateway

 UNABLE TO REPRODUCE GRAPHICS 
LAN Gateways and Microsoft's SNA Server

Figure 2 LAN With an SNA Gateway

 UNABLE TO REPRODUCE GRAPHICS 
BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: