Setting Up the Provisioning Server

This section shows you how to set up the Provisioning Server.

Prerequisites

  • You must have obtained the archive files for One-Click Provisioning as described in the preceding OBE "Obtaining and Using Archive Files for One-Click Provisioning" of this Learning Path.

  • You must have performed the tasks described in the OBE "Performing Common Setup for All Linux Servers" of this Learning Path.

General

Ensure that you have performed all the tasks described in the OBE "All Linux Servers Common Setup" including the steps to create groups and users as well as assigning proper permissions to /u01.

Ensure that there is sufficient storage available on the Provisioning Server for the YUM packages, and the Provisioning Server archive (compressed and extracted).

Install and Compile Ruby

The Ruby program is required to run the functions of JD Edwards One-Click Provisioning. You must use this procedure to install and compile Ruby on the Provisioning Server. This procedure also includes the command to install the gem package for the winrm program.

  1. Log in to the Provisioning Server as the opc user.
  2. Navigate to the home directory using this command:

    cd ~

  3. Log in as root user.

  4. Install and compile Ruby using these commands:

    wget https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.gz

    tar -xzf ruby-*.tar.gz

    chmod 755 -R ruby-*

    cd ruby-*

    ./configure --prefix=/usr --disable-dtrace

    make

    make install

  5. Log in as the opc user.

  6. Install the gem package and uri as the opc user:

    echo "GEM_HOME=$HOME/gems" >> $HOME/.bash_profile

    echo "export GEM_HOME" >> $HOME/.bash_profile

    source $HOME/.bash_profile

    gem install -v 2.3.6 -r winrm

  7. Log in as the root user.

  8. Install the winrm program using this command as the root user:

    gem install -v 2.3.6 -r winrm

Run the setupPr.sh Script as the Root User

As the root user, you must run the setupPr.sh script that was delivered when you extracted the Provisioning Server archive as described in the preceding section. This script automates the remaining required configuration of the Provisioning Server and performs these requisite tasks:

  • Sets up permission and ownership of the extracted content
  • Adds system files such as jdedwards, chkPort, and chkDNS
  • Configures the Samba service
  • Adds the Server Manager Console service
  • Adds the Provisioning Console service
  • Creates and configures self-signed certificates
  • Disables IPv6 on the Provisioning Server

From the script location on /u01, run this command as the root user:

./setupPr.sh

Important: If you attempt to run this script as any user other than root, the script will immediately report an error condition: Script must be run as root.

After the command runs successfully, the Provisioning Console should be up and running. You can access the Provisioning Console using a URL with the following syntax:

https://<Public Ip Address>:3000