Difference between revisions of "Variables of Global Configurations(Variable)"

 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
imRAD 시스템에서 사용하는 서비스 환경 변수 목록 입니다.<br />
+
It is the variables that are using in the imRAD services. If the Dynamic is yes, the service applies it in a few seconds. In other words, you don't need to restart the service after configuring variables. If the Dynamic is no, you must restart the service after configuring it.
Dynamic이 yes인 경우 설정값을 변경하면 서비스 재시작 없이 적용되며 no인 경우 서비스를 재시작 해야 적용됩니다.
 
  
====== entid_from_hostname ======
+
====== check_reserv_ip_at_renew======  
* '''설명:''' 1로 설정하면 호스트 이름을 통해 제조사 코드를 수집합니다.
+
* '''Description:''' If you set it to "yes", If the DHCP service receives a RENEW and an IP address exists that is not same to the request IP address in the RENEW message, the DHCP service responds with NAK(DHCPv4) or replies with "NoBinding" error to assign the reserved IP address to have a client is assigned the reserved IP address. If an administrator reserves a different IP address for the same host after the host was assigned an IP address, this case may occur.
* '''대상 서비스:''' dhcpv4, dhcpv6  
+
* '''Target Service:''' dhcpv4, dhcpv6  
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' yes | no
+
* '''Range:''' yes | no
* '''기본 값:''' no
+
* '''Default Value:''' no
* '''값 형식:''' boolen
+
* '''Data Type:''' string
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
  
====== postdhcp_success======
+
====== dhcpv4_dbpool======  
* '''설명:''' 1로 설정하면 임대 성공에 대해서도 DHCP 처리 이력을 생성 합니다.
+
* '''Description:''' It is the number of database pools. we recommend the default because the service increases the size if necessary.
* '''대상 서비스:''' dhcpv4, dhcpv6
+
* '''Target Service:''' dhcpv4  
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' yes | no
+
* '''Range:''' 1 or more
* '''기본 값:''' no
+
* '''Default Value:''' 2
* '''값 형식:''' boolen
+
* '''Data Type:''' numeric
 +
* '''Dynamic:''' no
 +
 
 +
====== dhcpv4_decline_age ======
 +
* '''Description:''' It is the time in seconds to change the status from "decline" to "avail" of the declined IP addresses.
 +
* '''Target Service:''' dhcpv4
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' 300 ~ 7200
 +
* '''Default Value:''' 1200
 +
* '''Data Type:''' numeric
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
  
====== check_reserv_ip_at_renew======  
+
====== dhcpv4_expire_check_intv======  
* '''설명:''' 1로 설정하면 임대 갱신 할 때 갱신 할 주소와 예약 주소가 다르면 NAK(DHCPv4) 또는 NoBinding 상태코드(DHCPv6)를 전송하여 예약된 주소를 할당 받게합니다. 단, 클라이언트는 새로운 주소를 할당 받아야하므로 네트워크 연결이 일시적으로 단절 될 수 있습니다.
+
* '''Description:''' It is the interval in seconds to check the lease expiration.
* '''대상 서비스:''' dhcpv4, dhcpv6
+
* '''Target Service:''' dhcpv4  
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' yes | no
+
* '''Range:''' 30 ~ 600
* '''기본 값:''' no
+
* '''Default Value:''' 600
* '''값 형식:''' boolen
+
* '''Data Type:''' numeric
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
  
====== dhcpv4_expire_check_intv======  
+
====== dhcpv4_socket_rcvbuf======  
* '''설명:''' 임대 만료를 확인 하는 주기입니다.
+
* '''Description:''' It is the receiving buffer size of the socket.
* '''대상 서비스:''' dhcpv4  
+
* '''Target Service:''' dhcpv4  
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' 30 ~ 2,147,483,648
+
* '''Default Value:''' 200k
* '''기본 값:''' 600
+
* '''Data Type:''' numeric
* '''값 형식:''' (sec)
+
* '''Dynamic:''' no
 +
 
 +
====== dhcpv4_socket_sndbuf======
 +
* '''Description:''' It is the sending buffer size of the socket.
 +
