Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

A Shared Block
hiddentrue


Metadata list
hiddentrue
|| Device | SoftWLC |
|| DocMainTitle | Руководство администратора |
|| DocTitle3 | Eltex PCRF |
|| fwversion | 1.8 |
|| issueDate | 26.10.2017 |


Description

The module performs the following functions:

...

Подсказка
The console is available at the following link: 'http://<ip address pcrf>:7070/pcrf'.


Service management

Operation

Command

Response

Status check

service eltex-pcrf status



Подсказка

Service is running

* eltex-pcrf process is running


Предупреждение
  • Service is waiting

* eltex-pcrf process is not running


Service start

service eltex-pcrf start



Подсказка

Service has been started 

* Starting eltex-pcrf


Примечание

The service is already running 

* eltex-pcrf is already running


Service stop

service eltex-pcrf stop




Подсказка

Service has been stopped successfully

* Stopping eltex-pcrf


Примечание

Service has not been stopped, as it was not started

* eltex-pcrf is not running


Service restart

service eltex-pcrf restart




Подсказка

Service has been restarted successfully

* Stopping eltex-pcrf

* Starting eltex-pcrf


* eltex-pcrf is not running

* Starting eltex-pcrf





Configuration

/etc/default/eltex-pcrf


Contains basic parameters for application launch. Default configuration example:

...

Parameter

Description

Location of java binary JAVA=/usr/bin/java


Java machine location

JAVA_INIT_HEAP=256m JAVA_MAX_HEAP=512m


The amount of memory allocated for application operation



/etc/eltex-pcrf/eltex-pcrf.json


Блок кода
{
  "auth.address" : "0.0.0.0",
  "auth.port" : 31812,
  "auth.mac.open.timeout.s" : 3600,
  "auth.mac.welcome.service" : "WELCOME",

  "acct.address" : "0.0.0.0",
  "acct.ports" : [1813, 31813],

  "lease.saver.address" : "0.0.0.0",
  "lease.saver.port" : 4381,

  "aaa.instances" : 5,
  "aaa.host" : "127.0.0.1",
  "aaa.secret" : "testing123",
  "aaa.auth.port" : 1812,
  "aaa.acct.port" : 1813,
  "aaa.rest.port" : 7080,
  "aaa.timeout" : 10,
  "aaa.attempts" : 1,

  "web.monitoring.port" : 7070,

  "cluster.enable" : false,
  "cluster.eventBusPort" : 5801,

  "radius" : {
    "url" : "jdbc:mysql://localhost/radius?useUnicode=true&characterEncoding=utf8&relaxAutoCommit=true&connectTimeout=5000&autoReconnect=true",
    "user" : "javauser",
    "password" : "javapassword",
    "max_pool_size" : 16
  },
  
  "mongo.pcrf" : {
    "connection_string": "mongodb://localhost:27017/pcrf?waitQueueMultiple=500&connectTimeoutMS=10000&socketTimeoutMS=0",
    "db_name": "pcrf"
  },

  "mongo.ott" : {
    "connection_string": "mongodb://localhost:27017/ott?waitQueueMultiple=500&connectTimeoutMS=10000&socketTimeoutMS=0",
    "db_name": "ott"
  },

  "session.storage" : {
    "session.check.period.s" : 300,
    "unauth.store.time.s" : 600,
    "interval.number.expired" : 3,
    "min.interval.s" : 45,
    "default.interval.s" : 600
  },

  "bras.coa" : {
    "coa.timeout" : 10,
    "coa.attempts" : 1,
    "remote.coa.port" : 3799,
    "executor.size" : 100,
    "log.clean.period.s" : 600,
    "log.store.period" : {
      "period" : 14,
      "unit" : "D"
    }
  },

  "sql.ems" : {
    "url" : "jdbc:mysql://localhost/eltex_ems?useUnicode=true&characterEncoding=utf8&relaxAutoCommit=true&connectTimeout=5000&autoReconnect=true",
    "user" : "javauser",
    "password" : "javapassword",
    "max_pool_size" : 16
  },

  "sql.wireless" : {
    "url" : "jdbc:mysql://localhost/wireless?useUnicode=true&characterEncoding=utf8&relaxAutoCommit=true&connectTimeout=5000&autoReconnect=true",
    "user" : "javauser",
    "password" : "javapassword",
    "max_pool_size" : 16
  },

  "ngw" : {
    "host" : "localhost",
    "port" : 8040
  },

  "language" : "en",

  "radius.nbi" : {
    "wdsl.url" : "http://localhost:8080/axis2/services/RadiusNbiService?wsdl",
    "username" : "admin",
    "password" : "password",
    "connection.timeout.ms" : 30000,
    "request.timeout.ms" : 120000
  },

  "tariffs.update.interval" : {
    "interval" : 1,
    "unit" : "hours"
  }

}

...

Parameter

Description

Authorization settings


auth.address

Server interface expecting authorization requests

auth.port

Server port receiving authorization requests

auth.mac.open.timeout.s

Default "open authorization" timeout which is used if not redefined in portal settings

auth.mac.welcome.service

Default welcome service which is used if not redefined in tariff settings

Accounting settings


acct.address

Server interface expecting accounting

acct.port

Server port receiving accounting packets

Settings for Wi-Fi users authorization via BRAS


aaa.instances


aaa.host

Eltex.RADIUS service address

aaa.secret

RADIUS key

aaa.auth.port

The port to which authorization requests are sent

aaa.acct.port

The port to which accounting packets are sent

aaa.rest.port

The port to exchange service commands with Eltex.RADIUS

aaa.timeout

Response timeout

aaa.attempts

The number of packet sending attempts

The monitoring port


web.monitoring.port

The port for console operation and monitoring

Clustering


cluster.enable

Enabling clustering

cluster.eventBusPort

The port for data exchange with cluster nodes

MySQL database connection settings ('radius', 'eltex_ems', 'wireless')


url

MySQL database connection string

user

The login for database connection

password

The password for database connection

max_pool_size

The maximum number of connections

Mongo database connection, PCRF and OTT collection


connection_string

URL for Mongo connection

db_name

The name of the database to which the connection is made to (duplicate the content of URI)

Mongo active session parameters


session.check.period.s

Checking period of stored sessions relevance. If a session is closed during the check period, or if its storage time is up, it will be deleted from a database.

unauth.store.time.s

Storage period of unauthorized BRAS users' sessions.

interval.number.expired

The number of missed accounting intervals, upon the exceeding of which a session is considered to be "hanging" and should be closed.

min.interval.s

The minimum accounting interval that is used to calculate hanging sessions.

default.interval.s

The default accounting interval that is saved to a session right after its creation.

CoA sending parameters


coa.timeout

Command response timeout

coa.attempts

The number of resendings

remote.coa.port

The port to which commands will be sent

executor.size

The number of commands executed simultaneously

log.store.period

Results storage time

log.store.period

Command execution logs storage time

NGW interaction parameters


host

Notification GW service's address

port

The port for receiving notification requests

Setting a language for error messages


language

The language used for logging, "en" by default. "ru" value can be selected as well, but not all the logs are translated to Russian.

Setting NBI service connection


wdsl.url

The address for NBI service requests

username

Account login

password

Account password

connection.timeout.ms

Service connection timeout

request.timeout.ms

Service request timeout

Tariff update interval


interval

Tariff update interval

unit

Measurement units ("hours" by default)


/etc/eltex-pcrf/hazelcast-cluster-network.xml

This file contains configuration of Hazelcast cluster that is used for PCRF nodes grouping.

...