<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.webko.net.ua/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sol</id>
	<title>Webko Wiki - Вклад участника [ru]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.webko.net.ua/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sol"/>
	<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%BA%D0%BB%D0%B0%D0%B4/Sol"/>
	<updated>2026-06-05T01:07:28Z</updated>
	<subtitle>Вклад участника</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=708</id>
		<title>Network Tuning - 10G</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=708"/>
		<updated>2023-01-31T13:26:55Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* Soft interrupt issued by a device driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
&lt;br /&gt;
== Рекомендації ==&lt;br /&gt;
* Відключити HT&lt;br /&gt;
* Розмежувати приривання&lt;br /&gt;
== Підвищення продуктивності мережевого стеку Linux ==&lt;br /&gt;
=== CPU ===&lt;br /&gt;
* Встановити максимально продуктивний профіль роботи ЦП&lt;br /&gt;
=== NIC ===&lt;br /&gt;
==== INTEL ixgbe ====&lt;br /&gt;
Встановити останню стабільну версію драйверу мережевої карти&lt;br /&gt;
 https://sourceforge.net/projects/e1000/files/ixgbe%20stable/&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.18.6/&lt;br /&gt;
rpmbuild -tb ixgbe-&amp;lt;x.x.x&amp;gt;.tar.gz&lt;br /&gt;
yum localinstall &amp;lt;RPM&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Налаштування драйверу(модулю)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim /etc/modprobe.d/ixgbe.conf&lt;br /&gt;
options ixgbe IntMode=2,2  RSS=6,6  VMDQ=0,0 InterruptThrottleRate=1,1 allow_unsupported_sfp=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Застосовуємо драйвер(модуль)&lt;br /&gt;
 modprobe ixgbe&lt;br /&gt;
Вимикаємо контроль перевантаження&lt;br /&gt;
 ethtool -K eth0 lro off&lt;br /&gt;
Вимикаємо системне керування перериваннями та передаємо контроль NAPI&lt;br /&gt;
 ethtool -C eth0 adaptive-rx off&lt;br /&gt;
Дізнатися розмір буферу&lt;br /&gt;
 ethtool -g eth0&lt;br /&gt;
Встановити розмір буферу&lt;br /&gt;
 ethtool -G eth0 rx 4096&lt;br /&gt;
Встановити розмір черги&lt;br /&gt;
 ip link set eth0 txqueuelen 10000&lt;br /&gt;
&lt;br /&gt;
=== Soft interrupt issued by a device driver ===&lt;br /&gt;
Так як ми налаштували розподілення черги за перериваннями (msi-x , rss ), тому тепер їх потрібно зозпреділити по ядрам smp_affinity. В стандартній поставці драйверу йде скрипт ''set_irq_affinity'' за допомогою якого можливо розподілити ядра для відпрацювання перериваннь.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./set_irq_affinity 0-4 enp3s0f0 # ядра з 0 по 4 для enp3s0f0&lt;br /&gt;
./set_irq_affinity 5-8 enp3s0f1 # ядра з 5 по 8 для enp3s0f1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Також потрібно вимкнути сервіс розподілення перериваннь&lt;br /&gt;
 systemctl disable irqbalance --now&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo “0” &amp;gt; /sys/class/net/ens2f0/queues/rx-0/rps_cpus&lt;br /&gt;
echo “1” &amp;gt; /sys/class/net/ens2f0/queues/rx-0/rps_cpus&lt;br /&gt;
echo “2” &amp;gt; /sys/class/net/ens2f0/queues/rx-1/rps_cpus&lt;br /&gt;
echo “4” &amp;gt; /sys/class/net/ens2f0/queues/rx-2/rps_cpus&lt;br /&gt;
echo “8” &amp;gt; /sys/class/net/ens2f0/queues/rx-3/rps_cpus&lt;br /&gt;
echo “10” &amp;gt; /sys/class/net/ens2f0/queues/rx-4/rps_cpus&lt;br /&gt;
echo “20” &amp;gt; /sys/class/net/ens2f0/queues/rx-5/rps_cpus&lt;br /&gt;
echo “40” &amp;gt; /sys/class/net/ens2f0/queues/rx-6/rps_cpus&lt;br /&gt;
echo “80” &amp;gt; /sys/class/net/ens2f0/queues/rx-7/rps_cpus&lt;br /&gt;
&lt;br /&gt;
sysctl -w net.core.rps_sock_flow_entries=32768&lt;br /&gt;
&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-0/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-1/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-2/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-3/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-4/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-5/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-6/rps_flow_cnt&lt;br /&gt;
echo 2048 &amp;gt; /sys/class/net/ens2f0/queues/rx-7/rps_flow_cnt&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Kernel buffers ===&lt;br /&gt;
=== The network layer (IP, TCP or UDP) ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=707</id>
		<title>Network Tuning - 10G</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=707"/>
		<updated>2023-01-31T13:17:25Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* Soft interrupt issued by a device driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
&lt;br /&gt;
== Рекомендації ==&lt;br /&gt;
* Відключити HT&lt;br /&gt;
* Розмежувати приривання&lt;br /&gt;
== Підвищення продуктивності мережевого стеку Linux ==&lt;br /&gt;
=== CPU ===&lt;br /&gt;
* Встановити максимально продуктивний профіль роботи ЦП&lt;br /&gt;
=== NIC ===&lt;br /&gt;
==== INTEL ixgbe ====&lt;br /&gt;
Встановити останню стабільну версію драйверу мережевої карти&lt;br /&gt;
 https://sourceforge.net/projects/e1000/files/ixgbe%20stable/&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.18.6/&lt;br /&gt;
rpmbuild -tb ixgbe-&amp;lt;x.x.x&amp;gt;.tar.gz&lt;br /&gt;
yum localinstall &amp;lt;RPM&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Налаштування драйверу(модулю)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim /etc/modprobe.d/ixgbe.conf&lt;br /&gt;
options ixgbe IntMode=2,2  RSS=6,6  VMDQ=0,0 InterruptThrottleRate=1,1 allow_unsupported_sfp=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Застосовуємо драйвер(модуль)&lt;br /&gt;
 modprobe ixgbe&lt;br /&gt;
Вимикаємо контроль перевантаження&lt;br /&gt;
 ethtool -K eth0 lro off&lt;br /&gt;
Вимикаємо системне керування перериваннями та передаємо контроль NAPI&lt;br /&gt;
 ethtool -C eth0 adaptive-rx off&lt;br /&gt;
Дізнатися розмір буферу&lt;br /&gt;
 ethtool -g eth0&lt;br /&gt;
Встановити розмір буферу&lt;br /&gt;
 ethtool -G eth0 rx 4096&lt;br /&gt;
Встановити розмір черги&lt;br /&gt;
 ip link set eth0 txqueuelen 10000&lt;br /&gt;
&lt;br /&gt;
=== Soft interrupt issued by a device driver ===&lt;br /&gt;
Так як ми налаштували розподілення черги за перериваннями (msi-x , rss ), тому тепер їх потрібно зозпреділити по ядрам smp_affinity. В стандартній поставці драйверу йде скрипт ''set_irq_affinity'' за допомогою якого можливо розподілити ядра для відпрацювання перериваннь.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./set_irq_affinity 0-4 enp3s0f0 # ядра з 0 по 4 для enp3s0f0&lt;br /&gt;
./set_irq_affinity 5-8 enp3s0f1 # ядра з 5 по 8 для enp3s0f1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Також потрібно вимкнути сервіс розподілення перериваннь&lt;br /&gt;
 systemctl disable irqbalance --now&lt;br /&gt;
&lt;br /&gt;
=== Kernel buffers ===&lt;br /&gt;
=== The network layer (IP, TCP or UDP) ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=706</id>
		<title>Network Tuning - 10G</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=706"/>
		<updated>2023-01-31T13:11:35Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* Soft interrupt issued by a device driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
&lt;br /&gt;
== Рекомендації ==&lt;br /&gt;
* Відключити HT&lt;br /&gt;
* Розмежувати приривання&lt;br /&gt;
== Підвищення продуктивності мережевого стеку Linux ==&lt;br /&gt;
=== CPU ===&lt;br /&gt;
* Встановити максимально продуктивний профіль роботи ЦП&lt;br /&gt;
=== NIC ===&lt;br /&gt;
==== INTEL ixgbe ====&lt;br /&gt;
Встановити останню стабільну версію драйверу мережевої карти&lt;br /&gt;
 https://sourceforge.net/projects/e1000/files/ixgbe%20stable/&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.18.6/&lt;br /&gt;
rpmbuild -tb ixgbe-&amp;lt;x.x.x&amp;gt;.tar.gz&lt;br /&gt;
yum localinstall &amp;lt;RPM&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Налаштування драйверу(модулю)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim /etc/modprobe.d/ixgbe.conf&lt;br /&gt;
options ixgbe IntMode=2,2  RSS=6,6  VMDQ=0,0 InterruptThrottleRate=1,1 allow_unsupported_sfp=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Застосовуємо драйвер(модуль)&lt;br /&gt;
 modprobe ixgbe&lt;br /&gt;
Вимикаємо контроль перевантаження&lt;br /&gt;
 ethtool -K eth0 lro off&lt;br /&gt;
Вимикаємо системне керування перериваннями та передаємо контроль NAPI&lt;br /&gt;
 ethtool -C eth0 adaptive-rx off&lt;br /&gt;
Дізнатися розмір буферу&lt;br /&gt;
 ethtool -g eth0&lt;br /&gt;
Встановити розмір буферу&lt;br /&gt;
 ethtool -G eth0 rx 4096&lt;br /&gt;
Встановити розмір черги&lt;br /&gt;
 ip link set eth0 txqueuelen 10000&lt;br /&gt;
&lt;br /&gt;
=== Soft interrupt issued by a device driver ===&lt;br /&gt;
Так як ми налаштували розподілення черги за перериваннями (msi-x , rss ), тому тепер їх потрібно зозпреділити по ядрам.&lt;br /&gt;
&lt;br /&gt;
=== Kernel buffers ===&lt;br /&gt;
=== The network layer (IP, TCP or UDP) ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=705</id>
		<title>Network Tuning - 10G</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=705"/>
		<updated>2023-01-31T13:00:48Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* INTEL ixgbe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
&lt;br /&gt;
== Рекомендації ==&lt;br /&gt;
* Відключити HT&lt;br /&gt;
* Розмежувати приривання&lt;br /&gt;
== Підвищення продуктивності мережевого стеку Linux ==&lt;br /&gt;
=== CPU ===&lt;br /&gt;
* Встановити максимально продуктивний профіль роботи ЦП&lt;br /&gt;
=== NIC ===&lt;br /&gt;
==== INTEL ixgbe ====&lt;br /&gt;
Встановити останню стабільну версію драйверу мережевої карти&lt;br /&gt;
 https://sourceforge.net/projects/e1000/files/ixgbe%20stable/&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.18.6/&lt;br /&gt;
rpmbuild -tb ixgbe-&amp;lt;x.x.x&amp;gt;.tar.gz&lt;br /&gt;
yum localinstall &amp;lt;RPM&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Налаштування драйверу(модулю)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim /etc/modprobe.d/ixgbe.conf&lt;br /&gt;
options ixgbe IntMode=2,2  RSS=6,6  VMDQ=0,0 InterruptThrottleRate=1,1 allow_unsupported_sfp=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Застосовуємо драйвер(модуль)&lt;br /&gt;
 modprobe ixgbe&lt;br /&gt;
Вимикаємо контроль перевантаження&lt;br /&gt;
 ethtool -K eth0 lro off&lt;br /&gt;
Вимикаємо системне керування перериваннями та передаємо контроль NAPI&lt;br /&gt;
 ethtool -C eth0 adaptive-rx off&lt;br /&gt;
Дізнатися розмір буферу&lt;br /&gt;
 ethtool -g eth0&lt;br /&gt;
Встановити розмір буферу&lt;br /&gt;
 ethtool -G eth0 rx 4096&lt;br /&gt;
Встановити розмір черги&lt;br /&gt;
 ip link set eth0 txqueuelen 10000&lt;br /&gt;
&lt;br /&gt;
=== Soft interrupt issued by a device driver ===&lt;br /&gt;
=== Kernel buffers ===&lt;br /&gt;
=== The network layer (IP, TCP or UDP) ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=704</id>
		<title>Network Tuning - 10G</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=704"/>
		<updated>2023-01-31T12:54:58Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
&lt;br /&gt;
== Рекомендації ==&lt;br /&gt;
* Відключити HT&lt;br /&gt;
* Розмежувати приривання&lt;br /&gt;
== Підвищення продуктивності мережевого стеку Linux ==&lt;br /&gt;
=== CPU ===&lt;br /&gt;
* Встановити максимально продуктивний профіль роботи ЦП&lt;br /&gt;
=== NIC ===&lt;br /&gt;
==== INTEL ixgbe ====&lt;br /&gt;
Встановити останню стабільну версію драйверу мережевої карти&lt;br /&gt;
 https://sourceforge.net/projects/e1000/files/ixgbe%20stable/&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.18.6/&lt;br /&gt;
rpmbuild -tb ixgbe-&amp;lt;x.x.x&amp;gt;.tar.gz&lt;br /&gt;
yum localinstall &amp;lt;RPM&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Налаштування драйверу(модулю)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim /etc/modprobe.d/ixgbe.conf&lt;br /&gt;
options ixgbe IntMode=2,2  RSS=6,6  VMDQ=0,0 InterruptThrottleRate=1,1 allow_unsupported_sfp=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Застосовуємо драйвер(модуль)&lt;br /&gt;
 modprobe ixgbe&lt;br /&gt;
=== Soft interrupt issued by a device driver ===&lt;br /&gt;
=== Kernel buffers ===&lt;br /&gt;
=== The network layer (IP, TCP or UDP) ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=703</id>
		<title>Network Tuning - 10G</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Network_Tuning_-_10G&amp;diff=703"/>
		<updated>2023-01-31T12:54:32Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:Linux  == Рекомендації == * Відключити HT * Розмежувати приривання == Підвищення пр...»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
&lt;br /&gt;
== Рекомендації ==&lt;br /&gt;
* Відключити HT&lt;br /&gt;
* Розмежувати приривання&lt;br /&gt;
== Підвищення продуктивності мережевого стеку Linux ==&lt;br /&gt;
=== CPU ===&lt;br /&gt;
* Встановити максимально продуктивний профіль роботи ЦП&lt;br /&gt;
=== NIC ixgbe ===&lt;br /&gt;
==== INTEL ixgbe ====&lt;br /&gt;
Встановити останню стабільну версію драйверу мережевої карти&lt;br /&gt;
 https://sourceforge.net/projects/e1000/files/ixgbe%20stable/&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.18.6/&lt;br /&gt;
rpmbuild -tb ixgbe-&amp;lt;x.x.x&amp;gt;.tar.gz&lt;br /&gt;
yum localinstall &amp;lt;RPM&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Налаштування драйверу(модулю)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
vim /etc/modprobe.d/ixgbe.conf&lt;br /&gt;
options ixgbe IntMode=2,2  RSS=6,6  VMDQ=0,0 InterruptThrottleRate=1,1 allow_unsupported_sfp=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Застосовуємо драйвер(модуль)&lt;br /&gt;
 modprobe ixgbe&lt;br /&gt;
=== Soft interrupt issued by a device driver ===&lt;br /&gt;
=== Kernel buffers ===&lt;br /&gt;
=== The network layer (IP, TCP or UDP) ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=LetsEncrypt_SSL&amp;diff=702</id>
		<title>LetsEncrypt SSL</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=LetsEncrypt_SSL&amp;diff=702"/>
		<updated>2022-10-17T11:08:19Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Файл:Letsencrypt-logo-horizontal.svg]]&lt;br /&gt;
