You need to start the
HACloud session server before you can use the
HACloud TN3270 emulator. You do this with the help of the
startsessionserver.bat file or a Windows service[1] (Windows) and a
startsessionserver.sh script (UNIX).
Windows
To start the
HACloud session server from a command prompt
(Windows):
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- Start either the 32-bit or 64-bit
Enterprise Developer command prompt or
Enterprise Server command prompt - this must match the working mode, 32 or 64-bit, of the JRE you have installed.
- Type
startsessionserver at the command prompt, and press
Enter.
Check the console for the messages that the
Micro Focus
HACloud Session Server has started.
To start the
HACloud session server as a Windows service,
Micro Focus HA Cloud, you need to install the service once, and then start it from the Windows Service Manager[1].
- To install the service:
- Start either the 32-bit or 64-bit
Enterprise Developer command prompt or
Enterprise Server command prompt with administrator's rights - this must match the working mode, 32 or 64-bit, of the JRE you have installed.
- Enter the following at the command prompt to install the service:
hacloudserviceinstall mode
Where
mode can be either 32 or 64.
mode is the working mode of the JRE. If omitted, the script takes a value of 64.
Important: When the
Micro Focus HA Cloud service is deployed, you need to stop it manually before you can uninstall or upgrade this product.
- To start the service:
- Ensure you have a 64-bit Java installed and added to the PATH environment variable.
- Open the Windows Services Manager.
- Click
Micro Focus HA Cloud, and click
Start the service[1].
- Alternatively, you can execute the following command from a command prompt to start the service:
net start mfhacloud
UNIX
To start the
HACloud session server (UNIX):
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- Open a terminal and set up the COBOL environment in it.
- Run the following to start the session server:
startsessionserver.sh
Check the terminal for the messages that the
Micro Focus
HACloud Session Server has started.
- In addition, you can execute the following script in
$COBDIR/bin which will register a system service named MFHACloud which will start the session server. Run this as root from a terminal
that has the COBOL environment specified. You also need to specify an administrator user account to run the Enterprise Server:
./Setup_SystemD_Services.sh ESadminID
Where
ESadminID is the administrator ID you have configured for Enterprise Server.