Jump to content
XPEnology Community

ronron1982

Rookie
  • Posts

    4
  • Joined

  • Last visited

Posts posted by ronron1982

  1. 24 minutes ago, v02max said:

     

     

    /usr/local/etc/rc.d/ is where you place the startup scripts

     

    so you need to create the S99HP-AMS.sh in that directory

     

    copy  the below to your buffer

     

    #!/bin/sh
    modprobe /volume1/Downloads/hp-ams/hpilo.ko
    sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

     

    then do

     

    sudo vi /usr/local/etc/rc.d/S99HP-AMS.sh

     

    then press  "SHIFT i" for insert

     

    and paste it into the file

     

    #!/bin/sh
    modprobe /volume1/Downloads/hp-ams/hpilo.ko
    sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

     

    then press ESC

    type the below to exit and save the file

    :wq!

     

    then  type  "sudo chmod 755 /usr/local/etc/rc.d/S99HP-AMS.sh"

     

    upon reboot it should run automatically

    Oh yeah , thanks so much Bro . ;)

  2. Thanks Again V02MAX, i've got it running well on my baremetal GEN8 System . 

    r2.thumb.jpg.d531f1c223dae7f2f2ed3660c9cf3620.jpg

    Also with my  (SAS HBA)  card. All Drivers both onboard and hba controller are visible. 

     

    r1.thumb.jpg.99b5fefe4c577ed49662fffbf2af0033.jpg

     

     

     

    i've tried to follow the instruction and  created a task on start up  . 

    ----

    more /usr/local/etc/rc.d/S99HP-AMS.sh
    #!/bin/sh
    modprobe /volume1/Downloads/hp-ams/hpilo.ko
    sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

    ----

    but with no luck , the system reported "file not found "s99hp-ams.sh", somthing like that. 

    then i try: (i replaced the path because i don't want to mess up with my existing folder.) 

    ----

    insmod /volume1/hp-ams/hp-ams/hpilo.ko
    modprobe /volume1/hp-ams/hp-ams/hpilo.ko
    LD_LIBRARY_PATH=/volume1/hp-ams/hp-ams/lib /volume1/hp-ams/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

    ----

    it success to run , but i am not sure what "s99hp-ams.sh" is. 

    i don't know what if this file cannot be loaded. 

     

    by the way, thanks again to V02MAX and everyone . 

     

     

  3. On 11/17/2019 at 5:41 PM, v02max said:

    Here is a working ams as above for "loader 1.03b with 3517 DSM 6.2.2"  please extract into /volume1/Downloads/ as above

     

    My previous zip contains some excess directories and duplicate library files; I have added the hpilo.ko for 918 / 3157 as labeled  (thanks IG-88)

    this is tested on my Microserver g8 running 2.70 ilo

     

    To start, execute:

    insmod /volume1/Downloads/hp-ams/hpilo.ko

    sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

     

    script something like:

     

    more /usr/local/etc/rc.d/S99HP-AMS.sh
    #!/bin/sh
    modprobe /volume1/Downloads/hp-ams/hpilo.ko
    sudo LD_LIBRARY_PATH=/volume1/Downloads/hp-ams/lib /volume1/Downloads/hp-ams/sbin/amsHelper -f -I0 -M1,5,14,16,18,23,99

     

     

    You'll see the below messages on both platforms if it is working, safe to ignore...

     

    NET-SNMP version 5.7.3 AgentX subagent connected
    error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
    Can't find directory of RPM packages

     

     

    System used: Microserver G8

     

    HP Ethernet 1Gb 2-port 361T Adapter1.52, 0x80000fc5, 1.1752.0Slot 1

    iLO2.70 May 07 2019System Board

    Intelligent Platform Abstraction Data0.00System Board

    Intelligent ProvisioningN/ASystem Board

    Redundant System ROMJ06 05/21/2018System Board

    Server Platform Services (SPS) Firmware2.2.0.31.2System Board

    System Programmable Logic DeviceVersion 0x06System Board

    System ROMJ06 04/04/2019System Board

    System ROM Bootblock02/04/2012

    hp-ams3517.zip 4.52 MB · 5 downloads

    Thanks Bro , I am using 918+ with 1.04b loader (dsm 6.2.2-24922 update 4) , is it safe to use this patch on my gen8 machine ? 

     

     

×
×
  • Create New...