&lt;br /&gt;
Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit.&lt;br /&gt;
&lt;br /&gt;
We give people the digital certificates they need in order to enable HTTPS (SSL/TLS) for websites, for free, in the most user-friendly way we can. We do this because we want to create a more secure and privacy-respecting Web.&lt;br /&gt;
&lt;br /&gt;
The key principles behind Let’s Encrypt are:&lt;br /&gt;
* '''Free''': Anyone who owns a domain name can use Let’s Encrypt to obtain a trusted certificate at zero cost.&lt;br /&gt;
* '''Automatic''': Software running on a web server can interact with Let’s Encrypt to painlessly obtain a certificate, securely configure it for use, and automatically take care of renewal.&lt;br /&gt;
* '''Secure''': Let’s Encrypt will serve as a platform for advancing TLS security best practices, both on the CA side and by helping site operators properly secure their servers.&lt;br /&gt;
* '''Transparent''': All certificates issued or revoked will be publicly recorded and available for anyone to inspect.&lt;br /&gt;
* '''Open''': The automatic issuance and renewal protocol will be published as an open standard that others can adopt.&lt;br /&gt;
* '''Cooperative''': Much like the underlying Internet protocols themselves, Let’s Encrypt is a joint effort to benefit the community, beyond the control of any one organization.&lt;br /&gt;
&lt;br /&gt;
== Установка приложения ==&lt;br /&gt;
=== Centos ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install epel-release -y&lt;br /&gt;
yum install certbot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Arch Linux ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
pacman -Syu certbot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Debian/Ubuntu ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install letsencrypt&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Получение сертификата ==&lt;br /&gt;
В силу того что в своей работе я отдаю предпочтение веб серверу Nginx все примеры будат заточены под него.&lt;br /&gt;
&lt;br /&gt;
Для примера возьмем домен wiki.webko.net.ua, у него есть конфиг вида&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
server {&lt;br /&gt;
        listen      212.26.146.24:80;&lt;br /&gt;
        server_name wiki.webko.net.ua;&lt;br /&gt;
        root        /srv/http/wiki;&lt;br /&gt;
        index       index.php;&lt;br /&gt;
        access_log  /var/log/nginx/domains/wiki.webko.net.ua.log combined;&lt;br /&gt;
        error_log   /var/log/nginx/domains/wiki.webko.net.ua.error.log error;&lt;br /&gt;
&lt;br /&gt;
        client_max_body_size 5m;&lt;br /&gt;
        client_body_timeout 60;&lt;br /&gt;
&lt;br /&gt;
        location / {&lt;br /&gt;
                ...&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Для того чтобы полчуть сертификат для домена первым делом нужно удостовить LE в том что вы имеете право на запрос сертификата для домена. Я использую acme-challenge. Для упрощения админисрирования, возможно, большего хазяйства я использую шаблон для проведения удостоверения, его основная функция - переадресация всех запросов к урлу .well-known/acme-challenge/ приложению проводящему удостоверение (тоесть letsencrypt или certbot), его мы сможем подключать к любому виртуальному хосту, выглядит он так.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /etc/nginx/template&lt;br /&gt;
vim /etc/nginx/template/letsencrypt.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
location ~ ^/(.well-known/acme-challenge/.*)$ {&lt;br /&gt;
    proxy_pass http://127.0.0.1:9999/$1;&lt;br /&gt;
    proxy_set_header X-Real-IP $remote_addr;&lt;br /&gt;
    proxy_set_header Host $http_host;&lt;br /&gt;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Дальше подключаем его к виртуальному хосту нашего домена.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
server {&lt;br /&gt;
        listen      212.26.146.24:80;&lt;br /&gt;
        server_name wiki.webko.net.ua;&lt;br /&gt;
        root        /srv/http/wiki;&lt;br /&gt;
        index       index.php;&lt;br /&gt;
        access_log  /var/log/nginx/domains/wiki.webko.net.ua.log combined;&lt;br /&gt;
        error_log   /var/log/nginx/domains/wiki.webko.net.ua.error.log error;&lt;br /&gt;
&lt;br /&gt;
        client_max_body_size 5m;&lt;br /&gt;
        client_body_timeout 60;&lt;br /&gt;
&lt;br /&gt;
        include template/letsencrypt.conf;  # &amp;lt;---&lt;br /&gt;
&lt;br /&gt;
        location / {&lt;br /&gt;
                ...&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Перезагружаем конфиг Nginx для применения изменений.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
nginx -t&lt;br /&gt;
nginx -s reload&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
letsencrypt --agree-tos --renew-by-default --standalone --http-01-port 9999 --server https://acme-v02.api.letsencrypt.org/directory certonly -d wiki.webko.net.ua --register-unsafely-without-email&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Подготовка завершена, переходим непосредственно к запросу сертификата. В зависимости от вашего дистрибютива приложение может иметь разные названия (letsencrypt или certbot).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
letsencrypt --agree-tos --renew-by-default --standalone --standalone-supported-challenges \&lt;br /&gt;
http-01 --http-01-port 9999 --server https://acme-v01.api.letsencrypt.org/directory \  #запуск внутреннего http сервера для проведения аутентификации&lt;br /&gt;
certonly \                                    #получаем сертификаты без автоматической правки конфигов вебсервера(возможно при помощи отдельных плагинов для LE)&lt;br /&gt;
-d wiki.webko.net.ua -d www.wiki.webko.net.ua \      #перечислены домены для которых запрашивается сертификат&lt;br /&gt;
--rsa-key-size 4096&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Дальше начнется удостоверенеие, в ходе так же у вас будет запршен &amp;quot;контактный&amp;quot; емейл, для отправки вам уведомлений об окончании срока действия сертификата.&lt;br /&gt;
&lt;br /&gt;
Если все прошло успешно вы увидите уведомление об успешном создании сертификатов и пути их расположения.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/letsencrypt/renewal/wiki.webko.net.ua.conf - конфиг&lt;br /&gt;
/etc/letsencrypt/archive/wiki.webko.net.ua/     - архив сертификатов&lt;br /&gt;
/etc/letsencrypt/live/wiki.webko.net.ua/        - актуальные сертификаты&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Следубщим шагом создадим виртуальный конфиг для нашего домена с поддержкой SSL.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
# постоянный редирект на https&lt;br /&gt;
server {&lt;br /&gt;
        listen 212.26.146.24:80;&lt;br /&gt;
        server_name wiki.webko.net.ua;&lt;br /&gt;
        return 301 https://$server_name$request_uri;&lt;br /&gt;
}&lt;br /&gt;
# конфиг виртуального хоста&lt;br /&gt;
server {&lt;br /&gt;
        listen      212.26.146.24:443 ssl;&lt;br /&gt;
        server_name wiki.webko.net.ua;&lt;br /&gt;
        root        /srv/http/wiki;&lt;br /&gt;
        index       index.php;&lt;br /&gt;
        access_log  /var/log/nginx/domains/wiki.webko.net.ua.log combined;&lt;br /&gt;
        error_log   /var/log/nginx/domains/wiki.webko.net.ua.error.log error;&lt;br /&gt;
&lt;br /&gt;
# включение ssl и подключение сертификатов&lt;br /&gt;
        ssl         on;&lt;br /&gt;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;&lt;br /&gt;
        ssl_certificate /etc/letsencrypt/live/wiki.webko.net.ua/fullchain.pem;&lt;br /&gt;
        ssl_certificate_key /etc/letsencrypt/live/wiki.webko.net.ua/privkey.pem;&lt;br /&gt;
&lt;br /&gt;
        client_max_body_size 5m;&lt;br /&gt;
        client_body_timeout 60;&lt;br /&gt;
&lt;br /&gt;
        include template/letsencrypt.conf;&lt;br /&gt;
&lt;br /&gt;
        location / {&lt;br /&gt;
                ...&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Перезагружаем конфиг Nginx для применения изменений.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
nginx -t&lt;br /&gt;
nginx -s reload&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Теперь наш сайт доступен по https соединению, при переходе по http будет срабатывать редирект на https.&lt;br /&gt;
=== Получение сертификата не для WEB ===&lt;br /&gt;
В случае когда нам нужен сертификат для почтового сервера (на пример) у которого по у молчанию нет служб сшающих http соединения (для прохождения удостоверения) мы можем использовать дефолтный конфиг Nginx для своих нужд.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install nginx | pacman -Syu nginx | apt install nginx&lt;br /&gt;
vim /etc/nginx/conf.d/default.conf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;nginx&amp;quot;&amp;gt;&lt;br /&gt;
server {&lt;br /&gt;
        listen       80 default_server;&lt;br /&gt;
        server_name _;&lt;br /&gt;
        include template/letsencrypt.conf   # наш шаблон&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
nginx -t&lt;br /&gt;
systemctl start nginx&lt;br /&gt;
systemctl enable nginx&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Дальше генерируем наш сертификат как описано выше, главное условие, у вас должна быть коректно настроена А запись для интересующего домена (субдомена).&lt;br /&gt;
&lt;br /&gt;
По завершению сертификат можно использовать например для exim, postfix, dovecot.&lt;br /&gt;
== Обновление сертифкатов ==&lt;br /&gt;
Для обновления сертификатов срок годности которых подходит или подошел к концу можно воспользоватся командой&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
letsencrypt renew&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Она обновит все нуждающееся в обновлении сертификаты, после чего нужно перезагрузить всех демонов использующих обновленные сертификаты для применения изменений.&lt;br /&gt;
&lt;br /&gt;
Для автоматического обновления можно использовать крон.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;0 0 * * 7 /usr/bin/letsencrypt &amp;gt; /dev/null &amp;amp;&amp;amp; systemctl restart nginx&amp;quot; &amp;gt;&amp;gt; /var/spool/cron/root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Такое задание будет пытатся обновить сертификаты каждое воскресенье в 0 часов 0 минут.&lt;br /&gt;
== Ограничения ==&lt;br /&gt;
У Let’s Encrypt действуют такие ограничения:&lt;br /&gt;
* 20 сертификатов на 1н домен в неделю;&lt;br /&gt;
* 100 сабдоменов на 1н сертификат;&lt;br /&gt;
* 5 повторяющихся запросов для домена/сабдомена в неделю;&lt;br /&gt;
* 5 неудачных попыток верификации на аккаунт, доменное имя в час;&lt;br /&gt;
* 500 аккаунтов на IP за 3 часа;&lt;br /&gt;
* 300 ожидающих авторизации запросов на аккаунт.&lt;br /&gt;
&lt;br /&gt;
Здесь [https://crt.sh/ crt.sh] можно просмотреть количество сертификатов выпущеных для домена. &lt;br /&gt;
[[Категория:Web]]&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=TLS_check&amp;diff=701</id>
		<title>TLS check</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=TLS_check&amp;diff=701"/>
		<updated>2022-04-21T12:44:47Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Web]][[Категория:Mail]]&lt;br /&gt;
== CLI ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
nmap -sV --script ssl-enum-ciphers -p 443 EXAMPLE.COM&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
curl -kv --tls-max 1.0 -0 https://EXAMPLE.COM&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Web ==&lt;br /&gt;
[https://www.ssllabs.com/ssltest/analyze.html ssllabs.com]&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=700</id>
		<title>Traefik in Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=700"/>
		<updated>2022-04-20T20:43:39Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* TLS options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]][[Категория:Web]]&lt;br /&gt;
&lt;br /&gt;
=== TLS options ===&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000 &amp;quot;&amp;gt;'''only one TLSOption per Kubernetes cluster'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
kubectl -n default apply -f traefik_TLSopt.yaml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: TLSOption&lt;br /&gt;
metadata:&lt;br /&gt;
  name: default&lt;br /&gt;
spec:&lt;br /&gt;
  minVersion: VersionTLS12&lt;br /&gt;
  cipherSuites:&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384   # TLS 1.2&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305    # TLS 1.2&lt;br /&gt;
    - TLS_AES_256_GCM_SHA384                  # TLS 1.3&lt;br /&gt;
    - TLS_CHACHA20_POLY1305_SHA256            # TLS 1.3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[TLS check]]&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: Middleware&lt;br /&gt;
metadata:&lt;br /&gt;
  name: headers-back-office&lt;br /&gt;
spec:&lt;br /&gt;
  headers:&lt;br /&gt;
    accessControlAllowMethods:&lt;br /&gt;
      - &amp;quot;GET&amp;quot;&lt;br /&gt;
      - &amp;quot;OPTIONS&amp;quot;&lt;br /&gt;
      - &amp;quot;PUT&amp;quot;&lt;br /&gt;
      - &amp;quot;POST&amp;quot;&lt;br /&gt;
      - &amp;quot;DELETE&amp;quot;&lt;br /&gt;
    accessControlAllowHeaders:&lt;br /&gt;
      - '*'&lt;br /&gt;
    accessControlAllowOriginList:&lt;br /&gt;
      - &amp;quot;*&amp;quot;&lt;br /&gt;
    accessControlMaxAge: 100&lt;br /&gt;
    accessControlExposeHeaders:&lt;br /&gt;
      - '*'&lt;br /&gt;
    addVaryHeader: true&lt;br /&gt;
    customResponseHeaders:&lt;br /&gt;
      Server: &amp;quot;&amp;quot;        # Remove web server name and version &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Security middleware===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: Middleware&lt;br /&gt;
metadata:&lt;br /&gt;
  name: security&lt;br /&gt;
spec:&lt;br /&gt;
  headers:&lt;br /&gt;
    frameDeny: true&lt;br /&gt;
    sslRedirect: true&lt;br /&gt;
    browserXssFilter: true&lt;br /&gt;
    contentTypeNosniff: true&lt;br /&gt;
    #HSTS&lt;br /&gt;
    stsIncludeSubdomains: true&lt;br /&gt;
    stsPreload: true&lt;br /&gt;
    stsSeconds: 31536000&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=TLS_check&amp;diff=699</id>
		<title>TLS check</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=TLS_check&amp;diff=699"/>
		<updated>2022-04-20T20:42:58Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:WebКатегория:Mail  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; nmap -sV --script ssl-enum-ciphers -p 443 EXAMPLE.COM &amp;lt;/syntaxhighlight&amp;gt; &amp;lt;syn...»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Web]][[Категория:Mail]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
nmap -sV --script ssl-enum-ciphers -p 443 EXAMPLE.COM&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
curl -kv --tls-max 1.0 -0 https://EXAMPLE.COM&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=698</id>
		<title>Traefik in Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=698"/>
		<updated>2022-04-20T20:39:23Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]][[Категория:Web]]&lt;br /&gt;
&lt;br /&gt;
=== TLS options ===&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000 &amp;quot;&amp;gt;'''only one TLSOption per Kubernetes cluster'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
kubectl -n default apply -f traefik_TLSopt.yaml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: TLSOption&lt;br /&gt;
metadata:&lt;br /&gt;
  name: default&lt;br /&gt;
spec:&lt;br /&gt;
  minVersion: VersionTLS12&lt;br /&gt;
  cipherSuites:&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384   # TLS 1.2&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305    # TLS 1.2&lt;br /&gt;
    - TLS_AES_256_GCM_SHA384                  # TLS 1.3&lt;br /&gt;
    - TLS_CHACHA20_POLY1305_SHA256            # TLS 1.3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: Middleware&lt;br /&gt;
metadata:&lt;br /&gt;
  name: headers-back-office&lt;br /&gt;
spec:&lt;br /&gt;
  headers:&lt;br /&gt;
    accessControlAllowMethods:&lt;br /&gt;
      - &amp;quot;GET&amp;quot;&lt;br /&gt;
      - &amp;quot;OPTIONS&amp;quot;&lt;br /&gt;
      - &amp;quot;PUT&amp;quot;&lt;br /&gt;
      - &amp;quot;POST&amp;quot;&lt;br /&gt;
      - &amp;quot;DELETE&amp;quot;&lt;br /&gt;
    accessControlAllowHeaders:&lt;br /&gt;
      - '*'&lt;br /&gt;
    accessControlAllowOriginList:&lt;br /&gt;
      - &amp;quot;*&amp;quot;&lt;br /&gt;
    accessControlMaxAge: 100&lt;br /&gt;
    accessControlExposeHeaders:&lt;br /&gt;
      - '*'&lt;br /&gt;
    addVaryHeader: true&lt;br /&gt;
    customResponseHeaders:&lt;br /&gt;
      Server: &amp;quot;&amp;quot;        # Remove web server name and version &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Security middleware===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: Middleware&lt;br /&gt;
metadata:&lt;br /&gt;
  name: security&lt;br /&gt;
spec:&lt;br /&gt;
  headers:&lt;br /&gt;
    frameDeny: true&lt;br /&gt;
    sslRedirect: true&lt;br /&gt;
    browserXssFilter: true&lt;br /&gt;
    contentTypeNosniff: true&lt;br /&gt;
    #HSTS&lt;br /&gt;
    stsIncludeSubdomains: true&lt;br /&gt;
    stsPreload: true&lt;br /&gt;
    stsSeconds: 31536000&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=697</id>
		<title>Traefik in Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=697"/>
		<updated>2022-04-20T19:03:13Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* Headers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]][[Категория:Web]]&lt;br /&gt;
&lt;br /&gt;
=== TLS options ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: TLSOption&lt;br /&gt;
metadata:&lt;br /&gt;
  name: default&lt;br /&gt;
spec:&lt;br /&gt;
  minVersion: VersionTLS12&lt;br /&gt;
  cipherSuites:&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384   # TLS 1.2&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305    # TLS 1.2&lt;br /&gt;
    - TLS_AES_256_GCM_SHA384                  # TLS 1.3&lt;br /&gt;
    - TLS_CHACHA20_POLY1305_SHA256            # TLS 1.3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: Middleware&lt;br /&gt;
metadata:&lt;br /&gt;
  name: headers-back-office&lt;br /&gt;
spec:&lt;br /&gt;
  headers:&lt;br /&gt;
    accessControlAllowMethods:&lt;br /&gt;
      - &amp;quot;GET&amp;quot;&lt;br /&gt;
      - &amp;quot;OPTIONS&amp;quot;&lt;br /&gt;
      - &amp;quot;PUT&amp;quot;&lt;br /&gt;
      - &amp;quot;POST&amp;quot;&lt;br /&gt;
      - &amp;quot;DELETE&amp;quot;&lt;br /&gt;
    accessControlAllowHeaders:&lt;br /&gt;
      - '*'&lt;br /&gt;
    accessControlAllowOriginList:&lt;br /&gt;
      - &amp;quot;*&amp;quot;&lt;br /&gt;
    accessControlMaxAge: 100&lt;br /&gt;
    accessControlExposeHeaders:&lt;br /&gt;
      - '*'&lt;br /&gt;
    addVaryHeader: true&lt;br /&gt;
    customResponseHeaders:&lt;br /&gt;
      Server: &amp;quot;&amp;quot;        # Remove web server name and version &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=696</id>
		<title>Traefik in Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=696"/>
		<updated>2022-04-20T18:59:33Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* TLS options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]][[Категория:Web]]&lt;br /&gt;
&lt;br /&gt;
=== TLS options ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: traefik.containo.us/v1alpha1&lt;br /&gt;
kind: TLSOption&lt;br /&gt;
metadata:&lt;br /&gt;
  name: default&lt;br /&gt;
spec:&lt;br /&gt;
  minVersion: VersionTLS12&lt;br /&gt;
  cipherSuites:&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384   # TLS 1.2&lt;br /&gt;
    - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305    # TLS 1.2&lt;br /&gt;
    - TLS_AES_256_GCM_SHA384                  # TLS 1.3&lt;br /&gt;
    - TLS_CHACHA20_POLY1305_SHA256            # TLS 1.3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Headers ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=695</id>
		<title>Traefik in Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=695"/>
		<updated>2022-04-20T18:54:12Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]][[Категория:Web]]&lt;br /&gt;
&lt;br /&gt;
=== TLS options ===&lt;br /&gt;
=== Headers ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Kubectl&amp;diff=694</id>
		<title>Kubectl</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Kubectl&amp;diff=694"/>
		<updated>2022-04-20T18:53:47Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:Kubernetes»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]]&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=693</id>
		<title>Traefik in Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Traefik_in_Kubernetes&amp;diff=693"/>
		<updated>2022-04-20T18:52:30Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:Kubernetes  === TLS options === === Headers ===»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Kubernetes]]&lt;br /&gt;
&lt;br /&gt;
=== TLS options ===&lt;br /&gt;
=== Headers ===&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:Kubernetes&amp;diff=692</id>
		<title>Категория:Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:Kubernetes&amp;diff=692"/>
		<updated>2022-04-20T18:50:47Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:Cluster»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Cluster]]&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Cisco._ASA5512-X&amp;diff=691</id>
		<title>Cisco. ASA5512-X</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Cisco._ASA5512-X&amp;diff=691"/>
		<updated>2021-09-13T08:17:28Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
== Установка ios через tftp ==&lt;br /&gt;
Конфигурирование tftp клиента и загрузка ios.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rommon #0&amp;gt; ADDRESS=51.51.51.51&lt;br /&gt;
rommon #2&amp;gt; SERVER=51.51.51.50&lt;br /&gt;
rommon #3&amp;gt; GATEWAY=51.51.51.50&lt;br /&gt;
rommon #4&amp;gt; IMAGE=asa9-12-4-18-smp-k8.bin&lt;br /&gt;
rommon #5&amp;gt; PORT=Management0/0&lt;br /&gt;
rommon #6&amp;gt; set&lt;br /&gt;
rommon #7&amp;gt; tftp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Загрузка ios на системный диск и установка его загрузочным&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
asa# copy tftp flash&lt;br /&gt;
Address or name of remote host []? 51.51.51.50&lt;br /&gt;
Source filename []? asa9-12-4-18-smp-k8.bin&lt;br /&gt;
Destination filename [asa9-12-4-18-smp-k8.bin]? &lt;br /&gt;
Accessing tftp://51.51.51.50/asa9-12-4-18-smp-k8.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;
asa# show flash: &lt;br /&gt;
--#--  --length--  -----date/time------  path&lt;br /&gt;
 9822  107606016   Sep 13 2021 08:26:08  asa9-12-4-18-smp-k8.bin&lt;br /&gt;
 9809  60          Sep 13 2021 08:19:48  coredumpinfo&lt;br /&gt;
 9810  59          Sep 13 2021 08:19:48  coredumpinfo/coredump.cfg&lt;br /&gt;
 9726  40          Sep 13 2021 08:19:47  crypto_archive&lt;br /&gt;
 9579  40          Sep 13 2021 08:19:18  log&lt;br /&gt;
asa# conf t&lt;br /&gt;
asa(config)# boot system disk0:/asa9-12-4-18-smp-k8.bin&lt;br /&gt;
asa(config)# wri me&lt;br /&gt;
Building configuration...&lt;br /&gt;
Cryptochecksum: 8681bfd1 05e7280a 22cac3b9 bfda24c9 &lt;br /&gt;
&lt;br /&gt;
3603 bytes copied in 0.770 secs&lt;br /&gt;
[OK]&lt;br /&gt;
asa(config)# reload&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Cisco._ASA5512-X&amp;diff=690</id>
		<title>Cisco. ASA5512-X</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Cisco._ASA5512-X&amp;diff=690"/>
		<updated>2021-09-13T07:38:45Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
== Установка ios через tftp ==&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Cisco._ASA5512-X&amp;diff=689</id>
		<title>Cisco. ASA5512-X</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Cisco._ASA5512-X&amp;diff=689"/>
		<updated>2021-09-13T07:33:47Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:Hardware»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=686</id>
		<title>PfSense</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=686"/>
		<updated>2021-01-19T09:26:37Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* Configuring OpenVPN on PFSense */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Cluster]][[Категория:Hardware]][[Категория:BSD]]&lt;br /&gt;
