HP ProLiant G8

Материал из Webko Wiki
Перейти к навигации Перейти к поиску


Management Component Pack

The Linux Management Component Pack provides agent software for use on community-supported distributions.

hp-health HPE System Health Application and Command line Utilities (Gen9 and earlier)
hponcfg HPE RILOE II/iLO online configuration utility
amsd HPE Agentless Management Service (Gen10 only)
hp-ams HPE Agentless Management Service (Gen9 and earlier)
hp-snmp-agents Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier)
hpsmh HPE System Management Homepage (Gen9 and earlier)
hp-smh-templates HPE System Management Homepage Templates (Gen9 and earlier)
ssacli HPE Command Line Smart Storage Administration Utility
ssaducli HPE Command Line Smart Storage Administration Diagnostics
ssa HPE Array Smart Storage Administration Service

rpm install

Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/yum.repos.d/mcp.repo on your system:

[mcp]
name=Management Component Pack
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp

Download GPG public

rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub

Where:
dist: centos, fedora, opensuse, oracle, asianux
dist_ver: Browse repo to identify supported distribution versions
arch: i386, x86_64
project_ver: current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25

List the packages in the repository

$ yum --disablerepo="*" --enablerepo="short_repo_name" list available

Install a specific package

$ yum install <packagename>

CentOS 7

cat <<'EOF' >>/etc/yum.repos.d/mcp.repo
[HP-mcp]
name=HP Management Component Pack for ProLiant
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp
EOF
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp

deb install

Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:

# HPE Management Component Pack
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free

Where: dist: bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy project_ver: current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40


Install the HPE public gpg key

 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -

Update the local apt indexes

# apt-get update

Search for a specific package

# apt-cache search <packagename> # browse debs

Install a specific package

# apt-get install <packagename>

Debian 9

echo "# HPE Management Component Pack" >/etc/apt/sources.list.d/hp-nonfree.list
echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free" >>/etc/apt/sources.list.d/hp-nonfree.list
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -

iLO pwd reset

HPE

yum install hponcfg -y
apt-get install hponcfg -y

reset Administrator pwd

vim iLO4_set_password.xml

<<ribcl version="2.0">  
<login user_login="Administrator" password="boguspassword">  
<user_info mode="write">   
<mod_user user_login="Administrator">    
<password value="newpass">   
</password>  
</mod_user>  
</user_info>  
</login>       

</RIBCL>

where ?newpass? - new pwd

$  hponcfg -f passwd_reset_ilo.xml -l log.txt    
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo

reset other user pwd

vim iLO4_set_password.xml

<ribcl version="2.0">  
<login user_login="Administrator" password="boguspassword">  
<user_info mode="write">   
<mod_user user_login="root">    
<password value="root123">   
</password>  
</mod_user>  
</user_info>  
</login>    

</RIBCL>

where ?root? - user login where ?root123? - new pwd

$  hponcfg -f passwd_reset_ilo.xml -l log.txt    
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo