"All-in-One" Installation

Storware Endpoints server can be installed on a physical or virtual machine in the "All-in-one" configuration. To do this, the customized script can be executed. It configures the server all required server resources (dedicated disk partitions), installs IBM Spectrum Protect binaries and Storware Backup & Recovery Endpoints server binaries and the service.
The installation script can be found at the address:
Before you start the installation process please do the following tasks:
  1. 1.
    Install and configure a server according to the requirements of your environment (see the Sizing Guide section).
    It is recommended to install Storware Endpoints on different machine than Storware Backup & Recovery.
2. Log in as **root** user over **SSH** protocol to the machine you want to install Storware Endpoint server on. 3. Run `lsblk` command to check the system name for the disk you will use as a storage destination. 4. In this example, disk **sdb, sdc, sdd, sde, sdf** were added to the system platform.
```
[root@centos8 mapper]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 50G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
├─sda3 8:3 0 14.4G 0 part
│ ├─vg_system-lv--root 253:0 0 46.8G 0 lvm /
│ └─vg_system-lv_swap 253:1 0 1.6G 0 lvm [SWAP]
└─sda4 8:4 0 34G 0 part
└─vg_system-lv--root 253:0 0 46.8G 0 lvm /
sdb 8:16 0 100G 0 disk
sdc 8:32 0 35G 0 disk
sdd 8:48 0 70G 0 disk
sde 8:64 0 70G 0 disk
sdf 8:80 0 1T 0 disk
```
5. Prior to installation, make sure you've got access to repo.storware.eu site. 6. Now the system platform is ready to deploy Storware Endpoints server. To start server installation, copy and paste this command to the system console and press ENTER:
```
bash < <(curl -s https://repo.storware.eu/storware/endpoints-local-install.sh)
```
7. The installation process may take up to 30 minutes, but it depends on your system performance. 8. After the installation process is finished, you can check the Storware Endpoints server service status by using the following command:
```
[root@centos8 ~]# systemctl status sbr-endpoints-server
● sbr-endpoints-server.service - Storware Backup and Recovery for Endpoints
Loaded: loaded (/usr/lib/systemd/system/sbr-endpoints-server.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-05-17 10:19:28 CEST; 1 weeks 2 days ago
Process: 1263 ExecStart=/opt/storware/kodo-server/api-core/bin/start.sh (code=exited, status=0/SUCCESS)
Tasks: 153 (limit: 49440)
Memory: 1.8G
CGroup: /system.slice/sbr-endpoints-server.service
└─1316 java -XX:+DisableExplicitGC -XX:+UseG1GC -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=500 -Xmx2g -Xms2g -jar ../lib/kodo-server-api.jar --systemproperties ../config/payara.properties
May 17 10:18:26 centos8 systemd[1]: Starting Storware Backup and Recovery for Endpoints...
May 17 10:18:34 centos8 start.sh[1263]: Starting API (pid:1316).
May 17 10:19:28 centos8 systemd[1]: Started Storware Backup and Recovery for Endpoints.
```
9. You can also use the command below to check the version of the installed Storware Endpoints server:
```
[root@centos8 /]# curl -k https://localhost:8181/api/version
{"value":"5.0.4"}
```
10. If the Storware Endpoints server is up and running, you can continue with add endpoints to Storware Backup & Recovery