17
Sun, Nov
2 New Articles

TechTip: Installations and Upgrades Become Much Simpler with IBM i Network Install

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

Install IBM i over a Network File System (NFS) server using virtual optical media and enjoy the freedom of automation!

 

The IBM i Network Install process uses virtual optical devices within a Network File System (NFS) network for installation. With new enhancements in IBM i 6.1, users now have the ability to perform installations and operating system upgrades across their networks to other IBM i partitions. In addition, users can also load PTFs or restore data via a Virtual Media Image (VMI), all without having to manually FTP the data to additional partitions. This huge advance in the IBM i installation realm will provide users with even more efficiency and flexibility in managing today's complex system environments.

 

Why should you use IBM i Network Install? It's quick, easy, and efficient. The setup and configuration is simple. Multiple IBM i partitions can be installed concurrently from a single NFS image server. You no longer have to worry about sharing a single DVD drive between multiple logical partitions or manually loading a stack of CDs or DVDs over and over again. You don't even have to change operator panel functions on the partition prior to installing. Network Install takes care of all of that for you automatically! 

Requirements for IBM i Network Install

Getting started with IBM i Network Install is easy. Here are the minimum requirements you need to have in place prior to using Network Install:

  • The image server and target systems must be at IBM i 6.1 or greater.
  • The service tools server must be configured and activated on all of the target systems.
  • The following PTFs must be installed on the image server and all target systems: SI35186, SI35189, SI35201, and SI35747.
  • In addition, the image server must also have the following PTFs installed: MF47284 and MF47285.

 

One thing to keep in mind with Network Install is your network infrastructure. Full IBM i installs will result in multiple gigabytes of data being sent across your network, so be sure you have the necessary bandwidth available prior to starting your installs.

Setting Up the Image Server

To prepare the NFS image server, you need to perform two tasks: 1) Create an image catalog and 2) Share the images via NFS. The steps listed below will get the image server ready for Network Install: 

 

Obtain the latest IBM i installation media, similar to the example below:

  • I_Base_01
  • B29xx_01
  • B29xx_02
  • F29xx_01
  • F29xx_02

 

Create a virtual optical device:

 

CRTDEVOPT DEVD(virtual-device-name) RSRCNAME(*VRT) ONLINE(*YES) TEXT(text-description)

 

Vary on the virtual optical device:

 

VRYCFG CFGOBJ(virtual-device-name) CFGTYPE(*DEV) STATUS(*ON)

 

Create the image catalog:

 

CRTIMGCLG IMGCLG(catalog-name) DIR(catalog-path) TYPE(*OPT) CRTDIR(*YES) TEXT(text-description)

 

Add an image catalog entry for each volume of the driver. If you are adding from physical media, use the following parameters:

 

ADDIMGCLGE IMGCLG(catalog-name) FROMDEV(optical-device) TOFILE(*fromfile) TEXT(text-description)

 

Load the image catalog. This associates the virtual optical device to the image catalog.

 

LODIMGCLG IMGCLG(catalog-name) DEV(virtual-device-name) OPTION(*LOAD)

 

Verify the image catalog. If you are preparing for an installation or an upgrade, you need to verify that the required media has been loaded and is sorted in the correct sequence. Be sure to specify *YES for the Network File Share (NFSSHR) parameter. This will ensure that the images in the image catalog are prepared for use as an NFS share. In addition, a VOLUME_LIST file in ASCII format will be created in the image catalog directory. This file will contain a list of image files to be used by a virtual device of type 632B-003.

 

VFYIMGCLG IMGCLG(catalog-name) TYPE(*UPGRADE) SORT(*YES) NFSSHR(*YES)

 

Start the NFS file server. Make sure that the *RPC, *SVR, and *MNT daemons are started. Restart the NFS server if necessary.

 

ENDNFSSVR *ALL

STRNFSSVR *ALL

 

Export the install image directory. The Change Network File System Export (CHGNFSEXP) command adds directory names to the list of directory trees that are currently exported to the NFS clients. The flags in the OPTIONS list indicate what actions the CHGNFSEXP command should perform.

 

CHGNFSEXP OPTIONS('-i –o ro') DIR('/Catalog_dir_name')

 

Ensure *PUBLIC has *RWX authority to the image directory and the files. Use the Change Authority (CHGAUT) command to change a user's authority for the object or group of objects named in this command.

 

CHGAUT OBJ('/dir_name') USER(*PUBLIC) DTAAUT(*RWX) SUBTREE(*ALL)

 

