IBM Edge Server: Configurando o Cache em Disco: Difference between revisions

From Wiki
Line 55: Line 55:




[[Category:Edge]]
[[Category:Edge Caching Proxy Server]]
[[Category:Tunning IBM Connections]]
[[Category:IBM Connections]]

Revision as of 19:36, 4 February 2013

Criar uma nova partição

Parar o edge server

service ibmproxy stop

Carregar o módulo raw na memória

# modprobe raw

Em Linux, antes de executar o htcformat, você deve primeiro executar o comando raw para associar o raw device path com a partição

# raw /dev/raw/raw1 /dev/sdb1

Maiores detalhes, executar o comando "man 8 raw"

Formatar a partição

htcformat /dev/raw/raw1 -blocksize 8192

Iniciar o edge server

service ibmproxy start


Configurar o suporte a Disk Cache no Edge

Parar o edge server

service ibmproxy stop

Ir para o diretório de configuração

/opt/ibm/edge/cp/etc/en_US

Adicionar as variáveis no arquivo ibmproxy.conf

CacheDev /dev/raw/raw1
BlockSize 8192

Salve e feche o arquivo

Iniciar o edge server

service ibmproxy start


Ver também