Installation/Update via PLANTA Installer
Information
- The following instruction describes the server and database installation / update via PLANTA Installer.
- In the "Installation/Update Parameters" chapter, the information relevant for you is provided in the tab which corresponds to your target release.
Notes
- The download files for current releases are made available on the PLANTA Transfer Server
- In installation, please also observe the Releases and Downloads applicable to your target release from time to time.
- For an overview of the installation process, please click here. For an overview of the update process, please click here.
Caution
- In order to carry out the following administrative tasks, a profound knowledge of the corresponding subject areas are required.
General
The installer provides the following functionalities:
- Reinstallation
- It contains the installation of all three components: PLANTA Database (PLANTA standard) and PLANTA Server
- Update (refresh)
- of individual components or
- of all three components at once
- The database or server update by installer is only a part of the respective update process. For a description of the complete update process of the respective component, see the following topics:
- Installation/update on a Windows or Linux system
- Installation/update either graphically or via console
- During installation/update, a service which equates to the server process is installed. The name of the service can be specified in the name of the PLANTA Server service parameter during installation/update. Further information on the PLANTA Server service.
- Furthermore, the monitoring component can be installed, enabling the monitoring and analysis of the running server.
Caution
- If the installation/update by installer is not finished correctly, this may result in incorrect or invalid data.
Requirements
The following requirements must be met:
- All requirements described in the System Requirements topic must be met, including the PLANTA project user rights for Oracle databases described in there.
- On Linux systems, rsync must be available.
- An Oracle or MSSQL database must be available.
- The executing user must have a profound knowledge of the required fields and be logged on to the server as administrator (Windows) or root (Linux). On Windows, the installation can also be started by using the Run as administrator context menu.
Caution
- The components licensed by the customer and their volumes must be specified in the license.conf configuration file and stored on the server. This step is mandatory from Server 39.5.29.
- If a customer-specific license file is stored, the server accesses the file stored by default by PLANTA with standard values which probably fall far below the volume licensed by the customer.
- For more information, please contact your PLANTA consultant.
Procedure for Installation/Update
There are two installation modes: graphical GUI installation and automated console installation. Both options are available for both Windows and Linux.
Installation/Update via Graphical GUI Surface
Procedure
- Run the
install_planta.bat
script (on Windows systems) orinstall_planta.sh
script (on Linux systems). - First choose the installation type (first installation or update).
- First installation of Release 39.5
- Update of an existing system
- Select the components you wish to install (database and/or server).
- Then, select the respective parameters for the database and/or server installation. Further information on the parameters can be found in the Installation/Update Parameters section.
- Subsequently, the installer will copy the files to your system and run several scripts in order to configure your system.
- Please be patient. This step may take some time depending on your system performance.
- Afterwards, the components you have selected will be ready for use.
- The path specification is OS specific (Windows/Linux).
Installation/Update via Console
Installation / update via console allows for an installation / update without graphical surface.
Procedure
- For console installation / update, the
/install/planta-windows.properties
file (for Windows systems) or/install/planta-linux.properties
file (for Linux systems) which contains the installation parameters is required. - This file is located in the default directory of the installer.
- In the
templates
directory, there are also various property files for different, typical installation types (e.g. reinstallation including the creation of a new database user, reinstallation on an existing database user, migration from an existing Venus-on-Earth system to Venus, installation of a new hotfix in an existing Venus system, etc.). The suitable properties file can now be copied to the main directory of the installer (i.e. overwriting the existing file), depending on the desired installation type.
- In the
- Edit this file now to set the parameters for your installation/update. For further information on the parameters, please refer to the Installation/Update Parameters section.
- An update can take some time (especially in the [ Processing package: (x/y) ] step). Please do not cancel the process at this point!
- In order to define whether a particular component is to be installed/updated in the first place, please set the
db.install
,server.install
,monitoring.install
, andregtests.install
parameters to "yes" or "no". - Please note that under Windows, paths are not separated by a simple but by a double backslash.
- E.g.
C:\\planta\\server
instead ofC:\planta\server
- E.g.
- Run the
install_planta_with_template.bat
(on Windows systems) orinstall_planta_with_template.sh
(on Linux systems). - Please wait now, while the installer automatically copies files to your system and runs scripts.
- Please be patient. This step may take some time depending on your system performance.
- Afterwards, the components you have selected will be ready for use.
Caution
- In console installation, only the
/install/planta-linux.properties
and/install/planta-windows.properties
files may be configured. - All files under
/scripts
, especiallyscripts/temp.linux.properties
andscripts/temp.windows.properties
must NOT be changed.
Installation/Update Parameters
Information
- The Installer uses different parameters, via which the installation/update is controlled (for the installation or update procedure, please click here).
- The following table contains the possible values which are explicitly specified during installation/update via console and which are selected and clicked on during installation/update via graphic GUI surface.
Parameter From Release S 39.5.32
Parameter | Name in properties files | Used for component | Possible values | Meaning |
---|---|---|---|---|
Installation type | planta.install_type | Server, Database | "new", "update" | Specifies whether a reinstallation or an update of an existing system is to be carried out.
|
Update type | planta.update_type | Server, Database | "venus" (Update from 39.5.x to 39.5.y) | In update, it specifies the type of the system to be updated. From Server version 39.5.30, only updates from Venus to Venus are supported. |
DB log directory | log.path | Server, Database | A directory in which log files with information on installation and update are saved.
| |
Start server after installation? | server.start_server | Server, Database | "yes", "no" | Specifies whether the server is to be restarted automatically after successful installation.
|
How to install a database? | db.install_type | Database | "existing" (using an existing database user), "new" (creating a new database user) | Specifies whether a new user is to be created for the database or whether an already existing one is to be used.
|
Database type | db.type | database, server | "Oracle", "MSSQL" | Database type |
Database license | License | server, monitoring, database | e.g. "200" | Your license number allocated by PLANTA. |
License file | license_file | Server | Complete path to a license file (license.config) | License file created by PLANTA which contains information on the number of records you are allowed to create per licensed table.
|
Database server | db.server | server, monitoring, database | e.g. "srvPLANTA", "192.168.10.20" | Name or IP address of the server on which the database is running. |
Database port | db.port | server, monitoring, database | e.g. "1521" (Oracle), "1433" (MSSQL) | Port to the database. The Oracle port is 1521 and the MSSQL port is 1433 by default |
|
Database name | db.name | server, monitoring, database | The SID in Oracle, the database name in MSSQL.
| |
Oracle Tablespace | db.tablespace | Database | Specifies to which oracle table space a new database user is to be assigned.
| |
MSSQL server uses named instance | db.use_named_instance | server, monitoring, database | "yes", "no" | Specifies for MSSQL databases whether to connect to a named instance or to the default instance.
|
Database instance | db.instance | server, monitoring, database | Name of the MSSQL instance to which to connect.
| |
Database user | db.user | server, monitoring, database | User for which the schema is to be installed.
| |
Database password | db.password | server, monitoring, database | The password of the user. | |
Database admin user name | db.user_privileged | Database | Name of the user with the right to create a new user.
| |
Database admin password | db.password_privileged | Database | The password of the new user.
| |
Run migration? | db.migrate | Database | "auto", "yes" and "no" | Specifies whether a database-specific migration to the new database version is to be carried out and whether the migration packets with Upon system start = , which are included in the PLANTA delivery, are to be executed automatically or not. The migration process determines the migration packets to be run for the respective update based on your existing system.
|
Create/adjust database schema? | db.create_schema | Database | "yes", "no" | Specifies for database reinstallations whether the new schema is to be installed with the PLANTA tables and whether (for updates) some newly loaded PLANTA files are adjusted (e.g. the license).
|
Load data? | db.load_data | Database | "yes", "no" | Specifies for database installations whether the data is to be imported to the database by PLANTA. In reinstallation this concerns all data tables, in update installation (DB) it only concerns the standard customizing data; for 'no', only the Python status (customizing) will then be updated and a migration is possibly carried out
|
Activate DB synonyms? | db.synonyms | Server | "yes", "no" | Specifies whether hibernate database synonyms are to be used or not.
|
Server IP address | SERVER_IP | Server | e.g. "192.168.10.20" | IP address of the PLANTA Server
|
Port | PORT | Server | e.g. "12345" | Port number through which the server communicates with the clients. This number should be a five-digit number smaller than 30000 which is not used by any other process. |
Name of the PLANTA Server service | service.name | Server | Name of the service which is assigned to the PLANTA Server.
| |
New server directory | server.path | Server | The directory in which the PLANTA project server is to be installed.
| |
Existing server directory | server.path.existing | Server | The directory in which the former PLANTA project server is located.
| |
Python version | python.version | Server | 3.4.3, 3.8.5 | Python version which is installed along with (or directly in) the PLANTA Server.
|
Java version | java.version | Server | Graal or Zulu | The Java version which is included in the PLANTA delivery and which is used to start the server.
|
Adjust database schema to server hotfix? | server.update_schema | Server | "yes", "no" | Specifies whether the schema of the server is adjusted in order to secure the server start.
|
Run migration? | server.migrate | Server | "auto", "yes" and "no" | Specifies whether a database specific migration to the new server version is to be carried out during the installation.
|
Name of the user group | service.user.group | Server, monitoring | e.g. "User" | Group to which the installation belongs.
|
Service user | service.user.name | Server, database, monitoring | The Linux user to whom the Linux installation belongs and who starts the PLANTA Server service.
| |
Authentication method | server.auth_method | Server | "interactive", "kerberos", "proxy", "any" | Defines the authentication method which is used by the client during login. |
Expected utilization | system.dimension | Server | "small", "medium", "large" | How high will the utilization of this system be?
|
Activate web services for PLANTA pulse? | planta.services.enable | Server | "yes", "no" | Specifies whether web services are to be activated for PLANTA pulse. |
IP address of the web services for PLANTA pulse | planta.services.interface | Server | e.g. "srvWebPLANTA", "192.168.10.30" | The IP address of the computer on which the web services for PLANTA pulse are to run. |
Port of the web services for PLANTA pulse | planta.services.port | Server | e.g. "23456" | The port on which the web services for PLANTA pulse are to run. |
Activate web services for Installation/Update via PLANTA Installer? | planta.services.generic.enable | Server | "yes", "no" | Specifies whether web services are to be activated for PLANTA link. |
IP address of the web services for PLANTA link | planta.services.generic.interface | Server | e.g. "srvWebPLANTA", "192.168.10.30" | The IP address of the computer on which the web services for PLANTA link are to run. |
Port of the web services for PLANTA link | planta.services.generic.port | Server | e.g. "23456" | The port on which the web services for PLANTA link are to run. |
Activate web service documentation? | planta.services.doc.activate | Server | "yes", "no" | Specifies whether the web service documentation is to be activated.
|
Host for webservice documentation | planta.services.doc.host | Server | Host on which the webservice documentation is to be run. | |
IP address for webservice documentation | planta.services.doc.interface | Server | e.g. "srvWebPLANTA", "192.168.10.31" | IP address of the computer on which the web service documentation is to run. |
Port for webservice documentation | planta.services.doc.port | Server | e.g. "23457" | Port on which the webservice documentation is to be run. |
Host name for the generated cURL statements of the webservice documentation | services_doc_hostname | Server | e.g. "srvWebPLANTA" | curl statements of the documentation interface will be generated consistent with the server URL entered here. |
Activate SSL? | planta.services.ssl.enable | Server | "yes", "no" | If this option is selected, the web services only run on encrypted connections (https) |
Keystore path for SSL | planta.services.ssl.keystore.path | Server | e.g.:web-inf/resources/ssl | Path to the Java keystore (JKS) which required the key pairs or certificates for SSL |
Password for SSL | planta.services.ssl.password | Server | e.g. "123456" | Password for the Java keystore |
Cross-site scripting? | planta.services.apifilters.all | Server | "yes", "no" | Is currently required to enable cross-site scripting
|
ApiKey filtering on swagger-generated services? | planta.services.apifilters.swagger | Server | "yes", "no" | Enables ApiKey filters on webservices which were generated by swagger
|
ApiKey authentication for web services? | planta.services.apifilters.generic | Server | "yes", "no" | Specifies whether ApiKey authentication is to be activated for generic web-services. This parameter, a.o., is a requirement for the use of Jira |
Filter SAML answers for all web-services? | planta.services.apifilters.saml | Server | "yes", "no" | Do you want to activate SAML answer filtering for pulse?
|
Create core dumps? | debug.coredumps | Server | "1" (create core dump), "0" (do not create core dump) | Specifies whether a core dump file with the current system status is created.
|
Path to core dumps | debug.coredump_path | Server | Specifies where a possibly core dump is to be created (see =Create core dumps?= parameter)
| |
Monitoring activated | planta.monitoring.enable | Server | "true", "false" | Specifies whether web services are to be activated for the server.
|
Port of the monitoring interface | planta.monitoring.port | Server, monitoring | e.g. "12345" | Port number via which the server communicates with the monitoring component. This number should be a five-digit number smaller than 30000 which is not used by any other process.
|
Monitoring Interface IP | planta.monitoring.interface | Server | e.g. "localhost", "192.168.10.20" | Specifies the IP address of the monitoring component.
|
Port of the web interface | monitoring.port | Monitoring | e.g. "12345" | Port number of the web service for the monitoring component. This number should be a five-digit number smaller than 30000 which is not used by any other process.
|
Monitoring directory | monitoring.path | Monitoring | Directory in which the monitoring component is to be installed.
| |
Name of the monitoring service | monitoring.service | Monitoring | Name of the service which is assigned to the monitoring component.
|
The following parameters determine which component is to be installed/upgraded
- They are only relevant for installation/update via console since the components to be installed are selected at the very beginning of a GUI installation.
Name in properties files | Used for component | Values | Meaning | |
---|---|---|---|---|
Server installation | server.install | "yes", "no" | Specifies whether server-specific steps are to be carried out. These are e.g.
| |
Database installation | db.install | "yes", "no" | Specifies whether database specific steps are to be carried out. These are e.g.
For an update with DB39.4.4.0 and S39.5.x, the db.install parameter must be set = yes. | |
Monitoring installation | monitoring.install | "yes", "no" | Specifies whether the monitoring component for monitoring the PLANTA Servers is to be installed. | |
Regtest installation | regtests.install | "yes", "no" | Specifies whether the regression tests are to be installed, with the help of which the functioning of the PLANTA Server can be checked after successful installation. |
Additional parameters
- Usually, the parameters specified above are sufficient for an installation / update. For special cases, there are, however, some additional parameters, which can be added to
planta-windows.properties
orplanta-linux.properties
(only for installation/update via console).
Name in properties files | Used for component | Values | Meaning | |
---|---|---|---|---|
Manual connect string | db.manual_connection_string | database, server | Connect string to a particular database | Provides the option to manually specify the connection string to a particular database. This has an influence both on the way in which the database is accessed by the installer itself (e.g. when creating a new database user) and on the way it is accessed by the server or hibernate (in the <server>/config/hibernate.cfg.xml)
|
Manual connect string for administrator | db.manual_connection_priv_string | Database | Connect string to a particular database (for the administrator) | This manual connection string is intended for the special case in which the administrator (DB user with the help of which the PLANTA DB user is created (see the Database admin user name) requires a special login-string.
|
Alternative sql directory | planta.alternative_sql_directory | An absolute path | Allows for the use of an alternative directory for the SQL scripts which the PLANTA Installer executes during the server installation in order to ensure the launchability of the server.
| |
Alternative migration directory | planta.alternative_migration_directory | An absolute path | Enables the use of an alternative directory for migration packets and the corresponding SQL files.
| |
planta.migration_scripts_to_ignore | A list of migration packets separated by blank spaces | It specifies migration packets which are not to be run during migration.
| ||
Temporary directory | temp.path | Relative or absolute path | The installer copies some auxiliary files into a temporary directory (and adjusts them in line with the settings). This will be /tmp/install_planta under Linux bzw. %temp%/install_planta under Windows (if the parameter is not specified).
| |
Server type | server.type | release or asan or testing | Specifies which server will be installed. This is the release version by default (if the parameter is not specified). The testing and asan versions can be used for debugging since at runtime some additional tests are carried out, which, however, slightly slow down the runtime. |
Parameter Older Releases
Note on error treatment
- If the Unable to get information from SQL Server error occurs during database installation under MSSQL, this usually means that the SQL Server Browser service has not been started yet.
- Run this service manually and restart the PLANTA installation (for further information on this topic, please refer to the documentation for MSSQL).
- If the Server has no instance named SQLEXPRESS error occurs while installing the database to a named instance under MSSQL, please activate the TCP/IP option for your instance, restart the MSSQL service and then run the PLANTA installation again (for further information on this topic, please refer to the documentation for MSSQL).
- If errors have occurred during installation, temporary files may remain on your system. In such a case, please delete the client or server installation directories (
server.path
parameter) and theinstall_planta
directory in your temporary directory before carrying out a reinstallation. - If you cannot login (a prompt to establish the connection is displayed instead of the login dialog) despite successful installation (no error message during the installation), please check the
\log
directory for possible errors when starting the PLANTA Server. It may also be helpful to check via netstat whether the port specified during the installation is opened and whether the service has started according to Service Wrapper (open\yajsw\bat\queryService.bat
or/yajsw/bat/queryDaemon.sh
).
Post Installation
Information
- When installing a customer system, further steps must be carried out after standard installation. This includes a.o.
- replacing the PLANTA standard database by an individual database
- replacing the customized Python files in the server directory.
- After installation, particular settings must be adjusted if necessary. Further information.
- To find out which particular steps are to be carried out here, please contact your PLANTA consultant.