Give authority to  /CATALOG_DIR/BOOTP directory:

 

CHGTFTPA AUTOSTART(*YES) ALTSRCDIR('/CATALOG_DIR/BOOTP')

 

Ensure QTFTP has *RX authority to all files in /CATALOG_DIR/BOOTP:

 

CHGAUT OBJ('/CATALOG_DIR/BOOTP') USER(QTFTP) DTAAUT(*RX) SUBTREE(*ALL)

 

Ensure Trivial File Transfer Protocol (TFTP) server is started. Restart the TFTP server if necessary:

 

ENDTCPSVR *TFTP

STRTCPSVR *TFTP

 

For further information and details on image catalogs, please see IBM i Information Center document SC41-5120-10, Installing, upgrading, or deleting i5/OS and related software.

 

For more information about NFS, refer to IBM manual SC41-5714-03, i5/OS Network File System Support.

Setting Up the Target Systems

Getting the target systems ready for Network Install is simple. Follow these steps for each target system:

 

The service tools server must be configured on each target system. For more information about configuring the service tools server, refer to the IBM i Information Center: Configuring the service tools server using SST.

 

Create a virtual optical device. For the LCLINTENTA parameter, ensure that *SRVLAN is specified, which is the value defined for the service tools server. For the RMTINTNETA parameter, specify the remote Internet address of the image server. And for the NETIMGDIR parameter, specify the directory path of the image catalog on the target system.

 

CRTDEVOPT DEVD(virtual-device-name) RSRCNAME(*VRT) LCLINTNETA(*SRVLAN) RMTINTNETA(remote-internet-address) NETIMGDIR(network-image-directory) UID(0) GID(0) TEXT('Virtual Optical Device for Network Install')

 

Vary on the virtual optical device:

 

VRYCFG CFGOBJ(virtual-device-name) CFGTYPE(*DEV) STATUS(*ON)

 

Verify that the volumes are successfully loaded in the target system's network optical device by using one of the following commands:

 

WRKIMGCLGE IMGCLG(*DEV) DEV(virtual-device-name)

 

or 

 

WRKOPTVOL

Performing the Install

And now, the moment we've all been waiting for! On the target system, issue the STRNETINS command and press F4. Enter the target system's virtual optical device name for the DEV parameter. The OPTION parameter specifies the install option to be used. Specify *ALL to perform a full install of the Licensed Internal Code (LIC), operating system, options, and licensed products that are available on the install media. The KEYLOCK parameter indicates the system key lock mode to be used for the installation. You can choose either the automatic installation method (*NORMAL) or the manual installation method (*MANUAL).                                 

 

STRNETINS DEV(virtual-device-name) OPTION(*ALL) KEYLCKMOD(*NORMAL)

 

STRNETINS DEV(virtual-device-name) OPTION(*ALL) KEYLCKMOD(*MANUAL)

 

After you enter the STRNETINS command, a message is displayed asking you to confirm the power down of the system. To confirm the power down and to start the network installation, press F16. This will trigger an ENDSBS command followed by a PWRDWNSYS command to begin the installation process.

 

The remainder of the installation will behave similarly to standard installation using physical media or local VMI. Follow the menu prompts as you would for any other IBM i installation.

 

Again, for additional information and details on installing IBM i, refer to the IBM i Information Center document SC41-5120-10, Installing, upgrading, or deleting i5/OS and related software.

Tips and Recommendations

If your partition has an alternate restart device specified, you may be prompted to choose the installation device. Choose the Network Optical Device as the Primary device.

 

You cannot run STRNETINS with the target system in the restricted state. TCP/IP communications must be active when you issue the STRNETINS command.

 

If prompted at the Install Device Type Selection menu, choose Option 5 - Network Device when selecting the install device type.

Wasn't That Easy?

Forget about those pesky CDs and DVDs. You never have to think of them again. Now you have IBM i Network Install!

 

 

Dan Boyum and Dave Snyder

Dan Boyum is an Advisory Software Engineer on the IBM i System Test team located at the Rochester, Minnesota, laboratory. Dan is the Technical Leader of the IBM i Post-GA Test team. He has been in the software testing field since 2000. Dan can be reached at This email address is being protected from spambots. You need JavaScript enabled to view it..

Dave Snyder is a Staff Software Engineer on the IBM i System Test team located at the Rochester, Minnesota, laboratory. He has been in the software testing field since 1987. Dave can be reached at This email address is being protected from spambots. You need JavaScript enabled to view it..

 

 

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: