+ Responder ao Tópico



  1. #1

    Padrão Conf de servidor e Nobreak Inteligente

    boa tarde a todos, meu amigos eu estou com uma dúvida para configurar um Nobreak SU3000-NET em meu servidor DELL. O que acontece é que no manual não está falando niente e o suporte apenas me mandou baixar o pacote .rpm e seguir as instruções que são:

    Installing the PowerChute Business Edition Agent

    Launch the PowerChute Business Edition for Linux installer by entering
    the absolute path to the pbe_agent_redhat_jvm.bin file. This file can
    be found in the Linux directory on the CD-ROM. For example, if the
    CD-ROM is mounted to /mnt/cdrom, you would enter the following at the
    shell prompt...

    /mnt/cdrom/Linux/pbe_agent_linux_jvm.bin

    An RPM package of the PowerChute Business Edition Agent for Linux is also available. This is also found in the Linux directory on the CD-ROM.
    Install the package using the -i (install) option. For example, if the
    CD-ROM is mounted to /mnt/cdrom, you would enter the following at the
    shell prompt...

    rpm -i /mnt/cdrom/Linux/pbeagent-xxx.i386.rpm

    ...where xxx is the version of the product.
    This installs PowerChute Business Edition to the default directory,
    /opt/APC/PowerchuteBusinessEdition/Agent.

    This rpm also supports the --prefix option to allow you to specify the
    destination directory. For example,

    rpm -i /mnt/cdrom/Linux/pbeagent-xxx.i386.rpm --prefix /PCBE_Agent

    ...would install the PowerChute Business Edition Agent to he /PCBE_Agent
    directory.

    Once the RPM has been installed, you must configure the Agent for login
    information and the UPS type. This is handled by running the config.sh script located within the PowerChute Business Edition installation directory.

    This utility allows you to create an account name and password, and to configure the UPS by entering the communication type and communication port. After completing the configuration, you may start the PowerChute Business Edition Agent.

    pelo que entendi basta descompactar o devido arquivos .rpm e depois acessar e fazer as devidas alterações no arquivo de configuração config.sh ...

    pois bem, como seguro morreu de velho e eu não tenho onde testar antes a não ser diretamente em meu server, alguém já fez tal configuração?

  2. #2
    birinix
    Visitante

    Padrão NObreak APC

    Caro colega,
    estou esperando o nobreak chegar, possuo uma máqiona para testes...
    qquer coisa eu te aviso.

    PS. Qual o modelo do seu Nobreak?

  3. #3
    Visitante

    Padrão Conf de servidor e Nobreak Inteligente

    nobreak da APC SU3000NET

  4. #4

    Padrão Conf de servidor e Nobreak Inteligente

    este visitante aí sou eu :lol:

  5. #5

    Padrão Conf de servidor e Nobreak Inteligente

    com a ajuda dos amigos da underlinux eu consegui instalar a nhaca
    :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

    o problema agora é outro, eu não tenho idéia do que o seguinte arquivo faz, se algum puder me ajudar:

    #!/bin/sh
    if [ -z $1 ]
    then clear
    fi
    # config.sh for PCBE rpm install ver 6.3.
    # Configures PCBE 6.3.
    # Stop agent if running
    ps `cat /etc/pbeagent.pid 2>/dev/null | awk "{ print "'$1'" }"` > /dev/null
    if [ $? = 0 -a -e /etc/pbeagent.pid ]
    then
    PID=`cat /etc/pbeagent.pid 2>/dev/null | awk "{ print "'$1'" }"`
    kill $PID 1>/dev/null 2>/dev/null
    rm -f /etc/pbeagent.pid 1>/dev/null 2>/dev/null
    fi
    # Prepare to change parameters
    cd /opt/APC/PowerChuteBusinessEdition/Agent
    /bin/java/jre/1.4/bin/java -jar ./lib/pcbeconfig.jar $1 $2 $3 $4 $5

    teoricamente é o arquivo onde eu irei configurar um cliente e uma senha, além da conexão serial entre meu nobreak e meu server ... se alguém puder me explicar o significado destas linhas eu agradeço ...

  6. #6

    Padrão Conf de servidor e Nobreak Inteligente

    cara poderia pro ae que arquivos tem nesse diretorio : cd /opt/APC/PowerChuteBusinessEdition/Agent

    vlw

  7. #7
    guardian_metal
    Visitante

    Padrão Conf de servidor e Nobreak Inteligente

    Também tenho um no-break da APC e o melhor software para ele não é o Powerchute que vem em cd ou o que você pega no site da APC. Usa o apcupsd que é fácil de configurar e muito bom.

    Pega aqui: http://www.apcupsd.com

    No site tem uma boa documentação mas se tiver dúvidas, posta ae.


    Downloads: http://sourceforge.net/project/showf...group_id=54413

    Pega o rpm pra sua distro ou o tar.gz se quiser compilar da fonte.

  8. #8

    Padrão Conf de servidor e Nobreak Inteligente

    Cara esse software funciona tb em freebsd??serve so pra nobreaks da apc ou pra outros modelos tb??

    vlw

  9. #9

    Padrão Conf de servidor e Nobreak Inteligente

    qual o seu modelo de nobreak ?

    quando acabar a energia eu gostaria que 3 servers se desligassem, tem erro pra fazer isso usando este apcupsd ??

    eu estou usando RedHat 7.3, qual arquivo vc me indica pegar do apcupsd ?

    meu amigo, eu não entendo niente disso .,. se vc puder me passar um exemplo de como proceder para instalar e configurar eu agradeço.

    abraço

  10. #10
    guardian_metal
    Visitante

    Padrão Conf de servidor e Nobreak Inteligente

    1 - Fonte: http://www.apcupsd.com/systems.html

    Supported Systems
    apcupsd is designed to be able to run on any Posix system.
    Supported Systems
    apcupsd has been built and tested on:

    * RedHat
    * Solaris
    * FreeBSD

    In addition, apcupsd has been ported to the following systems:

    * Alpha
    * Caldera
    * Darwin
    * Debian
    * Engard
    * Gentoo
    * HP/UX
    * Mandrake
    * NetBSD
    * OpenBSD
    * OpenServer
    * SCO
    * Slackware
    * SuSE
    * Unifix
    * Win95/98/Me/XP/NT/2000

    2 - Red Hat 7.3: http://internap.dl.sourceforge.net/s...1.i386.rh7.rpm

    Instalação:

    rpm -ivh apcupsd-std-3.10.16-1.i386.rh7.rpm

    Edite o arquivo:

    vi /etc/apcupsd/apcupsd.conf

    Este arquivo (apcupsd.conf) é auto-explicativo.

    3 - Dá pra desligar outros servidores via NIS.

    4 - Não tenho certeza mas acho que funciona apenas com no-breaks da APC.

  11. #11

    Padrão Conf de servidor e Nobreak Inteligente

    valeu mesmo ... aqui eu vou usar a porta serial para fazer a comunicação do meu server com o nobreak ... se for possível vc poderia me enviar o arquivo de configuração que vc está usando ? é que como estou fazendo tudo direto no server por não ter onde testar antes .. eu queria me prevenir de todas as maneiras.

    abraço

  12. #12
    guardian_metal
    Visitante

    Padrão Conf de servidor e Nobreak Inteligente

    Minha configuração é USB, uma configuração serial rápida esta abaixo:

    vi /etc/apcupsd/apcupsd.conf

    UPSCABLE smart
    UPSTYPE smartups
    DEVICE /dev/ttyS0
    LOCKFILE /var/lock
    UPSCLASS standalone
    UPSMODE disable

    Teste sua instalação: http://www.apcupsd.com/3.10.x-manual...esting-Apcupsd

    Dica: Enquanto faz as configurações, deixe uma tela do terminal aberta com o seguinte:

    tail -f /var/log/messages

    pra ver as mensagens de erro e qualquer coisa posta aqui.

  13. #13

    Padrão Conf de servidor e Nobreak Inteligente

    fala fera ... estou realizando os testes e parei no apcacess status .. está retornando o seguinte:

    FATAL ERROR in apcacess.c at line 243
    tcp_open: cannot to server localhost on port 3551
    ERR=connection refused ...

    só que eu não encontro este arquivo apcacess.c em lugar nenhum .. a única diferença é que no site de teste está para deixar o NETSERVER como on e eu modifiquei para off conforme vc me indicou ...

  14. #14
    guardian_metal
    Visitante

    Padrão Conf de servidor e Nobreak Inteligente

    deixa off mesmo.. ele vai tentar ver o servidor nis e se não tiver, da esse erro mesmo.. da um: service apcupsd status e ve o q ele retorna, se não gerar erros é pq ta tudo funcionando. ae vc testa tirando o cabo serial e vendo o q aparece no log pra ver se o server e o apc estão se comunicando.