Home > AS/400 Tips > iSeries administrator tips > V5R1 puts FTP in its own SBSD place
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

V5R1 puts FTP in its own SBSD place


Joe Hertvik
12.26.2001
Rating: -3.86- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Prior to OS/400 V5R1, one of the work management issues with FTP was that no matter what you did your iSeries or AS/400 always ran the batch jobs that service FTP requests in the QSYSWRK subsystem. The problem with this setup is simple. FTP can eat up a lot of system resources as it converts and exchanges OS/400 files with other computers, slowing down other server jobs in the process. And if you use your machine to provide a file download service -- where many users may be downloading large files at the same time -- the competition between FTP and other necessary server jobs can create a bottleneck on limited system resources, such as main memory and activity levels.

With V5R1, the situation has changed. In V5R1's FTP attributes, you can now specify which subsystem you want FTP to run in, configure an FTP-centric subsystem description if it doesn't already exist, and start the FTP subsystem whenever the FTP server is started. The result is that you can easily configure a private FTP subsystem inside OS/400 V5R1 and then move your FTP server jobs to that subsystem simply by changing one new FTP attribute. Here's how it works on both the green-screen and in the iSeries Operations Navigator program that comes with Client Access Express for Windows V5R1M0.

Using it on the green screen
On the green screen, you enable this new capability through the Change FTP Attributes (CHGFTPA) command. CHGFTPA defines several working parameters OS/400 uses to manage FTP access for external users. In V5R1, IBM added a new subsystem description parameter (SBSD) that allows you to specify the description of the subsystem where you want the FTP server jobs to run. The SBSD parameter consists of two entry fields that define the name of the subsystem description and the OS/400 library that description resides in. By default, this parameter lists the QSYSWRK description in library QSYS as FTP's hosting subsystem. To redirect FTP server jobs to another subsystem under V5R1, you simply modify the SBSD parameter to list the name and library where your preferred subsystem's description is stored. Once you input the new subsystem description location, all you have to do to move FTP out of QSYSWRK is to end and restart the OS/400 FTP server by using the End TCP/IP Server (ENDTCPSVR) and Start TCP/IP Server (STRTCPSVR) commands, as follows:

ENDTCPSVR SERVER(*FTP)
STRTCPSVR SERVER(*FTP)

Once the server is restarted, the FTP server jobs will now be running in the subsystem you specified in CHGFTPA. (To locate your FTP server jobs, look for any jobs whose names match the QTFTPnnnnn format, where nnnnn is a five-digit number.) If the subsystem isn't active when you issue the STRTCPSVR command, OS/400 will start the subsystem as it starts FTP. It's pretty simple.

How it works on OpsNav
This change can also be activated inside iSeries Operations Navigator V5R1M0. To change your FTP subsystem in OpsNav, open the Network-Servers-TCP/IP node and right click on the FTP entry. On the pop-up menu that appears, select Properties and you can change the FTP subsystem definition under the General tab on the FTP Properties dialogue. The FTP server can then be stopped and restarted in OpsNav by right-clicking on the FTP entry again and selecting the Stop and the Start options from the pop-up menu.

There are a few things to consider when you change your FTP subsystem. First, make sure that you list the correct library name for your new FTP subsystem name in CHGFTPA. After you enter the preferred description location, OS/400 will check for an already-active subsystem with the same name as the subsystem name you entered. And if the active subsystem's description resides in a different library than the one you entered in your CHGFTPA parameter, CHGFTPA will return an error. So be careful to specify the right description name and library.

Second, if the subsystem description doesn't already exist on your system, CHGFTPA will create a new basic subsystem description in the designated library. OS/400 will also create the job queues that are used to feed jobs into this subsystem. That means you will need the proper OS/400 authorities to the target library and the authority to create a subsystem description and an output queue. Also, since CHGFTPA is using a standard template for creating the new subsystem, that subsystem may use the same *BASE storage pool and activity levels that you were trying to remove the FTP server jobs from when they were running under QSYSWRK. So if you don't assign the FTP subsystem to a different storage pool than what your system is using for its QSYSWRK jobs, you may not see much benefit in assigning FTP to a different subsystem. You need to consider the work management issues of this change, so be sure to use the Work with Subsystem Description (WRKSBSD) command to edit any new subsystem descriptions for the proper storage pool definitions, activity levels, etc. that your system requires.

With this change, IBM provides a new facility that allows you to balance FTP processing requirements against OS/400 system requirements. If your system runs large FTP jobs that consume a lot of system resources, you may want to check out this new feature to see if it can help you improve system performance.

-------------------------
About the author: Joe Hertvik is an IT professional and freelance writer who has been working with OS/400 since the days of the System/38 in the mid-1980s. Joe can be reached at jhertvik@midrangeserver.com.

========================
MORE INFORMATION
========================


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Performance
Will overloaded discs impact iSeries performance?
Extend storage capacity on an IBM i without negatively effecting system performance
Database drivers on the i: MySQL vs. IBM Toolbox
Performance tuning for IBM i: The basics and beyond
IBM releases new Power products for the midrange
Top System i admin tips for 2006
Catholic Charities keeps track of homeless with iSeries
i5 error messages: What you need to know
IBM races for clock speed
System shutting down after cleanup

iSeries administrator tips
Analyze the health of your IBM i server with iScore
Researching high availability for your System i shop
Translating Linux for IBM i admins: Using GUI to make it easy
Translating Linux for IBM i admins: Working with jobs and networking
OpenOffice: What to know before making the transition from Microsoft Office
OpenOffice: An enterprise open source solution
Database performance comparisons on IBM i
Translating Linux for IBM i admins: User profile commands
Modern System i reports using Client Access
Tips for installing Lotus Domino server on a System i partition

OS/400
Top 10 backup commands
Take control of your iSeries
How to save time using the CPYTOPCD and CPYFRMPCD commands
Top Q&A's on the OS/400
Top 10 security tips
Use caution when providing access to file shares
How to set up an autostart job
How does Sarbanes-Oxley affect you?
Automated disaster recovery revisited
Top 10 Administrator Tips

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts