shutdownagent for vmware esx

Upload: moy7259405

Post on 21-Feb-2018

232 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/24/2019 ShutdownAgent for VMware ESX

    1/3

    All technical information contained in this document is the exclusive property of DELTA Electronics, Inc. and may neither

    be used nor disclosed without its prior written consent.

    Delta SNMP ShutdownAgentShutdownAgent Installation and Configuration Guide

    For VMware vSphere ESX 4.1 Server

    1. Preparation

    ESX 4.1 Server installed

    Delta UPS with SNMP card

    Download ShutdownAgent Linux version ro! htt"#$$%&.1'%.'('.14)the ile na!e is

    *sn!"+sa+linux.tar,

    2. Install ShutdownAgent in ESX server

    '.1. -rans!it the *sn!"+sa+linux.tar, to the ESX server through S-P /0 ileilla -P

    2lient or other S-P client.

    '.'. Login to the ESX server /0 0our avorite SS3 clientPutt05.

    '.(. 2hange to root account.

    su root

    '.4. 2o"0 the *sn!"+sa+linux.tar, to $t!".

    cp snmpsalinu!.tar "tmp

    '.%. 6oto the $t!" director0.

    cd "tmp

    '.7. Extract the sn!"+sa+linux.tar ile.

    tar !v# snmpsalinu!.tar

    '.8. Start to install ShutdownAgent.

    ."install

    '.9. ollow the instruction to co!"lete the installation.'.&. Ater installation: the ShutdownAgent should install in the $usr$local$u"sagent

    director0.

    $. %on#igure the ESX server &irewall

    (.1. ;"en the UDP 17' "ort or SNMP tra".

    "usr"s'in"es!c#g#irewall o 1(2)udp)in)*SNMP+,-AP*

    .

    Install /Mware ,ools #or 0uest S-o shutdown the guest ;S ro! ESX server: itindows o"erating s0ste!.

    Select the #ollowing menu 0uestInstall"pgrade /Mware ,ools

    3. %on#igure ShutdownAgent #or ESX

    ?ecause there is no gra"hical user interace or the ESX: the end custo!ers have to

    edit the Agent.ini to conigure the ShutdownAgent.

    %.1. 6oto the installed director0 o ShutdownAgent.

  • 7/24/2019 ShutdownAgent for VMware ESX

    2/3

    All technical information contained in this document is the exclusive property of DELTA Electronics, Inc. and may neither

    be used nor disclosed without its prior written consent.

    Delta SNMP ShutdownAgentShutdownAgent Installation and Configuration Guide

    For VMware vSphere ESX 4.1 Server

    cd "usr"local"upsagent

    %.'. ;"en and edit the Agent.ini.

    vi Agent.ini

    %.(. -he ile or!at is#

    4Networ56

    -0"e@SNMP

    P Address@18'.17.19'.89

    P Address'@

    SNMP Port@17'

    Port Nu!/er@(''4

    UPS D@1

    4Shutdown6

    Ena/le Power ail@Bes

    Dela0 o Power ail@())

    Ena/le ?atter0 Low@Bes

    Dela0 o ?atter0 Low@()

    Auto Save@No

    2o!!and@7es

    2o!!and -i!e@(8

    2o!!and ile@"usr"local"upsagent"%ommand.ESX

    4Noti#ication6Ena/le@Bes

    Period@7)

    9SNMP %ard :e' Page;

    %.4. Please esti!ate the shutdown dela0 ti!e or all o the guest ;Ses which run in

    the ESX server then ill in the %ommand ,imeield and set the %ommandield

    -he P address o the SNMP card

    Ena/le Power ail Shutdown

    ;S Shutdown Dela0 in seconds

    Ena/le ?atter0 Low Shutdown

    ;S Shutdown Dela0 in seconds

    Ena/le Cun an External Scri"t

    Cun the Scri"t /eore Shutdown

    in seconds

    -he Scri"t ile Na!e

  • 7/24/2019 ShutdownAgent for VMware ESX

    3/3

    All technical information contained in this document is the exclusive property of DELTA Electronics, Inc. and may neither

    be used nor disclosed without its prior written consent.

    Delta SNMP ShutdownAgentShutdownAgent Installation and Configuration Guide

    For VMware vSphere ESX 4.1 Server

    to Bes.

    %.%. >e have /uilt the %ommand.ESX scri"t ile to shutdown the guest ;Ses which

    run in the ESX server. -his scri"t shutdown the running guest o"erating s0ste!

    seuentiall0. -o shutdown the guest ;Ses: this ile na!e !ust /e ill in the

    %ommand &ileield.

    %.7. Ater the Agent.ini has /een edited: "lease save and uite the vi editor.

    %.8. Now we have to restart the ShutdownAgent dae!on to reload the Agent.ini

    coniguration ile. irstl0: we sto" it.

    ."upsagentd stop

    %.9. -he start it again.

    ."upsagentd start

    (.

    %on#igure ShutdownAgent and SNMP %ard

    7.1. ;n the SNMP device side. Users have to o"en the SNMP -ra" we/ "age: ill the

    *-arget P, address or ESX server and *2o!!unit0, string. Select *nor!ation,

    ro! the Event Level o"tion and *Delta=4, ro! -ra" -0"e.