HP ProLiant G8: различия между версиями

Материал из Webko Wiki
Перейти к навигации Перейти к поиску
Строка 16: Строка 16:
 
'''ssaducli''' HPE Command Line Smart Storage Administration Diagnostics <br>
 
'''ssaducli''' HPE Command Line Smart Storage Administration Diagnostics <br>
 
'''ssa''' HPE Array Smart Storage Administration Service <br>
 
'''ssa''' HPE Array Smart Storage Administration Service <br>
== rpm install ==
+
=== rpm install ===
 
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:
 
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:
 
<syntaxhighlight lang="Bash">
 
<syntaxhighlight lang="Bash">
Строка 45: Строка 45:
 
$ yum install <packagename>
 
$ yum install <packagename>
 
</syntaxhighlight>
 
</syntaxhighlight>
=== CentOS 7 ===
+
==== CentOS 7 ====
 
<syntaxhighlight lang="Bash">
 
<syntaxhighlight lang="Bash">
 
cat <<'EOF' >>/etc/yum.repos.d/mcp.repo
 
cat <<'EOF' >>/etc/yum.repos.d/mcp.repo
Строка 59: Строка 59:
 
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp
 
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp
 
</syntaxhighlight>
 
</syntaxhighlight>
== deb install ==
+
=== 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:
 
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:
 
<syntaxhighlight lang="Bash">
 
<syntaxhighlight lang="Bash">
Строка 90: Строка 90:
 
# apt-get install <packagename>
 
# apt-get install <packagename>
 
</syntaxhighlight>
 
</syntaxhighlight>
=== Debian 9 ===
+
==== Debian 9 ====
 
<syntaxhighlight lang="Bash">
 
<syntaxhighlight lang="Bash">
 
echo "# HPE Management Component Pack" >/etc/apt/sources.list.d/hp-nonfree.list
 
echo "# HPE Management Component Pack" >/etc/apt/sources.list.d/hp-nonfree.list
Строка 97: Строка 97:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
= iLO pwd reset =
+
== iLO pwd reset ==
 
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]
 
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]
  
Строка 105: Строка 105:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== reset Administrator pwd ==
+
=== reset Administrator pwd ===
  
 
vim ''iLO4_set_password.xml''
 
vim ''iLO4_set_password.xml''
Строка 129: Строка 129:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== reset other user pwd ==
+
=== reset other user pwd ===
  
 
vim ''iLO4_set_password.xml''
 
vim ''iLO4_set_password.xml''
Строка 153: Строка 153:
 
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo
 
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
== ssacli  ==

Версия 21:38, 10 июля 2019

Management Component Pack

HPE

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

ssacli