Sametime: Configurando o Sistema Operacional para o Sametime Mux
Ajustes no Sistema Operacional
Ajustando o /etc/hosts
Realize os Ajustes do arquivo /etc/hosts
/etc/sysctl.conf
Adicionar
# Disable response to broadcasts. # You don't want yourself becoming a Smurf amplifier. net.ipv4.icmp_echo_ignore_broadcasts = 1 # enable route verification on all interfaces net.ipv4.conf.all.rp_filter = 1 # enable ipV6 forwarding # net.ipv6.conf.all.forwarding = 1 # increase the number of possible inotify(7) watches fs.inotify.max_user_watches = 65536 # avoid deleting secondary IPs on deleting the primary IP net.ipv4.conf.default.promote_secondaries = 1 net.ipv4.conf.all.promote_secondaries = 1 ############# # Inicio das Configuracoes net.ipv4.ip_forward = 0 net.ipv4.conf.default.accept_source_route = 0 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 net.ipv4.tcp_fin_timeout = 15 net.core.netdev_max_backlog = 3000 net.ipv4.tcp_keepalive_intvl = 15 net.ipv4.tcp_keepalive_probes = 5 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_keepalive_time = 1800 net.ipv4.ip_local_port_range = 1024 65000 # disable SYN cookies # Note: make sure this syncookies=1 item is commented out (it will already exist in this file). net.ipv4.tcp_syncookies=0 # increase the TCP backlog to increase simultaneous new connection creation abilities net.ipv4.tcp_max_syn_backlog = 200000 net.core.somaxconn = 200000 # increase and recycle TCP connection blocks for reuse in an optimal manner net.ipv4.tcp_max_tw_buckets = 2000000 # disable Selective Acknowledgements for 1GBps networking net.ipv4.tcp_sack = 0 net.ipv4.tcp_dsack = 0 net.ipv4.tcp_timestamps = 0 #increase kernel memory by doubling the default (check your system first!) #the value of this item will be related to the memory in your system vm.min_free_kbytes = 393216 vm.swappiness = 0 # manage the TCP network buffer sizings net.core.netdev_max_backlog = 200000 ############# # Fim das Configuracoes
Referências: <ref>ITuning IBM System x Servers for Performance</ref> , <ref>IBM Sametime wiki : Tuning : Sametime 8.5.2 Tuning Guide</ref>
Criando o usuário do Sametime no Sistema Operacional
Utilize o comando para criar o usuário e grupo utilizado pelo Sametime Server
Com root execute:
1) Crie o grupo
# groupadd stmux
2) Crie o usuário
# useradd -m -g stmux -d /opt/sametimemuxdata stmux
3) Defina uma senha
# passwd stmux
Altere o Limite de Arquivos Abertos
Edite o arquivo /etc/security/limits.conf e adicione as seguintes entradas
stmux soft nofile 65535 stmux hard nofile 65535
reinicie o servidor
Referência <ref>Increasing the number of open files on a Sametime server running on Linux</ref>
Continuar no artigo
Continuar no artigo Instalando o IBM Sametime no Linux