&lt;br /&gt;
== IPsec duble 2 phase (split connections)==&lt;br /&gt;
&lt;br /&gt;
(IKEv2 Only) When an IKEv2 tunnel has multiple Phase 2 definitions, by default the settings are collapsed in the IPsec configuration such that all P2 combinations are held in a single child SA.&lt;br /&gt;
&lt;br /&gt;
'''Split Connections''' changes this behavior to be more like IKEv1 where each P2 is its configured by the daemon as own separate child SA.&lt;br /&gt;
&lt;br /&gt;
Certain scenarios require this behavior, such as:&lt;br /&gt;
* The remote peer does not properly handle multiple addresses in single traffic selectors. This is especially common in Cisco equipment.&lt;br /&gt;
* Each child SA must have unique traffic selector or proposal settings. This could be due to the peer only allowing specific combinations of local/remote subnet pairs or different encryption options for each child SA.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Pfsense split connections.png|800px|none|none|split connections]]&lt;br /&gt;
&lt;br /&gt;
== Setting Up OpenVPN on PFSense 2.4. ==&lt;br /&gt;
=== Creating the Certificate Infrastructure needed for PFSense and OpenVPN ===&lt;br /&gt;
OpenVPN uses certificates to secure the VPN service for authentication and encryption purposes. The first thing we need to do on PFSense is create a Certificate Authority. If you already have one configured you can skip this step.&lt;br /&gt;
==== Creating a Certificate Authority on PFSense ====&lt;br /&gt;
The first step in the process is to navigate to the built-in PFSense Certificate Manager&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN01.png|200px|none|none|Certificate Manager]]&lt;br /&gt;
&lt;br /&gt;
You will then be presented with a dashboard detailing the list of CA’s installed on the server. In the example below there isn’t one so click on '''+Add''' to create a new one.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN02.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next we need to ''fill out the form'' which PFSense will use to create the Certificate Authority. Since we are building an Internal Certificate Authority, select this option from the drop-down list as highlighted in the image below and then fill out the necessary details about your  organization in the fields provided. Remember to give you CA a useful common name which you can use to identify it. In my example I used PFSense_RootCA. Once done, click on '''Save''' and your Internal Certificate Authority will be created.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN03.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
==== Creating the OpenVPN Server Certificate on PFSense ====&lt;br /&gt;
&lt;br /&gt;
The next step is to create the certificate for the OpenVPN server which clients will use to verify the identity of the server when connecting to it. Under System – Certificate Manager navigate to the Certificates tab and click on '''+ Add/Sign'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN04.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next complete the form to create the certificate. Note you need to select the '''Create an internal Certificate''' method and ensure you select '''Server Certificate''' as the certificate type. Fill in the rest of the relevant information and once complete, click on '''Save'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN05.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
The certificate infrastructure needed for OpenVPN is now complete so we can move onto the next phase, creating the OpenVPN service&lt;br /&gt;
&lt;br /&gt;
=== Configuring OpenVPN on PFSense ===&lt;br /&gt;
&lt;br /&gt;
We will be using the OpenVPN configuration wizard for this step. To start go to VPN in the main menu and then click on OpenVPN.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN06.png|200px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next click on the '''Wizards''' tab to start the configuration sequence.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN07.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
We now need to select type of server. In the drop-down list provided, select '''Local User Access''' and then click '''Next'''&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN08.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next Select the Certificate Authority and click '''Next'''. If you have not created one, follow the steps above.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN09.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
The next step is to select the VPN Server Certificate. Once completed click '''Next'''. Again, if you have not created one, follow the steps above.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN10.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next you will need to complete the Server Setup form which consists of  four sections: General OpenVPN Server Information, Cryptographic Settings, Tunnel Settings and Client Settings. As each environment is different, you may need to adjust these to meet your specific requirements. The settings below are the default settings which ensure privacy and use PFSense as your DNS server etc.&lt;br /&gt;
&lt;br /&gt;
First, let’s configure the '''General OpenVPN Server Information'''. Leave everything as default and give your VPN a description if you so choose as per the example below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN11.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Under '''Cryptographic Settings''', leave everything as default but change the Auth Digest Algorithm to SHA256 as per the example below since SHA1 is not that secure.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN11b.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Under '''Tunnel Settings''', enter the IP address range in CIDR notation for the Tunnel network (this will be the IP address range OpenVPN will use to assign IP’s to VPN clients). You also need to tick the checkbox labeled Redirect Gateway to ensure all clients only use the VPN for all their traffic. Next enter the local network IP address range in CIDR notation (this is usually your LAN) and then set your maximum number of concurrent connections.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN12.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
In my configuration example I have left all '''Client Settings''' in their default state. Here you may want to specify a DNS server etc. Once completed click on '''Next'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN12b.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next the wizard will want to create the Firewall rule configuration. Select the Firewall rule and the OpenVPN rule as per the example below and click '''Next'''&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN13.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Finally, the configuration is complete. Click '''Finish'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN14.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
You should now have a configured OpenVPN server,  a newly created WAN Firewall Rule and an OpenVPN tab under Firewall rules with the OpenVPN rule configured. Examples below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN15.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
=== Installing the OpenVPN Client Export Package ===&lt;br /&gt;
&lt;br /&gt;
== routing between IPsec and openVPN tunnels ==&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=685</id>
		<title>PfSense</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=685"/>
		<updated>2021-01-19T09:22:58Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Cluster]][[Категория:Hardware]][[Категория:BSD]]&lt;br /&gt;
&lt;br /&gt;
== IPsec duble 2 phase (split connections)==&lt;br /&gt;
&lt;br /&gt;
(IKEv2 Only) When an IKEv2 tunnel has multiple Phase 2 definitions, by default the settings are collapsed in the IPsec configuration such that all P2 combinations are held in a single child SA.&lt;br /&gt;
&lt;br /&gt;
'''Split Connections''' changes this behavior to be more like IKEv1 where each P2 is its configured by the daemon as own separate child SA.&lt;br /&gt;
&lt;br /&gt;
Certain scenarios require this behavior, such as:&lt;br /&gt;
* The remote peer does not properly handle multiple addresses in single traffic selectors. This is especially common in Cisco equipment.&lt;br /&gt;
* Each child SA must have unique traffic selector or proposal settings. This could be due to the peer only allowing specific combinations of local/remote subnet pairs or different encryption options for each child SA.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Pfsense split connections.png|800px|none|none|split connections]]&lt;br /&gt;
&lt;br /&gt;
== Setting Up OpenVPN on PFSense 2.4. ==&lt;br /&gt;
=== Creating the Certificate Infrastructure needed for PFSense and OpenVPN ===&lt;br /&gt;
OpenVPN uses certificates to secure the VPN service for authentication and encryption purposes. The first thing we need to do on PFSense is create a Certificate Authority. If you already have one configured you can skip this step.&lt;br /&gt;
==== Creating a Certificate Authority on PFSense ====&lt;br /&gt;
The first step in the process is to navigate to the built-in PFSense Certificate Manager&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN01.png|200px|none|none|Certificate Manager]]&lt;br /&gt;
&lt;br /&gt;
You will then be presented with a dashboard detailing the list of CA’s installed on the server. In the example below there isn’t one so click on '''+Add''' to create a new one.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN02.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next we need to ''fill out the form'' which PFSense will use to create the Certificate Authority. Since we are building an Internal Certificate Authority, select this option from the drop-down list as highlighted in the image below and then fill out the necessary details about your  organization in the fields provided. Remember to give you CA a useful common name which you can use to identify it. In my example I used PFSense_RootCA. Once done, click on '''Save''' and your Internal Certificate Authority will be created.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN03.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
==== Creating the OpenVPN Server Certificate on PFSense ====&lt;br /&gt;
&lt;br /&gt;
The next step is to create the certificate for the OpenVPN server which clients will use to verify the identity of the server when connecting to it. Under System – Certificate Manager navigate to the Certificates tab and click on '''+ Add/Sign'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN04.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next complete the form to create the certificate. Note you need to select the '''Create an internal Certificate''' method and ensure you select '''Server Certificate''' as the certificate type. Fill in the rest of the relevant information and once complete, click on '''Save'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN05.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
The certificate infrastructure needed for OpenVPN is now complete so we can move onto the next phase, creating the OpenVPN service&lt;br /&gt;
&lt;br /&gt;
=== Configuring OpenVPN on PFSense ===&lt;br /&gt;
&lt;br /&gt;
We will be using the OpenVPN configuration wizard for this step. To start go to VPN in the main menu and then click on OpenVPN.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN06.png|200px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next click on the '''Wizards''' tab to start the configuration sequence.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN07.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
We now need to select type of server. In the drop-down list provided, select '''Local User Access''' and then click '''Next'''&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN08.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next Select the Certificate Authority and click '''Next'''. If you have not created one, follow the steps above.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN9.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
The next step is to select the VPN Server Certificate. Once completed click '''Next'''. Again, if you have not created one, follow the steps above.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN10.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next you will need to complete the Server Setup form which consists of  four sections: General OpenVPN Server Information, Cryptographic Settings, Tunnel Settings and Client Settings. As each environment is different, you may need to adjust these to meet your specific requirements. The settings below are the default settings which ensure privacy and use PFSense as your DNS server etc.&lt;br /&gt;
&lt;br /&gt;
First, let’s configure the '''General OpenVPN Server Information'''. Leave everything as default and give your VPN a description if you so choose as per the example below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN11.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Under '''Cryptographic Settings''', leave everything as default but change the Auth Digest Algorithm to SHA256 as per the example below since SHA1 is not that secure.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN11b.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Under '''Tunnel Settings''', enter the IP address range in CIDR notation for the Tunnel network (this will be the IP address range OpenVPN will use to assign IP’s to VPN clients). You also need to tick the checkbox labeled Redirect Gateway to ensure all clients only use the VPN for all their traffic. Next enter the local network IP address range in CIDR notation (this is usually your LAN) and then set your maximum number of concurrent connections.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN12.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
In my configuration example I have left all '''Client Settings''' in their default state. Here you may want to specify a DNS server etc. Once completed click on '''Next'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN12b.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next the wizard will want to create the Firewall rule configuration. Select the Firewall rule and the OpenVPN rule as per the example below and click '''Next'''&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN13.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Finally, the configuration is complete. Click '''Finish'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN14.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
You should now have a configured OpenVPN server,  a newly created WAN Firewall Rule and an OpenVPN tab under Firewall rules with the OpenVPN rule configured. Examples below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN15.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
=== Installing the OpenVPN Client Export Package ===&lt;br /&gt;
&lt;br /&gt;
== routing between IPsec and openVPN tunnels ==&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=684</id>
		<title>PfSense</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=684"/>
		<updated>2021-01-19T09:15:35Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Cluster]][[Категория:Hardware]][[Категория:BSD]]&lt;br /&gt;
&lt;br /&gt;
== IPsec duble 2 phase (split connections)==&lt;br /&gt;
&lt;br /&gt;
(IKEv2 Only) When an IKEv2 tunnel has multiple Phase 2 definitions, by default the settings are collapsed in the IPsec configuration such that all P2 combinations are held in a single child SA.&lt;br /&gt;
&lt;br /&gt;
'''Split Connections''' changes this behavior to be more like IKEv1 where each P2 is its configured by the daemon as own separate child SA.&lt;br /&gt;
&lt;br /&gt;
Certain scenarios require this behavior, such as:&lt;br /&gt;
* The remote peer does not properly handle multiple addresses in single traffic selectors. This is especially common in Cisco equipment.&lt;br /&gt;
* Each child SA must have unique traffic selector or proposal settings. This could be due to the peer only allowing specific combinations of local/remote subnet pairs or different encryption options for each child SA.&lt;br /&gt;
&lt;br /&gt;
[[Файл:Pfsense split connections.png|800px|none|none|split connections]]&lt;br /&gt;
&lt;br /&gt;
== Setting Up OpenVPN on PFSense 2.4. ==&lt;br /&gt;
=== Creating the Certificate Infrastructure needed for PFSense and OpenVPN ===&lt;br /&gt;
OpenVPN uses certificates to secure the VPN service for authentication and encryption purposes. The first thing we need to do on PFSense is create a Certificate Authority. If you already have one configured you can skip this step.&lt;br /&gt;
==== Creating a Certificate Authority on PFSense ====&lt;br /&gt;
The first step in the process is to navigate to the built-in PFSense Certificate Manager&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN01.png|200px|none|none|Certificate Manager]]&lt;br /&gt;
&lt;br /&gt;
You will then be presented with a dashboard detailing the list of CA’s installed on the server. In the example below there isn’t one so click on '''+Add''' to create a new one.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN02.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next we need to ''fill out the form'' which PFSense will use to create the Certificate Authority. Since we are building an Internal Certificate Authority, select this option from the drop-down list as highlighted in the image below and then fill out the necessary details about your  organization in the fields provided. Remember to give you CA a useful common name which you can use to identify it. In my example I used PFSense_RootCA. Once done, click on '''Save''' and your Internal Certificate Authority will be created.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN03.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
==== Creating the OpenVPN Server Certificate on PFSense ====&lt;br /&gt;
&lt;br /&gt;
The next step is to create the certificate for the OpenVPN server which clients will use to verify the identity of the server when connecting to it. Under System – Certificate Manager navigate to the Certificates tab and click on '''+ Add/Sign'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN04.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next complete the form to create the certificate. Note you need to select the '''Create an internal Certificate''' method and ensure you select '''Server Certificate''' as the certificate type. Fill in the rest of the relevant information and once complete, click on '''Save'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN05.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
The certificate infrastructure needed for OpenVPN is now complete so we can move onto the next phase, creating the OpenVPN service&lt;br /&gt;
&lt;br /&gt;
=== Configuring OpenVPN on PFSense ===&lt;br /&gt;
&lt;br /&gt;
We will be using the OpenVPN configuration wizard for this step. To start go to VPN in the main menu and then click on OpenVPN.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN06.png|200px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next click on the '''Wizards''' tab to start the configuration sequence.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN07.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
We now need to select type of server. In the drop-down list provided, select '''Local User Access''' and then click '''Next'''&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN08.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next Select the Certificate Authority and click '''Next'''. If you have not created one, follow the steps above.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN9.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
The next step is to select the VPN Server Certificate. Once completed click '''Next'''. Again, if you have not created one, follow the steps above.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN10.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next you will need to complete the Server Setup form which consists of  four sections: General OpenVPN Server Information, Cryptographic Settings, Tunnel Settings and Client Settings. As each environment is different, you may need to adjust these to meet your specific requirements. The settings below are the default settings which ensure privacy and use PFSense as your DNS server etc.&lt;br /&gt;
&lt;br /&gt;
First, let’s configure the '''General OpenVPN Server Information'''. Leave everything as default and give your VPN a description if you so choose as per the example below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN11.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Under '''Cryptographic Settings''', leave everything as default but change the Auth Digest Algorithm to SHA256 as per the example below since SHA1 is not that secure.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN11b.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Under '''Tunnel Settings''', enter the IP address range in CIDR notation for the Tunnel network (this will be the IP address range OpenVPN will use to assign IP’s to VPN clients). You also need to tick the checkbox labeled Redirect Gateway to ensure all clients only use the VPN for all their traffic. Next enter the local network IP address range in CIDR notation (this is usually your LAN) and then set your maximum number of concurrent connections.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN12.png|600px|none|none]]&lt;br /&gt;
&lt;br /&gt;
In my configuration example I have left all '''Client Settings''' in their default state. Here you may want to specify a DNS server etc. Once completed click on '''Next'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN12b.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Next the wizard will want to create the Firewall rule configuration. Select the Firewall rule and the OpenVPN rule as per the example below and click '''Next'''&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN13.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
Finally, the configuration is complete. Click '''Finish'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN14.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
You should now have a configured OpenVPN server,  a newly created WAN Firewall Rule and an OpenVPN tab under Firewall rules with the OpenVPN rule configured. Examples below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PFSense OpenVPN15.png|800px|none|none]]&lt;br /&gt;
&lt;br /&gt;
== routing between IPsec and openVPN tunnels ==&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN15.png&amp;diff=683</id>
		<title>Файл:PFSense OpenVPN15.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN15.png&amp;diff=683"/>
		<updated>2021-01-19T09:10:54Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN14.png&amp;diff=682</id>
		<title>Файл:PFSense OpenVPN14.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN14.png&amp;diff=682"/>
		<updated>2021-01-19T09:10:45Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN13.png&amp;diff=681</id>
		<title>Файл:PFSense OpenVPN13.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN13.png&amp;diff=681"/>
		<updated>2021-01-19T09:10:34Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN12b.png&amp;diff=680</id>
		<title>Файл:PFSense OpenVPN12b.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN12b.png&amp;diff=680"/>
		<updated>2021-01-19T09:05:53Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN12.png&amp;diff=679</id>
		<title>Файл:PFSense OpenVPN12.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN12.png&amp;diff=679"/>
		<updated>2021-01-19T09:05:41Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN11b.png&amp;diff=678</id>
		<title>Файл:PFSense OpenVPN11b.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN11b.png&amp;diff=678"/>
		<updated>2021-01-19T09:05:28Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN11.png&amp;diff=677</id>
		<title>Файл:PFSense OpenVPN11.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN11.png&amp;diff=677"/>
		<updated>2021-01-19T08:58:31Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN10.png&amp;diff=676</id>
		<title>Файл:PFSense OpenVPN10.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN10.png&amp;diff=676"/>
		<updated>2021-01-19T08:58:22Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN09.png&amp;diff=675</id>
		<title>Файл:PFSense OpenVPN09.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN09.png&amp;diff=675"/>
		<updated>2021-01-19T08:58:10Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN08.png&amp;diff=674</id>
		<title>Файл:PFSense OpenVPN08.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN08.png&amp;diff=674"/>
		<updated>2021-01-19T08:53:12Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN07.png&amp;diff=673</id>
		<title>Файл:PFSense OpenVPN07.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN07.png&amp;diff=673"/>
		<updated>2021-01-19T08:53:02Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN06.png&amp;diff=672</id>
		<title>Файл:PFSense OpenVPN06.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN06.png&amp;diff=672"/>
		<updated>2021-01-19T08:52:51Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN05.png&amp;diff=671</id>
		<title>Файл:PFSense OpenVPN05.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN05.png&amp;diff=671"/>
		<updated>2021-01-19T08:48:56Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN04.png&amp;diff=670</id>
		<title>Файл:PFSense OpenVPN04.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN04.png&amp;diff=670"/>
		<updated>2021-01-19T08:48:46Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN03.png&amp;diff=669</id>
		<title>Файл:PFSense OpenVPN03.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN03.png&amp;diff=669"/>
		<updated>2021-01-19T08:46:43Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=668</id>
		<title>PfSense</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=PfSense&amp;diff=668"/>
		<updated>2021-01-19T08:20:38Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:ClusterКатегория:HardwareКатегория:BSD  == IPsec duble 2 phase (split connections)==  (IKEv2 Only) When an IKEv2…»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Cluster]][[Категория:Hardware]][[Категория:BSD]]&lt;br /&gt;
&lt;br /&gt;
== IPsec duble 2 phase (split connections)==&lt;br /&gt;
&lt;br /&gt;
(IKEv2 Only) When an IKEv2 tunnel has multiple Phase 2 definitions, by default the settings are collapsed in the IPsec configuration such that all P2 combinations are held in a single child SA.&lt;br /&gt;
&lt;br /&gt;
'''Split Connections''' changes this behavior to be more like IKEv1 where each P2 is its configured by the daemon as own separate child SA.&lt;br /&gt;
&lt;br /&gt;
Certain scenarios require this behavior, such as:&lt;br /&gt;
* The remote peer does not properly handle multiple addresses in single traffic selectors. This is especially common in Cisco equipment.&lt;br /&gt;
* Each child SA must have unique traffic selector or proposal settings. This could be due to the peer only allowing specific combinations of local/remote subnet pairs or different encryption options for each child SA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Файл:Pfsense split connections.png|thumb|left|split connections]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting Up OpenVPN on PFSense 2.4. ==&lt;br /&gt;
=== Creating the Certificate Infrastructure needed for PFSense and OpenVPN ===&lt;br /&gt;
OpenVPN uses certificates to secure the VPN service for authentication and encryption purposes. The first thing we need to do on PFSense is create a Certificate Authority. If you already have one configured you can skip this step.&lt;br /&gt;
==== Creating a Certificate Authority on PFSense ====&lt;br /&gt;
The first step in the process is to navigate to the built-in PFSense Certificate Manager&lt;br /&gt;
[[Файл:PFSense OpenVPN01.png|thumb|left|Certificate Manager]]&lt;br /&gt;
You will then be presented with a dashboard detailing the list of CA’s installed on the server. In the example below there isn’t one so click on '''+Add''' to create a new one.&lt;br /&gt;
[[Файл:PFSense OpenVPN02.png|thumb|left]]&lt;br /&gt;
Next we need to ''fill out the form'' which PFSense will use to create the Certificate Authority. Since we are building an Internal Certificate Authority, select this option from the drop-down list as highlighted in the image below and then fill out the necessary details about your  organization in the fields provided. Remember to give you CA a useful common name which you can use to identify it. In my example I used PFSense_RootCA. Once done, click on '''Save''' and your Internal Certificate Authority will be created.&lt;br /&gt;
== routing between IPsec and openVPN tunnels ==&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN02.png&amp;diff=667</id>
		<title>Файл:PFSense OpenVPN02.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN02.png&amp;diff=667"/>
		<updated>2021-01-19T08:14:54Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN01.png&amp;diff=666</id>
		<title>Файл:PFSense OpenVPN01.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:PFSense_OpenVPN01.png&amp;diff=666"/>
		<updated>2021-01-19T08:13:07Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:Pfsense_split_connections.png&amp;diff=665</id>
		<title>Файл:Pfsense split connections.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:Pfsense_split_connections.png&amp;diff=665"/>
		<updated>2021-01-19T08:05:33Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=664</id>
		<title>HP ProLiant G8</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=664"/>
		<updated>2021-01-08T14:14:32Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* iLO pwd reset */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/span&amp;gt;&lt;br /&gt;
= Management Component Pack =&lt;br /&gt;
[https://downloads.linux.hpe.com/SDR/project/mcp/ HPE]&lt;br /&gt;
&lt;br /&gt;
The Linux Management Component Pack provides agent software for use on community-supported distributions.&lt;br /&gt;
&lt;br /&gt;
'''hp-health'''	HPE System Health Application and Command line Utilities (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hponcfg'''	HPE RILOE II/iLO online configuration utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''amsd'''	HPE Agentless Management Service (Gen10 only) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-ams'''	HPE Agentless Management Service (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-snmp-agents'''	Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hpsmh'''	HPE System Management Homepage (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-smh-templates'''	HPE System Management Homepage Templates (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssacli'''	HPE Command Line Smart Storage Administration Utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssaducli'''	HPE Command Line Smart Storage Administration Diagnostics &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssa'''	HPE Array Smart Storage Administration Service &amp;lt;br&amp;gt;&lt;br /&gt;
=== rpm install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
[mcp]&lt;br /&gt;
name=Management Component Pack&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Download GPG [http://downloads.linux.hpe.com/SDR/keys public]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Where: &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist''': centos, fedora, opensuse, oracle, asianux &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist_ver''': Browse repo to identify supported distribution versions &amp;lt;br&amp;gt;&lt;br /&gt;
'''arch''': i386, x86_64 &amp;lt;br&amp;gt;&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the packages in the repository&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum --disablerepo=&amp;quot;*&amp;quot; --enablerepo=&amp;quot;short_repo_name&amp;quot; list available&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== CentOS 7 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' &amp;gt;&amp;gt;/etc/yum.repos.d/mcp.repo&lt;br /&gt;
[HP-mcp]&lt;br /&gt;
name=HP Management Component Pack for ProLiant&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== deb install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# HPE Management Component Pack&lt;br /&gt;
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
'''dist''': bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
Install the HPE [http://downloads.linux.hpe.com/SDR/keys public] gpg key&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update the local apt indexes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-cache search &amp;lt;packagename&amp;gt; # browse debs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 9 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 10 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp buster/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO pwd reset ==&lt;br /&gt;
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install hponcfg -y&lt;br /&gt;
apt-get install hponcfg -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset Administrator pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MOD_USER USER_LOGIN=&amp;quot;Administrator&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;PASSWORD value=&amp;quot;pa$$word&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/MOD_USER&amp;gt;&lt;br /&gt;
  &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
  &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?newpass?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_password.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset other user pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ribcl version=&amp;quot;2.0&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;login user_login=&amp;quot;Administrator&amp;quot; password=&amp;quot;boguspassword&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;user_info mode=&amp;quot;write&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;mod_user user_login=&amp;quot;root&amp;quot;&amp;gt;    &lt;br /&gt;
&amp;lt;password value=&amp;quot;root123&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;/password&amp;gt;  &lt;br /&gt;
&amp;lt;/mod_user&amp;gt;  &lt;br /&gt;
&amp;lt;/user_info&amp;gt;  &lt;br /&gt;
&amp;lt;/login&amp;gt;    &lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?root?  - user login&lt;br /&gt;
where ?root123?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== create admin user ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_add_user.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;LOGIN USER_LOGIN=&amp;quot;Dontcare&amp;quot; PASSWORD=&amp;quot;UsingAutologin&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;ADD_USER&lt;br /&gt;
     USER_NAME=&amp;quot;daniel&amp;quot;&lt;br /&gt;
     USER_LOGIN=&amp;quot;daniel&amp;quot;&lt;br /&gt;
     PASSWORD=&amp;quot;daniel123&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;ADMIN_PRIV value =&amp;quot;Yes&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;REMOTE_CONS_PRIV value =&amp;quot;Yes&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;RESET_SERVER_PRIV value =&amp;quot;No&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;VIRTUAL_MEDIA_PRIV value =&amp;quot;Yes&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;CONFIG_ILO_PRIV value=&amp;quot;Yes&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;/ADD_USER&amp;gt;&lt;br /&gt;
 &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
 &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_add_user.xml&lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO set ip  ==&lt;br /&gt;
vim ''iLO4_set_ip.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIB_INFO MODE=&amp;quot;WRITE&amp;quot; &amp;gt;&lt;br /&gt;
 &amp;lt;MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;IP_ADDRESS VALUE = &amp;quot;10.10.10.10&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;SUBNET_MASK VALUE = &amp;quot;255.255.255.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;GATEWAY_IP_ADDRESS VALUE = &amp;quot;10.10.10.1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;PRIM_DNS_SERVER value = &amp;quot;0.0.0.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;DHCP_ENABLE VALUE = &amp;quot;N&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;/RIB_INFO&amp;gt;&lt;br /&gt;
 &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_ip.xml&lt;br /&gt;
&lt;br /&gt;
== ssacli  ==&lt;br /&gt;
Raid control CLI tool&lt;br /&gt;
&lt;br /&gt;
Show configuration&lt;br /&gt;
 ssacli ctrl all show config&lt;br /&gt;
&lt;br /&gt;
Controller status&lt;br /&gt;
 ssacli ctrl all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for all controllers&lt;br /&gt;
 ssacli ctrl all show detail&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for controller in slot 0&lt;br /&gt;
 ssacli ctrl slot=0 show detail&lt;br /&gt;
&lt;br /&gt;
Rescan for New Devices&lt;br /&gt;
 ssacli rescan&lt;br /&gt;
&lt;br /&gt;
Physical disk status&lt;br /&gt;
 ssacli ctrl slot=0 pd all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed physical disk information&lt;br /&gt;
 ssacli ctrl slot=0 pd all show detail&lt;br /&gt;
&lt;br /&gt;
Logical disk status&lt;br /&gt;
 ssacli ctrl slot=0 ld all show status&lt;br /&gt;
&lt;br /&gt;
View Detailed Logical Drive Status&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 show&lt;br /&gt;
&lt;br /&gt;
Create New RAID 0 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0&lt;br /&gt;
&lt;br /&gt;
Create New RAID 1 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1&lt;br /&gt;
&lt;br /&gt;
Create New RAID 5 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5&lt;br /&gt;
&lt;br /&gt;
Delete Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 delete&lt;br /&gt;
&lt;br /&gt;
Add New Physical Drive to Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Add - All unassigned drives to logical drive 1&lt;br /&gt;
 ssacli ctrl slot=1 ld 1 add drives=allunassigned&lt;br /&gt;
&lt;br /&gt;
Add Spare Disks&lt;br /&gt;
 ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Modify - Extend logical drive 2 size to maximum (must be run with the &amp;quot;forced&amp;quot; flag)&lt;br /&gt;
 ssacli ctrl slot=1 ld 2 modify size=max forced&lt;br /&gt;
&lt;br /&gt;
Enable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=disable&lt;br /&gt;
&lt;br /&gt;
Erase Physical Drive&lt;br /&gt;
 ssacli ctrl slot=0 pd 2I:1:6 modify erase&lt;br /&gt;
&lt;br /&gt;
Turn on Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=on&lt;br /&gt;
&lt;br /&gt;
Turn off Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=off&lt;br /&gt;
&lt;br /&gt;
Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)&lt;br /&gt;
 ssacli ctrl slot=0 modify cacheratio=100/0&lt;br /&gt;
&lt;br /&gt;
Enable smart array write cache when no battery is present (No-Battery Write Cache option)&lt;br /&gt;
 ssacli ctrl slot=0 modify nbwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable&lt;br /&gt;
&lt;br /&gt;
Enable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable&lt;br /&gt;
&lt;br /&gt;
Enable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=enable&lt;br /&gt;
&lt;br /&gt;
Disable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=disable&lt;br /&gt;
&lt;br /&gt;
= SNMP OID List for iLO4 =&lt;br /&gt;
Below is a list and description for OID coolers, processors, temperature sensors, logical drives (RAID), hard disks, network controller iLO, RAM.&lt;br /&gt;
&lt;br /&gt;
'''Fans:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.2.0 (Fan Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.3.0 (Fan Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card, 14=management board, 15=backplane, 16=network slot, 17=blade slot, 18=virtual)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.4.0 (Fan Present (1=other, 2=absent, 3=present)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.5.0 (Fan Present (1=other, 2=tachOutput, 3=spinDetect)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.6.0 (Fan Speed (1=other, 2=normal, 3=high)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.9.0 (Fan Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Temperature:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.2.0 (Temperature Sensor Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.3.0 (Temperature Sensor Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.7.0 (Threshold Type (1=other, 5=blowout, 9=caution, 15=critical, 16=noreaction)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.4.0 (Temperature Celsius)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.5.0 (TemperatureThreshold)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.6.0 (TemperatureCondition)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''CPU:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.1 (CPU Index)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.3 (CPU Name)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.4 (CPU Speed in MHz)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.5 (CPU Step)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.6 (CPU status (1=unknown, 2=ok, 3=degraded, 4=failed, 5=disabled)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.15 (Number of enabled CPU cores)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.25 (Number of available CPU threads)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.26 (CPU power status (1=unknown, 2=Low Powered, 3=Normal Powered, 4=High Powered)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Logical Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.2.0 (Logical Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.1.0 (Logical Drive Controller)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.3.0 (Logical Drive Fault Tolerance (1=other, 2=none, 3=RAID 1/RAID 1+0 (Mirroring), 4=RAID 4 (Data Guard), 5=RAID 5 (Distributed Data Guard), 7=RAID 6 (Advanced Data Guarding), 8=RAID 50, 9=RAID 60, 10=RAID 1 ADM (Advanced Data Mirroring), 11=RAID 10 ADM (Advanced Data Mirroring with Striping))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.9.0 (Logical Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.4.0 (Logical Drive Status (1=other, 2=ok, 3=Failed, 4=Unconfigured, 5=Recovering, 6=Ready Rebuild, 7=Rebuilding, 8=Wrong Drive, 9=Bad Connect, 10=Overheating, 11=Shutdown, 12=Expanding, 13=Not Available, 14=Queued For Expansion, 15=Multi-path Access Degraded, 16=Erasing, 17=Predictive Spare Rebuild Ready, 18=Rapid Parity Initialization In Progress, 19=Rapid Parity Initialization Pending, 20=No Access – Encrypted with No Controller Key, 21=Unencrypted to Encrypted Transformation in Progress, 22=New Logical Drive Key Rekey in Progress, 23=No Access – Encrypted with Controller Encryption Not Enabled, 24=Unencrypted To Encrypted Transformation Not Started, 25=New Logical Drive Key Rekey Request Received)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.11.0 (Logical Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.2.0 (Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.5.0 (Drive Bay)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.64.0 (Drive Location)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.3.0 (Drive Vendor)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.51.0 (Drive Serial Number)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.45.0 (Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.65.0 (Drive Link Rate (1=other, 2=1.5Gbps, 3=3.0Gbps, 4=6.0Gbps, 5=12.0Gbps))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.70.0 (Drive Current Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.71.0 (Drive Temperature Threshold)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.72.0 (Drive Maximum Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.6.0 (Drive Status (1=Other, 2=Ok, 3=Failed, 4=Predictive Failure, 5=Erasing, 6=Erase Done, 7=Erase Queued, 8=SSD Wear Out, 9=Not Authenticated)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.37.0 (Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.9.0 (Drive Reference Time in hours)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''iLO NIC:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.1 (iLO location)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.2 (iLO NIC model)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.4 (iLO NIC MAC)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.5 (iLO NIC IPv4)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.9 (iLO NIC speed)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.14 (iLO NIC FQDN)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.2 (Tx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.3 (Tx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.6 (Tx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.7 (Tx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.9 (Rx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.10 (Rx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.13 (Rx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.14 (Rx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.15 (Rx unknown packets)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Memory:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.1 (Memory Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.13 (Location)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.9 (Manufacturer)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.10 (Part Number)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.6 (Size in Kbytes)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.8 (Memory Technology)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.7 (Memory Type)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.19 (Memory status (1=other, 2=notPresent, 3=present, 4=good, 5=add, 6=upgrade, 7=missing, 8=doesNotMatch, 9=notSupported, 10=badConfig, 11=degraded, 12=spare, 13=partial)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.20 (Memory condition (1=other, 2=ok, 3=degraded, 4=degradedModuleIndexUnknown)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=663</id>
		<title>HP ProLiant G8</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=663"/>
		<updated>2020-12-24T13:00:53Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* iLO set ip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/span&amp;gt;&lt;br /&gt;
= Management Component Pack =&lt;br /&gt;
[https://downloads.linux.hpe.com/SDR/project/mcp/ HPE]&lt;br /&gt;
&lt;br /&gt;
The Linux Management Component Pack provides agent software for use on community-supported distributions.&lt;br /&gt;
&lt;br /&gt;
'''hp-health'''	HPE System Health Application and Command line Utilities (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hponcfg'''	HPE RILOE II/iLO online configuration utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''amsd'''	HPE Agentless Management Service (Gen10 only) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-ams'''	HPE Agentless Management Service (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-snmp-agents'''	Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hpsmh'''	HPE System Management Homepage (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-smh-templates'''	HPE System Management Homepage Templates (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssacli'''	HPE Command Line Smart Storage Administration Utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssaducli'''	HPE Command Line Smart Storage Administration Diagnostics &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssa'''	HPE Array Smart Storage Administration Service &amp;lt;br&amp;gt;&lt;br /&gt;
=== rpm install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
[mcp]&lt;br /&gt;
name=Management Component Pack&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Download GPG [http://downloads.linux.hpe.com/SDR/keys public]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Where: &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist''': centos, fedora, opensuse, oracle, asianux &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist_ver''': Browse repo to identify supported distribution versions &amp;lt;br&amp;gt;&lt;br /&gt;
'''arch''': i386, x86_64 &amp;lt;br&amp;gt;&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the packages in the repository&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum --disablerepo=&amp;quot;*&amp;quot; --enablerepo=&amp;quot;short_repo_name&amp;quot; list available&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== CentOS 7 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' &amp;gt;&amp;gt;/etc/yum.repos.d/mcp.repo&lt;br /&gt;
[HP-mcp]&lt;br /&gt;
name=HP Management Component Pack for ProLiant&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== deb install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# HPE Management Component Pack&lt;br /&gt;
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
'''dist''': bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
Install the HPE [http://downloads.linux.hpe.com/SDR/keys public] gpg key&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update the local apt indexes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-cache search &amp;lt;packagename&amp;gt; # browse debs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 9 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 10 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp buster/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO pwd reset ==&lt;br /&gt;
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install hponcfg -y&lt;br /&gt;
apt-get install hponcfg -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset Administrator pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MOD_USER USER_LOGIN=&amp;quot;Administrator&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;PASSWORD value=&amp;quot;pa$$word&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/MOD_USER&amp;gt;&lt;br /&gt;
  &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
  &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?newpass?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_password.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset other user pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ribcl version=&amp;quot;2.0&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;login user_login=&amp;quot;Administrator&amp;quot; password=&amp;quot;boguspassword&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;user_info mode=&amp;quot;write&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;mod_user user_login=&amp;quot;root&amp;quot;&amp;gt;    &lt;br /&gt;
&amp;lt;password value=&amp;quot;root123&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;/password&amp;gt;  &lt;br /&gt;
&amp;lt;/mod_user&amp;gt;  &lt;br /&gt;
&amp;lt;/user_info&amp;gt;  &lt;br /&gt;
&amp;lt;/login&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?root?  - user login&lt;br /&gt;
where ?root123?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO set ip  ==&lt;br /&gt;
vim ''iLO4_set_ip.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIB_INFO MODE=&amp;quot;WRITE&amp;quot; &amp;gt;&lt;br /&gt;
 &amp;lt;MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;IP_ADDRESS VALUE = &amp;quot;10.10.10.10&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;SUBNET_MASK VALUE = &amp;quot;255.255.255.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;GATEWAY_IP_ADDRESS VALUE = &amp;quot;10.10.10.1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;PRIM_DNS_SERVER value = &amp;quot;0.0.0.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;DHCP_ENABLE VALUE = &amp;quot;N&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;/RIB_INFO&amp;gt;&lt;br /&gt;
 &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_ip.xml&lt;br /&gt;
&lt;br /&gt;
== ssacli  ==&lt;br /&gt;
Raid control CLI tool&lt;br /&gt;
&lt;br /&gt;
Show configuration&lt;br /&gt;
 ssacli ctrl all show config&lt;br /&gt;
&lt;br /&gt;
Controller status&lt;br /&gt;
 ssacli ctrl all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for all controllers&lt;br /&gt;
 ssacli ctrl all show detail&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for controller in slot 0&lt;br /&gt;
 ssacli ctrl slot=0 show detail&lt;br /&gt;
&lt;br /&gt;
Rescan for New Devices&lt;br /&gt;
 ssacli rescan&lt;br /&gt;
&lt;br /&gt;
Physical disk status&lt;br /&gt;
 ssacli ctrl slot=0 pd all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed physical disk information&lt;br /&gt;
 ssacli ctrl slot=0 pd all show detail&lt;br /&gt;
&lt;br /&gt;
Logical disk status&lt;br /&gt;
 ssacli ctrl slot=0 ld all show status&lt;br /&gt;
&lt;br /&gt;
View Detailed Logical Drive Status&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 show&lt;br /&gt;
&lt;br /&gt;
Create New RAID 0 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0&lt;br /&gt;
&lt;br /&gt;
Create New RAID 1 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1&lt;br /&gt;
&lt;br /&gt;
Create New RAID 5 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5&lt;br /&gt;
&lt;br /&gt;
Delete Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 delete&lt;br /&gt;
&lt;br /&gt;
Add New Physical Drive to Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Add - All unassigned drives to logical drive 1&lt;br /&gt;
 ssacli ctrl slot=1 ld 1 add drives=allunassigned&lt;br /&gt;
&lt;br /&gt;
Add Spare Disks&lt;br /&gt;
 ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Modify - Extend logical drive 2 size to maximum (must be run with the &amp;quot;forced&amp;quot; flag)&lt;br /&gt;
 ssacli ctrl slot=1 ld 2 modify size=max forced&lt;br /&gt;
&lt;br /&gt;
Enable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=disable&lt;br /&gt;
&lt;br /&gt;
Erase Physical Drive&lt;br /&gt;
 ssacli ctrl slot=0 pd 2I:1:6 modify erase&lt;br /&gt;
&lt;br /&gt;
Turn on Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=on&lt;br /&gt;
&lt;br /&gt;
Turn off Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=off&lt;br /&gt;
&lt;br /&gt;
Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)&lt;br /&gt;
 ssacli ctrl slot=0 modify cacheratio=100/0&lt;br /&gt;
&lt;br /&gt;
Enable smart array write cache when no battery is present (No-Battery Write Cache option)&lt;br /&gt;
 ssacli ctrl slot=0 modify nbwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable&lt;br /&gt;
&lt;br /&gt;
Enable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable&lt;br /&gt;
&lt;br /&gt;
Enable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=enable&lt;br /&gt;
&lt;br /&gt;
Disable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=disable&lt;br /&gt;
&lt;br /&gt;
= SNMP OID List for iLO4 =&lt;br /&gt;
Below is a list and description for OID coolers, processors, temperature sensors, logical drives (RAID), hard disks, network controller iLO, RAM.&lt;br /&gt;
&lt;br /&gt;
'''Fans:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.2.0 (Fan Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.3.0 (Fan Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card, 14=management board, 15=backplane, 16=network slot, 17=blade slot, 18=virtual)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.4.0 (Fan Present (1=other, 2=absent, 3=present)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.5.0 (Fan Present (1=other, 2=tachOutput, 3=spinDetect)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.6.0 (Fan Speed (1=other, 2=normal, 3=high)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.9.0 (Fan Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Temperature:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.2.0 (Temperature Sensor Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.3.0 (Temperature Sensor Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.7.0 (Threshold Type (1=other, 5=blowout, 9=caution, 15=critical, 16=noreaction)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.4.0 (Temperature Celsius)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.5.0 (TemperatureThreshold)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.6.0 (TemperatureCondition)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''CPU:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.1 (CPU Index)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.3 (CPU Name)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.4 (CPU Speed in MHz)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.5 (CPU Step)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.6 (CPU status (1=unknown, 2=ok, 3=degraded, 4=failed, 5=disabled)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.15 (Number of enabled CPU cores)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.25 (Number of available CPU threads)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.26 (CPU power status (1=unknown, 2=Low Powered, 3=Normal Powered, 4=High Powered)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Logical Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.2.0 (Logical Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.1.0 (Logical Drive Controller)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.3.0 (Logical Drive Fault Tolerance (1=other, 2=none, 3=RAID 1/RAID 1+0 (Mirroring), 4=RAID 4 (Data Guard), 5=RAID 5 (Distributed Data Guard), 7=RAID 6 (Advanced Data Guarding), 8=RAID 50, 9=RAID 60, 10=RAID 1 ADM (Advanced Data Mirroring), 11=RAID 10 ADM (Advanced Data Mirroring with Striping))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.9.0 (Logical Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.4.0 (Logical Drive Status (1=other, 2=ok, 3=Failed, 4=Unconfigured, 5=Recovering, 6=Ready Rebuild, 7=Rebuilding, 8=Wrong Drive, 9=Bad Connect, 10=Overheating, 11=Shutdown, 12=Expanding, 13=Not Available, 14=Queued For Expansion, 15=Multi-path Access Degraded, 16=Erasing, 17=Predictive Spare Rebuild Ready, 18=Rapid Parity Initialization In Progress, 19=Rapid Parity Initialization Pending, 20=No Access – Encrypted with No Controller Key, 21=Unencrypted to Encrypted Transformation in Progress, 22=New Logical Drive Key Rekey in Progress, 23=No Access – Encrypted with Controller Encryption Not Enabled, 24=Unencrypted To Encrypted Transformation Not Started, 25=New Logical Drive Key Rekey Request Received)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.11.0 (Logical Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.2.0 (Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.5.0 (Drive Bay)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.64.0 (Drive Location)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.3.0 (Drive Vendor)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.51.0 (Drive Serial Number)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.45.0 (Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.65.0 (Drive Link Rate (1=other, 2=1.5Gbps, 3=3.0Gbps, 4=6.0Gbps, 5=12.0Gbps))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.70.0 (Drive Current Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.71.0 (Drive Temperature Threshold)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.72.0 (Drive Maximum Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.6.0 (Drive Status (1=Other, 2=Ok, 3=Failed, 4=Predictive Failure, 5=Erasing, 6=Erase Done, 7=Erase Queued, 8=SSD Wear Out, 9=Not Authenticated)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.37.0 (Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.9.0 (Drive Reference Time in hours)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''iLO NIC:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.1 (iLO location)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.2 (iLO NIC model)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.4 (iLO NIC MAC)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.5 (iLO NIC IPv4)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.9 (iLO NIC speed)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.14 (iLO NIC FQDN)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.2 (Tx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.3 (Tx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.6 (Tx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.7 (Tx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.9 (Rx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.10 (Rx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.13 (Rx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.14 (Rx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.15 (Rx unknown packets)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Memory:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.1 (Memory Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.13 (Location)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.9 (Manufacturer)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.10 (Part Number)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.6 (Size in Kbytes)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.8 (Memory Technology)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.7 (Memory Type)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.19 (Memory status (1=other, 2=notPresent, 3=present, 4=good, 5=add, 6=upgrade, 7=missing, 8=doesNotMatch, 9=notSupported, 10=badConfig, 11=degraded, 12=spare, 13=partial)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.20 (Memory condition (1=other, 2=ok, 3=degraded, 4=degradedModuleIndexUnknown)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=662</id>
		<title>HP ProLiant G8</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=662"/>
		<updated>2020-12-24T12:57:55Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* Debian 9 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/span&amp;gt;&lt;br /&gt;
= Management Component Pack =&lt;br /&gt;
[https://downloads.linux.hpe.com/SDR/project/mcp/ HPE]&lt;br /&gt;
&lt;br /&gt;
The Linux Management Component Pack provides agent software for use on community-supported distributions.&lt;br /&gt;
&lt;br /&gt;
'''hp-health'''	HPE System Health Application and Command line Utilities (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hponcfg'''	HPE RILOE II/iLO online configuration utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''amsd'''	HPE Agentless Management Service (Gen10 only) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-ams'''	HPE Agentless Management Service (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-snmp-agents'''	Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hpsmh'''	HPE System Management Homepage (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-smh-templates'''	HPE System Management Homepage Templates (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssacli'''	HPE Command Line Smart Storage Administration Utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssaducli'''	HPE Command Line Smart Storage Administration Diagnostics &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssa'''	HPE Array Smart Storage Administration Service &amp;lt;br&amp;gt;&lt;br /&gt;
=== rpm install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
[mcp]&lt;br /&gt;
name=Management Component Pack&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Download GPG [http://downloads.linux.hpe.com/SDR/keys public]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Where: &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist''': centos, fedora, opensuse, oracle, asianux &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist_ver''': Browse repo to identify supported distribution versions &amp;lt;br&amp;gt;&lt;br /&gt;
'''arch''': i386, x86_64 &amp;lt;br&amp;gt;&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the packages in the repository&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum --disablerepo=&amp;quot;*&amp;quot; --enablerepo=&amp;quot;short_repo_name&amp;quot; list available&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== CentOS 7 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' &amp;gt;&amp;gt;/etc/yum.repos.d/mcp.repo&lt;br /&gt;
[HP-mcp]&lt;br /&gt;
name=HP Management Component Pack for ProLiant&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== deb install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# HPE Management Component Pack&lt;br /&gt;
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
'''dist''': bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
Install the HPE [http://downloads.linux.hpe.com/SDR/keys public] gpg key&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update the local apt indexes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-cache search &amp;lt;packagename&amp;gt; # browse debs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 9 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 10 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp buster/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO pwd reset ==&lt;br /&gt;
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install hponcfg -y&lt;br /&gt;
apt-get install hponcfg -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset Administrator pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MOD_USER USER_LOGIN=&amp;quot;Administrator&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;PASSWORD value=&amp;quot;pa$$word&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/MOD_USER&amp;gt;&lt;br /&gt;
  &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
  &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?newpass?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_password.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset other user pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ribcl version=&amp;quot;2.0&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;login user_login=&amp;quot;Administrator&amp;quot; password=&amp;quot;boguspassword&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;user_info mode=&amp;quot;write&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;mod_user user_login=&amp;quot;root&amp;quot;&amp;gt;    &lt;br /&gt;
&amp;lt;password value=&amp;quot;root123&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;/password&amp;gt;  &lt;br /&gt;
&amp;lt;/mod_user&amp;gt;  &lt;br /&gt;
&amp;lt;/user_info&amp;gt;  &lt;br /&gt;
&amp;lt;/login&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?root?  - user login&lt;br /&gt;
where ?root123?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO set ip  ==&lt;br /&gt;
vim ''iLO4_set_ip.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIB_INFO MODE=&amp;quot;WRITE&amp;quot; &amp;gt;&lt;br /&gt;
 &amp;lt;MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;IP_ADDRESS VALUE = &amp;quot;10.10.10.10&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;SUBNET_MASK VALUE = &amp;quot;255.255.255.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;GATEWAY_IP_ADDRESS VALUE = &amp;quot;10.10.10.1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;PRIM_DNS_SERVER value = &amp;quot;0.0.0.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;DHCP_ENABLE VALUE = &amp;quot;N&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;/RIB_INFO&amp;gt;&lt;br /&gt;
 &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_ip.xml&lt;br /&gt;
&lt;br /&gt;
== ssacli  ==&lt;br /&gt;
Raid control CLI tool&lt;br /&gt;
&lt;br /&gt;
Show configuration&lt;br /&gt;
 ssacli ctrl all show config&lt;br /&gt;
&lt;br /&gt;
Controller status&lt;br /&gt;
 ssacli ctrl all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for all controllers&lt;br /&gt;
 ssacli ctrl all show detail&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for controller in slot 0&lt;br /&gt;
 ssacli ctrl slot=0 show detail&lt;br /&gt;
&lt;br /&gt;
Rescan for New Devices&lt;br /&gt;
 ssacli rescan&lt;br /&gt;
&lt;br /&gt;
Physical disk status&lt;br /&gt;
 ssacli ctrl slot=0 pd all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed physical disk information&lt;br /&gt;
 ssacli ctrl slot=0 pd all show detail&lt;br /&gt;
&lt;br /&gt;
Logical disk status&lt;br /&gt;
 ssacli ctrl slot=0 ld all show status&lt;br /&gt;
&lt;br /&gt;
View Detailed Logical Drive Status&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 show&lt;br /&gt;
&lt;br /&gt;
Create New RAID 0 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0&lt;br /&gt;
&lt;br /&gt;
Create New RAID 1 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1&lt;br /&gt;
&lt;br /&gt;
Create New RAID 5 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5&lt;br /&gt;
&lt;br /&gt;
Delete Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 delete&lt;br /&gt;
&lt;br /&gt;
Add New Physical Drive to Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Add - All unassigned drives to logical drive 1&lt;br /&gt;
 ssacli ctrl slot=1 ld 1 add drives=allunassigned&lt;br /&gt;
&lt;br /&gt;
Add Spare Disks&lt;br /&gt;
 ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Modify - Extend logical drive 2 size to maximum (must be run with the &amp;quot;forced&amp;quot; flag)&lt;br /&gt;
 ssacli ctrl slot=1 ld 2 modify size=max forced&lt;br /&gt;
&lt;br /&gt;
Enable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=disable&lt;br /&gt;
&lt;br /&gt;
Erase Physical Drive&lt;br /&gt;
 ssacli ctrl slot=0 pd 2I:1:6 modify erase&lt;br /&gt;
&lt;br /&gt;
Turn on Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=on&lt;br /&gt;
&lt;br /&gt;
Turn off Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=off&lt;br /&gt;
&lt;br /&gt;
Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)&lt;br /&gt;
 ssacli ctrl slot=0 modify cacheratio=100/0&lt;br /&gt;
&lt;br /&gt;
Enable smart array write cache when no battery is present (No-Battery Write Cache option)&lt;br /&gt;
 ssacli ctrl slot=0 modify nbwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable&lt;br /&gt;
&lt;br /&gt;
Enable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable&lt;br /&gt;
&lt;br /&gt;
Enable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=enable&lt;br /&gt;
&lt;br /&gt;
Disable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=disable&lt;br /&gt;
&lt;br /&gt;
= SNMP OID List for iLO4 =&lt;br /&gt;
Below is a list and description for OID coolers, processors, temperature sensors, logical drives (RAID), hard disks, network controller iLO, RAM.&lt;br /&gt;
&lt;br /&gt;
'''Fans:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.2.0 (Fan Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.3.0 (Fan Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card, 14=management board, 15=backplane, 16=network slot, 17=blade slot, 18=virtual)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.4.0 (Fan Present (1=other, 2=absent, 3=present)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.5.0 (Fan Present (1=other, 2=tachOutput, 3=spinDetect)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.6.0 (Fan Speed (1=other, 2=normal, 3=high)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.9.0 (Fan Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Temperature:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.2.0 (Temperature Sensor Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.3.0 (Temperature Sensor Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.7.0 (Threshold Type (1=other, 5=blowout, 9=caution, 15=critical, 16=noreaction)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.4.0 (Temperature Celsius)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.5.0 (TemperatureThreshold)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.6.0 (TemperatureCondition)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''CPU:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.1 (CPU Index)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.3 (CPU Name)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.4 (CPU Speed in MHz)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.5 (CPU Step)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.6 (CPU status (1=unknown, 2=ok, 3=degraded, 4=failed, 5=disabled)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.15 (Number of enabled CPU cores)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.25 (Number of available CPU threads)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.26 (CPU power status (1=unknown, 2=Low Powered, 3=Normal Powered, 4=High Powered)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Logical Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.2.0 (Logical Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.1.0 (Logical Drive Controller)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.3.0 (Logical Drive Fault Tolerance (1=other, 2=none, 3=RAID 1/RAID 1+0 (Mirroring), 4=RAID 4 (Data Guard), 5=RAID 5 (Distributed Data Guard), 7=RAID 6 (Advanced Data Guarding), 8=RAID 50, 9=RAID 60, 10=RAID 1 ADM (Advanced Data Mirroring), 11=RAID 10 ADM (Advanced Data Mirroring with Striping))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.9.0 (Logical Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.4.0 (Logical Drive Status (1=other, 2=ok, 3=Failed, 4=Unconfigured, 5=Recovering, 6=Ready Rebuild, 7=Rebuilding, 8=Wrong Drive, 9=Bad Connect, 10=Overheating, 11=Shutdown, 12=Expanding, 13=Not Available, 14=Queued For Expansion, 15=Multi-path Access Degraded, 16=Erasing, 17=Predictive Spare Rebuild Ready, 18=Rapid Parity Initialization In Progress, 19=Rapid Parity Initialization Pending, 20=No Access – Encrypted with No Controller Key, 21=Unencrypted to Encrypted Transformation in Progress, 22=New Logical Drive Key Rekey in Progress, 23=No Access – Encrypted with Controller Encryption Not Enabled, 24=Unencrypted To Encrypted Transformation Not Started, 25=New Logical Drive Key Rekey Request Received)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.11.0 (Logical Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.2.0 (Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.5.0 (Drive Bay)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.64.0 (Drive Location)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.3.0 (Drive Vendor)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.51.0 (Drive Serial Number)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.45.0 (Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.65.0 (Drive Link Rate (1=other, 2=1.5Gbps, 3=3.0Gbps, 4=6.0Gbps, 5=12.0Gbps))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.70.0 (Drive Current Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.71.0 (Drive Temperature Threshold)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.72.0 (Drive Maximum Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.6.0 (Drive Status (1=Other, 2=Ok, 3=Failed, 4=Predictive Failure, 5=Erasing, 6=Erase Done, 7=Erase Queued, 8=SSD Wear Out, 9=Not Authenticated)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.37.0 (Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.9.0 (Drive Reference Time in hours)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''iLO NIC:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.1 (iLO location)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.2 (iLO NIC model)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.4 (iLO NIC MAC)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.5 (iLO NIC IPv4)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.9 (iLO NIC speed)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.14 (iLO NIC FQDN)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.2 (Tx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.3 (Tx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.6 (Tx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.7 (Tx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.9 (Rx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.10 (Rx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.13 (Rx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.14 (Rx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.15 (Rx unknown packets)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Memory:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.1 (Memory Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.13 (Location)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.9 (Manufacturer)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.10 (Part Number)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.6 (Size in Kbytes)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.8 (Memory Technology)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.7 (Memory Type)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.19 (Memory status (1=other, 2=notPresent, 3=present, 4=good, 5=add, 6=upgrade, 7=missing, 8=doesNotMatch, 9=notSupported, 10=badConfig, 11=degraded, 12=spare, 13=partial)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.20 (Memory condition (1=other, 2=ok, 3=degraded, 4=degradedModuleIndexUnknown)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=ExtremeXOS&amp;diff=661</id>
		<title>ExtremeXOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=ExtremeXOS&amp;diff=661"/>
		<updated>2020-12-23T09:53:17Z</updated>

		<summary type="html">&lt;p&gt;Sol: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&lt;br /&gt;
= Решение различных задач на коммутаторах Summit-X480 от Extreme Networks =&lt;br /&gt;
&lt;br /&gt;
== Управление конфигурациями ==&lt;br /&gt;
 show configuration {&amp;lt;module-name&amp;gt;} [detail]	- показывает весь активный конфиг, или только конфиг модуля. detail - не только изменённые значения.&lt;br /&gt;
 save configuration [primary | secondary]	- сохранить runing-config в primary.cfg&lt;br /&gt;
 use configuration [pri | sec | &amp;lt;filename&amp;gt;]	- выбрать активный файл конфигурации, который будет использован после ребута.&lt;br /&gt;
 tftp put &amp;lt;ip&amp;gt; -vr &amp;lt;name&amp;gt; &amp;lt;src-file&amp;gt; [&amp;lt;dst-file&amp;gt;]- загрузка файла конфигурации со свича на tftp-сервер (xml).&lt;br /&gt;
 tftp get &amp;lt;ip&amp;gt; {-vr &amp;lt;name&amp;gt;} &amp;lt;src-file&amp;gt; &amp;lt;dst-file&amp;gt;- загрузка файла конфигурации с tftp-сервера на свич (xml).&lt;br /&gt;
 upload configuration &amp;lt;ip&amp;gt; &amp;lt;file.xsf&amp;gt; vr &amp;lt;name&amp;gt;  - загрузка текущей конфигурации со свича на tftp-сервер (asci).&lt;br /&gt;
 tftp get &amp;lt;ip&amp;gt; &amp;lt;remote-file&amp;gt;			- загрузка изменённого командного скрипта с tftp на свич (asci).&lt;br /&gt;
 load script newscript.xsf			- загрузка командного скрипта в текущую конфигурацию (после этого надо сохранить текущий конф в pri или sec.&lt;br /&gt;
 edit script newscript.xsf			- редактирование командного скрипта прямо на свиче.&lt;br /&gt;
 unconfigure switch [all]			- вернуть конфиг к заводским настройкам кроме аккаунтов, паролей, даты и времени all - кроме даты и времени.&lt;br /&gt;
 reboot						- перезагрузка свича.&lt;br /&gt;
 show switch					- сводная информация по свичу.&lt;br /&gt;
&lt;br /&gt;
== Файловая система ==&lt;br /&gt;
 ls,cp,mv,rm					- список файлов, копирование, переименовывание, удаление.&lt;br /&gt;
 edit policy &amp;lt;filename&amp;gt;				- редактирование файлов политик.&lt;br /&gt;
 edit &amp;lt;file-type&amp;gt; &amp;lt;file-name&amp;gt;			- внутренний редактор свича. По командам очень похож на vi.&lt;br /&gt;
&lt;br /&gt;
== BootStrap ==&lt;br /&gt;
Для входа надо подключиться с консоли, перезагрузить свич и во время загрузки держать нажатым space пока не появится приглашение «BootStrap&amp;gt;».&lt;br /&gt;
h — для отображения помощи по командам.&lt;br /&gt;
 download bootrom &amp;lt;tftp-ip&amp;gt; summitX450-&amp;lt;version&amp;gt;.xbr	- обновление BootROMa. Требуется осторожность, прерывание может повредить BootROM и тогда хана.&lt;br /&gt;
&lt;br /&gt;
== Управление Image-файлами ==&lt;br /&gt;
 show version					- посмотреть текущую версию имиджа.&lt;br /&gt;
 download image &amp;lt;ip&amp;gt; &amp;lt;file&amp;gt; vr &amp;lt;name&amp;gt; {pri|sec} - загрузить файл имиджа на свич в позицию pri или sec.&lt;br /&gt;
 use image &amp;lt;primary | secondary&amp;gt;		- установка активного имиджа, который будет загружен после перезагрузки.&lt;br /&gt;
&lt;br /&gt;
== Настройка управления свичём ==&lt;br /&gt;
 show management					- сводная информация по настройке функций управления.&lt;br /&gt;
 show account					- показать существующие учётные записи.&lt;br /&gt;
 create account [admin | user] &amp;lt;name&amp;gt; &amp;lt;pass&amp;gt;	- создать аккаунт. &lt;br /&gt;
 delete account test				- удалить аккаунт.&lt;br /&gt;
 configure account test				- задать пароль для пользователя test. (обязательно установить пароль для admin)&lt;br /&gt;
 configure failsafe-account			- для доступа к свичу, если пароль админа утерян. Никогда не отображается, всегда присутствует.&lt;br /&gt;
 						  пароль невозможно восстановить. Сразу же сохраняется в NVRAM (не в конфиг).&lt;br /&gt;
 configure cli max-sessons &amp;lt;n&amp;gt;			- макс. число одновременных пользовательских сессий.&lt;br /&gt;
 configure cli max-failed-logins &amp;lt;n&amp;gt;		- макс. число неудачных попыток ввода пароля.&lt;br /&gt;
 configure account [all|&amp;lt;name&amp;gt;] password-policy lockout-in-ligin-failures on - блокировать аккаунт после достижения предела неудачных попыток входа.&lt;br /&gt;
 clear account [all|&amp;lt;name&amp;gt;] lockout		- снять блокировку аккаунта (из-под другого админского акка).&lt;br /&gt;
 configure telnet vr admin_vrouter		- определяет виртуальные интерфейсы, по которым можно доступиться через telnet.&lt;br /&gt;
 enable ssh2					- включить возможность доступа по ssh (установка модуля ssh так же добавляет функциональность https).&lt;br /&gt;
 scp2 {cipher [3des|blowfish]} {port &amp;lt;n&amp;gt;} {debug &amp;lt;level&amp;gt;} &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt;:&amp;lt;remote_file&amp;gt; &amp;lt;local_file&amp;gt; {vr &amp;lt;name&amp;gt;} - копирование файла по scp.&lt;br /&gt;
 disable clipaging				- отключить постраничный вывод.&lt;br /&gt;
 [no-refresh]					- опция обеспечивает вывод инфы без циклического обновления.&lt;br /&gt;
 show session {{detail} {&amp;lt;sessID&amp;gt;}} {history}&lt;br /&gt;
 clear session [&amp;lt;sessID&amp;gt; | all]&lt;br /&gt;
&lt;br /&gt;
== SNMP ==&lt;br /&gt;
 enable snmp access				- включает snmp&lt;br /&gt;
 configure snmp sysname &amp;lt;str&amp;gt;			- задаёт имя узла&lt;br /&gt;
 configure snmp syslocation &amp;lt;str&amp;gt;		- задаёт расположение узла&lt;br /&gt;
 configure snmp syscontact &amp;lt;str&amp;gt;		- контактная информация.&lt;br /&gt;
 configure snmp add community [readonly|readwrite] &amp;lt;str&amp;gt;	- добавляет комьюнити.&lt;br /&gt;
 configure snmp traps				- включает рассылку трапов.&lt;br /&gt;
 configure snmp add trapreceiver &amp;lt;ip&amp;gt; community &amp;lt;str&amp;gt;	- определяет получателя трапов.&lt;br /&gt;
&lt;br /&gt;
== Логгирование ==&lt;br /&gt;
 configure syslog {add} [ip] {vr &amp;lt;name&amp;gt;} [local0 .. local7] {&amp;lt;severity&amp;gt;}&lt;br /&gt;
 enable syslog&lt;br /&gt;
 show log {&amp;lt;severity&amp;gt;}			- посмотреть локальный лог. Локальное логгирование: до 20000 сообщений (по по умолчанию 1000).&lt;br /&gt;
&lt;br /&gt;
== SNTP (периодический опрос серверов NTP) ==&lt;br /&gt;
 configure sntp-client [pri|sec] server &amp;lt;host&amp;gt; {vr &amp;lt;name&amp;gt;}&lt;br /&gt;
 enable sntp-client&lt;br /&gt;
&lt;br /&gt;
== Настройка слотов расширений ==&lt;br /&gt;
 configure slot &amp;lt;num&amp;gt; module [ G48T | G48P | G24X | 10G4X ]	- настройка типа модуля, установленного в данном слоте расширения.&lt;br /&gt;
 unconfiugre slot 						- сброс конфигурации указанного модуля.&lt;br /&gt;
 clear slot &amp;lt;num&amp;gt;						- удалить всю конфигурацию слота.&lt;br /&gt;
&lt;br /&gt;
== SVI (L3-интерфейсы во вланах) ==&lt;br /&gt;
 configure vlan mgmt ipaddress 10.0.0.1 255.255.255.0		- повесить ip-адрес на SVI влана&lt;br /&gt;
 configure vlan default ipaddress 10.0.0.1/24			- повесить ip-адрес на SVI влана&lt;br /&gt;
 unconfigure vlan mgmt ipaddress				- убрать ip-адрес с SVI влана&lt;br /&gt;
&lt;br /&gt;
== Настройка портов ==&lt;br /&gt;
Обозначения для модульных свичей:&lt;br /&gt;
2:4 — второй слот, четвёртый порт;&lt;br /&gt;
3:6-8,11 — с группа с 6 по 8 порты и 11 порт в модуле 3.&lt;br /&gt;
* Диагностика&lt;br /&gt;
 show ports &amp;lt;port-list&amp;gt; configuration				- отображение конфигурации порта.&lt;br /&gt;
 show ports &amp;lt;port-list&amp;gt; information				- отображение информации о работе порта.&lt;br /&gt;
* Настройка:&lt;br /&gt;
 enable ports &amp;lt;port-list&amp;gt;					- включить группу портов.&lt;br /&gt;
 disable ports &amp;lt;port-list&amp;gt;					- отключить группу портов.&lt;br /&gt;
 configure ports 1 auto off speed 100 duplex full		- настройка неготиации, скорости и дуплекса.&lt;br /&gt;
 configure ports 1 auto-polariry				- настройка автоопределения типа кабеля.&lt;br /&gt;
 enable jumbo-frame ports [all | &amp;lt;port-list&amp;gt;]			- разрешение jubmo-фреймов.&lt;br /&gt;
 configure jumbo-frame size &amp;lt;jumbo_frame_mtu&amp;gt;			- установка размера (1523-9216).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Функции таблицы коммутации ==&lt;br /&gt;
 show fdb								- посмотреть всю таблицу коммутации.&lt;br /&gt;
 create fdbentry &amp;lt;dst-mac&amp;gt; vlan &amp;lt;name&amp;gt; [ports &amp;lt;port_list&amp;gt;|blackhole]	- создание статической fdb-записи.&lt;br /&gt;
 delete fdbentry {all | &amp;lt;mac&amp;gt; [vlan &amp;lt;name&amp;gt;] }				- удаление статической fdb-записи.&lt;br /&gt;
 clear fdb { &amp;lt;mac&amp;gt; | blackhole | ports &amp;lt;port-list&amp;gt; | vlan &amp;lt;name&amp;gt;}	- удаление динамической(их) fdb-записи(ей).&lt;br /&gt;
 disable learning drop-packets port 5					- на порту 5(in) форвардить пакеты только по статической fdb. Остальные отбрасывать.&lt;br /&gt;
 disable learning forward-packets port 5				- не запоминать маки на 5 порту, но форвардить входящий трафик.&lt;br /&gt;
 show ports 5 information		- проверить настроенный режим обучения (флаг m говорит, что функция запоминания активна).&lt;br /&gt;
 configure fdb agingtime &amp;lt;15-1000000&amp;gt;	- время жизни записи в таблице коммутации. 0 - бесконечно.&lt;br /&gt;
&lt;br /&gt;
==== Функции безопасности уровня коммутации ====&lt;br /&gt;
1. Egress Flood Control — ограничивает исходящий флуд разного типа трафика (unknown-unicast, broadcast, multicast).&lt;br /&gt;
 disable flooding unicast port 1	- запретить флуд юникаст пакетов с неизвестным dst-mac в порт 1.&lt;br /&gt;
 enable flooding broadcast port all	- разрешить флудить бродкастом на всех портах.&lt;br /&gt;
 show port 1 info detail		- проверить настроенные режимы функции на порту 1.&lt;br /&gt;
2. Limit-Learning — ограничивает число маков, которые могут быть запомнены на порту в определённом влане. Трафик незапомненных маков блокируется (в обоих направлениях).&lt;br /&gt;
 configure ports &amp;lt;port&amp;gt; vlan &amp;lt;name&amp;gt; learning-limit 3		- во влане &amp;lt;name&amp;gt; на порту &amp;lt;port&amp;gt; может быть запомнено не более 3 маков.&lt;br /&gt;
 configure ports &amp;lt;port&amp;gt; vlan &amp;lt;name&amp;gt; unlimited-learnings	- снять ограничение для связки порт/влан.&lt;br /&gt;
3. Lock-Learning — запоминает текущие маки на порту во влане и блокирует трафик всех остальных маков.&lt;br /&gt;
 configure ports &amp;lt;port&amp;gt; vlan &amp;lt;name&amp;gt; lock-learning		- запомнить текущие маки на порту &amp;lt;port&amp;gt; во влане &amp;lt;name&amp;gt;&lt;br /&gt;
 configure ports &amp;lt;port&amp;gt; vlan &amp;lt;name&amp;gt; unlock-learning		- снять блокировку.&lt;br /&gt;
 для диагностики работы функций:&lt;br /&gt;
 show fdb&lt;br /&gt;
 show vlan &amp;lt;name&amp;gt; security&lt;br /&gt;
4. Extreme Link Status Monitoring (ELSM)&lt;br /&gt;
Проприетарный протокол, который следит за сбоями CPU и удалённых линков, предотвращая возможное образование колец.&lt;br /&gt;
Работает по принципу point-to-point, настраивается на обоих конечных точках (свичах), соединённых через L2-облако.&lt;br /&gt;
Если ELSM ложится, пакеты данных не принемаются и не передаются через этот порт.&lt;br /&gt;
 show elsm port 3	- проверка работы функции на порту 3.&lt;br /&gt;
 configure ports &amp;lt;port_list&amp;gt; rate-limit flood [broadcast | multicast | unknown-destmac] [no-limit | &amp;lt;pps&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
== VLAN ==&lt;br /&gt;
 show vlan [detail] [&amp;lt;name&amp;gt;]			- посмотреть список существующих вланов, либо инфу по конкретному влану.&lt;br /&gt;
* Port-Based VLAN&lt;br /&gt;
 create vlan &amp;lt;name&amp;gt;				- создание port-based влана &amp;lt;name&amp;gt;&lt;br /&gt;
 delete vlan &amp;lt;name&amp;gt;				- удаление port-based влана &amp;lt;name&amp;gt;&lt;br /&gt;
 enable vlan &amp;lt;name&amp;gt;				- активизация работы port-based влана на свиче.&lt;br /&gt;
 disable vlan &amp;lt;name&amp;gt;				- отключение работы port-based влана.&lt;br /&gt;
 configure vlan &amp;lt;old_name&amp;gt; name &amp;lt;new_name&amp;gt;	- переименовывание влана.&lt;br /&gt;
 configure vlan &amp;lt;name&amp;gt; add port &amp;lt;port-list&amp;gt;	- добавление портов в port-based влан.&lt;br /&gt;
 configure vlan &amp;lt;name&amp;gt; delete port &amp;lt;port-list&amp;gt;	- удаление портов из port-based влана.&lt;br /&gt;
* Tagged VLAN&lt;br /&gt;
 create vlan &amp;lt;name&amp;gt;				- создание влана&lt;br /&gt;
 configure vlan &amp;lt;name&amp;gt; tag &amp;lt;number&amp;gt;		- назначение влану тэга&lt;br /&gt;
 configure vlan &amp;lt;name&amp;gt; delete port &amp;lt;port-list&amp;gt;	- удаление влана из указанных портов.&lt;br /&gt;
 configure vlan &amp;lt;name&amp;gt; add port &amp;lt;port-list&amp;gt; ['''tagged'''|untagged] - добавление влана в указанные порты. По-умолчанию нетегировано, поэтому помним про tagged.&lt;br /&gt;
&lt;br /&gt;
== STP ==&lt;br /&gt;
&lt;br /&gt;
=== Настройка в режиме 802.1w ===&lt;br /&gt;
 create stpd &amp;lt;name&amp;gt; [description &amp;lt;stpd-description&amp;gt;]		- создаём домен STP c именем &amp;lt;name&amp;gt;. По-умолчанию присутствует домен s0.&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; mode dot1w				- задание режима работы STP домену.&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; add vlan &amp;lt;name&amp;gt; port &amp;lt;port-list&amp;gt;	- добавляет вланы в домен STP на портах (перед этим вланы должны быть выброшены в эти&lt;br /&gt;
 								  порты). Порты, на которых обеспечивать работу STP задаются в ручную. ИЛИ...&lt;br /&gt;
 configure stpd &amp;lt;name&amp;gt; auto-bind vlan &amp;lt;name&amp;gt;			- или можно автоматически включать в домен stp все порты, куда выбрасываются вланы.&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; priority &amp;lt;pri&amp;gt;			- Для RSTP и MSTP должны быть кратными 4096.&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; ports cost &amp;lt;auto|cost&amp;gt; &amp;lt;port-list&amp;gt;  - Задание специфичной стоимости линков на портах.&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; ports priority &amp;lt;pri&amp;gt; &amp;lt;port-list&amp;gt;	- задание значения приоритета порта (для определения назначенного).&lt;br /&gt;
 confugure stpd &amp;lt;stpd_name&amp;gt; hellotime &amp;lt;sec&amp;gt;&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; forwarddelay &amp;lt;sec&amp;gt;&lt;br /&gt;
 configure stpd &amp;lt;stpd_name&amp;gt; maxage &amp;lt;sec&amp;gt;&lt;br /&gt;
 enable stpd &amp;lt;stpd_name&amp;gt; 					- включает использование протокола STP. Домен по-умолчанию s0.&lt;br /&gt;
 disable stpd {&amp;lt;stpd_name&amp;gt;}					- отключить STP&lt;br /&gt;
 unconfig stpd {&amp;lt;stpd_name&amp;gt;}					- восстановить умолчательные настройки работы STP.&lt;br /&gt;
&lt;br /&gt;
=== Настройка в режиме 802.1s (MSTP) ===&lt;br /&gt;
&lt;br /&gt;
==== I) Настройка домена MSTP CIST ====&lt;br /&gt;
 create stpd &amp;lt;name&amp;gt; [description &amp;lt;stpd-description&amp;gt;]		- создаём домен&lt;br /&gt;
 configure stpd &amp;lt;name&amp;gt; mode mstp cist				- говорим, что этот домен будет MSTP CIST&lt;br /&gt;
 enable stpd &amp;lt;name&amp;gt;						- включаем stp домен cist&lt;br /&gt;
HINT: Чтобы расконфигурить домен из CIST надо поставить ему режим dot1d.&lt;br /&gt;
&lt;br /&gt;
==== II) Настройка MSTI (инстансов) в регионе ====&lt;br /&gt;
 create stpd &amp;lt;iname&amp;gt;						- создаём домен инстанса&lt;br /&gt;
 configure stpd &amp;lt;iname&amp;gt; mode mstp msti &amp;lt;inst_num&amp;gt;		- назначаем домену ID инстанса &amp;lt;1-4096&amp;gt;. max(MSTIs) для региона = 64.&lt;br /&gt;
 								  ID должны быть уникальны только в пределах региона.&lt;br /&gt;
 configure stpd &amp;lt;iname&amp;gt; add vlan &amp;lt;name&amp;gt; ports &amp;lt;port-list&amp;gt;	- привязка вланов к MSTI на указанных портах (влан на портах должен уже присутствовать).&lt;br /&gt;
 	или с помощью auto-bind:&lt;br /&gt;
 enable stpd &amp;lt;iname&amp;gt; auto-bind vlan &amp;lt;name&amp;gt;&lt;br /&gt;
 enable stpd &amp;lt;iname&amp;gt;						- включаем msti домен.&lt;br /&gt;
&lt;br /&gt;
==== III) Настройка MSTP аттрибутов (идентификаторы региона) ====&lt;br /&gt;
Следующие параметры должны быть идентичны на всех свичах в регионе.&lt;br /&gt;
* имя региона;&lt;br /&gt;
* номер ревизии конфигурации;&lt;br /&gt;
* таблица соответствия привязки номеров вланов к MSTI-инстансам;&lt;br /&gt;
 configure mstp region &amp;lt;RegionName&amp;gt;				- обозначение принадлежности свича к региону&lt;br /&gt;
 configure mstp revision &amp;lt;rev_num&amp;gt;				- номер ревизии конфигурации.&lt;br /&gt;
 configure mstp format &amp;lt;format_id&amp;gt;				- &amp;lt;0-255&amp;gt; - номер, определяющий формат MSTP BPDUs. по-умолчанию 0.&lt;br /&gt;
&lt;br /&gt;
=== Диагностика ===&lt;br /&gt;
 show configurateion stp					- отобразить секцию конфига, посвященного stp&lt;br /&gt;
 show stpd						- общая инфа о настройке STP + список и основные параметры доменов.&lt;br /&gt;
 show stpd &amp;lt;domain-name&amp;gt;					- общая инфа о работе конкретного домена STP.&lt;br /&gt;
 show stpd &amp;lt;domain-name&amp;gt; ports [detail]			- информация о настройках, ролях и статусах портов в указанном домене STP.&lt;br /&gt;
 show stpd &amp;lt;domain-name&amp;gt; {[detail | &amp;lt;port_list&amp;gt; {detail}]} - подробная информация о домене или статусах портов.&lt;br /&gt;
 show vlan &amp;lt;vlan_name&amp;gt; stpd				- информация, к какому инстансу относится влан.&lt;br /&gt;
&lt;br /&gt;
== Link-Aggregation ==&lt;br /&gt;
 configure sharing address-based custom ipv4 source-and-destination - выбор алгоритма распределения нагрузки по портам.&lt;br /&gt;
 enable sharing &amp;lt;port&amp;gt; grouping &amp;lt;port-list&amp;gt; {algorithm address-based {L2|L3|L3_L4}} {lacp}&lt;br /&gt;
 			Сформировать канальную группу. Первый порт в группе настраивается как логический порт&lt;br /&gt;
 			группы и представляет собой группу с т.з. конфигурации.&lt;br /&gt;
 disable sharing &amp;lt;logic-port&amp;gt;				- расформировать канальную группу.&lt;br /&gt;
 configure sharing lacp system-priority 3		- установить приоритет lacp у свича. 0 - удаляет на стройку. По-умолчанию приоритет = MAC.&lt;br /&gt;
 configure sharing &amp;lt;logic-port&amp;gt; add ports &amp;lt;port-list&amp;gt;	- динамически добавить порт к группе (должен быть предварительно enabled).&lt;br /&gt;
 configure sharing &amp;lt;logic-port&amp;gt; delete ports &amp;lt;port-list&amp;gt; - динамически удалить порты из канальной группы.&lt;br /&gt;
 configure sharing &amp;lt;logic-port&amp;gt; lacp activity-mode &amp;lt;{active|passive}&amp;gt; - установка режима работы LACP в канальной группе.&lt;br /&gt;
 configure sharing &amp;lt;logic-port&amp;gt; lacp system-priority &amp;lt;1..65535&amp;gt; - установить приоритет lacp свича в конкретной канальной группе.&lt;br /&gt;
 clear lacp counters					- сбросить счётчики.&lt;br /&gt;
&lt;br /&gt;
==== Диагностика ====&lt;br /&gt;
 show lacp					- список групп и их статус.&lt;br /&gt;
 show lacp lag &amp;lt;masterport&amp;gt; [detail]		- подробный статус lacp конкретной группы (представляемой мастер-портом).&lt;br /&gt;
 show ports sharing 				- информация по группе агрегации (не обязательно с lacp).&lt;br /&gt;
 show lacp member-port &amp;lt;port-list&amp;gt;		- информация о статусе lacp на конкретных портах из группы.&lt;br /&gt;
 show lacp counters				- счётчики PDU.&lt;br /&gt;
&lt;br /&gt;
== LLDP ==&lt;br /&gt;
 enable lldp ports [all|&amp;lt;port-list&amp;gt;] {receive-only|transmit-only}	- включает LLDP TLVs на портах.&lt;br /&gt;
 configure lldp transmit-interval &amp;lt;seconds&amp;gt;&lt;br /&gt;
 configure lldp transmit-hold &amp;lt;hold&amp;gt;&lt;br /&gt;
 configure lldp transmit-delay [auto|&amp;lt;seconds&amp;gt;]&lt;br /&gt;
 configure lldp ports [all|&amp;lt;port-list&amp;gt;] [advertise|no-advertise] system-name&lt;br /&gt;
&lt;br /&gt;
==== Диагностика ====&lt;br /&gt;
 show lldp {port [all|&amp;lt;port-list&amp;gt;]} {neighbors} {detailed}&lt;br /&gt;
&lt;br /&gt;
==== Extreme Discovery Protocol (EDP) ====&lt;br /&gt;
 enable edp ports all&lt;br /&gt;
 show edp ...&lt;br /&gt;
&lt;br /&gt;
== ACL ==&lt;br /&gt;
 edit policy &amp;lt;PNAME&amp;gt;					- редактировать политику (ACL).&lt;br /&gt;
 configure access-list &amp;lt;PNAME&amp;gt; ports 1 ingress		- навесить лист на порт&lt;br /&gt;
 unconfigure access-list ports &amp;lt;port-list&amp;gt;		- снять лист с порта&lt;br /&gt;
&lt;br /&gt;
==== Пример: аналог BPDU-filter на портах ====&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 entry BPDUfilter1 {&lt;br /&gt;
     if {&lt;br /&gt;
         ethernet-destination-address 01:00:0c:cc:cc:cd;&lt;br /&gt;
     } then {&lt;br /&gt;
         deny;&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
 entry BPDUfilter2 {&lt;br /&gt;
     if {&lt;br /&gt;
         ethernet-destination-address 01:80:C2:00:00:00;&lt;br /&gt;
     } then {&lt;br /&gt;
         deny;&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Сервисные фичи ==&lt;br /&gt;
&lt;br /&gt;
==== Время ====&lt;br /&gt;
 configure timezone 420 noautodst&lt;br /&gt;
 configure sntp-client primary 195.49.169.1 vr &amp;quot;VR-Default&amp;quot;&lt;br /&gt;
 enable sntp-client&lt;br /&gt;
&lt;br /&gt;
==== Баннеры ====&lt;br /&gt;
 configure banner { after-login | { before-login } { acknowledge } }&lt;br /&gt;
&lt;br /&gt;
==== Таймаут простоя консоли ====&lt;br /&gt;
 conf idletimeout &amp;lt;min&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Настройка Egress Port Rate Limits ==&lt;br /&gt;
 configure ports &amp;lt;port_list&amp;gt; rate-limit egress [no-limit | &amp;lt;cir-rate&amp;gt; [Kbps | Mbps | Gbps] {max-burst-size &amp;lt;burst-size&amp;gt; [Kb | Mb]}]&lt;br /&gt;
&lt;br /&gt;
== Мирроринг ==&lt;br /&gt;
&lt;br /&gt;
==== Настройка зеркалирование трафика в один мониторинговый порт ====&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 enable mirroring to port 4				- включает мирроринг в 4 порт.&lt;br /&gt;
 configure mirroring add port 8 [ingress]		- мирорит весь [входящий] трафик порта 8 на порт 4&lt;br /&gt;
 configure mirroring add vlan red			- мирорить трафик влана red на порт 4&lt;br /&gt;
 configure mirroring add vlan red port 5			- мирорить трафик влана red на порту 5 в порт 4&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Настройка зеркалирование трафика в несколько мониторинговых портов ====&lt;br /&gt;
Следующий пример демонстрирует как зеркалировать трафик в более чем один мониторинговый порт (порты 5, 6, 7).&lt;br /&gt;
Для этого необходимо назначить какой-нибудь свободный порт (в примере 1) как loopback-port. После настройки этот loopback порт не может быть использован для передачи трафика, но так как его ресурсы используются для зеркалирования, на нём горит линк независимо от присутствия провода.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 enable mirroring to port-list 5-7 loopback-port 1&lt;br /&gt;
 configure mirroring add port 10 ingress&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== QoS ==&lt;br /&gt;
 show ports 24 qosmonitor				- статистика по сброшенным из-за QoSa пакетам&lt;br /&gt;
 show ports 24 information&lt;br /&gt;
 configure port &amp;lt;list&amp;gt; shared-packet-buffer &amp;lt;1-100&amp;gt;	- задать % буфера, который может использовать порт для буферизации пакетов в очереди.&lt;br /&gt;
&lt;br /&gt;
 configure dot1p replacement {qosprofile} &amp;lt;qosprofile&amp;gt; priority &amp;lt;vpri&amp;gt; {ports &amp;lt;port_list&amp;gt;}&lt;br /&gt;
 enable dot1p replacement ports [&amp;lt;port_list&amp;gt; | all]	- To enable 802.1p priority replacement on egress.&lt;br /&gt;
 disable dot1p replacement ports [&amp;lt;port_list&amp;gt; | all]&lt;br /&gt;
&lt;br /&gt;
 enable diffserv replacement ports [&amp;lt;port_list&amp;gt; | all]	- To enable replace DSCPs&lt;br /&gt;
 disable diffserv replacement ports [&amp;lt;port_list&amp;gt; | all]&lt;br /&gt;
 show diffserv replacement&lt;br /&gt;
 configure diffserv replacement [{qosprofile} &amp;lt;qosprofile&amp;gt; | priority &amp;lt;priority&amp;gt;] code-point &amp;lt;code_point&amp;gt;&lt;br /&gt;
 unconfigure diffserv replacement&lt;br /&gt;
&lt;br /&gt;
==== Пример установки DSCP ====&lt;br /&gt;
 configure access-list qp3sub any&lt;br /&gt;
&lt;br /&gt;
 entry QP3-subnet {&lt;br /&gt;
     if {&lt;br /&gt;
         source-address 10.1.2.0/24&lt;br /&gt;
     } then {&lt;br /&gt;
         Qosprofile qp3;&lt;br /&gt;
         replace-dscp;&lt;br /&gt;
    }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 enable diffserv examination ports all&lt;br /&gt;
&lt;br /&gt;
==== Настройка исходящего QoS Profile Rate Shaping ====&lt;br /&gt;
 create qosprofile [QP2| QP3 | QP4 | QP5 | QP6 | QP7]	- создавать/удалять дополнительные очереди.&lt;br /&gt;
 delete qosprofile [QP2| QP3 | QP4 | QP5 | QP6 | QP7]&lt;br /&gt;
&lt;br /&gt;
 configure qosprofile egress &amp;lt;qosprofile&amp;gt; [{minbw &amp;lt;minbw_number&amp;gt;} {maxbw &amp;lt;maxbw_number&amp;gt;} | {peak_rate &amp;lt;peak_bps&amp;gt; [K|M]}] [ports [&amp;lt;port_list&amp;gt;|all]]&lt;br /&gt;
 configure qosprofile &amp;lt;qosprofile&amp;gt; [{minbw &amp;lt;minbw_number&amp;gt;} {maxbw &amp;lt;maxbw_number&amp;gt;} | {{committed_rate &amp;lt;committed_bps&amp;gt; [K|M]} {peak_rate &amp;lt;peak_bps&amp;gt; [K|M]} | [ports [&amp;lt;port_list&amp;gt;|all]]&lt;br /&gt;
 configure {qosprofile} &amp;lt;qosprofile&amp;gt; [[{maxbuffer &amp;lt;buffer_percentage&amp;gt;} {weight &amp;lt;weight_value&amp;gt; | use-strict-priority}] | [maxbuffer &amp;lt;buffer_percentage&amp;gt; ports [&amp;lt;port-list&amp;gt; | all]]]&lt;br /&gt;
 configure qosprofile {egress} &amp;lt;qosprofile&amp;gt; [{minbw &amp;lt;minbw_number&amp;gt;} {qos-weight &amp;lt;weight&amp;gt;} {maxbw &amp;lt;maxbw_number&amp;gt;} | {{committed_rate &amp;lt;committed_bps&amp;gt; [K | M]} {qos-weight &amp;lt;weight&amp;gt;} {peak_rate &amp;lt;peak_bps&amp;gt; [K | M]}] {priority [&amp;lt;priority&amp;gt; | &amp;lt;priority_number&amp;gt;]} [ports [&amp;lt;port_list&amp;gt; | all]]&lt;br /&gt;
 show qosprofile {ingress | egress} ports [ all | &amp;lt;port_list&amp;gt;]	- посмотреть, как настроено.&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=ExtremeXOS&amp;diff=660</id>
		<title>ExtremeXOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=ExtremeXOS&amp;diff=660"/>
		<updated>2020-12-23T09:48:57Z</updated>

		<summary type="html">&lt;p&gt;Sol: Новая страница: «Категория:Hardware»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=659</id>
		<title>HP ProLiant G8</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=659"/>
		<updated>2020-11-24T08:03:56Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* iLO pwd reset */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/span&amp;gt;&lt;br /&gt;
= Management Component Pack =&lt;br /&gt;
[https://downloads.linux.hpe.com/SDR/project/mcp/ HPE]&lt;br /&gt;
&lt;br /&gt;
The Linux Management Component Pack provides agent software for use on community-supported distributions.&lt;br /&gt;
&lt;br /&gt;
'''hp-health'''	HPE System Health Application and Command line Utilities (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hponcfg'''	HPE RILOE II/iLO online configuration utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''amsd'''	HPE Agentless Management Service (Gen10 only) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-ams'''	HPE Agentless Management Service (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-snmp-agents'''	Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hpsmh'''	HPE System Management Homepage (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-smh-templates'''	HPE System Management Homepage Templates (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssacli'''	HPE Command Line Smart Storage Administration Utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssaducli'''	HPE Command Line Smart Storage Administration Diagnostics &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssa'''	HPE Array Smart Storage Administration Service &amp;lt;br&amp;gt;&lt;br /&gt;
=== rpm install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
[mcp]&lt;br /&gt;
name=Management Component Pack&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Download GPG [http://downloads.linux.hpe.com/SDR/keys public]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Where: &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist''': centos, fedora, opensuse, oracle, asianux &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist_ver''': Browse repo to identify supported distribution versions &amp;lt;br&amp;gt;&lt;br /&gt;
'''arch''': i386, x86_64 &amp;lt;br&amp;gt;&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the packages in the repository&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum --disablerepo=&amp;quot;*&amp;quot; --enablerepo=&amp;quot;short_repo_name&amp;quot; list available&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== CentOS 7 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' &amp;gt;&amp;gt;/etc/yum.repos.d/mcp.repo&lt;br /&gt;
[HP-mcp]&lt;br /&gt;
name=HP Management Component Pack for ProLiant&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== deb install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# HPE Management Component Pack&lt;br /&gt;
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
'''dist''': bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
Install the HPE [http://downloads.linux.hpe.com/SDR/keys public] gpg key&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update the local apt indexes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-cache search &amp;lt;packagename&amp;gt; # browse debs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 9 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO pwd reset ==&lt;br /&gt;
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install hponcfg -y&lt;br /&gt;
apt-get install hponcfg -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset Administrator pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MOD_USER USER_LOGIN=&amp;quot;Administrator&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;PASSWORD value=&amp;quot;pa$$word&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/MOD_USER&amp;gt;&lt;br /&gt;
  &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
  &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?newpass?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_password.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset other user pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ribcl version=&amp;quot;2.0&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;login user_login=&amp;quot;Administrator&amp;quot; password=&amp;quot;boguspassword&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;user_info mode=&amp;quot;write&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;mod_user user_login=&amp;quot;root&amp;quot;&amp;gt;    &lt;br /&gt;
&amp;lt;password value=&amp;quot;root123&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;/password&amp;gt;  &lt;br /&gt;
&amp;lt;/mod_user&amp;gt;  &lt;br /&gt;
&amp;lt;/user_info&amp;gt;  &lt;br /&gt;
&amp;lt;/login&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?root?  - user login&lt;br /&gt;
where ?root123?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO set ip  ==&lt;br /&gt;
vim ''iLO4_set_ip.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;RIB_INFO MODE=&amp;quot;WRITE&amp;quot; &amp;gt;&lt;br /&gt;
 &amp;lt;MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;IP_ADDRESS VALUE = &amp;quot;10.10.10.10&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;SUBNET_MASK VALUE = &amp;quot;255.255.255.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;GATEWAY_IP_ADDRESS VALUE = &amp;quot;10.10.10.1&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;PRIM_DNS_SERVER value = &amp;quot;0.0.0.0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;DHCP_ENABLE VALUE = &amp;quot;N&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/MOD_NETWORK_SETTINGS&amp;gt;&lt;br /&gt;
 &amp;lt;/RIB_INFO&amp;gt;&lt;br /&gt;
 &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_ip.xml&lt;br /&gt;
&lt;br /&gt;
== ssacli  ==&lt;br /&gt;
Raid control CLI tool&lt;br /&gt;
&lt;br /&gt;
Show configuration&lt;br /&gt;
 ssacli ctrl all show config&lt;br /&gt;
&lt;br /&gt;
Controller status&lt;br /&gt;
 ssacli ctrl all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for all controllers&lt;br /&gt;
 ssacli ctrl all show detail&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for controller in slot 0&lt;br /&gt;
 ssacli ctrl slot=0 show detail&lt;br /&gt;
&lt;br /&gt;
Rescan for New Devices&lt;br /&gt;
 ssacli rescan&lt;br /&gt;
&lt;br /&gt;
Physical disk status&lt;br /&gt;
 ssacli ctrl slot=0 pd all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed physical disk information&lt;br /&gt;
 ssacli ctrl slot=0 pd all show detail&lt;br /&gt;
&lt;br /&gt;
Logical disk status&lt;br /&gt;
 ssacli ctrl slot=0 ld all show status&lt;br /&gt;
&lt;br /&gt;
View Detailed Logical Drive Status&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 show&lt;br /&gt;
&lt;br /&gt;
Create New RAID 0 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0&lt;br /&gt;
&lt;br /&gt;
Create New RAID 1 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1&lt;br /&gt;
&lt;br /&gt;
Create New RAID 5 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5&lt;br /&gt;
&lt;br /&gt;
Delete Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 delete&lt;br /&gt;
&lt;br /&gt;
Add New Physical Drive to Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Add - All unassigned drives to logical drive 1&lt;br /&gt;
 ssacli ctrl slot=1 ld 1 add drives=allunassigned&lt;br /&gt;
&lt;br /&gt;
Add Spare Disks&lt;br /&gt;
 ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Modify - Extend logical drive 2 size to maximum (must be run with the &amp;quot;forced&amp;quot; flag)&lt;br /&gt;
 ssacli ctrl slot=1 ld 2 modify size=max forced&lt;br /&gt;
&lt;br /&gt;
Enable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=disable&lt;br /&gt;
&lt;br /&gt;
Erase Physical Drive&lt;br /&gt;
 ssacli ctrl slot=0 pd 2I:1:6 modify erase&lt;br /&gt;
&lt;br /&gt;
Turn on Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=on&lt;br /&gt;
&lt;br /&gt;
Turn off Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=off&lt;br /&gt;
&lt;br /&gt;
Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)&lt;br /&gt;
 ssacli ctrl slot=0 modify cacheratio=100/0&lt;br /&gt;
&lt;br /&gt;
Enable smart array write cache when no battery is present (No-Battery Write Cache option)&lt;br /&gt;
 ssacli ctrl slot=0 modify nbwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable&lt;br /&gt;
&lt;br /&gt;
Enable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable&lt;br /&gt;
&lt;br /&gt;
Enable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=enable&lt;br /&gt;
&lt;br /&gt;
Disable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=disable&lt;br /&gt;
&lt;br /&gt;
= SNMP OID List for iLO4 =&lt;br /&gt;
Below is a list and description for OID coolers, processors, temperature sensors, logical drives (RAID), hard disks, network controller iLO, RAM.&lt;br /&gt;
&lt;br /&gt;
'''Fans:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.2.0 (Fan Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.3.0 (Fan Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card, 14=management board, 15=backplane, 16=network slot, 17=blade slot, 18=virtual)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.4.0 (Fan Present (1=other, 2=absent, 3=present)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.5.0 (Fan Present (1=other, 2=tachOutput, 3=spinDetect)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.6.0 (Fan Speed (1=other, 2=normal, 3=high)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.9.0 (Fan Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Temperature:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.2.0 (Temperature Sensor Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.3.0 (Temperature Sensor Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.7.0 (Threshold Type (1=other, 5=blowout, 9=caution, 15=critical, 16=noreaction)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.4.0 (Temperature Celsius)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.5.0 (TemperatureThreshold)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.6.0 (TemperatureCondition)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''CPU:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.1 (CPU Index)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.3 (CPU Name)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.4 (CPU Speed in MHz)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.5 (CPU Step)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.6 (CPU status (1=unknown, 2=ok, 3=degraded, 4=failed, 5=disabled)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.15 (Number of enabled CPU cores)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.25 (Number of available CPU threads)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.26 (CPU power status (1=unknown, 2=Low Powered, 3=Normal Powered, 4=High Powered)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Logical Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.2.0 (Logical Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.1.0 (Logical Drive Controller)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.3.0 (Logical Drive Fault Tolerance (1=other, 2=none, 3=RAID 1/RAID 1+0 (Mirroring), 4=RAID 4 (Data Guard), 5=RAID 5 (Distributed Data Guard), 7=RAID 6 (Advanced Data Guarding), 8=RAID 50, 9=RAID 60, 10=RAID 1 ADM (Advanced Data Mirroring), 11=RAID 10 ADM (Advanced Data Mirroring with Striping))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.9.0 (Logical Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.4.0 (Logical Drive Status (1=other, 2=ok, 3=Failed, 4=Unconfigured, 5=Recovering, 6=Ready Rebuild, 7=Rebuilding, 8=Wrong Drive, 9=Bad Connect, 10=Overheating, 11=Shutdown, 12=Expanding, 13=Not Available, 14=Queued For Expansion, 15=Multi-path Access Degraded, 16=Erasing, 17=Predictive Spare Rebuild Ready, 18=Rapid Parity Initialization In Progress, 19=Rapid Parity Initialization Pending, 20=No Access – Encrypted with No Controller Key, 21=Unencrypted to Encrypted Transformation in Progress, 22=New Logical Drive Key Rekey in Progress, 23=No Access – Encrypted with Controller Encryption Not Enabled, 24=Unencrypted To Encrypted Transformation Not Started, 25=New Logical Drive Key Rekey Request Received)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.11.0 (Logical Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.2.0 (Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.5.0 (Drive Bay)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.64.0 (Drive Location)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.3.0 (Drive Vendor)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.51.0 (Drive Serial Number)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.45.0 (Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.65.0 (Drive Link Rate (1=other, 2=1.5Gbps, 3=3.0Gbps, 4=6.0Gbps, 5=12.0Gbps))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.70.0 (Drive Current Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.71.0 (Drive Temperature Threshold)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.72.0 (Drive Maximum Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.6.0 (Drive Status (1=Other, 2=Ok, 3=Failed, 4=Predictive Failure, 5=Erasing, 6=Erase Done, 7=Erase Queued, 8=SSD Wear Out, 9=Not Authenticated)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.37.0 (Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.9.0 (Drive Reference Time in hours)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''iLO NIC:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.1 (iLO location)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.2 (iLO NIC model)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.4 (iLO NIC MAC)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.5 (iLO NIC IPv4)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.9 (iLO NIC speed)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.14 (iLO NIC FQDN)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.2 (Tx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.3 (Tx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.6 (Tx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.7 (Tx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.9 (Rx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.10 (Rx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.13 (Rx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.14 (Rx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.15 (Rx unknown packets)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Memory:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.1 (Memory Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.13 (Location)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.9 (Manufacturer)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.10 (Part Number)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.6 (Size in Kbytes)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.8 (Memory Technology)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.7 (Memory Type)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.19 (Memory status (1=other, 2=notPresent, 3=present, 4=good, 5=add, 6=upgrade, 7=missing, 8=doesNotMatch, 9=notSupported, 10=badConfig, 11=degraded, 12=spare, 13=partial)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.20 (Memory condition (1=other, 2=ok, 3=degraded, 4=degradedModuleIndexUnknown)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=658</id>
		<title>HP ProLiant G8</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=658"/>
		<updated>2020-11-24T08:01:12Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* reset Administrator pwd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/span&amp;gt;&lt;br /&gt;
= Management Component Pack =&lt;br /&gt;
[https://downloads.linux.hpe.com/SDR/project/mcp/ HPE]&lt;br /&gt;
&lt;br /&gt;
The Linux Management Component Pack provides agent software for use on community-supported distributions.&lt;br /&gt;
&lt;br /&gt;
'''hp-health'''	HPE System Health Application and Command line Utilities (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hponcfg'''	HPE RILOE II/iLO online configuration utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''amsd'''	HPE Agentless Management Service (Gen10 only) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-ams'''	HPE Agentless Management Service (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-snmp-agents'''	Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hpsmh'''	HPE System Management Homepage (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-smh-templates'''	HPE System Management Homepage Templates (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssacli'''	HPE Command Line Smart Storage Administration Utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssaducli'''	HPE Command Line Smart Storage Administration Diagnostics &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssa'''	HPE Array Smart Storage Administration Service &amp;lt;br&amp;gt;&lt;br /&gt;
=== rpm install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
[mcp]&lt;br /&gt;
name=Management Component Pack&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Download GPG [http://downloads.linux.hpe.com/SDR/keys public]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Where: &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist''': centos, fedora, opensuse, oracle, asianux &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist_ver''': Browse repo to identify supported distribution versions &amp;lt;br&amp;gt;&lt;br /&gt;
'''arch''': i386, x86_64 &amp;lt;br&amp;gt;&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the packages in the repository&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum --disablerepo=&amp;quot;*&amp;quot; --enablerepo=&amp;quot;short_repo_name&amp;quot; list available&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== CentOS 7 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' &amp;gt;&amp;gt;/etc/yum.repos.d/mcp.repo&lt;br /&gt;
[HP-mcp]&lt;br /&gt;
name=HP Management Component Pack for ProLiant&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== deb install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# HPE Management Component Pack&lt;br /&gt;
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
'''dist''': bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
Install the HPE [http://downloads.linux.hpe.com/SDR/keys public] gpg key&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update the local apt indexes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-cache search &amp;lt;packagename&amp;gt; # browse debs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 9 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO pwd reset ==&lt;br /&gt;
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install hponcfg -y&lt;br /&gt;
apt-get install hponcfg -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset Administrator pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MOD_USER USER_LOGIN=&amp;quot;Administrator&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;PASSWORD value=&amp;quot;pa$$word&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/MOD_USER&amp;gt;&lt;br /&gt;
  &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
  &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?newpass?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f iLO4_set_password.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset other user pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ribcl version=&amp;quot;2.0&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;login user_login=&amp;quot;Administrator&amp;quot; password=&amp;quot;boguspassword&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;user_info mode=&amp;quot;write&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;mod_user user_login=&amp;quot;root&amp;quot;&amp;gt;    &lt;br /&gt;
&amp;lt;password value=&amp;quot;root123&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;/password&amp;gt;  &lt;br /&gt;
&amp;lt;/mod_user&amp;gt;  &lt;br /&gt;
&amp;lt;/user_info&amp;gt;  &lt;br /&gt;
&amp;lt;/login&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?root?  - user login&lt;br /&gt;
where ?root123?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ssacli  ==&lt;br /&gt;
Raid control CLI tool&lt;br /&gt;
&lt;br /&gt;
Show configuration&lt;br /&gt;
 ssacli ctrl all show config&lt;br /&gt;
&lt;br /&gt;
Controller status&lt;br /&gt;
 ssacli ctrl all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for all controllers&lt;br /&gt;
 ssacli ctrl all show detail&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for controller in slot 0&lt;br /&gt;
 ssacli ctrl slot=0 show detail&lt;br /&gt;
&lt;br /&gt;
Rescan for New Devices&lt;br /&gt;
 ssacli rescan&lt;br /&gt;
&lt;br /&gt;
Physical disk status&lt;br /&gt;
 ssacli ctrl slot=0 pd all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed physical disk information&lt;br /&gt;
 ssacli ctrl slot=0 pd all show detail&lt;br /&gt;
&lt;br /&gt;
Logical disk status&lt;br /&gt;
 ssacli ctrl slot=0 ld all show status&lt;br /&gt;
&lt;br /&gt;
View Detailed Logical Drive Status&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 show&lt;br /&gt;
&lt;br /&gt;
Create New RAID 0 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0&lt;br /&gt;
&lt;br /&gt;
Create New RAID 1 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1&lt;br /&gt;
&lt;br /&gt;
Create New RAID 5 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5&lt;br /&gt;
&lt;br /&gt;
Delete Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 delete&lt;br /&gt;
&lt;br /&gt;
Add New Physical Drive to Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Add - All unassigned drives to logical drive 1&lt;br /&gt;
 ssacli ctrl slot=1 ld 1 add drives=allunassigned&lt;br /&gt;
&lt;br /&gt;
Add Spare Disks&lt;br /&gt;
 ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Modify - Extend logical drive 2 size to maximum (must be run with the &amp;quot;forced&amp;quot; flag)&lt;br /&gt;
 ssacli ctrl slot=1 ld 2 modify size=max forced&lt;br /&gt;
&lt;br /&gt;
Enable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=disable&lt;br /&gt;
&lt;br /&gt;
Erase Physical Drive&lt;br /&gt;
 ssacli ctrl slot=0 pd 2I:1:6 modify erase&lt;br /&gt;
&lt;br /&gt;
Turn on Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=on&lt;br /&gt;
&lt;br /&gt;
Turn off Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=off&lt;br /&gt;
&lt;br /&gt;
Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)&lt;br /&gt;
 ssacli ctrl slot=0 modify cacheratio=100/0&lt;br /&gt;
&lt;br /&gt;
Enable smart array write cache when no battery is present (No-Battery Write Cache option)&lt;br /&gt;
 ssacli ctrl slot=0 modify nbwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable&lt;br /&gt;
&lt;br /&gt;
Enable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable&lt;br /&gt;
&lt;br /&gt;
Enable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=enable&lt;br /&gt;
&lt;br /&gt;
Disable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=disable&lt;br /&gt;
&lt;br /&gt;
= SNMP OID List for iLO4 =&lt;br /&gt;
Below is a list and description for OID coolers, processors, temperature sensors, logical drives (RAID), hard disks, network controller iLO, RAM.&lt;br /&gt;
&lt;br /&gt;
'''Fans:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.2.0 (Fan Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.3.0 (Fan Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card, 14=management board, 15=backplane, 16=network slot, 17=blade slot, 18=virtual)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.4.0 (Fan Present (1=other, 2=absent, 3=present)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.5.0 (Fan Present (1=other, 2=tachOutput, 3=spinDetect)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.6.0 (Fan Speed (1=other, 2=normal, 3=high)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.9.0 (Fan Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Temperature:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.2.0 (Temperature Sensor Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.3.0 (Temperature Sensor Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.7.0 (Threshold Type (1=other, 5=blowout, 9=caution, 15=critical, 16=noreaction)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.4.0 (Temperature Celsius)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.5.0 (TemperatureThreshold)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.6.0 (TemperatureCondition)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''CPU:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.1 (CPU Index)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.3 (CPU Name)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.4 (CPU Speed in MHz)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.5 (CPU Step)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.6 (CPU status (1=unknown, 2=ok, 3=degraded, 4=failed, 5=disabled)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.15 (Number of enabled CPU cores)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.25 (Number of available CPU threads)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.26 (CPU power status (1=unknown, 2=Low Powered, 3=Normal Powered, 4=High Powered)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Logical Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.2.0 (Logical Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.1.0 (Logical Drive Controller)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.3.0 (Logical Drive Fault Tolerance (1=other, 2=none, 3=RAID 1/RAID 1+0 (Mirroring), 4=RAID 4 (Data Guard), 5=RAID 5 (Distributed Data Guard), 7=RAID 6 (Advanced Data Guarding), 8=RAID 50, 9=RAID 60, 10=RAID 1 ADM (Advanced Data Mirroring), 11=RAID 10 ADM (Advanced Data Mirroring with Striping))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.9.0 (Logical Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.4.0 (Logical Drive Status (1=other, 2=ok, 3=Failed, 4=Unconfigured, 5=Recovering, 6=Ready Rebuild, 7=Rebuilding, 8=Wrong Drive, 9=Bad Connect, 10=Overheating, 11=Shutdown, 12=Expanding, 13=Not Available, 14=Queued For Expansion, 15=Multi-path Access Degraded, 16=Erasing, 17=Predictive Spare Rebuild Ready, 18=Rapid Parity Initialization In Progress, 19=Rapid Parity Initialization Pending, 20=No Access – Encrypted with No Controller Key, 21=Unencrypted to Encrypted Transformation in Progress, 22=New Logical Drive Key Rekey in Progress, 23=No Access – Encrypted with Controller Encryption Not Enabled, 24=Unencrypted To Encrypted Transformation Not Started, 25=New Logical Drive Key Rekey Request Received)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.11.0 (Logical Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.2.0 (Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.5.0 (Drive Bay)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.64.0 (Drive Location)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.3.0 (Drive Vendor)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.51.0 (Drive Serial Number)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.45.0 (Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.65.0 (Drive Link Rate (1=other, 2=1.5Gbps, 3=3.0Gbps, 4=6.0Gbps, 5=12.0Gbps))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.70.0 (Drive Current Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.71.0 (Drive Temperature Threshold)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.72.0 (Drive Maximum Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.6.0 (Drive Status (1=Other, 2=Ok, 3=Failed, 4=Predictive Failure, 5=Erasing, 6=Erase Done, 7=Erase Queued, 8=SSD Wear Out, 9=Not Authenticated)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.37.0 (Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.9.0 (Drive Reference Time in hours)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''iLO NIC:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.1 (iLO location)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.2 (iLO NIC model)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.4 (iLO NIC MAC)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.5 (iLO NIC IPv4)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.9 (iLO NIC speed)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.14 (iLO NIC FQDN)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.2 (Tx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.3 (Tx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.6 (Tx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.7 (Tx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.9 (Rx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.10 (Rx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.13 (Rx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.14 (Rx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.15 (Rx unknown packets)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Memory:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.1 (Memory Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.13 (Location)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.9 (Manufacturer)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.10 (Part Number)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.6 (Size in Kbytes)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.8 (Memory Technology)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.7 (Memory Type)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.19 (Memory status (1=other, 2=notPresent, 3=present, 4=good, 5=add, 6=upgrade, 7=missing, 8=doesNotMatch, 9=notSupported, 10=badConfig, 11=degraded, 12=spare, 13=partial)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.20 (Memory condition (1=other, 2=ok, 3=degraded, 4=degradedModuleIndexUnknown)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=657</id>
		<title>HP ProLiant G8</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=HP_ProLiant_G8&amp;diff=657"/>
		<updated>2020-11-24T08:00:41Z</updated>

		<summary type="html">&lt;p&gt;Sol: /* reset Administrator pwd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Категория:Hardware]]&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/span&amp;gt;&lt;br /&gt;
= Management Component Pack =&lt;br /&gt;
[https://downloads.linux.hpe.com/SDR/project/mcp/ HPE]&lt;br /&gt;
&lt;br /&gt;
The Linux Management Component Pack provides agent software for use on community-supported distributions.&lt;br /&gt;
&lt;br /&gt;
'''hp-health'''	HPE System Health Application and Command line Utilities (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hponcfg'''	HPE RILOE II/iLO online configuration utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''amsd'''	HPE Agentless Management Service (Gen10 only) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-ams'''	HPE Agentless Management Service (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-snmp-agents'''	Insight Management SNMP Agents for HPE ProLiant Systems (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hpsmh'''	HPE System Management Homepage (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''hp-smh-templates'''	HPE System Management Homepage Templates (Gen9 and earlier) &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssacli'''	HPE Command Line Smart Storage Administration Utility &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssaducli'''	HPE Command Line Smart Storage Administration Diagnostics &amp;lt;br&amp;gt;&lt;br /&gt;
'''ssa'''	HPE Array Smart Storage Administration Service &amp;lt;br&amp;gt;&lt;br /&gt;
=== rpm install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into ''/etc/yum.repos.d/mcp.repo'' on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
[mcp]&lt;br /&gt;
name=Management Component Pack&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/repo/mcp/dist/dist_ver/arch/project_ver&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Download GPG [http://downloads.linux.hpe.com/SDR/keys public]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
rpm --import http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Where: &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist''': centos, fedora, opensuse, oracle, asianux &amp;lt;br&amp;gt;&lt;br /&gt;
'''dist_ver''': Browse repo to identify supported distribution versions &amp;lt;br&amp;gt;&lt;br /&gt;
'''arch''': i386, x86_64 &amp;lt;br&amp;gt;&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.62, 10.50, 10.40, 10.20, 10.00, 9.30, 9.25 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List the packages in the repository&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum --disablerepo=&amp;quot;*&amp;quot; --enablerepo=&amp;quot;short_repo_name&amp;quot; list available&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$ yum install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== CentOS 7 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' &amp;gt;&amp;gt;/etc/yum.repos.d/mcp.repo&lt;br /&gt;
[HP-mcp]&lt;br /&gt;
name=HP Management Component Pack for ProLiant&lt;br /&gt;
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp -O /etc/pki/rpm-gpg/GPG-KEY-mcp&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== deb install ===&lt;br /&gt;
Cut-n-paste the following section (substituting distribution, architecture and project version) into /etc/apt/sources.list.d/mcp.list on your system:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# HPE Management Component Pack&lt;br /&gt;
deb http://downloads.linux.hpe.com/SDR/repo/mcp dist/project_ver non-free&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
'''dist''': bionic, xenial, trusty, precise, stretch, jessie, squeeze, wheezy&lt;br /&gt;
'''project_ver''': current, 11.30, 11.21, 11.05, 10.80, 10.60, 10.50, 10.40, 9.50, 9.40&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
Install the HPE [http://downloads.linux.hpe.com/SDR/keys public] gpg key&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
 curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update the local apt indexes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Search for a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-cache search &amp;lt;packagename&amp;gt; # browse debs&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install a specific package&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
# apt-get install &amp;lt;packagename&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Debian 9 ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &amp;quot;# HPE Management Component Pack&amp;quot; &amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
echo &amp;quot;deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free&amp;quot; &amp;gt;&amp;gt;/etc/apt/sources.list.d/hp-nonfree.list&lt;br /&gt;
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== iLO pwd reset ==&lt;br /&gt;
[https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03487111 HPE]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install hponcfg -y&lt;br /&gt;
apt-get install hponcfg -y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset Administrator pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;RIBCL VERSION=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;LOGIN USER_LOGIN=&amp;quot;xxx&amp;quot; PASSWORD=&amp;quot;xxx&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;USER_INFO MODE=&amp;quot;write&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MOD_USER USER_LOGIN=&amp;quot;Administrator&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;PASSWORD value=&amp;quot;pa$$word&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/MOD_USER&amp;gt;&lt;br /&gt;
  &amp;lt;/USER_INFO&amp;gt;&lt;br /&gt;
  &amp;lt;/LOGIN&amp;gt;&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?newpass?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== reset other user pwd ===&lt;br /&gt;
&lt;br /&gt;
vim ''iLO4_set_password.xml''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ribcl version=&amp;quot;2.0&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;login user_login=&amp;quot;Administrator&amp;quot; password=&amp;quot;boguspassword&amp;quot;&amp;gt;  &lt;br /&gt;
&amp;lt;user_info mode=&amp;quot;write&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;mod_user user_login=&amp;quot;root&amp;quot;&amp;gt;    &lt;br /&gt;
&amp;lt;password value=&amp;quot;root123&amp;quot;&amp;gt;   &lt;br /&gt;
&amp;lt;/password&amp;gt;  &lt;br /&gt;
&amp;lt;/mod_user&amp;gt;  &lt;br /&gt;
&amp;lt;/user_info&amp;gt;  &lt;br /&gt;
&amp;lt;/login&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/RIBCL&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ?root?  - user login&lt;br /&gt;
where ?root123?  - new pwd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Bash&amp;quot;&amp;gt;&lt;br /&gt;
$  hponcfg -f passwd_reset_ilo.xml -l log.txt    &lt;br /&gt;
Firmware Revision = 1.92 Device type = iLO Driver name = hpilo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ssacli  ==&lt;br /&gt;
Raid control CLI tool&lt;br /&gt;
&lt;br /&gt;
Show configuration&lt;br /&gt;
 ssacli ctrl all show config&lt;br /&gt;
&lt;br /&gt;
Controller status&lt;br /&gt;
 ssacli ctrl all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for all controllers&lt;br /&gt;
 ssacli ctrl all show detail&lt;br /&gt;
&lt;br /&gt;
Show detailed controller information for controller in slot 0&lt;br /&gt;
 ssacli ctrl slot=0 show detail&lt;br /&gt;
&lt;br /&gt;
Rescan for New Devices&lt;br /&gt;
 ssacli rescan&lt;br /&gt;
&lt;br /&gt;
Physical disk status&lt;br /&gt;
 ssacli ctrl slot=0 pd all show status&lt;br /&gt;
&lt;br /&gt;
Show detailed physical disk information&lt;br /&gt;
 ssacli ctrl slot=0 pd all show detail&lt;br /&gt;
&lt;br /&gt;
Logical disk status&lt;br /&gt;
 ssacli ctrl slot=0 ld all show status&lt;br /&gt;
&lt;br /&gt;
View Detailed Logical Drive Status&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 show&lt;br /&gt;
&lt;br /&gt;
Create New RAID 0 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0&lt;br /&gt;
&lt;br /&gt;
Create New RAID 1 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1&lt;br /&gt;
&lt;br /&gt;
Create New RAID 5 Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5&lt;br /&gt;
&lt;br /&gt;
Delete Logical Drive&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 delete&lt;br /&gt;
&lt;br /&gt;
Add New Physical Drive to Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Add - All unassigned drives to logical drive 1&lt;br /&gt;
 ssacli ctrl slot=1 ld 1 add drives=allunassigned&lt;br /&gt;
&lt;br /&gt;
Add Spare Disks&lt;br /&gt;
 ssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7&lt;br /&gt;
&lt;br /&gt;
Modify - Extend logical drive 2 size to maximum (must be run with the &amp;quot;forced&amp;quot; flag)&lt;br /&gt;
 ssacli ctrl slot=1 ld 2 modify size=max forced&lt;br /&gt;
&lt;br /&gt;
Enable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable Drive Write Cache&lt;br /&gt;
 ssacli ctrl slot=0 modify dwc=disable&lt;br /&gt;
&lt;br /&gt;
Erase Physical Drive&lt;br /&gt;
 ssacli ctrl slot=0 pd 2I:1:6 modify erase&lt;br /&gt;
&lt;br /&gt;
Turn on Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=on&lt;br /&gt;
&lt;br /&gt;
Turn off Blink Physical Disk LED&lt;br /&gt;
 ssacli ctrl slot=0 ld 2 modify led=off&lt;br /&gt;
&lt;br /&gt;
Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)&lt;br /&gt;
 ssacli ctrl slot=0 modify cacheratio=100/0&lt;br /&gt;
&lt;br /&gt;
Enable smart array write cache when no battery is present (No-Battery Write Cache option)&lt;br /&gt;
 ssacli ctrl slot=0 modify nbwc=enable&lt;br /&gt;
&lt;br /&gt;
Disable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable&lt;br /&gt;
&lt;br /&gt;
Enable smart array cache for certain Logical Volume&lt;br /&gt;
 ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable&lt;br /&gt;
&lt;br /&gt;
Enable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=enable&lt;br /&gt;
&lt;br /&gt;
Disable SSD Smart Path&lt;br /&gt;
 ssacli ctrl slot=0 array a modify ssdsmartpath=disable&lt;br /&gt;
&lt;br /&gt;
= SNMP OID List for iLO4 =&lt;br /&gt;
Below is a list and description for OID coolers, processors, temperature sensors, logical drives (RAID), hard disks, network controller iLO, RAM.&lt;br /&gt;
&lt;br /&gt;
'''Fans:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.2.0 (Fan Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.3.0 (Fan Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card, 14=management board, 15=backplane, 16=network slot, 17=blade slot, 18=virtual)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.4.0 (Fan Present (1=other, 2=absent, 3=present)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.5.0 (Fan Present (1=other, 2=tachOutput, 3=spinDetect)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.6.0 (Fan Speed (1=other, 2=normal, 3=high)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.7.1.9.0 (Fan Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Temperature:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.2.0 (Temperature Sensor Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.3.0 (Temperature Sensor Locale (1=other, 2=unknown, 3=system, 4=systemBoard, 5=ioBoard, 6=cpu, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambent, 12=chassis, 13=bridge card)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.7.0 (Threshold Type (1=other, 5=blowout, 9=caution, 15=critical, 16=noreaction)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.4.0 (Temperature Celsius)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.5.0 (TemperatureThreshold)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.6.8.1.6.0 (TemperatureCondition)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''CPU:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.1 (CPU Index)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.3 (CPU Name)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.4 (CPU Speed in MHz)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.5 (CPU Step)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.6 (CPU status (1=unknown, 2=ok, 3=degraded, 4=failed, 5=disabled)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.15 (Number of enabled CPU cores)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.25 (Number of available CPU threads)&lt;br /&gt;
.1.3.6.1.4.1.232.1.2.2.1.1.26 (CPU power status (1=unknown, 2=Low Powered, 3=Normal Powered, 4=High Powered)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Logical Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.2.0 (Logical Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.1.0 (Logical Drive Controller)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.3.0 (Logical Drive Fault Tolerance (1=other, 2=none, 3=RAID 1/RAID 1+0 (Mirroring), 4=RAID 4 (Data Guard), 5=RAID 5 (Distributed Data Guard), 7=RAID 6 (Advanced Data Guarding), 8=RAID 50, 9=RAID 60, 10=RAID 1 ADM (Advanced Data Mirroring), 11=RAID 10 ADM (Advanced Data Mirroring with Striping))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.9.0 (Logical Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.4.0 (Logical Drive Status (1=other, 2=ok, 3=Failed, 4=Unconfigured, 5=Recovering, 6=Ready Rebuild, 7=Rebuilding, 8=Wrong Drive, 9=Bad Connect, 10=Overheating, 11=Shutdown, 12=Expanding, 13=Not Available, 14=Queued For Expansion, 15=Multi-path Access Degraded, 16=Erasing, 17=Predictive Spare Rebuild Ready, 18=Rapid Parity Initialization In Progress, 19=Rapid Parity Initialization Pending, 20=No Access – Encrypted with No Controller Key, 21=Unencrypted to Encrypted Transformation in Progress, 22=New Logical Drive Key Rekey in Progress, 23=No Access – Encrypted with Controller Encryption Not Enabled, 24=Unencrypted To Encrypted Transformation Not Started, 25=New Logical Drive Key Rekey Request Received)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.3.1.1.11.0 (Logical Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Drives:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.2.0 (Drive Index)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.5.0 (Drive Bay)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.64.0 (Drive Location)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.3.0 (Drive Vendor)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.51.0 (Drive Serial Number)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.45.0 (Drive Size in Mb)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.65.0 (Drive Link Rate (1=other, 2=1.5Gbps, 3=3.0Gbps, 4=6.0Gbps, 5=12.0Gbps))&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.70.0 (Drive Current Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.71.0 (Drive Temperature Threshold)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.72.0 (Drive Maximum Temperature)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.6.0 (Drive Status (1=Other, 2=Ok, 3=Failed, 4=Predictive Failure, 5=Erasing, 6=Erase Done, 7=Erase Queued, 8=SSD Wear Out, 9=Not Authenticated)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.37.0 (Drive Condition (1=other, 2=ok, 3=degraded, 4=failed)&lt;br /&gt;
.1.3.6.1.4.1.232.3.2.5.1.1.9.0 (Drive Reference Time in hours)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''iLO NIC:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.1 (iLO location)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.2 (iLO NIC model)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.4 (iLO NIC MAC)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.5 (iLO NIC IPv4)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.9 (iLO NIC speed)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.1.1.14 (iLO NIC FQDN)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.2 (Tx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.3 (Tx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.6 (Tx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.7 (Tx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.9 (Rx bytes)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.10 (Rx packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.13 (Rx discard packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.14 (Rx error packets)&lt;br /&gt;
.1.3.6.1.4.1.232.9.2.5.2.1.15 (Rx unknown packets)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Memory:'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.1 (Memory Index)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.13 (Location)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.9 (Manufacturer)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.10 (Part Number)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.6 (Size in Kbytes)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.8 (Memory Technology)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.7 (Memory Type)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.19 (Memory status (1=other, 2=notPresent, 3=present, 4=good, 5=add, 6=upgrade, 7=missing, 8=doesNotMatch, 9=notSupported, 10=badConfig, 11=degraded, 12=spare, 13=partial)&lt;br /&gt;
.1.3.6.1.4.1.232.6.2.14.13.1.20 (Memory condition (1=other, 2=ok, 3=degraded, 4=degradedModuleIndexUnknown)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
</feed>