HP NonStop Systems For Dummies
HP NonStop Systems For Dummies
by Werner Alexi,
Thomas Burg, and
Bill Sempf
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
HP NonStop For Dummies®, comForte Special Edition
Published by
John Wiley & Sons, Inc.
111 River St.
Hoboken, NJ 07030-5774
www.wiley.com
Copyright © 2014 by John Wiley & Sons, Inc., Hoboken, New Jersey
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form
or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as
permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written
permission of the Publisher. Requests to the Publisher for permission should be addressed to the
Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011,
fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.
Trademarks: Wiley, For Dummies, the Dummies Man logo, The Dummies Way, Dummies.com, Making
Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley &
Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without
written permission. comForte and the comForte logo are trademarks or registered trademarks of
comForte 21 GmbH, Germany. HP NonStop is a trademark of Hewlett-Packard Development
Company, L.P. All other trademarks are the property of their respective owners. John Wiley & Sons,
Inc., is not associated with any product or vendor mentioned in this book.
For general information on our other products and services, or how to create a custom For Dummies
book for your business or organization, please contact our Business Development Department in the
U.S. at 877-409-4177, contact info@dummies.biz, or visit www.wiley.com/go/custompub. For
information about licensing the For Dummies brand for products or services, contact
BrandedRights&Licenses@Wiley.com.
ISBN 978-1-118-84993-4 (pbk); ISBN 978-1-118-85012-1 (ebk)
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
Publisher’s Acknowledgments
Some of the people who helped bring this book to market include the following:
Project Editor: Jennifer Bingham
Acquisitions Editor: Katie Mohr
Editorial Manager: Rev Mengle
Business Development Representative: Sue Blessing
Project Coordinator: Melissa Cossell
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About This Book......................................................................... 1
How This Book Is Organized..................................................... 2
Icons Used in This Book............................................................. 2
Beyond the Book......................................................................... 2
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
iv HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
2 HP NonStop For Dummies, comForte Special Edition
Beyond the Book
For more information on HP NonStop and comForte, go to
www.comforte.com.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 1
What Is HP NonStop?
In This Chapter
▶ Examining real-world uses for reliable computing
▶ Looking at the components of HP NonStop
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
4 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 1: What Is HP NonStop? 5
Data integrity, reliability,
and RAS
Data integrity is the quality of maintaining data correctly,
despite flaws in surrounding systems. HP NonStop is designed
from the ground up for data integrity — which is a precondi-
tion for reliability. A reliable system will not return a result
rather than returning a wrong result or corrupting a database.
A history of HP NonStop
In 1974, Tandem Computing entered in 1976, beginning a nearly 40-year
the large-scale computing market relationship between the banking
with the revolutionary idea that com- industry and fault-tolerant comput-
puter services should be predictable ing. In 1997, Tandem was acquired by
and dependable. Computing was very Compaq along with competitor DEC.
different in those days: Computers In 2002, Compaq and HP merged,
were powerful, but unreliable. bringing Tandem back under the
company where it got started.
James Treybig, an HP engineer,
assembled some of the best and Although the core concepts of HP
brightest engineers and designed NonStop have remained stable,
a set of hardware and software the HP NonStop system of today
that provided a fault-tolerant online has very little in common with the
transactional processing (OLTP) very first Tandem system of the
environment for business. late 1970s — except the almost
unmatched availability.
The first Tandem/16 system rolled off
the line and was installed at CitiBank
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
6 HP NonStop For Dummies, comForte Special Edition
Fault-tolerant hardware
Quality servers in the Internet space often come with two
power supplies and a RAID array. RAID, or redundant array
of independent disks, is a simple and effective way to provide
basic fault tolerance to storage.
Fault-tolerant software
From an eagle-eye perspective, a single HP NonStop system can
be described as a self-managing, self-healing cluster in a box.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2
A Platform Overview
In This Chapter
▶ Explaining core concepts
▶ Examining important components of HP NonStop systems
▶ Looking at benefits of HP NonStop systems
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
8 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 9
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
10 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 11
There are a lot more advanced advantages of messages (like
easy interceptability or transaction inheritance).
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
12 HP NonStop For Dummies, comForte Special Edition
Layers or Personalities of
the Operating System
HP NonStop systems are powerful beasts that have evolved
over decades. That resulted in a complex operating system
that has several pieces best understood as layers or personali-
ties. See Figure 2-2.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 13
NonStop OS is the name
of the operating system
As of today, the name of the unique operating system that
runs on HP NonStop systems is NonStop OS. It consists of sev-
eral components working together.
In fact, OSS is so much like Unix that many of the open source
tools and applications that are available in the Unix world are
available for OSS. See Chapter 5 for details.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
14 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 15
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
16 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 17
TMF: Keeping track
of transactions
Transaction Monitoring Facility (TMF) is the subsystem of
Guardian that is responsible for managing transactions. Because
TMF is part of the operating system, it provides certain features
that are rarely found elsewhere (if at all).
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
18 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 19
SQL/MP brought structured
queries
SQL/MP was the first true relational database system on the
platform. It is still the workhorse of many contemporary
HP NonStop applications. The MP in the name stands for
massively parallel and it isn’t kidding. The principles of the
message-based architecture are applied to the database man-
agement system in such a way that transactional files and
processes are distributed over multiple disks, multiple pro-
cessors, or even multiple systems.
Here are a few of the features of SQL/MX that make it the gold
standard:
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
20 HP NonStop For Dummies, comForte Special Edition
Pathway – the Transaction
Monitor
HP NonStop systems have always been famous for their linear
scalability. By adding more hardware resources to the system,
you get more transactions per second — in a linear way.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 21
name for a set of processes, which all can deliver the same
service. Each individual process is called an instance of the
serverclass. A client program — whether it executes locally
on HP NonStop or on a midtier application server or on a PC
client — can send a message to a serverclass. Pathway will
find out the best instance, send the message to that instance,
and reroute the response to the client or, as it was named
predating the terminology of client-server, to the requester.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
22 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 2: A Platform Overview 23
What uncommon advantages? The most distinguishing fea-
tures of HP NonStop are RAS (reliability, availability, and servi-
cability; see Chapter 1) together with its linear scalability (see
earlier in this chapter).
Also factoring in the cost of managing the systems, the low TCO
of HP NonStop systems has been proven over and over again.
See www.comforte.com/ns4d/tco_study.pdf for a white
paper containing a detailed TCO study.
Excellent support
HP offers excellent customer support. By calling the HP global
support center and declaring a case as severe, you will get
a knowledgeable person talking to you in a few hours. This
person will not stop working on your issue until it is resolved
at least via a work-around.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
24 HP NonStop For Dummies, comForte Special Edition
The infrastructure for this has been built up over decades and
works like a charm to this day.
Cloud/hybrid computing
An HP NonStop system can be viewed as a cloud within a
single cabinet extendable to other cabinets and into commer-
cial clouds like Amazon, Microsoft, and Rackspace.
HP NonStop on X86
Meg Whitman, the chair of Hewlett Packard, has announced
that the HP NonStop platform will be modified to run on the
X86 chipset without compromising any of the attributes that
HP NonStop stands for. When running on X86, NonStop sys-
tems will run on commodity HP server hardware, meaning
that the same hardware could, in theory, be running either
Windows, Linux, or HP NonStop.
Details for time frame, features, and price point aren’t avail-
able yet. But HP NonStop will continue to play an important
role in HP’s strategy for mission-critical computing.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
26 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Developing Software for HP NonStop 27
the Microsoft IDE as IDE of choice for development for HP
NonStop. HP has a plug-in for Eclipse called NSDEE that will help
the newer generation of developers feel right at home develop-
ing applications for HP NonStop.
Figure 3-1: H
P NonStop development environment for Eclipse.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
28 HP NonStop For Dummies, comForte Special Edition
Enter Java
The Java programming language has been supported on the
HP NonStop platform for quite some time. Experienced Java
developers might question the production speed of Java in a
fault-tolerant and message-based environment like HP NonStop.
Java has been clocked as fast on HP NonStop as it is on Unix,
but your individual mileage will vary depending on many
factors, such as how well your Java application follows design
principles.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Developing Software for HP NonStop 29
✓ If you compile on the HP NonStop, you can debug from a
shell prompt on the system.
✓ If you use NSDEE from Eclipse IDE, you can use the build-
in debugger from Eclipse (see Figure 3-1).
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
30 HP NonStop For Dummies, comForte Special Edition
Nonstop programming
If you deem it necessary, there is the possibility to write your
very own code implementing a process as a process pair.
No-waited programming
One important — and somewhat unique — technology available
on HP NonStop is called no-waited programming. No-waited pro-
gramming appears on the surface to be a lot like so-called asyn-
chronous programming on other platforms but some significant
differences exist. Fortunately, this is only needed in rather rare
circumstances of low-level systems programming (see Chapter 5
for more details).
Modernizing Existing
Applications on
HP NonStop
Many applications running on HP NonStop have been writ-
ten years if not decades ago, many of them in TAL or COBOL.
Although they’re still providing the functionality they were
written for, they often lack a modern GUI or contemporary
security features, good integration with the Enterprise archi-
tecture, or simply the capability for new development in
modern languages.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 3: Developing Software for HP NonStop 31
Fortunately, there are many options for modernizing legacy
applications, which often provide a better ROI and less risk
than replacing applications that contain hundreds if not
thousands of years of stable code (for more on this, see
Chapter 5).
Database migration
Oracle migration to SQL/MX posed few challenges because
the original architect of the application kept things simple —
proving again that the old keep it simple rule holds under
many different circumstances. Oracle data types map well to
SQL/MX data types, as shown in Table 3-1.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
32 HP NonStop For Dummies, comForte Special Edition
Application migration
The reference application was built using the Model-View-
Controller (MVC) pattern, greatly exposing separation
between business logic and data. This design paradigm pro-
vided an ease of migration to the application layer similar to
what was found in the data layer.
Further considerations
In the past few years, several applications have been suc-
cessfully ported onto the HP NonStop platform. HP as well as
the independent software houses (ISVs) provide a wealth on
expertise on how to do this smartly.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4
HP NonStop as Par t of
Enterprise IT
In This Chapter
▶ Securing HP NonStop systems properly
▶ Integrating with other Enterprise IT systems
▶ Examining the modernization of the platform and/or applications
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
34 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4: HP NonStop as Part of Enterprise IT 35
✓ Let administrative users employ two-factor authentication.
✓ Encrypt data in transit with SSL or SSH.
✓ Encrypt data at rest at the application level or by using
products that encrypt the underlying database without
requiring application changes.
✓ Maintain file integrity and check system and application
object files.
✓ Given the low number of HP NonStop installations com-
pared to Windows, Unix, and Apple, there has not been a
single instance of malware reported on the platform. For
that reason, there is no malware scanning tool available.
✓ Apply reasonable security standards, especially PCI and
HIPAA. Be sure to apply the spirit of the standard, not
just the letters.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
36 HP NonStop For Dummies, comForte Special Edition
Finally, the SSL and SSH protocols both only protect against
sniffing attacks if at least server authentication is configured
correctly on both the server (typically HP NonStop) and the
client (typically a PC connecting to HP NonStop).
Integrating HP NonStop
with Other Systems
For decades, HP NonStop systems were the beginning and
the end of the chain of applications that resided there. The
program ran on the NonStop and you accessed it with a dumb
terminal — it did its job and you did yours. That’s it.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4: HP NonStop as Part of Enterprise IT 37
Client-server and multitier design
NonStop lends itself very nicely to multitier applications.
Although traditional HP NonStop applications were built
entirely on the one platform, today’s applications are expected
to have the user interface rendered by various other systems,
or even handled by the client.
Raw messaging
One of the reasons that business logic and data are sepa-
rated in HP NonStop applications is the strong history of
messaging on the platform. Raw binary encoded messaging
has been implemented since the beginning, either as part of
Pathway application design or using both custom developed
endpoints and commercial products like the HP Remote
Server Call (RSC) product.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
38 HP NonStop For Dummies, comForte Special Edition
Representational State
Transfer (REST)
REST is the new buzzword and uses the well-established
HTTP protocol for message passing. Usually using JavaScript
Object Notation (JSON) for data transfer, REST takes advan-
tage of HTTP verbs for CRUD operations:
✓ PUT: Create
✓ GET: Read
✓ POST: Update
✓ DELETE: Delete
Operations Management
Watching what a system does is an important step to pre-
vent the unexpected and undesired. EMS is the main system
event message hub for the HP NonStop (for more on this, see
Chapter 2). However, several commercial products are avail-
able that allow you to monitor an HP NonStop system together
with other systems, under a single operative umbrella.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 4: HP NonStop as Part of Enterprise IT 39
To name a few:
You can find a number of products that put a GUI on top of the
command-line or block-mode screen-based tools HP NonStop
offers out of the box. Refer to Figure 2-1 to see a screen shot
of one of these.
File Transfer
Moving files around is arguably very important in enterprise
integration. File Transfer Protocol (FTP) is the venerable pro-
tocol developed for Internet connected computers, and is, of
course, supported on HP NonStop.
Messaging
In Chapter 2, we discuss the fact that the HP NonStop OS is
message-based at its core. In this section, we discuss messag-
ing in a completely different context.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
40 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 5
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
42 HP NonStop For Dummies, comForte Special Edition
Tips for Developing
for HP NonStop
Developing for HP NonStop uses the same languages, IDEs,
and skills as contemporary applications (this is also discussed
in Chapter 3). Developers will find that the life cycle that
they’re familiar with still applies in nearly every case. That
said, some tips will make the platform feel more functional
and reasonable. Find these tips at www.comforte.com/
ns4d/devtips.
No-waited Programming
We briefly mention no-waited programming in Chapter 3. In a
nutshell, this is required only for system-level programming
where your application wants to handle multiple events in
parallel. If you want to know all the gory details, find them at
www.comforte.com/ns4d/nowaited.
Modernizing Legacy
Applications
Although the HP NonStop platform is very modern, some
applications would benefit from a little refresher. An abun-
dance of options are discussed in more depth at www.
comforte.com/ns4d/modernize.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter 5: Ten Resources for More Information 43
There are plenty of these around, and many of them are listed
on the HP website (see next section) under partners. Also,
you will see them as sponsors of some of the User community
meetings (see section “The User Community”).
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
44 HP NonStop For Dummies, comForte Special Edition
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
These materials are © 2014 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
WILEY END USER LICENSE
AGREEMENT
Go to www.wiley.com/go/eula to access Wiley’s
ebook EULA.