Route FTP and SMTP Workloads to Their Own Subsystem
If you're doing file transfers or SMTP email on your IBM i partition, you may want to take advantage of subsystem configuration to isolate those workloads from other work in the QSYSWRK subsystem.
By Dawn May07/24/2017
If you are doing a lot of file transfers or SMTP email on your IBM i partition, you may want to take advantage of subsystem configuration to isolate those workloads from other work in the QSYSWRK subsystem.
This is very simple to do—you just need to specify the subsystem description for where you want the jobs to run on the Change FTP Attributes (CHGFTPA) or Change SMTP Attributes (CHGSMPTA) command. You specify the subsystem name and library name (the library must already exist) on the appropriate command, and the system will automatically create the subsystem for you if it does not yet exist. It will also create the job queue if needed. Note that if you allow the system to automatically create the subsystem description, it will use the *BASE pool; you may want to create the subsystem description yourself to fully take advantage of work management features.
Of course, you can also do the configuration on the graphical interface with Navigator for i.
Server jobs are found under the Network tasks:
(image not available)
Simply select the properties for FTP or SMTP servers.
You will find the subsystem configuration option for FTP servers on the General panel.
When you start the FTP server, it will automatically start the configured subsystem if it is not already started.
For SMTP, it is on the Additional Parameters panel.
You will need to end and then start the SMTP server for the jobs to run the configured subsystem. When SMTP starts, it will also start the configured subsystem if it is not already running.
Once you have this set up, the jobs will run in the configured subsystem. The screen capture below shows the FTP jobs running in my subsystem:
(image not available)
Dawn May is an IBM i consultant. She owns Dawn May Consulting, LLC in the Greater Boston area. Dawn is a former IBM senior technical staff member.More →