debian¿¡ hpe ams ¼³Ä¡¹ýÀ» ¹®ÀÇ µå¸³´Ï´Ù. (¿¡·¯³»¿ë Æ÷ÇÔ)

azchoi   
   Á¶È¸ 1500   Ãßõ 0    

debian 전문가님 도와 주세요.....

 hpe ams (Agentless Management Service)를 설치해서 iLO5와 연동을 하고 싶어

어쩔수 없이 시놀 VMM에 debian을 올렸습니다....

 

HPE에 있는 기술 문서를 참고해서 따라 했는데 마지막단에 "Job for smad.service failed because the control process exited with error code."라는 에러가 뜨네요.....   어찌 해결해야 할까요???

[참고문서] https://downloads.linux.hpe.com/SDR/keys.html
 

1. 사전작업

# apt-get install curl

# apt-get update && apt-get install gnupg


2. mcp.list 수정

# nano /etc/apt/sources.list.d/mcp.list

"deb http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current non-free"  추가 후 저장


3. HPE public gpg keys 설치

# curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
# curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
# curl https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -


4. 그리고

# apt-get update


5. 그리고 마지막으로 amsd 설치

# apt-get install amsd


[결과]

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Ign:4 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current InRelease
Get:5 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current Release [6,053 B]
Get:6 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current Release.gpg [490 B]
Get:7 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current/non-free amd64 Packages [2,215 B]
Fetched 8,758 B in 2s (5,764 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
amsd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,180 kB of archives.
After this operation, 7,069 kB of additional disk space will be used.
Get:1 http://downloads.linux.hpe.com/SDR/repo/mcp bullseye/current/non-free amd64 amsd amd64 2.6.0-1701.2-debian11 [1,180 kB]
Fetched 1,180 kB in 3s (387 kB/s)
Selecting previously unselected package amsd.
(Reading database ... 32607 files and directories currently installed.)
Preparing to unpack .../amsd_2.6.0-1701.2-debian11_amd64.deb ...
Unpacking amsd (2.6.0-1701.2-debian11) ...
Setting up amsd (2.6.0-1701.2-debian11) ...
Created symlink /etc/systemd/system/multi-user.target.wants/amsd.service → /lib/systemd/system/amsd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/smad.service → /lib/systemd/system/smad.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ahslog.service → /lib/systemd/system/ahslog.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mr_cpqScsi.service → /lib/systemd/system/mr_cpqScsi.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cpqiScsi.service → /lib/systemd/system/cpqiScsi.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cpqScsi.service → /lib/systemd/system/cpqScsi.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cpqIde.service → /lib/systemd/system/cpqIde.service.
Job for smad.service failed because the control process exited with error code.
See "systemctl status smad.service" and "journalctl -xe" for details.
A dependency job for amsd.service failed. See 'journalctl -xe' for details.

A dependency job for cpqiScsi.service failed. See 'journalctl -xe' for details.

Processing triggers for man-db (2.9.4-2) ..

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
ÁÒ½´¾Æ 2023-03
service fail Àº ÇØ´ç ÇÁ·Î½ÃÁ®¿¡ °ü·ÃµÈ °«À¸·Î º¸À̸ç
Á¦ °æÇè»ó ....    journalctl -xe À¸·Î ¸Þ½ÃÁö ³ª¿Ã¶© ...  µð½ºÅ© ¼Õ»ó, ÆÄƼ¼Ç ¼Õ»óÀ϶§ ³ªÅ¸³³´Ï´Ù.
µð½ºÅ©´Â ¾ðÁ¦³ª ¸¶¿îÆ® ÇÒ¶§ ¸¶´Ù  ¹®Á¦°¡ ¾ø¾ú´ÂÁö¿ä?
µð½ºÅ© º¼·ý ¼Õ»óÀÌ ¾ø´ÂÁö È®ÀÎ Çغ¸¶ó´Â Àǹ̷Π¸Þ½ÃÁö¿¡¼­ ³ª¿À´Â °Í °°½À´Ï´Ù.
     
azchoi 2023-03
journalctl -xe °á°ú ÀÔ´Ï´Ù. vmm°¡»óÈ­·Î µð½ºÅ© ¼Õ»óÀº ¾Æ´Ñ°Í °°°í... µ¥ºñ¾ÈÀ» ¼ö½Ê¹ø ´Ù½Ã ¼³Ä¡ÇØ ºÁµµ ÀÌ·¯³×¿ä....

░░ The job identifier is 2000 and the job result is failed.
Mar 08 17:21:02 debian systemd[1]: smad.service: Main process exited, code=exit>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit smad.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mar 08 17:21:02 debian systemd[1]: smad.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit smad.service has entered the 'failed' state with result 'exit-code'.
Mar 08 17:21:02 debian systemd[1]: Failed to start System Management Assistant >
░░ Subject: A start job for unit smad.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit smad.service has finished with a failure.
░░
░░ The job identifier is 2001 and the job result is failed.
¾î¶² ¿ëµµ·Î ams °¡ ¼³Ä¡ µÇ´Â°Ç°¡¿ä??
½Ã³î·ÎÁö vmm ¿¡ ¿Ã·È´Ù°í Çϼ̴µ¥
Hpe Àåºñ°¡ ¾Æ´Ï¸é µ¥¸óÀº Á¦´ë·Î µ¿ÀÛÀ» ¸øÇÕ´Ï´Ù
     
azchoi 2023-03
¼­¹ö´Â HPE Microserver gen10 plus (v1) + iLO5 (advanced ¶óÀ̼±½º) ÀÔ´Ï´Ù....
¿©±â¿¡ arpl ³×ÀÌƼºê·Î dsm 7.1¸¦ ¿Ã·È´Âµ¥ ³Ê¹« ÆÒ¼ÒÀ½ÀÌ Ä¿¼­...
dsm 7.1ÀÇ vmmÀ¸·Î µ¥ºñ¾ÈÀ» ¿Ã¸®°í ¿©±â¿¡ ams¸¦ ¼³Ä¡ Çß½À´Ï´Ù.
µ¥ºñ¾ÈÀÇ ³×Æ®¿öÅ© ´ë¿ª´ë´Â iLO¿Í µ¿ÀÏÇÑ ´ë¿ª´ë¿¡ À§Ä¡ÇØ ÀÖ½À´Ï´Ù.

ams°¡ iLO¿¡ ÀνĵǸé ÆÒ¼ÒÀ½ÀÌ ÁÙ¾îµç´Ù°í Çؼ­¿ä....
ÇöÀçÀÇ Á¤È®ÇÑ ¹®Á¦´Â
 1) CPU Á¡À¯°¡ 20% ³ÑÀ¸¸é ºñÇà±â°¡ ÀÌ·úÇÕ´Ï´Ù....
 2) CPU°¡ 20% ÀÌÇÏ¶óµµ ÆÄÀÏ ¾÷·Îµå¸¦ Çϸé Ãʱâ 10~15ÃÊ´Â ¹«Á¶°Ç ºñÇà±â°¡ ÀÌ·úÇÕ´Ï´Ù TT
    ÆÄÀÏ ´Ù¿î·Îµå´Â ±¦Âú°í¿ä....
 3) Plex¿¡¼­ ½æ³×ÀÏ Àε¦½Ì½Ã ºñÇà±â°¡ ÀÌ·ú ÇÕ´Ï´Ù ..... ¤¾¤¾¤¾

