ONYX - 9.0 - Installation - Installation ONYX Server sur Linux/en
Différence entre versions
(24 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 7 : | Ligne 7 : | ||
ONYX Server Linux is compatible with the following operating system versions: | ONYX Server Linux is compatible with the following operating system versions: | ||
− | + | *Red Hat Enterprise Linux 7 (RHEL7) or Red Hat Enterprise Linux 8 (RHEL8) | |
− | *Red Hat Enterprise Linux 7 (RHEL7) | + | *CentOS 7 or CentOS 8 |
− | *CentOS 7 | ||
− | |||
Ligne 24 : | Ligne 22 : | ||
System: | System: | ||
− | |||
*2 VCPU | *2 VCPU | ||
*Processor type x86-64 | *Processor type x86-64 | ||
*RAM: 2 Go minimum, 4 Go recommended. Possibly more depending on the complexity of the architecture | *RAM: 2 Go minimum, 4 Go recommended. Possibly more depending on the complexity of the architecture | ||
− | |||
===Software=== | ===Software=== | ||
Ligne 34 : | Ligne 30 : | ||
*'''Apache''' | *'''Apache''' | ||
− | + | :Apache Web server 2.4 is required. It must be installed prior to installing ONYX Server. The paths to the Apache binaries and configuration file are asked upon installation. | |
− | : | ||
:Example: <code>#yum install httpd</code> | :Example: <code>#yum install httpd</code> | ||
− | |||
− | |||
:''Caution: if you are using Apache 2.4 (recommended), you will need to edit its configuration settings after installing Mapping. The changes required are explained below after the Installation section.'' | :''Caution: if you are using Apache 2.4 (recommended), you will need to edit its configuration settings after installing Mapping. The changes required are explained below after the Installation section.'' | ||
− | |||
− | *''' | + | *'''Dependencies ''' |
::openssl : | ::openssl : | ||
Ligne 53 : | Ligne 45 : | ||
::xerces : | ::xerces : | ||
− | :::RHEL | + | :::RHEL or Centos 7 : <code>rpm --install xerces-c-3.1.1-8.el7_2.x86_64.rpm</code> |
− | :::RHEL | + | :::RHEL or Centos 8 : <code>rpm --install xerces-c-3.2.1.el8.x86_x64.tar.gz</code> |
::xalan : | ::xalan : | ||
− | :::RHEL | + | :::RHEL or Centos 7 : <code>rpm --install xalan-c-1.11.0-4.el7.x86_64.rpm</code> |
− | :::RHEL | + | :::RHEL or Centos 8 : <code>rpm --install xalan-c-1.11.el8.x86_x64.tar.gz</code> |
Ligne 77 : | Ligne 69 : | ||
:As '''ONYX Server 9''' is compiled in 32 bits, 32 bits (i686) compatibility packages must be installed beforehand for the libraries C (libc) and STDC++ (libstdc++) on 64 bits operating systems. From '''ONYX Server 10''' the compatibility packages are no longer required as it is compiled in 64 bits. | :As '''ONYX Server 9''' is compiled in 32 bits, 32 bits (i686) compatibility packages must be installed beforehand for the libraries C (libc) and STDC++ (libstdc++) on 64 bits operating systems. From '''ONYX Server 10''' the compatibility packages are no longer required as it is compiled in 64 bits. | ||
− | : | + | :Example : |
− | + | yum install libstdc++.i686 | |
− | + | yum install glibc.i686 | |
− | |||
− | |||
− | + | As a result, from V10, '''no additional package is required anymore'''. | |
*'''Network Ports''' | *'''Network Ports''' | ||
Ligne 91 : | Ligne 81 : | ||
:The following ports are used by default: | :The following ports are used by default: | ||
− | |||
:*8002 (Web port) | :*8002 (Web port) | ||
:*515 (LPD listening port) | :*515 (LPD listening port) | ||
− | :*2000 (internal port of the Mapping Spooler) | + | :*6789 (port used for "Connect") |
− | + | :*2000 (internal port of the Mapping Spooler - does not need to be open) | |
:Check that these ports are opened and available (that they are not already used) for ONYX Server, if not, choose other ports for the installation. The LPD/LPR server of the system must then be stopped to clear the port 515. | :Check that these ports are opened and available (that they are not already used) for ONYX Server, if not, choose other ports for the installation. The LPD/LPR server of the system must then be stopped to clear the port 515. | ||
Ligne 102 : | Ligne 91 : | ||
*'''Security''' | *'''Security''' | ||
− | + | :ONYX Server must be installed with either a profile which has admin rights on the server, or the root account. If necessary, two new user accounts will be automatically created upon installation: mapadmin (default name, this can be changed) and nobodyma (used for actions started from the web UI). | |
− | :ONYX Server must be installed with either a profile which has admin rights on the server, or the root account. If necessary, two new user accounts will be automatically created upon installation: mapadmin (default name, this can be changed) and nobodyma. | + | :The root user's umask must be set to 002x (default). |
− | |||
==Installation Process== | ==Installation Process== | ||
Ligne 120 : | Ligne 108 : | ||
The script guides the user during the installation process by asking for all the necessary information to configure the installation of the ONYX Server. | The script guides the user during the installation process by asking for all the necessary information to configure the installation of the ONYX Server. | ||
− | |||
[root@localhost v9.0.0b.37748]# cd mapping_install/ | [root@localhost v9.0.0b.37748]# cd mapping_install/ | ||
[root@localhost mapping_install]# ./mapinst.sh | [root@localhost mapping_install]# ./mapinst.sh | ||
Ligne 175 : | Ligne 162 : | ||
default: COMPANY | default: COMPANY | ||
MAPPING | MAPPING | ||
+ | |||
Enter IP address of the server | Enter IP address of the server | ||
default: localhost.localdomain | default: localhost.localdomain | ||
127.0.0.1 | 127.0.0.1 | ||
− | + | Note: Localhost(127.0.0.1) is a recommended value that makes it easier to duplicate the environment later on if necessary, including on a new server. | |
− | |||
Enter port to be used for web server | Enter port to be used for web server | ||
default: 8002 | default: 8002 | ||
Ligne 211 : | Ligne 198 : | ||
Enter path to M-PROCESSING SERVER root directory | Enter path to M-PROCESSING SERVER root directory | ||
default: /apps/mapping | default: /apps/mapping | ||
− | + | Note: The script then builds all default installation paths from the root directory in order to save all ONYX Server files in a single directory. However, each path can be changed according to the target architecture. | |
− | |||
Enter path to M-PROCESSING SERVER configuration directory | Enter path to M-PROCESSING SERVER configuration directory | ||
default: /apps/mapping/conf | default: /apps/mapping/conf | ||
Ligne 246 : | Ligne 232 : | ||
Enter path to web server log files directory | Enter path to web server log files directory | ||
default: /apps/mapping/spool/logs | default: /apps/mapping/spool/logs | ||
− | |||
− | + | Note: after the series of questions above, a recap is displayed so you can check that there are no errors. If you need to make a change, you may answer "no" in order to ask all the questions again. In this case, to save time the default answers are the answers specified earlier. | |
− | |||
Do you want to validate following parameters: | Do you want to validate following parameters: | ||
Ligne 280 : | Ligne 264 : | ||
M-PROCESSING SERVER logs directory: /apps/mapping/spool/logs | M-PROCESSING SERVER logs directory: /apps/mapping/spool/logs | ||
yes | no ? | yes | no ? | ||
− | |||
==Editing Apache server 2.4 configuration settings== | ==Editing Apache server 2.4 configuration settings== | ||
Ligne 290 : | Ligne 273 : | ||
To do so: | To do so: | ||
− | |||
:- Delete node <code><Directory /xxxxx/xxxxx/MapHTTPServer/cgi-bin></code> in httpd.conf (i.e the full xml node including all its contents and end tag <code></Directory></code>) | :- Delete node <code><Directory /xxxxx/xxxxx/MapHTTPServer/cgi-bin></code> in httpd.conf (i.e the full xml node including all its contents and end tag <code></Directory></code>) | ||
:- Delete the following instructions from the httpd.conf file | :- Delete the following instructions from the httpd.conf file | ||
Ligne 298 : | Ligne 280 : | ||
:- Add the instructions found in <code>MapHTTPServer/.htaccess</code> directly in httpd.conf, under node <code><Directory /xxxx/xxxx/MapHTTPServer></code> | :- Add the instructions found in <code>MapHTTPServer/.htaccess</code> directly in httpd.conf, under node <code><Directory /xxxx/xxxx/MapHTTPServer></code> | ||
:- Delete (or rename) the file <code>MapHTTPServer/.htaccess</code> | :- Delete (or rename) the file <code>MapHTTPServer/.htaccess</code> | ||
− | |||
− | |||
The Mapping server of httpd.conf should then look like something like this: | The Mapping server of httpd.conf should then look like something like this: | ||
#BEGIN_MAPPING_v9.0.0_2019/06/12_16_10_57 | #BEGIN_MAPPING_v9.0.0_2019/06/12_16_10_57 | ||
Ligne 321 : | Ligne 301 : | ||
</VirtualHost> | </VirtualHost> | ||
#END_MAPPING_v9.0.0_2019/06/12_16_10_57 | #END_MAPPING_v9.0.0_2019/06/12_16_10_57 | ||
− | |||
− | === | + | ===Optional configuration blocks (examples)=== |
− | + | These are optional configurations that can be added to the <VirtualHost> node described above. | |
− | ==== | + | ====Listing the content of the server's configuration folders==== |
− | + | You can browse Mapping's configuration files from the UI with a limited access to the '''mapadmin''' user. To use it, simply add "/dir" after the url.<br> | |
− | + | Example: <code>http://mymappingserver:8002/dir</code> | |
Alias /dir "/apps/mapping/conf" | Alias /dir "/apps/mapping/conf" | ||
Ligne 341 : | Ligne 320 : | ||
</Directory> | </Directory> | ||
− | ==== | + | ====Protecting the access to the Workflow==== |
− | + | This configuration limits the access to the Workflow interface to the '''mapadmin''' user only. | |
<Directory "/apps/mapping/MapHTTPServer/JS_Common"> | <Directory "/apps/mapping/MapHTTPServer/JS_Common"> | ||
AuthType Basic | AuthType Basic | ||
Ligne 369 : | Ligne 348 : | ||
''<code>8002</code> being the port configured by default during the installation''<br /> | ''<code>8002</code> being the port configured by default during the installation''<br /> | ||
− | + | If the credentials have not been changed during installation, the default values are: | |
− | * | + | * Username: mapadmin |
− | * | + | * Password: mapadmin |
===Known Errors=== | ===Known Errors=== | ||
Ligne 446 : | Ligne 425 : | ||
==Activating the software== | ==Activating the software== | ||
− | Once the software is installed, it must be activated by entering software keys. | + | Once the software is installed, it must be activated by entering software keys. The license keys are dependent on the server's system information. To obtain the license keys: |
*Retrieve the server id | *Retrieve the server id |
Version actuelle datée du 5 octobre 2023 à 09:59
Sommaire
Introduction
This guide explains how to install ONYX Server on Linux. It is also generally recommended to update other software modules in the suite to prevent any version conflict.
Requirements
Setup
ONYX Server Linux is compatible with the following operating system versions:
- Red Hat Enterprise Linux 7 (RHEL7) or Red Hat Enterprise Linux 8 (RHEL8)
- CentOS 7 or CentOS 8
Required disk space on Linux:
- 1 Gb minimum to unzip the installation package
- 5 Gb minimum for installation
- More disk space may be required according to how long you wish to keep the jobs. The amount of required disk space should be based on the maximum number and size of jobs in the system at any one time. Also, please note that storing large-size images can require large amounts of free disk space as well.
System:
- 2 VCPU
- Processor type x86-64
- RAM: 2 Go minimum, 4 Go recommended. Possibly more depending on the complexity of the architecture
Software
- Apache
- Apache Web server 2.4 is required. It must be installed prior to installing ONYX Server. The paths to the Apache binaries and configuration file are asked upon installation.
- Example:
#yum install httpd
- Caution: if you are using Apache 2.4 (recommended), you will need to edit its configuration settings after installing Mapping. The changes required are explained below after the Installation section.
- Dependencies
- openssl :
yum install openssl
yum install compat-openssl10
- openssl :
- libcrypto :
yum install libcrypto.so.10
- libcrypto :
- xerces :
- RHEL or Centos 7 :
rpm --install xerces-c-3.1.1-8.el7_2.x86_64.rpm
- RHEL or Centos 8 :
rpm --install xerces-c-3.2.1.el8.x86_x64.tar.gz
- RHEL or Centos 7 :
- xerces :
- xalan :
- RHEL or Centos 7 :
rpm --install xalan-c-1.11.0-4.el7.x86_64.rpm
- RHEL or Centos 8 :
rpm --install xalan-c-1.11.el8.x86_x64.tar.gz
- RHEL or Centos 7 :
- xalan :
- Deactivating SELinux
- To start up Apache on DocumentRoots located in Mapping folders, SELinux must be deactivated
- Example:
#setenforce 0
- For it to be deactivated at every start-up, edit the file /etc/selinux/config as follows:
SELINUX=disabled
- sFTP
- Access to the server in sFTP (ssh) is required.
- 32-bit Libraries
- As ONYX Server 9 is compiled in 32 bits, 32 bits (i686) compatibility packages must be installed beforehand for the libraries C (libc) and STDC++ (libstdc++) on 64 bits operating systems. From ONYX Server 10 the compatibility packages are no longer required as it is compiled in 64 bits.
- Example :
yum install libstdc++.i686 yum install glibc.i686
As a result, from V10, no additional package is required anymore.
- Network Ports
- ONYX Server uses 3 ports for internal (between processes) and external communication (admin Web interface).
- The following ports are used by default:
- 8002 (Web port)
- 515 (LPD listening port)
- 6789 (port used for "Connect")
- 2000 (internal port of the Mapping Spooler - does not need to be open)
- Check that these ports are opened and available (that they are not already used) for ONYX Server, if not, choose other ports for the installation. The LPD/LPR server of the system must then be stopped to clear the port 515.
- Security
- ONYX Server must be installed with either a profile which has admin rights on the server, or the root account. If necessary, two new user accounts will be automatically created upon installation: mapadmin (default name, this can be changed) and nobodyma (used for actions started from the web UI).
- The root user's umask must be set to 002x (default).
Installation Process
Installation packages can be downloaded from the Mapping technical server at: https://server.mappingsuite.com. They are called "[OS]_[version].tar.gz".
To install ONYX Server, the archive must be FTPed in binary mode to the Linux server in a folder of your choice (e.g. /tmp). The archive file must then be unzipped using the root profile:
tar –xvf Setup_Onyx_Server_Linux_v9.0.0b.37402.tar.gz cd v9.0.0b.37402 tar –xvf mapping_install_Linux_v9.0.0b.37402.tar.gz
A "mapping_install" folder is created in which the installation script must be run (always using the root profile):
cd mapping_install ./mapinst.sh
The script guides the user during the installation process by asking for all the necessary information to configure the installation of the ONYX Server.
[root@localhost v9.0.0b.37748]# cd mapping_install/ [root@localhost mapping_install]# ./mapinst.sh Control user permissions Checking installation files folder Do you want to update mappingenv binary yes | no ? yes Enter installation path of mappingenv binary default: /bin Do you confirm this path: /bin yes | no ? yes Detecting existing version Do you want to search for mapping.conf files? Warning: this operation can be long… yes | no? no Do you want to: 1: install a new version? 2: exit? > 1 | 2 ? 1 Do you confirm the installation of a new version? yes | no ? yes Installing a new M-Processing Server version... Initializing System variables default values... Initializing installation variables... Enter matching values If values are correct, validate with "enter" Enter system type: AIX, Linux default: LINUX Enter system version: AIX: 7.1, Linux: Linux default: Linux Enter owner name default: mapadmin Enter group name default: mapadmin Enter language to be used default: english Enter your company name default: COMPANY MAPPING Enter IP address of the server default: localhost.localdomain 127.0.0.1
Note: Localhost(127.0.0.1) is a recommended value that makes it easier to duplicate the environment later on if necessary, including on a new server.
Enter port to be used for web server default: 8002 Enter connection address to the spooler default: localhost.localdomain 127.0.0.1 Enter connection port to the spooler default: 2000 Enter port to be used for LPD server default: 515 Enter environment name default: MAPPING-v9-0-0b-37748 MAPPING_PROD Enter path and name of the apache configuration file default: /etc/httpd/conf/httpd.conf Enter path and exact name of the executable htpasswd default: /usr/bin/htpasswd Enter path and exact name of the executable apachectl default: /usr/sbin/apachectl Do you want to connect Infoprint Manager to M-PROCESSING SERVER? default: no yes | no ? no Enter path to M-PROCESSING SERVER root directory default: /apps/mapping
Note: The script then builds all default installation paths from the root directory in order to save all ONYX Server files in a single directory. However, each path can be changed according to the target architecture.
Enter path to M-PROCESSING SERVER configuration directory
default: /apps/mapping/conf Enter path to M-PROCESSING SERVER executables directory default: /apps/mapping/bin Enter path to M-PROCESSING SERVER web server directory default: /apps/mapping/MapHTTPServer Enter path to M-PROCESSING SERVER import directory default: /apps/mapping/import Enter path to M-PROCESSING SERVER temporary files directory default: /apps/mapping/temp Enter path to M-PROCESSING SERVER production files directory default: /apps/mapping/map400 Enter path to M-PROCESSING SERVER spooler files directory default: /apps/mapping/spool Enter path to M-PROCESSING SERVER spooler log files directory default: /apps/mapping/spool/logs Enter path to stderr.txt and stdout.txt directory default: /apps/mapping/temp Enter path to M-PROCESSING SERVER archive files directory default: /apps/mapping/mapout yes Enter path to web server log files directory default: /apps/mapping/spool/logs
Note: after the series of questions above, a recap is displayed so you can check that there are no errors. If you need to make a change, you may answer "no" in order to ask all the questions again. In this case, to save time the default answers are the answers specified earlier.
Do you want to validate following parameters: M-PROCESSING SERVER User: mapadmin M-PROCESSING SERVER Group: mapadmin Use of Infoprint: no OS System: LINUX OS Version: Linux Apache configuration file: /etc/httpd/conf/httpd.conf Executable htpasswd: /usr/bin/htpasswd M-PROCESSING SERVER web log files: /apps/mapping/spool/logs Language: english Company name: MAPPING Server IP address: 127.0.0.1 WEB server connection port: 8009 LPD well-known port: 515 Connection address to the spooler: 127.0.0.1 Connection port to the spooler: 2009 M-PROCESSING SERVER environment name: MAPPING_PROD M-PROCESSING SERVER root directory: /apps/mapping M-PROCESSING SERVER configuration directory: /apps/mapping/conf9 M-PROCESSING SERVER binaries directory: /apps/mapping/bin M-PROCESSING SERVER web configuration directory: /apps/mapping/MapHTTPServer M-PROCESSING SERVER import directory: /apps/mapping/import M-PROCESSING SERVER temporary directory: /apps/mapping/temp M-PROCESSING SERVER archive directory: yes M-PROCESSING SERVER production directory: /apps/mapping/map400 M-PROCESSING SERVER spooler directory: /apps/mapping/spool M-PROCESSING SERVER std files directory: /apps/mapping/temp M-PROCESSING SERVER logs directory: /apps/mapping/spool/logs yes | no ?
Editing Apache server 2.4 configuration settings
If Apache server 2.4 is installed, the file httpd.conf needs to be edited in the section added automatically when installing Mapping.
The Mapping section for httpd.conf is identified by means of #BEGIN_MAPPING_...
To do so:
- - Delete node
<Directory /xxxxx/xxxxx/MapHTTPServer/cgi-bin>
in httpd.conf (i.e the full xml node including all its contents and end tag</Directory>
) - - Delete the following instructions from the httpd.conf file
AllowOverride all
Order allow,deny
Allow from all
- - Add the instructions found in
MapHTTPServer/.htaccess
directly in httpd.conf, under node<Directory /xxxx/xxxx/MapHTTPServer>
- - Delete (or rename) the file
MapHTTPServer/.htaccess
The Mapping server of httpd.conf should then look like something like this:
#BEGIN_MAPPING_v9.0.0_2019/06/12_16_10_57 #DO NOT MODIFY THIS BLOCK. It will be automatically updated. Listen 8002 NameVirtualHost *:8002 <VirtualHost *:8002> ServerName MAPPING-v9-0-0 DocumentRoot "/apps/mapping/MapHTTPServer" ScriptAlias "/cgi-bin/ /apps/mapping/MapHTTPServer/cgi-bin/" <Directory "/apps/mapping/MapHTTPServer"> AuthType Basic AuthName "Identification" AuthBasicProvider file AuthUserFile "/apps/mapping/MapHTTPServer/.htpasswd" AuthGroupFile "/apps/mapping/MapHTTPServer/.htgroup" Require valid-user Options None </Directory> </VirtualHost> #END_MAPPING_v9.0.0_2019/06/12_16_10_57
Optional configuration blocks (examples)
These are optional configurations that can be added to the <VirtualHost> node described above.
Listing the content of the server's configuration folders
You can browse Mapping's configuration files from the UI with a limited access to the mapadmin user. To use it, simply add "/dir" after the url.
Example: http://mymappingserver:8002/dir
Alias /dir "/apps/mapping/conf" <Directory "/apps/mapping/conf"> AuthType Basic AuthName Identification AuthBasicProvider file AuthUserFile "/apps/mapping/MapHTTPServer/.htpasswd" Require user mapadmin Options +Indexes </Directory>
Protecting the access to the Workflow
This configuration limits the access to the Workflow interface to the mapadmin user only.
<Directory "/apps/mapping/MapHTTPServer/JS_Common"> AuthType Basic AuthName Identification AuthBasicProvider file AuthUserFile "/apps/mapping/MapHTTPServer/.htpasswd" Require user mapadmin </Directory>
Starting the Interface
After installing, the Apache server needs to be restarted before you can launch ONYX Server's Web GUI.
httpd -k restart
- or (according to distribution)
apachectl restart
1. Open your web browser
2. Enter the following URL:
- From the local server:
http://127.0.0.1:8002
- From a workstation in the network:
http://<ip.du.serveur>:8002
8002
being the port configured by default during the installation
If the credentials have not been changed during installation, the default values are:
- Username: mapadmin
- Password: mapadmin
Known Errors
If port 8002 is busy
In this case, Apache cannot restart. Change the port used to access the web interface of the Mapping server:
- Open the Apache configuration file, httpd.conf (it is located in the conf file, specified during installation)
- Search for the configuration block between #BEGIN_MAPPING and #END_MAPPING (it is usually at the end of the file)
- Change the listening 8002 port in the following lines:
- Listen 8002
- NameVirtualHost *:8002
- <VirtualHost *:8002>
Then, restart the Apache server.
An error message is displayed when opening the page
An error may occur when opening Mapping if Apache 2.4's configuration settings have not been edited as required (see above) or if Apache has not been restarted.
Managing the ONYX Server environment
With Linux systems, several ONYX Server environments can be installed and used on the same server. Each environment is then entirely independent from the others and has its own configuration, processings, engine version, activation licenses. Managing these different ONYX Server environments can be done using the program mappingenv.
ONYX Environments
On the server, the different ONYX Server environments are saved in a file: mappingtab, which is by default in the /etc folder. If this file is in another folder, it needs to be specified in the following command lines (mappingenv command), using the argument -pathconf:XXX. An environment consists of a name, a connection port (Web port via the Apache server) and a configuration file (path of the mapping.conf file). Each parameter must be unique. On the same server, two ONYX Server environments must not have the same name, neither should they have the same Web port, nor configuration file.
Selecting a work environment
Before using the ONYX Server,load the environment in which jobs must be carried out, even if there is only ONYX Server installed on the server.
Console mode (telnet or ssh session)
An ONYX Server environment is loaded with the binary mappingenv. During the installation, you will be asked if you want to copy this binary on the system. Copying this binary is essential to save and use the environment installed.
The mappingenv program must be accessible to all users running ONYX Server in console mode.
To load an ONYX Server environment in command lines, once you are connected in Telnet on the server, run command mappingenv
then, enter the name or the number of the desired environment.
In the example below, environment number 3 is selected, it is called MAPPING_V8.1.0, and the http port is 8810.
[root@localhost ~]# mappingenv Which environment do you want to load : 1 : MAPPING_V7.1 /apps/mapping/conf/mapping.conf 8002 2 : MAPPING_V7.2 /apps/mapping_V72/conf/mapping.conf 8720 3 : MAPPING_V8.1.0 /apps/mapping_81/conf/mapping.conf 8810 4 : MAPPING_V805 /apps/mapping805/conf/mapping.conf 8805 5 : mapping_900 /apps/mapping900/conf/mapping.conf 8900 Enter the environment name or number :3
In graphic mode (Web interface)
Connection to the Web interface of ONYX Server on a particular port is enough to identify and load the work environment.
Example: the address http://192.168.217.17:8002 loads the MAPPING environment
In the scripts
To write any script, loading the work environment is also necessary before running the ONYX Server commands. The binary mappingenv (interactive mode) cannot be used in such cases. You need to export the environment variable MAPPING_PATH, which identifies the configuration file of the ONYX Server in which the execution is done.
Example of a script to start the ONYX Server Spooler of the MAPPING environment:
#!/usr/bin/ksh ################################################################ # Mapping Suite Spooler Start # ################################################################ export MAPPING_PATH=/apps/mapping/conf/mapping.conf TIMESTAMP=$(date +"%Y/%m/%d-%H.%M.%S") echo "Mapping is starting at $TIMESTAMP" /apps/mapping/bin/map_daemon start
Activating the software
Once the software is installed, it must be activated by entering software keys. The license keys are dependent on the server's system information. To obtain the license keys:
- Retrieve the server id
- Contact Technical Support, or log on to https://server.mappingsuite.com
Server ID
bash-4.2$ mappingenv Which environment do you want to load: 1 : MAPPING /apps/mapping/conf/mapping.conf 8002 Active 2 : MAPPING_test /apps/mapping_test/conf/mapping.conf 8003 Active Enter the name or number of the environment: 1 bash-4.5$ /apps/mapping/bin/mapkey Serial number of your device: FFD8F1E6 Your processor type: x86_x86_
Entering license keys
Once Mapping provided you with the licenses, repeat the previous steps to enter each key you obtained. Each key Mapping provided is identified by a product number (from 1 to 5) and a key value (44 hexadecimal characters, separated or not by formatting dashes).
[root@localhost ~]# mappingenv Which environment do you want to load : 1 : MAPPING_PROD /apps/mapping/conf/mapping.conf 8002 Enter the environment name or number :1 [root@localhost ~]# /apps/mapping/bin/mapkey Your serial number : Linux Your type of processor : x86_x86_ Enter the product number : 1 Enter the key : FD89BB-CFB9B1-BFF584-ABBD42-EBF54A-FE54FF-FD88DE-59 [root@localhost ~]# /apps/mapping/bin/mapkey Your serial number : Linux Your type of processor : x86_x86_ Enter the product number : 2 Enter the key : ABBD42-CFB9B1-BFF584-EBF54A-FD89BB-FD88DE-CFB9B1-35 [root@localhost ~]# /apps/mapping/bin/mapkey Your serial number : Linux Your type of processor : x86_x86_ Enter the product number : 3 Enter the key : FD88DE-FD89BB-CFB9B1-BFF584-ABBD42-EBF54A-FE54FF-89 [root@localhost ~]# /apps/mapping/bin/mapkey Your serial number : Linux Your type of processor : x86_x86_ Enter the product number : 4 Enter the key : FE54FF-FD89BB-CFB9B1-BFF584-ABBD42-EBF54A-FD88DE-24 [root@localhost ~]# /apps/mapping/bin/mapkey Your serial number : Linux Your type of processor : x86_x86_ Enter the product number : 5 Enter the key : CFB9B1-FD89BB-BFF584-ABBD42-EBF54A-FE54FF-FD88DE-45