* '''Target Service:''' dhcpv4
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Default Value:''' 200k
 +
* '''Data Type:''' numeric
 +
* '''Dynamic:''' no
 +
 
 +
====== dhcpv6_dbpool======
 +
* '''Description:''' It is the number of database pools. we recommend the default because the service increases the size if necessary.
 +
* '''Target Service:''' dhcpv6
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' 1 or more
 +
* '''Default Value:''' 2
 +
* '''Data Type:''' numeric
 +
* '''Dynamic:''' no
 +
 
 +
====== dhcpv6_decline_age ======
 +
* '''Description:''' It is the time in seconds to change the status from "decline" to "avail" of the declined IP addresses.
 +
* '''Target Service:''' dhcpv6
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' 300 ~ 7200
 +
* '''Default Value:''' 1200
 +
* '''Data Type:''' numeric
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
  
 
====== dhcpv6_expire_check_intv======  
 
====== dhcpv6_expire_check_intv======  
* '''설명:''' 임대 만료를 확인 하는 주기입니다.
+
* '''Description:''' It is the interval in seconds to check the lease expiration.
* '''대상 서비스:''' dhcpv6  
+
* '''Target Service:''' dhcpv6  
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' 30 ~ 2,147,483,648
+
* '''Range:''' 30 ~ 600
* '''기본 값:''' 600
+
* '''Default Value:''' 600
* '''값 형식:''' 초(sec)
+
* '''Data Type:''' numeric
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
  
====== dhcpv4_decline_age ======  
+
====== dhcpv6_socket_rcvbuf======  
* '''설명:''' 임대 거부된 주소는 이 시간이 초과되면 임대 가능으로 변경됩니다.
+
* '''Description:''' It is the receiving buffer size of the socket.
* '''대상 서비스:''' dhcpv4
+
* '''Target Service:''' dhcpv6
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' 300 ~ 2,147,483,648
+
* '''Default Value:''' 200k
* '''기본 값:''' 1200
+
* '''Data Type:''' numeric
* '''값 형식:''' (sec)
+
* '''Dynamic:''' no
 +
 
 +
====== dhcpv6_socket_sndbuf======
 +
* '''Description:''' It is the sending buffer size of the socket.
 +
* '''Target Service:''' dhcpv6
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Default Value:''' 200k
 +
* '''Data Type:''' numeric
 +
* '''Dynamic:''' no
 +
 
 +
====== entid_from_hostname ======
 +
* '''Description:''' If you set it to "yes", the service reads the enterprise code from the hostname in the DHCP request. It MAY cause a little slow down the performance of the DHCP service.
 +
* '''Target Service:''' dhcpv4, dhcpv6
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' yes | no
 +
* '''Default Value:''' no
 +
* '''Data Type:''' string
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
 +
{{note|Note that the enterprise codes that can read in the DHCPv4 service are either "Samsung", "Apple", or "Microsoft".}}
  
====== dhcpv6_decline_age ======  
+
====== from_encoding ======  
* '''설명:''' 임대 거부된 주소는 이 시간이 초과되면 임대 가능으로 변경됩니다.
+
* '''Description:''' It is used to convert the hostname of dhcpv4 clients that have multibyte characters to utf8.
* '''대상 서비스:''' dhcpv6
+
* '''Target Service:''' dhcpv4
* '''값 설정 방식:''' lysh configuration
+
* '''How to configure:''' [[CLI - Services(daemons)]]
* '''값 범위:''' 300 ~ 2,147,483,648
+
* '''Range:''' The encode name(e.g. euc-jp)
* '''기본 값:''' 1200
+
* '''Default Value:''' euc-kr
* '''값 형식:''' (sec)
+
* '''Data Type:''' string
 +
* '''Dynamic:''' No
 +
{{note|If there are multiple clients that have set their hostname including multibyte characters, and they use operating systems with different characters set each other, only the hostnames encoded to the "from_encoding" may be converted to utf8.}}
 +
 
 +
====== logexp_dbpool ======
 +
* '''Description:''' It is the number of database pools. we recommend the default because the service increases the size if necessary.
 +
* '''Target Service:''' logexp
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' 1 or more
 +
* '''Default Value:''' 3
 +
* '''Data Type:''' numeric
 +
* '''Dynamic:''' no
 +
 
 +
====== lsyslog_priority ======
 +
* '''Description:''' It is the highest syslog priority to read. The lsyslog is the logs that were generated by the imRAD services.
 +
* '''Target Service:''' logexp
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' 1 ~ 6
 +
* '''Default Value:''' 5
 +
* '''Data Type:''' numeric
 +
* '''Dynamic:''' Yes
 +
 
 +
====== mysql_tls ======
 +
* '''Description:''' If you set it to "yes", All applications except for "radiusd" connect to the database using TLS.
 +
{{note | You can configure database TLS connection of "radius" from the management interface(RADIUS> Settings> General> RADIUS Database Configuration).}}
 +
* '''Target Service:''' dhcpv4, dhcpv6
 +
* '''How to configure:''' [[CLI - Database]]
 +
* '''Range:''' yes | no
 +
* '''Default Value:''' no
 +
* '''Data Type:''' string
 +
* '''Dynamic:''' no
 +
 
 +
====== postdhcp_success======
 +
* '''Description:''' If you set it to "yes", it saves all results after response but we recommend that only saving the errored results(default) is better because all results can cause a huge number of logs.
 +
* '''Target Service:''' dhcpv4, dhcpv6
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' yes | no
 +
* '''Default Value:''' no
 +
* '''Data Type:''' string
 
