Audience
This How To document is intended for Linux administrators whom manage HSIT Linux servers.
Overview
This article will describe the steps required to create a Liberty Linux Node and configure the system for proper operations. There are four (4) tiers for the back-end Liberty application servers (Production=hsitjavapd.hs.pitt.edu, Stage=hsitjavast.hs.pitt.edu, Test=hsitjavats.hs.pitt.edu, Development=hsitjavadv.hs.pitt.edu).
Verifying the Linux Server is Prepared for Application Nodes
Check if Liberty is installed & identify new application
Verifying the Server is prepared for the new Liberty Node.
- The first step in creating a new Liberty Node is to identify the server you are working on. In most cases this will begin in the Development environment. For reference the server for development is "HSITJAVADV.HS.PITT.EDU".
- It is assumed that the Liberty Application software has been installed on the server already.
- Identify the Application Full name, Abbreviation, and DNS name. In all cases this information is provided by the development team. See below for the normal aspects of the Applications
- Full name = Anatomic Specimens
- Abbreviated name = AS
- ASDEV.HS.PITT.EDU
Creating the Liberty Node
With the environment ready we can begin the creation process.
-
We now have the environment and node names to continue creating the node. Below are the steps in order:
- Access the server in questions - SSH into the server as Pitt credentials. You can use any SSH tool that provides access and allows for running command line actions.
- Upon accessing the server you will need to change to ROOT. For HSIT Linux servers this would be "dzdo". The command to use dzdo is below:
- "dzdo su -"
- This will prompt you for your Pitt credential password.
- After successfully entering your Pitt password you will be provided the ROOT working directory. To verify the directory you are in type "pwd"
- You will notice that your working directory has now changed to the root working directory.
- In order to create a new Liberty Node you must perform the creation steps from a specific directory within the Liberty application server. Below explains the steps:
- Change directory to the correct Liberty director for creating
- cd /opt/IBM/WebSphere/Liberty/bin
- From the Liberty bin folder type the below command.
- Replace the node abbreviation with the one you are creating. NOTE keep in mind that Linux is case sensitive so always use lower case letters when creating nodes.
- ./server create as
- This process takes only a minute or so. When complete you will have the below folder structure
- Navigate to the correct directory to verify: cd /opt/IBM/WebSphere/Liberty/usr/servers/as
- Sub-folders are:
- apps
- dropins
- workarea
- In addition to the folders created you will see two files:
- server.env
- server.xml
- We need two additional directories for the Liberty Node to be fully created. The below commands will create the additional folders.
- Type the below commands to create the folders.
- mkdir config
- mkdir resources
- After the new Liberty Node & all folders are created we can notify the developer of the new Application that the back-end is ready for deployment of files.
- Some folders are not created until the Application node is started for the first time. These folders are logs, & tranlog.
REFERENCES:
Feedback and Concerns:
If you have any feedback regarding this article, please reach out to hsitkb@pitt.edu. Please provide feedback by selecting the Feedback Yes/No option and leave a comment.