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.

With MVS-TK5 System NOT Running

To use the Hercules utilities:

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

Update the .bashrc file

If a remote install: On this Raspberry Pi, it is aarch64.

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.

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-home>>/hercules/linux/aarch64/bin"`

`export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib:<<mvs-home>>/hercules/linux/aarch64/lib"`

and source the .bashrc file.

If a local install: it will depend on the OS and the shell you are running.

Adjust the following to match your system:

This would be an example for a Debian OS/zsh shell system:

uname -m would return "X86_64" which would be "/hercules/64".

In .zshrc, add these lines:

`export PATH="$PATH":<<mvs-home>>/hercules/linux/64/bin`

`export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib:<<mvs-home>>/hercules/linux/64/lib`

and source the .zshrc file.

Update the conf/tk5.cnf file

Go to the mvs-tk5/conf directory:

cd <<mvs-home>>/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.