* '''Dynamic:''' yes
 
* '''Dynamic:''' yes
 +
 +
====== syslog_priority ======
 +
* '''Description:''' It is the highest syslog priority to read.
 +
* '''Target Service:''' logexp
 +
* '''How to configure:''' [[CLI - Services(daemons)]]
 +
* '''Range:''' 1 ~ 6
 +
* '''Default Value:''' 5
 +
* '''Data Type:''' numeric
 +
* '''Dynamic:''' Yes

Latest revision as of 16:27, 15 June 2021

It is the variables that are using in the imRAD services. If the Dynamic is yes, the service applies it in a few seconds. In other words, you don't need to restart the service after configuring variables. If the Dynamic is no, you must restart the service after configuring it.

check_reserv_ip_at_renew
  • Description: If you set it to "yes", If the DHCP service receives a RENEW and an IP address exists that is not same to the request IP address in the RENEW message, the DHCP service responds with NAK(DHCPv4) or replies with "NoBinding" error to assign the reserved IP address to have a client is assigned the reserved IP address. If an administrator reserves a different IP address for the same host after the host was assigned an IP address, this case may occur.
  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: yes
dhcpv4_dbpool
  • Description: It is the number of database pools. we recommend the default because the service increases the size if necessary.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: 1 or more
  • Default Value: 2
  • Data Type: numeric
  • Dynamic: no
dhcpv4_decline_age
  • Description: It is the time in seconds to change the status from "decline" to "avail" of the declined IP addresses.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: 300 ~ 7200
  • Default Value: 1200
  • Data Type: numeric
  • Dynamic: yes
dhcpv4_expire_check_intv
  • Description: It is the interval in seconds to check the lease expiration.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: 30 ~ 600
  • Default Value: 600
  • Data Type: numeric
  • Dynamic: yes
dhcpv4_socket_rcvbuf
  • Description: It is the receiving buffer size of the socket.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
dhcpv4_socket_sndbuf
  • Description: It is the sending buffer size of the socket.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
dhcpv6_dbpool
  • Description: It is the number of database pools. we recommend the default because the service increases the size if necessary.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: 1 or more
  • Default Value: 2
  • Data Type: numeric
  • Dynamic: no
dhcpv6_decline_age
  • Description: It is the time in seconds to change the status from "decline" to "avail" of the declined IP addresses.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: 300 ~ 7200
  • Default Value: 1200
  • Data Type: numeric
  • Dynamic: yes
dhcpv6_expire_check_intv
  • Description: It is the interval in seconds to check the lease expiration.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: 30 ~ 600
  • Default Value: 600
  • Data Type: numeric
  • Dynamic: yes
dhcpv6_socket_rcvbuf
  • Description: It is the receiving buffer size of the socket.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
dhcpv6_socket_sndbuf
  • Description: It is the sending buffer size of the socket.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
entid_from_hostname
  • Description: If you set it to "yes", the service reads the enterprise code from the hostname in the DHCP request. It MAY cause a little slow down the performance of the DHCP service.
  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: yes

Note that the enterprise codes that can read in the DHCPv4 service are either "Samsung", "Apple", or "Microsoft".

from_encoding
  • Description: It is used to convert the hostname of dhcpv4 clients that have multibyte characters to utf8.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: The encode name(e.g. euc-jp)
  • Default Value: euc-kr
  • Data Type: string
  • Dynamic: No

If there are multiple clients that have set their hostname including multibyte characters, and they use operating systems with different characters set each other, only the hostnames encoded to the "from_encoding" may be converted to utf8.

logexp_dbpool
  • Description: It is the number of database pools. we recommend the default because the service increases the size if necessary.
  • Target Service: logexp
  • How to configure: CLI - Services(daemons)
  • Range: 1 or more
  • Default Value: 3
  • Data Type: numeric
  • Dynamic: no
lsyslog_priority
  • Description: It is the highest syslog priority to read. The lsyslog is the logs that were generated by the imRAD services.
  • Target Service: logexp
  • How to configure: CLI - Services(daemons)
  • Range: 1 ~ 6
  • Default Value: 5
  • Data Type: numeric
  • Dynamic: Yes
mysql_tls
  • Description: If you set it to "yes", All applications except for "radiusd" connect to the database using TLS.

You can configure database TLS connection of "radius" from the management interface(RADIUS> Settings> General> RADIUS Database Configuration).

  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Database
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: no
postdhcp_success
  • Description: If you set it to "yes", it saves all results after response but we recommend that only saving the errored results(default) is better because all results can cause a huge number of logs.
  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: yes
syslog_priority
  • Description: It is the highest syslog priority to read.
  • Target Service: logexp
  • How to configure: CLI - Services(daemons)
  • Range: 1 ~ 6
  • Default Value: 5
  • Data Type: numeric
  • Dynamic: Yes