Update the RPi and the MVS-TK5 System

If you installed MVS-TK5 per the instructions:

  • Shutdown MVS-TK5.
  • The Hercules console is not required for this task.

The RPi 3 Model B+ is a Quad Core so it has “4 CPUs”.

In this installation, the MVS-TK5 system is the only thing that is running on the RPi, so let’s update it.

With MVS-TK5 System NOT Running

To use the Hercules utilities:

Run uname -m to determine the architecture of your computer.

On this Raspberry Pi, it is aarch64.

Update the .bashrc file

Because MVS-TK5 was installed as a root service:

sudo su to become root.

cd to go “HOME” which would be /root/

In .bashrc, add these lines:

export PATH="$PATH:/mvs-tk5/hercules/linux/aarch64/bin"

export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib:/mvs-tk5/hercules/linux/aarch64/lib"

and source the .bashrc file.

Update the conf/tk5.cnf file

Go to the mvs-tk5/conf directory:

cd /mvs-tk5/conf/

“Upgrade” the system by:

Edit the tk5.cnf file using editor of choice:

  • Change CPUMODEL from 3033 to 3084
  • Change NUMCPU from 1 to 2
  • Change MAXCPU from: 1 to 2

When the system is IPL’ed, the updated configuration will be used.

If you installed MVS-TK5 per the instructions:

  • Reboot the RPi.