Introduction to Micro Focus Enterprise Developer(MFED) and installing MFED on Google Cloud Compute Engine(Linux)
MFED Introduction:
Micro Focus Enterprise Developer is a powerful integrated development environment (IDE) that provides the ability to move development mainframe activities off the mainframe, providing agility, flexibility and direct access to new technologies and trends. It offers both Windows-based Eclipse and Microsoft Visual Studio as standard IDEs, and in addition provides the development tools required to develop applications for deployment on mainframe as well as cloud platforms.
Micro Focus Enterprise Developer(MFED) supports IBM COBOL, IBM PL/I, IBM Assembler, IBM CICS, IBM IMS, IBM JCL, IBM DB2, IBM z/OS file formats and common batch utilities, including SORT. This means that you can develop and maintain the core mainframe online and batch applications under Enterprise Developer. You can then deploy these applications back on the mainframe or migrate them onto one of the Micro Focus Linux, UNIX or Windows-based production platforms.
Installation of MFED on Google Cloud Compute Engine (Linux Machine): Below are the steps to be followed for installing MFED on Linux Machine.
Pre-requisite:
Download valid MFED software and license which is required for installing on linux machines. Here we have illustrated the installation process for redhat 7 Operating System.
Step #1:
Create a new Linux redhat VM on GCP project and make sure newly created compute engine has internet connection and Mark HTTPS traffic enabled or else we will have issues while installing dependency packages in Linux machine.
Step #2:
Connect to your VM using SSH and Create a new user microfocus on the linux server. Make sure that you should not be installing MFED on root user and its not recommended.
sudo adduser microfocus
Create a password for the microfocus user
sudo passwd microfocus
Add the microfocus user to the sudo list (Redhat specific command)
sudo usermod -aG wheel microfocus
Switch to the microfocus user and enter the password
su — microfocus
Create a MFED directory in the microfocus user.
mkdir MFED
Use gsutil to import the MFED binaries to linux VM directory MFED from your GCS bucket.
cp gs://mf-mages/setup_entdev_7.0_patchupdate09_303063_redhat_x86_64 .
Set the JAVA_HOME variable, set this variable to a 64-bit Java installation or the installation terminates.
export JAVA_HOME=/etc/alternatives/java
export PATH=$JAVA_HOME/bin:$PATH
Install JAVA 11 or latest or else MFED will have issues in running.
sudo yum install java-11-openjdk
Make sure you have installed the latest version of java by using the below command in the linux terminal.
java -version
Step #3:
Before installing MFED setup on a linux machine, we will have to install the dependency packages. Please run below command in linux terminal
sudo yum install ed
sudo yum install pax
sudo yum install gcc
sudo yum install glibc-devel*i686*
sudo yum install glibc*i686*
sudo yum install libgcc*i686*
sudo yum install libstdc++*i686*
Step #4:
Point to MFED directory and run the following command.
sudo chmod +x setup_entdev_7.0_patchupdate09_303063_redhat_x86_64
Install MFED on linux machine using below mentioned command.
[microfocus@testVM MFED]$ ./setup_entdev_7.0_patchupdate09_303063_redhat_x86_64 -ESadminID=”microfocus”
Here ESadminID differs from package to package so please do get it confirm while downloading the MFED set up file from Micro Focus website.
Step #5:
After successful installation of MFED, We have to set up MFED environment, for setting up the MFED enviornment just execute below mentioned commands.
. /opt/microfocus/EnterpriseDeveloper/bin/cobsetenv
To verify that your product is installed, execute below command.
[microfocus@testVM MFED]$ cob -V
Note: These commands set the environment only for the current shell. You need to execute them for each new shell that you start. Or else just add these two commands in /etc/profile
Step #6:
Install MFED License,Get your Enterprise-Server License .xml File and store it in any of your sample folder, example . /tmp
Open the Micro Focus License Administration utility with following command
[microfocus@testVM MFED]$ /var/microfocuslicensing/bin/cesadmintool.sh
You will get to see below mentioned menu options
Select option 4 for manual license installation and Enter the path to the license file and press enter.
Select option 2 to verify the license
Step #7:
To Configure the remote server, run Microfocus RSE Daemon.
[microfocus@testVM MFED]$ sudo $COBDIR/remotedev/startrdodaemon 4999
Now you are ready to use MFED on a Google Cloud Compute Engine (Linux machine).
Installation of MFED on Windows machine is straight forward process. Hence the reason we have detailed the exact tested approach of installation of MFED on Linux machine here.
Reference:
1.https://www.microfocus.com/en-us/products/enterprise-developer/overview