Preparing your server


Installation planning

To install Pulse-IT-3.0, you will need: 

  • CentOs 7.x
  • 8 cores
  • 32 Go Ram minimum. You may need more memory if you have several agents or schedulers running 
  • 250 Go Hard Drive
  • Access to a production storage (R/W)
  • (A virtual machine is recommended)

 

Server installation

Install a CentOS 7.x Linux server.


Open the firewall on the following ports:

80http
443https
22ssh
4369epmd, a peer discovery service used by RabbitMQ nodes and CLI tools
5672, 5671

used by AMQP 0-9-1 and 1.0 clients without and with TLS


Login

$ ssh root@pulse-it-server


Where { pulse-it-server } point to your Linux server.


Create a “ait” user

$ useradd -m -r ait
$ passwd ait


 

Add “ait” user to sudoers

Edit sudoers to add ait user

$ nano /etc/sudoers


 

Add this line after root

ait             ALL=(ALL)       ALL


 

Disable selinux

$ nano /etc/sysconfig/selinux

Change this line

SELINUX=enforcing
into 
SELINUX=disabled


And reboot the machine



Reconnect

Reconnect as ait

$ ssh ait@pulse-it-server


 

Installing Pulse-IT-3.0


Connect

If not connected, login into your server

$ ssh ait@pulse-it-server


 

Create a folder to hold the installer

$ mkdir pulse-it


 

Copy the installation folder

Copy pulse-it -x.x.x folder into /home/ait/pulse-it

 


Run the installer

$ sudo ./setup.py --online –-with_python


CLI Options

OptionDescription

--upgrade

Upgrade app and system packages
--reinstallRedo the install process.
--uninstallDe-install the product. (Please note the db will be erased)


--init_databaseReinitialize Pulse-IT database
--no-postgresqlInstall product without installing postgres db
--onlineTells the installer to use yum configured repository
--pip-localeTells the installer to use local pip package
--pip-trusted-hostsSet the host:port pairs passed as params (separated by comma) as trusted, even though it does not have valid or any HTTPS.
--pip-index-urlSet a specific pip url for installation
--pip-proxyLet you define the network proxy to use when pip is running. URL should be like this: [user:passwd@]proxy.server:port
--sslInstall the server in https. You need to specify where the certificated are located in /etc/nginx/sites-available/embrace-app-https.conf




Upgrading Pulse-IT-3.0 from a Pulse-IT-3.0 version

Connect

If not connected, login into your server

$ ssh ait@pulse-it-server


 

Copy the upgrade folder

Copy pulse_it -x.x.x folder into /home/ait/pulse-it

 

Run the installer

$ sudo ./setup.py -–online --upgrade



Upgrading Pulse-IT-3.0 from a previous version

Before starting

Make a backup of your Postgresql db or if your are using a VM, save a snapshot before starting the upgrade


Connect

If not connected, login into your server

$ ssh ait@pulse-it-server


 

Prepare the installation

Copy the installer to your favorite location


Check the disk space available. 

The upgrade process will migrate your database from Postgresql-9.0. to Postgresql-12. This operation is automatic and require at least twice the size of the database of free space.


Run the installer

$ sudo ./setup.py -–online --upgrade

Uninstalling Pulse-IT-3.0

Beware that that uninstalling Pulse-IT will erase your database. 


Connect

If not connected, login into your server

$ ssh ait@pulse-it-server 
$ cd pulse-it-x.x.x


 

Run the uninstaller

$ sudo ./setup.py --uninstall