°¡Àå Å«¹®Á¦´Â ºñÇà±â ÀÌ·ú½Ã ¿ÍÀÌÇÁ°¡ ¼­¹ö¸¦ 100% ²¨¹ö¸³´Ï´Ù.... µÎ²¨ºñ ÁýÀ» ±×³É ³»·Á¹ö¸³´Ï´Ù. ¤¾¤¾¤¾
ÇÏµå ¸î°³´Â ³¯·Á¹ö·È½À´Ï´Ù....
          
ÁÒ½´¾Æ 2023-03
¾Æ·¡ ±ÛÀÌ ¼ÒÀ½ °¨¼Ò¸¦ À§Çؼ­ µµ¿òÀÌ µÉ ¼öµµ ÀÖ°Ú½À´Ï´Ù.
Fan RPMÀ» Á¦¾îÇÏ´Â ¹æ¹ýÀ» ¼Ò°³ ÇÏ°í ÀÖ±º¿ä.

https://www.reddit.com/r/homelab/comments/hix44v/silence_of_the_fans_pt_2_hp_ilo_4_273_now_with/
´©±º°¡ Gen10(iLO 5) ¼­¹ö¿¡¼­ ÆÒ ¼ÒÀ½À» ÁÙÀÌ·Á´Â °æ¿ì Oem.Hpe.FanPercentAdjust Redfish ¿£µåÆ÷ÀÎÆ®¸¦ È£ÃâÇÏ¿© ¼º°øÇß½À´Ï´Ù.

±×·±µ¥ ... ¿©±â´Â NAS °ø°£Àε¥ ..
Q&A ¿¡ ±ÛÀ» ³²±â½Ã¸é ´õ ¸¹Àº ºÐµéÀÌ µµ¿òÀ» ÁÖ½Ç °Í °°±º¿ä ...
¾ÆÀ̵ð¾î¸¦ ¾ò°Å³ª ...  ´Ù¸¥ ºÐµéÀº ¾î¶»°Ô ÇϽôÂÁö °æÇèµµ ¸»ÇØÁֽôϱî ...
ÇÏÁö¸¸ ±×³É Á» ¾Æ´Â ôÀ¸·Î µµ¿òµÇÁö ¾Ê´Â ±ÛÀ» ¾²½Ã´Â ºÐµéµµ ´Ù¼ö ÀÖ±â´Â ÇÏÁö¸¸ ... ¤¾¤¾¤¾
               
azchoi 2023-03
¾Æ~~~ ´äº¯ °¨»çÇÕ´Ï´Ù.... ÀÌ°÷¿¡ Áú¹®ÀÌ ¸¹ÀÌ ÀÖ¾î Áú¹®À» Çصµ µÇ´ÂÁÙ ¾Ë¾Ò½À´Ï´Ù....q&a°¡ µû·Î ÀÖ±º¿ä.....

curl --request PATCH --url 'ip/redfish/v1/Chassis/1/Thermal/' --user 'iLO¾ÆÀ̵ð:iLOºñ¹ø' --header 'content-type: application/json' --insecure --data '{"Oem": {"Hpe": {"FanPercentAdjust": 50}}}' ÀÌ·¸°Ô ½ÇÇàÇÏ´Ï µË´Ï´Ù...

¼ÒÀ½Àº Áý¿¡¼­ Çѹø Å×½ºÆ® Çغ¼²²¿ä.... Á¤¸» °¨»çÇÕ´Ï´Ù.


NAS