13.1.5 Additional installation steps 13.1.5.1 Firewall Settings For the normal operation of PVSR, the following connections need to be enabled on the firewall between the system components: From | To | Port | PVSR servers (servers running all modules, including the WEB interface and the data collector components too) | PVSR Oracle server | Oracle SQL*Net (by default TCP 1521) | Server running the PVSR SQLLDR component | PVSR data collector servers | SSH and SFTP (TCP 22) | machine running the PVSR application manager component | PVSR servers (servers running all modules, including the WEB interface and the data collector components too) | SSH (TCP 22) | PVSR data collector servers | Threshold processing module for the data collector | The UDP or TCP port set for the threshold processing module | User machines | PVSR WEB server | HTTP and/or HTTPS (by default TCP 80 and 443) | PVSR WEB server | PVSR data collector servers | SSH (TCP 22) | PVSR WEB server | PVSR WEB server | The port of the chart server, by default TCP 4444 The chart server module should always be located on a WEB server, so the connection need to be made only on the local machine | Machines using SOAP interface | PVSR SOAP module server | Port of the SOAP server, by default TCP 8082 | Equipments sending SNMP Traps | PVSR Trap/Syslog module server | SNMP Trap port (by default UDP 162) | Equipments sending Syslogs | PVSR Trap/Syslog module server | Syslog port (by default UDP 514) | PVSR application manager and SQLLDR module server | SMTP server | SMTP port (TPC 25) | PVSR SNMP, IPSec, Cisco QoS, Cisco PING and Cisco SAA measurement server | Measured equipments | SNMP port (UDP 161) For Cisco PING with read-write, and for Cisco SAA with optional read-write permission | PVSR Jaga measurement server | Measured equipments | ICMP Echo (ping) | PVSR Unix/Linux measurement server | Measured equipments | SSH (TCP 22) | PVSR Oracle measurement server | Measured equipments | Oracle SQL*Net (by default TCP 1521) | Measured equipments | PVSR Netflow measurement server | UDP 9996 | PVSR synthetic transactions measurement server | Measured equipments | Depending on the measurements: - HTTP (by default n TCP 80)
- HTTPS (by default TCP 443)
- DNS (UDP 53)
- SMTP (TCP 25)
- POP3 (TCP 110)
- BOOTPS (UDP 67)
- NTP (UDP 123)
- SSH (TCP 22)
- TCP measurements: the given TCP port
- RADIUS (UDP 1812 or UDP 1645)
- LDAP (by default TCP 389)
| 13.1.5.2 Database sizing As the first step of the installation the database schema needs to be created in the Oracle database. The define.sql file contains the necessary parameters, which can be divided into two parts: tablespace configuration and table and partition size configuration. Tablespace The application can optionally use two separate tablespaces: one for the configuration tables (pvsr_conf_data_tablespace) and one for the measurement data (pvsr_res_data_tablespace). The measurement data is stored in so called IOTs, i.e. in Index Organized Tables, which means that there is no separate index and data storage; therefore there is no index tablespace either. Two configuration options are supported for tablespaces (for more detail, see Oracle 9i Database Concepts): - locally managed with uniform extent sizing
- dictionary managed with the same INITIAL and NEXT values
In both cases the data storage units of the database – the so called extents – will be of the same size. This is important for the application in order to put the smallest load on the database when the optionally freed storage, after the deletion of measurement data, is reallocated. The above mentioned uniform extent size fundamentally determines the size of the tables and partitions. Based on the tablespace and the use of the optional partitioning, we recommend the following: - the tablespace containing the configuration: the amount of data stored here is insignificant compared to the size of tables storing the measurement data, therefore low values (such as 32-64K) can be used
- tablespace storing the measurement data:
- when partitioning is used: in order to create the smallest number of new extents, choose the greatest common divisor of the planned partition sizes. Warning: the data of only a single partition is stored in an extent, therefore unrealistic large extent sizes will result in wasted space that the application will not be able to use. After the initial installation it is possible to specify on a table-by-table basis that the application should create further partitions in another tablespace. If we do not wish to use one of the options (such as threshold alarms), then it is recommended to create those in a separate tablespace with small size. Typical values: 128-512K
- when partitioning is not used: in this case we can safely specify large values as well, since no multiple-use regions are created. Typical value: 1M-10M
Table or partition sizes The meaning of the following parameters depends on whether the application is used with partitions or normal tables: - For normal tables: The parameters specify the initial sizes of the table
- For partitioned tables: The parameters specify the default size of newly created partitions. The PVSR_RES_PART table is filled up during installation with these parameters, and new partitions are created subsequently based on the data stored in this table. If we wish to modify the values specified in the define.sql file after the installation, then the values of the MINEXTENTS_NUMBER and TBS_NAME parameters need to be changed in the row corresponding to the table whose name is stored in the TABLE_NAME column.
Since in the partitioned case new partitions are created at certain time intervals, therefore the sizing should be chosen accordingly, striving not only for the creation of minimally fragmented tables, but also for minimizing the size of the wasted partition regions. The time intervals in the following table and in the define.sql file are specified in hours. For each table there is a parameter named …_minext, which controls the number of extents reserved initially. Name of parameter | Interval | Description | mon_res | 4 | The table storing the detailed measurement data, one measurement takes up ~40 bytes of space if direct loading is used, and ~52 bytes if not direct loading is used to load the data | mon_res_arch | 4 | The archive table storing the detailed measurement data to which the measurements are moved after a certain number of days specified in the MOVE_MON_RES configuration parameter, one measurement takes up ~40 bytes of space | mon_res_daily | 24 | The table containing the hourly averages computed from the detailed measurement data (controlled by the “keep collected data for days” parameter in the user interface). One measurement takes up ~40 bytes of space | mon_res_daily_rep | 24 | For each measurement one gets stored here daily, ~80 bytes space per measurement | mon_res_viol | 24 | One record is created for each threshold violation, ~75 bytes per violations plus ~40 bytes for each measurement contained in the threshold expression | mon_res_rep | 4 | One value is created for every report variable and for every site and equipment (if the latter is also specified) with the frequency that is specified for the given report variable, if the given variable occurs under the site or equipment. One entry takes up ~55 bytes of space | mon_res_group_daily_rep | 24 | One entry is created for every report variable and for every site or equipment daily, if the given variable occurs under the given site or equipment. One entry takes up ~260 bytes of space | |