ELMA365 On-Premises > ELMA365 On-Premises Standard / Administering ELMA365 Standard

Administering ELMA365 Standard

Update certificates for Kubernetes cluster

During the update of ELMA365 Standard, automatic updating of Kubernetes cluster certificates is performed. You can also manually initiate the update by executing the installation command with the --renew-certs-k8s key.

sudo ./elma365-installer-docker.sh --renew-certs-k8s

Reinstall ELMA365 Standard

To reinstall ELMA365, run the installation script with the --reset key.

For online installation:

sudo ./elma365-installer-docker.sh --reset

For offline installation without internet access:

sudo ./elma365-installer-docker.sh --offline --reset

начало внимание

When running the script, all data stored in ELMA365 Standard (KinD) will be deleted.

конец внимание

Clean the node for subsequent installation of ELMA365 Standard

To clean the host node for subsequent installation of ELMA365 Standard (KinD), run the installation script with the --delete key:

sudo ./elma365-installer-docker.sh --delete

Diagnostics and troubleshooting

  1. Collect diagnostic information.

начало внимание

For accurate collection of network status diagnostic information, the script requires the net-tools utility.

конец внимание

To collect diagnostic information about the system status, run the installation script elma365-installer-docker.sh with the --diag key:

sudo ./elma365-installer-docker.sh --diag

After starting, the installation script will determine the version of the installed ELMA365 Standard (KinD) and offer a method to save diagnostics.

To continue with the diagnostics collection, enter one of the options:

[S]. Collect and upload diagnostic information to the ELMA365 server.

The installation script will return a link to download the diagnostic information. Example link: https://nc.elma365.tech/iuq1fg.txt.

[F]. Collect and save to a file on a local disk.

The installation script will provide a path to the file with diagnostic information, for example, /root/elma365-2023.2.15/elma365-diagnostic-20230410-142556.

The installation script will then collect the diagnostic information.

  1. Generate logs and check service status.

To get logs from application services, run the command:

docker exec elma365 kubectl logs -l tier=elma365 --all-containers > logs.txt

To view logs from a specific service, replace [name] with the desired service:

начало примера

Example:

docker exec elma365 kubectl logs -l app=main

конец примера

To view logs in real-time, add the -f option.

начало примера

Example:

docker exec elma365 kubectl logs -l app=main -f

конец примера

To check the status of services, run the command:

docker exec elma365 kubectl get pod

The result will be displayed in a table format with a list of services. Services should be in the Running status, and tasks should be in the Completed status.

List of available commands for elma365-installer-docker.sh

To view the list of all available commands, run the installation script with the key --help:

sudo ./elma365-installer-docker.sh --help

Доступные команды:

--new-config

Create a new installation configuration file: config-elma365.txt

--diag

Collect diagnostic information

--install

Installing ELMA365

--offline

Offline installation of ELMA365

--upgrade

Update ELMA365

--stop

Stop ELMA365 application

--start

Start ELMA365 application

--dump

Database backup to /backup/ELMA365 folder with version and timestamp

--restore

Restore the database backup from the archive

--reset

Reinstall ELMA365 (all data will be deleted)

--delete

Delete ELMA365 (all data will be deleted)

Found a typo? Highlight the text, press ctrl + enter and notify us