<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.peterpap.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ppapa</id>
		<title>Peter Pap's Technowiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.peterpap.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ppapa"/>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php/Special:Contributions/Ppapa"/>
		<updated>2026-05-05T00:30:09Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=741</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=741"/>
				<updated>2025-06-27T03:13:48Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** Solaris|Solaris&lt;br /&gt;
** CentOS/Redhat|CentOS/Redhat&lt;br /&gt;
** Ubuntu|Ubuntu&lt;br /&gt;
** Windows|Windows&lt;br /&gt;
** Apple/Mac OS|Apple/Mac OS&lt;br /&gt;
** Cisco|Cisco&lt;br /&gt;
** NetApp|NetApp&lt;br /&gt;
** Oracle|Oracle&lt;br /&gt;
** General Unix|General Unix&lt;br /&gt;
** Nagios|Nagios&lt;br /&gt;
** Veritas|Veritas&lt;br /&gt;
** VMware|VMware&lt;br /&gt;
** Dell|Dell&lt;br /&gt;
** OpenSSL|OpenSSL&lt;br /&gt;
** Kubernetes|Kubernetes&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Rancher_Login_Page_Blank&amp;diff=740</id>
		<title>Rancher Login Page Blank</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Rancher_Login_Page_Blank&amp;diff=740"/>
				<updated>2025-06-27T03:11:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, the Rancher login page is loading blank. You log into one of the Rancher nodes and see this:&lt;br /&gt;
&lt;br /&gt;
  # kubectl get node&lt;br /&gt;
  E0627 01:17:45.898377 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.899229 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.901039 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.901660 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.903403 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  Error from server (InternalError): an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
&lt;br /&gt;
You run the following command:&lt;br /&gt;
&lt;br /&gt;
  # openssl s_client -connect 127.0.0.1:443 -showcerts &amp;lt;/dev/null | openssl x509 -noout -text&lt;br /&gt;
  Can't use SSL_get_servername&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  verify error:num=18:self-signed certificate&lt;br /&gt;
  verify return:1&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  verify error:num=10:certificate has expired&lt;br /&gt;
  notAfter=Jun 26 01:04:33 2025 GMT&lt;br /&gt;
  verify return:1&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  notAfter=Jun 26 01:04:33 2025 GMT&lt;br /&gt;
  verify return:1&lt;br /&gt;
  Certificate:&lt;br /&gt;
      Data:&lt;br /&gt;
          Version: 3 (0x2)&lt;br /&gt;
          Serial Number:&lt;br /&gt;
              82:a2:22:9a:7f:ff:06:e3:cd:4e:1f:23:a6:16:fc:05&lt;br /&gt;
          Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
          Issuer: O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
          Validity&lt;br /&gt;
              Not Before: Jun 26 01:04:33 2024 GMT&lt;br /&gt;
              '''Not After : Jun 26 01:04:33 2025 GMT'''&lt;br /&gt;
&lt;br /&gt;
Look for the &amp;quot;'''Not After'''&amp;quot; field. If it's in the past, then your &amp;quot;'''Kubernetes Ingress Controller Fake Certificate'''&amp;quot; has expired! This certificate is used for inter Rancher node communication. To make it renew, reboot the node. Wait for it to come back up, then reboot the next node etc. Rancher should be back.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Rancher_Login_Page_Blank&amp;diff=739</id>
		<title>Rancher Login Page Blank</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Rancher_Login_Page_Blank&amp;diff=739"/>
				<updated>2025-06-27T03:10:50Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, the Rancher login page is loading blank. You log into one of the Rancher nodes and see this:&lt;br /&gt;
&lt;br /&gt;
  # kubectl get node&lt;br /&gt;
  E0627 01:17:45.898377 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.899229 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.901039 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.901660 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.903403 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  Error from server (InternalError): an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
&lt;br /&gt;
You run the following command:&lt;br /&gt;
&lt;br /&gt;
  # openssl s_client -connect 127.0.0.1:443 -showcerts &amp;lt;/dev/null | openssl x509 -noout -text&lt;br /&gt;
  Can't use SSL_get_servername&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  verify error:num=18:self-signed certificate&lt;br /&gt;
  verify return:1&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  verify error:num=10:certificate has expired&lt;br /&gt;
  notAfter=Jun 26 01:04:33 2025 GMT&lt;br /&gt;
  verify return:1&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  notAfter=Jun 26 01:04:33 2025 GMT&lt;br /&gt;
  verify return:1&lt;br /&gt;
  Certificate:&lt;br /&gt;
      Data:&lt;br /&gt;
          Version: 3 (0x2)&lt;br /&gt;
          Serial Number:&lt;br /&gt;
              82:a2:22:9a:7f:ff:06:e3:cd:4e:1f:23:a6:16:fc:05&lt;br /&gt;
          Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
          Issuer: O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
          Validity&lt;br /&gt;
              Not Before: Jun 26 01:04:33 2024 GMT&lt;br /&gt;
              '''Not After : Jun 26 01:04:33 2025 GMT'''&lt;br /&gt;
&lt;br /&gt;
Look for the &amp;quot;Not After&amp;quot; field. If it's in the past, then your &amp;quot;Kubernetes Ingress Controller Fake Certificate&amp;quot; has expired! This certificate is used for inter Rancher node communication. To make it renew, reboot the node. Wait for it to come back up, then reboot the next node etc. Rancher should be back.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Rancher_Login_Page_Blank&amp;diff=738</id>
		<title>Rancher Login Page Blank</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Rancher_Login_Page_Blank&amp;diff=738"/>
				<updated>2025-06-27T03:09:16Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;So, the Rancher login page is loading blank. You log into one of the Rancher nodes and see this:    # kubectl get node   E0627 01:17:45.898377 2181261 memcache.go:265] couldn'...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, the Rancher login page is loading blank. You log into one of the Rancher nodes and see this:&lt;br /&gt;
&lt;br /&gt;
  # kubectl get node&lt;br /&gt;
  E0627 01:17:45.898377 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.899229 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.901039 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.901660 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  E0627 01:17:45.903403 2181261 memcache.go:265] couldn't get current server API group list: an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
  Error from server (InternalError): an error on the server (&amp;quot;dial tcp 10.43.0.1:443: connect: connection refused&amp;quot;) has prevented the request from succeeding&lt;br /&gt;
&lt;br /&gt;
You run the following command:&lt;br /&gt;
&lt;br /&gt;
  # openssl s_client -connect 127.0.0.1:443 -showcerts &amp;lt;/dev/null | openssl x509 -noout -text&lt;br /&gt;
  Can't use SSL_get_servername&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  verify error:num=18:self-signed certificate&lt;br /&gt;
  verify return:1&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  verify error:num=10:certificate has expired&lt;br /&gt;
  notAfter=Jun 26 01:04:33 2025 GMT&lt;br /&gt;
  verify return:1&lt;br /&gt;
  depth=0 O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
  notAfter=Jun 26 01:04:33 2025 GMT&lt;br /&gt;
  verify return:1&lt;br /&gt;
  Certificate:&lt;br /&gt;
      Data:&lt;br /&gt;
          Version: 3 (0x2)&lt;br /&gt;
          Serial Number:&lt;br /&gt;
              82:a2:22:9a:7f:ff:06:e3:cd:4e:1f:23:a6:16:fc:05&lt;br /&gt;
          Signature Algorithm: sha256WithRSAEncryption&lt;br /&gt;
          Issuer: O = Acme Co, CN = Kubernetes Ingress Controller Fake Certificate&lt;br /&gt;
          Validity&lt;br /&gt;
              Not Before: Jun 26 01:04:33 2024 GMT&lt;br /&gt;
              '''Not After : Jun 26 01:04:33 2025 GMT'''&lt;br /&gt;
&lt;br /&gt;
The last line above tells you that &amp;quot;Kubernetes Ingress Controller Fake Certificate&amp;quot; has expired! To make it renew, reboot the node. Wait for it to come back up, then reboot the next node etc.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Rancher&amp;diff=737</id>
		<title>Rancher</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Rancher&amp;diff=737"/>
				<updated>2025-06-27T03:04:42Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;&amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;Rancher Login Page Blank&amp;lt;/li&amp;gt; &amp;lt;/UL&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Rancher Login Page Blank]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Kubernetes&amp;diff=736</id>
		<title>Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Kubernetes&amp;diff=736"/>
				<updated>2025-06-27T03:03:45Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;&amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;Rancher&amp;lt;/li&amp;gt; &amp;lt;/UL&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Rancher]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Main_Page&amp;diff=735</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Main_Page&amp;diff=735"/>
				<updated>2025-06-27T03:03:00Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Peter Papagiannopoulos' Technowiki.  This page is basically a brain dump of lots of different things I have done and learnt over a period of 18 years as a sys admin.  You'll find simple commands that I have found useful over the years, but that I quite often forget.  You'll find complete how-to's on things as varied as setting up Cisco wireless access points, to configuring a Solaris Jumpstart server.  The idea for this site was a place for me to store my documentation in an easily accessible format, but also a place for people to find things that aren't always that easy to find.  If you're reading this, I hope it's been of some use to you as well!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Solaris]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[CentOS/Redhat]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Ubuntu]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Windows]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Apple/Mac OS]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Cisco]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[NetApp]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Oracle]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[General Unix]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Nagios]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[VMware]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Veritas]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Avocent]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Dell]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[OpenSSL]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Kubernetes]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=734</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=734"/>
				<updated>2024-02-12T04:44:24Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** Solaris|Solaris&lt;br /&gt;
** CentOS/Redhat|CentOS/Redhat&lt;br /&gt;
** Ubuntu|Ubuntu&lt;br /&gt;
** Windows|Windows&lt;br /&gt;
** Apple/Mac OS|Apple/Mac OS&lt;br /&gt;
** Cisco|Cisco&lt;br /&gt;
** NetApp|NetApp&lt;br /&gt;
** Oracle|Oracle&lt;br /&gt;
** General Unix|General Unix&lt;br /&gt;
** Nagios|Nagios&lt;br /&gt;
** Veritas|Veritas&lt;br /&gt;
** VMware|VMware&lt;br /&gt;
** Dell|Dell&lt;br /&gt;
** OpenSSL|OpenSSL&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Verify_that_a_private_key_matches_a_certificate&amp;diff=733</id>
		<title>Verify that a private key matches a certificate</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Verify_that_a_private_key_matches_a_certificate&amp;diff=733"/>
				<updated>2024-02-12T04:42:38Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To verify that an RSA private key matches the RSA public key in a certificate you need to i) verify the consistency of the private key and ii) compare the modulus of the public key in the certificate against the modulus of the private key.&lt;br /&gt;
&lt;br /&gt;
To verify the consistency of the RSA private key and to view its modulus:&lt;br /&gt;
  openssl rsa -modulus -noout -in ''my.key'' | openssl md5&lt;br /&gt;
  &lt;br /&gt;
  openssl rsa -check -noout -in ''my.key''&lt;br /&gt;
  RSA Key is ok&lt;br /&gt;
If it doesn't say 'RSA key ok', it isn't OK!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To view the modulus of the RSA public key in a certificate:&lt;br /&gt;
  openssl x509 -modulus -noout -in ''my.crt'' | openssl md5&lt;br /&gt;
&lt;br /&gt;
If the first commands shows any errors, or if the modulus of the public key in the certificate and the modulus of the private key do not exactly match, then you're not using the correct private key. You can either create a brand new key and CSR and contact support, or you can do a search for any other private keys on the system and see if they match.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Verify_that_a_private_key_matches_a_certificate&amp;diff=732</id>
		<title>Verify that a private key matches a certificate</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Verify_that_a_private_key_matches_a_certificate&amp;diff=732"/>
				<updated>2024-02-12T04:42:26Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To verify that an RSA private key matches the RSA public key in a certificate you need to i) verify the consistency of the private key and ii) compare the modulus of the public key in the certificate against the modulus of the private key.&lt;br /&gt;
&lt;br /&gt;
To verify the consistency of the RSA private key and to view its modulus:&lt;br /&gt;
  openssl rsa -modulus -noout -in ''my.key'' | openssl md5&lt;br /&gt;
&lt;br /&gt;
  openssl rsa -check -noout -in ''my.key''&lt;br /&gt;
  RSA Key is ok&lt;br /&gt;
If it doesn't say 'RSA key ok', it isn't OK!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To view the modulus of the RSA public key in a certificate:&lt;br /&gt;
  openssl x509 -modulus -noout -in ''my.crt'' | openssl md5&lt;br /&gt;
&lt;br /&gt;
If the first commands shows any errors, or if the modulus of the public key in the certificate and the modulus of the private key do not exactly match, then you're not using the correct private key. You can either create a brand new key and CSR and contact support, or you can do a search for any other private keys on the system and see if they match.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Verify_that_a_private_key_matches_a_certificate&amp;diff=731</id>
		<title>Verify that a private key matches a certificate</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Verify_that_a_private_key_matches_a_certificate&amp;diff=731"/>
				<updated>2024-02-12T04:41:41Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;To verify that an RSA private key matches the RSA public key in a certificate you need to i) verify the consistency of the private key and ii) compare the modulus of the publi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To verify that an RSA private key matches the RSA public key in a certificate you need to i) verify the consistency of the private key and ii) compare the modulus of the public key in the certificate against the modulus of the private key.&lt;br /&gt;
&lt;br /&gt;
To verify the consistency of the RSA private key and to view its modulus:&lt;br /&gt;
  openssl rsa -modulus -noout -in myserver.key | openssl md5&lt;br /&gt;
&lt;br /&gt;
  openssl rsa -check -noout -in myserver.key&lt;br /&gt;
  RSA Key is ok&lt;br /&gt;
If it doesn't say 'RSA key ok', it isn't OK!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To view the modulus of the RSA public key in a certificate:&lt;br /&gt;
  openssl x509 -modulus -noout -in myserver.crt | openssl md5&lt;br /&gt;
&lt;br /&gt;
If the first commands shows any errors, or if the modulus of the public key in the certificate and the modulus of the private key do not exactly match, then you're not using the correct private key. You can either create a brand new key and CSR and contact support, or you can do a search for any other private keys on the system and see if they match.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=OpenSSL&amp;diff=730</id>
		<title>OpenSSL</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=OpenSSL&amp;diff=730"/>
				<updated>2024-02-12T04:40:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Verify that a private key matches a certificate]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=OpenSSL&amp;diff=729</id>
		<title>OpenSSL</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=OpenSSL&amp;diff=729"/>
				<updated>2024-02-12T04:40:20Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;ul&amp;gt; &amp;lt;li&amp;gt;Verify that a private key matches a certificate&amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Verify that a private key matches a certificate]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Main_Page&amp;diff=728</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Main_Page&amp;diff=728"/>
				<updated>2024-02-12T04:39:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Peter Papagiannopoulos' Technowiki.  This page is basically a brain dump of lots of different things I have done and learnt over a period of 18 years as a sys admin.  You'll find simple commands that I have found useful over the years, but that I quite often forget.  You'll find complete how-to's on things as varied as setting up Cisco wireless access points, to configuring a Solaris Jumpstart server.  The idea for this site was a place for me to store my documentation in an easily accessible format, but also a place for people to find things that aren't always that easy to find.  If you're reading this, I hope it's been of some use to you as well!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Solaris]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[CentOS/Redhat]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Ubuntu]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Windows]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Apple/Mac OS]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Cisco]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[NetApp]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Oracle]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[General Unix]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Nagios]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[VMware]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Veritas]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Avocent]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Dell]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[OpenSSL]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Increasing_disk_space_on_a_VM_using_Logical_Volumes&amp;diff=727</id>
		<title>Increasing disk space on a VM using Logical Volumes</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Increasing_disk_space_on_a_VM_using_Logical_Volumes&amp;diff=727"/>
				<updated>2022-05-26T03:09:24Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
So you have a CentOS VM that uses logical volumes and it's running out of space on a given filesystem. You can increase the disk space as described [https://kb.vmware.com/s/article/1006371 here].  Slight adjustments below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Power off the virtual machine.&lt;br /&gt;
&lt;br /&gt;
2. Edit the virtual machine settings and extend the virtual disk size. &lt;br /&gt;
&lt;br /&gt;
3. Power on the virtual machine.&lt;br /&gt;
&lt;br /&gt;
4. Identify the device name, which is by default /dev/sda, and confirm the new size by running the command:&lt;br /&gt;
&lt;br /&gt;
    # fdisk -l&lt;br /&gt;
&lt;br /&gt;
5. Create a new primary partition:&lt;br /&gt;
       &lt;br /&gt;
   # fdisk /dev/sda (depending the results of the step 4)&lt;br /&gt;
&lt;br /&gt;
Press '''p''' to print the partition table to identify the number of partitions. By default, there are 2: sda1 and sda2.&lt;br /&gt;
&lt;br /&gt;
Press '''n''' to create a new primary partition.&lt;br /&gt;
&lt;br /&gt;
Press '''p''' for primary.&lt;br /&gt;
&lt;br /&gt;
Press '''3''' for the partition number, depending on the output of the partition table print.&lt;br /&gt;
&lt;br /&gt;
Press Enter two times.&lt;br /&gt;
&lt;br /&gt;
Press '''t''' to change the system's partition ID.&lt;br /&gt;
&lt;br /&gt;
Press '''3''' to select the newly creation partition.&lt;br /&gt;
&lt;br /&gt;
Type '''8e''' to change the Hex Code of the partition for Linux LVM.&lt;br /&gt;
&lt;br /&gt;
Press '''w''' to write the changes to the partition table.&lt;br /&gt;
         &lt;br /&gt;
6. Restart the virtual machine.&lt;br /&gt;
&lt;br /&gt;
7. Run this command to convert the new partition to a physical volume:&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The number for the sda can change depending on system setup. Use the sda number that was created in step 5.&lt;br /&gt;
&lt;br /&gt;
    # pvcreate /dev/sda3&lt;br /&gt;
&lt;br /&gt;
8. Run this command to extend the physical volume:&lt;br /&gt;
&lt;br /&gt;
    # vgextend VolGroup00 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To determine which volume group to extend, use the command vgdisplay.&lt;br /&gt;
&lt;br /&gt;
9. Run this command to verify how many physical extents are available to the Volume Group:&lt;br /&gt;
&lt;br /&gt;
    # vgdisplay VolGroup00 | grep &amp;quot;Free&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Run the following command to extend the Logical Volume:&lt;br /&gt;
&lt;br /&gt;
    # lvextend -L+#G /dev/VolGroup00/LogVol00&lt;br /&gt;
&lt;br /&gt;
Where # is the number of Free space in GB available as per the previous command. Use the full number output from Step 10 including any decimals.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To determine which logical volume to extend, use the command lvdisplay.&lt;br /&gt;
&lt;br /&gt;
11. Run the following command to expand the ext3 filesystem online, inside of the Logical Volume:&lt;br /&gt;
&lt;br /&gt;
    # resize2fs /dev/VolGroup00/LogVol00&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=YUM_and_RPM&amp;diff=726</id>
		<title>YUM and RPM</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=YUM_and_RPM&amp;diff=726"/>
				<updated>2022-03-23T00:19:17Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;YUM (Yellowdog Updater, Modified) has become the defacto standard for managing packages on CentOS, RedHat and Fedora.  The benefits are obvious in that if you go to install a package, it will tell if there are any other required packages and will offer you the option of installing them.  You can still use RPM (RedHat Package Manager), but of course then you're on your own when it comes to downloading and installing other required packages.  Here are some useful YUM and RPM commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== YUM ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== List all available packages for Installation ===&lt;br /&gt;
&lt;br /&gt;
This command:&lt;br /&gt;
&lt;br /&gt;
   yum -y list&lt;br /&gt;
&lt;br /&gt;
will give you the complete list of packages that can be downloaded and installed with the yum command.  Very useful for searching with 'grep'.&lt;br /&gt;
&lt;br /&gt;
=== Show which user has performed yum tasks in the past ===&lt;br /&gt;
&lt;br /&gt;
   yum history&lt;br /&gt;
&lt;br /&gt;
=== Show the yum history of a given package ===&lt;br /&gt;
&lt;br /&gt;
   yum history info ''package_name''&lt;br /&gt;
&lt;br /&gt;
This will show every time the ''package_name'' in a yum action, i.e. when it was installed, updated, erased etc, and during which yum Transactions it occurred.  VERY HANDY when trying to figure out who installed what and when!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RPM ==&lt;br /&gt;
&lt;br /&gt;
=== Using RPM to see if a package is installed ===&lt;br /&gt;
&lt;br /&gt;
   rpm -qa package_name&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Email_alerts_failing_to_send_from_Dell_iDRAC_v9&amp;diff=725</id>
		<title>Email alerts failing to send from Dell iDRAC v9</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Email_alerts_failing_to_send_from_Dell_iDRAC_v9&amp;diff=725"/>
				<updated>2021-12-10T00:38:40Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you have a Dell server with an iDRAC9, release 4.x, you'll no doubt no longer be receiving email from it.  The reason for this is:&lt;br /&gt;
&lt;br /&gt;
''After iDRAC is upgraded to version 4.00.00.00, you may stop receiving encrypted email alerts from iDRAC, if the external email server does not support encryption. iDRAC firmware version 4.00.00.00 introduces a user-selectable encryption option and the default protocol is StartTLS.'' &lt;br /&gt;
&lt;br /&gt;
The tell-tale sign of this is when you see the following message in your mail server logs:&lt;br /&gt;
&lt;br /&gt;
  Dec 10 00:33:28 mailhost01 sendmail[22446]: 1BA0XSsj022446: idrac.mydomain.com [192.168.2.2] did not issue MAIL/EXPN/VRFY/ETRN during connection to Daemon0&lt;br /&gt;
&lt;br /&gt;
To start receiving email messages again, disable the email encryption by using the following RACADM command:&lt;br /&gt;
&lt;br /&gt;
  racadm set idrac.RemoteHosts.ConnectionEncryption None&lt;br /&gt;
&lt;br /&gt;
As of iDRAC9 release 5.x, you can change this from the GUI:&lt;br /&gt;
&lt;br /&gt;
  - iDRAC Settings&lt;br /&gt;
    -&amp;gt; Settings&lt;br /&gt;
       - SMTP (Email) Server Settings &lt;br /&gt;
         -&amp;gt; Connection Encryption : '''None'''&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Veritas&amp;diff=724</id>
		<title>Veritas</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Veritas&amp;diff=724"/>
				<updated>2021-09-05T23:29:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Installing NetBackup on Linux]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Manually expiring images from disk in NetBackup]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Netbackup – Increase Number of Days in Activity Monitor Job History]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Overriding the Symantec IPS on a NetBackup Appliance]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Configure NetBackup client based encryption]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[All compatible drive paths are down but media is available]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Show_files_for_a_given_tablespace&amp;diff=723</id>
		<title>Show files for a given tablespace</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Show_files_for_a_given_tablespace&amp;diff=723"/>
				<updated>2021-03-11T00:43:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;  set linesize 160&lt;br /&gt;
  set wrap off&lt;br /&gt;
  column name format a20&lt;br /&gt;
  column filename format a50&lt;br /&gt;
  &lt;br /&gt;
  select ts.name, df.name as FILENAME&lt;br /&gt;
  from V_$TABLESPACE ts, V_$DATAFILE df&lt;br /&gt;
  where df.TS# = ts.TS#&lt;br /&gt;
  order by ts.name , df.name;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Show_files_for_a_given_tablespace&amp;diff=722</id>
		<title>Show files for a given tablespace</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Show_files_for_a_given_tablespace&amp;diff=722"/>
				<updated>2021-03-11T00:43:43Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;  set linesize 160&lt;br /&gt;
  set wrap off&lt;br /&gt;
  column name format a20&lt;br /&gt;
  column filename format a50&lt;br /&gt;
&lt;br /&gt;
  select ts.name, df.name as FILENAME&lt;br /&gt;
  from V_$TABLESPACE ts, V_$DATAFILE df&lt;br /&gt;
  where df.TS# = ts.TS#&lt;br /&gt;
  order by ts.name , df.name;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Show_files_for_a_given_tablespace&amp;diff=721</id>
		<title>Show files for a given tablespace</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Show_files_for_a_given_tablespace&amp;diff=721"/>
				<updated>2021-03-11T00:43:25Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;set linesize 160 set wrap off column name format a20 column filename format a50  select ts.name, df.name as FILENAME from V_$TABLESPACE ts, V_$DATAFILE df where df.TS# = ts.TS...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;set linesize 160&lt;br /&gt;
set wrap off&lt;br /&gt;
column name format a20&lt;br /&gt;
column filename format a50&lt;br /&gt;
&lt;br /&gt;
select ts.name, df.name as FILENAME&lt;br /&gt;
from V_$TABLESPACE ts, V_$DATAFILE df&lt;br /&gt;
where df.TS# = ts.TS#&lt;br /&gt;
order by ts.name , df.name;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Database&amp;diff=720</id>
		<title>Database</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Database&amp;diff=720"/>
				<updated>2021-03-11T00:39:11Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Basic Administrative SQL commands]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Get NLS info for your DB]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Determine User Session Privs]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Check backup status of a Database]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Check the percentage free space on autoextend tabelspaces]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Show files for a given tablespace]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=719</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=719"/>
				<updated>2020-10-08T06:10:10Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** Solaris|Solaris&lt;br /&gt;
** CentOS/Redhat|CentOS/Redhat&lt;br /&gt;
** Ubuntu|Ubuntu&lt;br /&gt;
** Windows|Windows&lt;br /&gt;
** Apple/Mac OS|Apple/Mac OS&lt;br /&gt;
** Cisco|Cisco&lt;br /&gt;
** NetApp|NetApp&lt;br /&gt;
** Oracle|Oracle&lt;br /&gt;
** General Unix|General Unix&lt;br /&gt;
** Nagios|Nagios&lt;br /&gt;
** Veritas|Veritas&lt;br /&gt;
** VMware|VMware&lt;br /&gt;
** Dell|Dell&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Email_alerts_failing_to_send_from_Dell_iDRAC_v9&amp;diff=718</id>
		<title>Email alerts failing to send from Dell iDRAC v9</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Email_alerts_failing_to_send_from_Dell_iDRAC_v9&amp;diff=718"/>
				<updated>2020-10-08T05:35:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you have a Dell server with a version 9 iDRAC, release 4.x, you'll no doubt no longer be receiving email from it.  The reason for this is:&lt;br /&gt;
&lt;br /&gt;
''After iDRAC is upgraded to version 4.00.00.00, you may stop receiving encrypted email alerts from iDRAC, if the external email server does not support encryption. iDRAC firmware version 4.00.00.00 introduces a user-selectable encryption option and the default protocol is StartTLS.'' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To start receiving email messages again, disable the email encryption by using the following RACADM command:&lt;br /&gt;
&lt;br /&gt;
  racadm set idrac.RemoteHosts.ConnectionEncryption None&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Email_alerts_failing_to_send_from_Dell_iDRAC_v9&amp;diff=717</id>
		<title>Email alerts failing to send from Dell iDRAC v9</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Email_alerts_failing_to_send_from_Dell_iDRAC_v9&amp;diff=717"/>
				<updated>2020-10-08T05:35:01Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;If you have a Dell server with a version 9 iDRAC, release 4.x, you'll no doubt no longer be receiving email from it.  The reason for this is:  ''After iDRAC is upgraded to ver...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you have a Dell server with a version 9 iDRAC, release 4.x, you'll no doubt no longer be receiving email from it.  The reason for this is:&lt;br /&gt;
&lt;br /&gt;
''After iDRAC is upgraded to version 4.00.00.00, you may stop receiving encrypted email alerts from iDRAC, if the external email server does not support encryption. iDRAC firmware version 4.00.00.00 introduces a user-selectable encryption option and the default protocol is StartTLS.'' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To start receiving email messages again, disable the email encryption by using the following RACADM command:&lt;br /&gt;
&lt;br /&gt;
racadm set idrac.RemoteHosts.ConnectionEncryption None&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Dell&amp;diff=716</id>
		<title>Dell</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Dell&amp;diff=716"/>
				<updated>2020-10-08T05:33:05Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Email alerts failing to send from Dell iDRAC v9]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Dell&amp;diff=715</id>
		<title>Dell</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Dell&amp;diff=715"/>
				<updated>2020-10-08T05:31:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;&amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;Email alerts failing to send from Dell iDrac v9&amp;lt;/li&amp;gt; &amp;lt;/UL&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Email alerts failing to send from Dell iDrac v9]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Main_Page&amp;diff=714</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Main_Page&amp;diff=714"/>
				<updated>2020-10-08T05:30:40Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Peter Papagiannopoulos' Technowiki.  This page is basically a brain dump of lots of different things I have done and learnt over a period of 18 years as a sys admin.  You'll find simple commands that I have found useful over the years, but that I quite often forget.  You'll find complete how-to's on things as varied as setting up Cisco wireless access points, to configuring a Solaris Jumpstart server.  The idea for this site was a place for me to store my documentation in an easily accessible format, but also a place for people to find things that aren't always that easy to find.  If you're reading this, I hope it's been of some use to you as well!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Solaris]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[CentOS/Redhat]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Ubuntu]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Windows]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Apple/Mac OS]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Cisco]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[NetApp]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Oracle]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[General Unix]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Nagios]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[VMware]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Veritas]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Avocent]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Dell]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Changing_sendmail_connect_domain_macro,_Dj,_in_sendmail.mc&amp;diff=713</id>
		<title>Changing sendmail connect domain macro, Dj, in sendmail.mc</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Changing_sendmail_connect_domain_macro,_Dj,_in_sendmail.mc&amp;diff=713"/>
				<updated>2020-10-02T01:30:46Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Generally, hacking your sendmail.cf is a very bad idea! Any changes you want to make should be done in the sendmail.mc file and then the sendmail.cf file built from it. This example is where your mail relay has an internal hostname (eg. internal01.mail.servers.net) but, when it connects to the outside world, you want it to use a different name, eg. relay.myorg.com. Often this is where you have multiple internal mail servers, but they share a common external IP.  To change this setting:&lt;br /&gt;
&lt;br /&gt;
1. Edit sendmail.mc and add/change this line:&lt;br /&gt;
&lt;br /&gt;
  define(`confDOMAIN_NAME', `relay.myorg.com')dnl&lt;br /&gt;
&lt;br /&gt;
Obviously, change the value to whatever it is that you need for your org.&lt;br /&gt;
&lt;br /&gt;
2. Rebuild sendmail.cf for your platform. It's different on Solaris and Linux, so do what works for you.&lt;br /&gt;
&lt;br /&gt;
3. Restart sendmail.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Changing_sendmail_connect_domain_macro,_Dj,_in_sendmail.mc&amp;diff=712</id>
		<title>Changing sendmail connect domain macro, Dj, in sendmail.mc</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Changing_sendmail_connect_domain_macro,_Dj,_in_sendmail.mc&amp;diff=712"/>
				<updated>2020-10-02T01:17:59Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;Generally, hacking your sendmail.cf is a very bad idea! Any changes you want to make should be done in the sendmail.mc file and then the sendmail.cf file built from it. This e...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Generally, hacking your sendmail.cf is a very bad idea! Any changes you want to make should be done in the sendmail.mc file and then the sendmail.cf file built from it. This example is where your mail relay has an internal hostname (eg. internal01.mail.servers.net) but, when it connects to the outside world, you want it to use a different name, eg. relay.myorg.com. oftne this is where you have multiple internal mail servers, but they share a common external IP.  To change this setting:&lt;br /&gt;
&lt;br /&gt;
1. Edit sendmail.mc and add/change this line:&lt;br /&gt;
&lt;br /&gt;
  define(`confDOMAIN_NAME', `relay.myorg.com')dnl&lt;br /&gt;
&lt;br /&gt;
Obviously, change the value to whatever it is that you need for your org.&lt;br /&gt;
&lt;br /&gt;
2. Rebuild sendmail.cf for your platform. It's different on Solaris and Linux, so do what works for you.&lt;br /&gt;
&lt;br /&gt;
3. Restart sendmail.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=General_Unix&amp;diff=711</id>
		<title>General Unix</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=General_Unix&amp;diff=711"/>
				<updated>2020-10-02T01:11:53Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[X11 weirdness]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[sed commands]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Testing SMTP host with telnet]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Merge AVI files]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Convert MKV to MP4]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Extracting the Private Key from a Java Keystore]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Changing sendmail connect domain macro, Dj, in sendmail.mc]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Increasing_disk_space_on_a_VM_using_Logical_Volumes&amp;diff=710</id>
		<title>Increasing disk space on a VM using Logical Volumes</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Increasing_disk_space_on_a_VM_using_Logical_Volumes&amp;diff=710"/>
				<updated>2020-10-01T02:27:22Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
So you have a CentOS VM that uses logical volumes and it's running out of space on a given filesystem. You can increase the disk space as described [https://kb.vmware.com/s/article/1006371 here].  Slight adjustments below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Power off the virtual machine.&lt;br /&gt;
&lt;br /&gt;
2. Edit the virtual machine settings and extend the virtual disk size. &lt;br /&gt;
&lt;br /&gt;
3. Power on the virtual machine.&lt;br /&gt;
&lt;br /&gt;
4. Identify the device name, which is by default /dev/sda, and confirm the new size by running the command:&lt;br /&gt;
&lt;br /&gt;
    # fdisk -l&lt;br /&gt;
&lt;br /&gt;
5. Create a new primary partition:&lt;br /&gt;
       &lt;br /&gt;
   # fdisk /dev/sda (depending the results of the step 4)&lt;br /&gt;
&lt;br /&gt;
Press p to print the partition table to identify the number of partitions. By default, there are 2: sda1 and sda2.&lt;br /&gt;
&lt;br /&gt;
Press n to create a new primary partition.&lt;br /&gt;
&lt;br /&gt;
Press p for primary.&lt;br /&gt;
&lt;br /&gt;
Press 3 for the partition number, depending on the output of the partition table print.&lt;br /&gt;
&lt;br /&gt;
Press Enter two times.&lt;br /&gt;
&lt;br /&gt;
Press t to change the system's partition ID.&lt;br /&gt;
&lt;br /&gt;
Press 3 to select the newly creation partition.&lt;br /&gt;
&lt;br /&gt;
Type 8e to change the Hex Code of the partition for Linux LVM.&lt;br /&gt;
&lt;br /&gt;
Press w to write the changes to the partition table.&lt;br /&gt;
         &lt;br /&gt;
6. Restart the virtual machine.&lt;br /&gt;
&lt;br /&gt;
7. Run this command to convert the new partition to a physical volume:&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The number for the sda can change depending on system setup. Use the sda number that was created in step 5.&lt;br /&gt;
&lt;br /&gt;
    # pvcreate /dev/sda3&lt;br /&gt;
&lt;br /&gt;
8. Run this command to extend the physical volume:&lt;br /&gt;
&lt;br /&gt;
    # vgextend VolGroup00 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To determine which volume group to extend, use the command vgdisplay.&lt;br /&gt;
&lt;br /&gt;
9. Run this command to verify how many physical extents are available to the Volume Group:&lt;br /&gt;
&lt;br /&gt;
    # vgdisplay VolGroup00 | grep &amp;quot;Free&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Run the following command to extend the Logical Volume:&lt;br /&gt;
&lt;br /&gt;
    # lvextend -L+#G /dev/VolGroup00/LogVol00&lt;br /&gt;
&lt;br /&gt;
Where # is the number of Free space in GB available as per the previous command. Use the full number output from Step 10 including any decimals.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To determine which logical volume to extend, use the command lvdisplay.&lt;br /&gt;
&lt;br /&gt;
11. Run the following command to expand the ext3 filesystem online, inside of the Logical Volume:&lt;br /&gt;
&lt;br /&gt;
    # resize2fs /dev/VolGroup00/LogVol00&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Increasing_disk_space_on_a_VM_using_Logical_Volumes&amp;diff=709</id>
		<title>Increasing disk space on a VM using Logical Volumes</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Increasing_disk_space_on_a_VM_using_Logical_Volumes&amp;diff=709"/>
				<updated>2020-10-01T01:28:57Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot; So you have a CentOS VM that uses logical volumes and it's running out of space on a given filesystem. You can increase the disk space as described [https://kb.vmware.com/s/a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
So you have a CentOS VM that uses logical volumes and it's running out of space on a given filesystem. You can increase the disk space as described [https://kb.vmware.com/s/article/1006371 here].  Slight adjustments below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Power off the virtual machine.&lt;br /&gt;
&lt;br /&gt;
2. Edit the virtual machine settings and extend the virtual disk size. &lt;br /&gt;
&lt;br /&gt;
3. Power on the virtual machine.&lt;br /&gt;
&lt;br /&gt;
4. Identify the device name, which is by default /dev/sda, and confirm the new size by running the command:&lt;br /&gt;
&lt;br /&gt;
    # fdisk -l&lt;br /&gt;
&lt;br /&gt;
5. Create a new primary partition:&lt;br /&gt;
       &lt;br /&gt;
   # fdisk /dev/sda (depending the results of the step 4)&lt;br /&gt;
&lt;br /&gt;
Press p to print the partition table to identify the number of partitions. By default, there are 2: sda1 and sda2.&lt;br /&gt;
Press n to create a new primary partition.&lt;br /&gt;
Press p for primary.&lt;br /&gt;
Press 3 for the partition number, depending on the output of the partition table print.&lt;br /&gt;
Press Enter two times.&lt;br /&gt;
Press t to change the system's partition ID.&lt;br /&gt;
Press 3 to select the newly creation partition.&lt;br /&gt;
Type 8e to change the Hex Code of the partition for Linux LVM.&lt;br /&gt;
Press w to write the changes to the partition table.&lt;br /&gt;
         &lt;br /&gt;
6. Restart the virtual machine.&lt;br /&gt;
&lt;br /&gt;
   # fdisk -l&lt;br /&gt;
&lt;br /&gt;
7. Run this command to convert the new partition to a physical volume:&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The number for the sda can change depending on system setup. Use the sda number that was created in step 5.&lt;br /&gt;
&lt;br /&gt;
    # pvcreate /dev/sda3&lt;br /&gt;
&lt;br /&gt;
8. Run this command to extend the physical volume:&lt;br /&gt;
&lt;br /&gt;
    # vgextend VolGroup00 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To determine which volume group to extend, use the command vgdisplay.&lt;br /&gt;
&lt;br /&gt;
9. Run this command to verify how many physical extents are available to the Volume Group:&lt;br /&gt;
&lt;br /&gt;
    # vgdisplay VolGroup00 | grep &amp;quot;Free&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Run the following command to extend the Logical Volume:&lt;br /&gt;
&lt;br /&gt;
    # lvextend -L+#G /dev/VolGroup00/LogVol00&lt;br /&gt;
&lt;br /&gt;
Where # is the number of Free space in GB available as per the previous command. Use the full number output from Step 10 including any decimals.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' To determine which logical volume to extend, use the command lvdisplay.&lt;br /&gt;
&lt;br /&gt;
11. Run the following command to expand the ext3 filesystem online, inside of the Logical Volume:&lt;br /&gt;
&lt;br /&gt;
    # resize2fs /dev/VolGroup00/LogVol00&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=CentOS/Redhat&amp;diff=708</id>
		<title>CentOS/Redhat</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=CentOS/Redhat&amp;diff=708"/>
				<updated>2020-10-01T01:28:51Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[CentOS/RedHat Networking]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enabling Serial Console Output]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[YUM and RPM]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Kickstart]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Installing CentOS/RedHat on disks larger than 2Tb]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Mirroring Disks#CentOS/RedHat|Mirroring Disks]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Replacing a failed disk in a software mirror#CentOS/RedHat|Replacing a failed disk in a software mirror]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Creating a CentOS mirror site]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Password Expire]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enforcing Password Complexity on CentOS/RedHat]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Adding a Disk and Extending a Logical Volume]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enabling a service]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Increasing disk space on a VM using Logical Volumes]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=CentOS/Redhat&amp;diff=701</id>
		<title>CentOS/Redhat</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=CentOS/Redhat&amp;diff=701"/>
				<updated>2020-10-01T00:56:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[CentOS/RedHat Networking]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enabling Serial Console Output]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[YUM and RPM]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Kickstart]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Installing CentOS/RedHat on disks larger than 2Tb]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Mirroring Disks#CentOS/RedHat|Mirroring Disks]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Replacing a failed disk in a software mirror#CentOS/RedHat|Replacing a failed disk in a software mirror]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Creating a CentOS mirror site]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Password Expire]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enforcing Password Complexity on CentOS/RedHat]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Adding a Disk and Extending a Logical Volume]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enabling a service]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Increasing disk space on a VM]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Change_Password_Policy_Settings&amp;diff=700</id>
		<title>Change Password Policy Settings</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Change_Password_Policy_Settings&amp;diff=700"/>
				<updated>2020-08-18T02:20:45Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Surprising well documented [https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/how-to-configure-security-policy-settings here].&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Configure_NTP_on_Windows_2012_server&amp;diff=699</id>
		<title>Configure NTP on Windows 2012 server</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Configure_NTP_on_Windows_2012_server&amp;diff=699"/>
				<updated>2020-07-16T02:27:46Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So you want your Windows server to get it's time from you local NTP server. Here's how to configure it:&lt;br /&gt;
&lt;br /&gt;
1. Fire up Windows PowerShell as Administrator&lt;br /&gt;
&lt;br /&gt;
2. Set the NTP servers:&lt;br /&gt;
&lt;br /&gt;
 w32tm /config /manualpeerlist:&amp;quot;0.pool.ntp.org 1.pool.ntp.org&amp;quot; /syncfromflags:MANUAL&lt;br /&gt;
&lt;br /&gt;
Obviously, replace the pool servers above with your internal NTP server hostnames or IP's.&lt;br /&gt;
&lt;br /&gt;
3. Restart the Windows time service:&lt;br /&gt;
&lt;br /&gt;
 Stop-Service w32time&lt;br /&gt;
 Start-Service w32time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can check what you've done with:&lt;br /&gt;
&lt;br /&gt;
 w32tm /query /configuration&lt;br /&gt;
 w32tm /query /status&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Overriding_the_Symantec_IPS_on_a_NetBackup_Appliance&amp;diff=698</id>
		<title>Overriding the Symantec IPS on a NetBackup Appliance</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Overriding_the_Symantec_IPS_on_a_NetBackup_Appliance&amp;diff=698"/>
				<updated>2019-09-03T03:57:40Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NetBackup appliances are basically SUSE Linux boxes with Symantec's own interface over the top. They are designed to be a black box appliance that just works and therefore, Symantec try to keep you out of the base OS so you don't break it. However, there are instances where you might like to be able to access the base OS. In order to do so, you need to bypass the Symantec Intrusion Security Policy (IPS...no I don't know why that accronym doesn't match the name). If you're an experienced Unix/Linux admin, this is safe to do and the instructions here are taken from Symantec's own NetBackup 52xx Appliance Security Guide.&lt;br /&gt;
&lt;br /&gt;
1. Log on to the NetBackup Appliance Shell Menu as an Administrator.&lt;br /&gt;
&lt;br /&gt;
2. Run the Support &amp;gt; Maintenance command.&lt;br /&gt;
&lt;br /&gt;
3. To enter your Maintenance account, run the following command, and provide the password when you receive a prompt.&lt;br /&gt;
&lt;br /&gt;
4. In the Maintenance mode, type the following command to override the Symantec Intrusion Security Policy:&lt;br /&gt;
&lt;br /&gt;
   /opt/Symantec/sdcssagent/IPS/sisipsoverride.sh&lt;br /&gt;
&lt;br /&gt;
The appliance displays the following message:&lt;br /&gt;
&lt;br /&gt;
   Symantec Critical Protection Policy Override&lt;br /&gt;
   Agent Version: 5.2.9 (build 739)&lt;br /&gt;
   Current Policy: NetBackup Appliance Prevention Policy, r19&lt;br /&gt;
   Policy Prevention: Enabled&lt;br /&gt;
   Policy Override: Allowed&lt;br /&gt;
   Override State: Not overridden&lt;br /&gt;
   To override the policy and disable protection,&lt;br /&gt;
   enter your login password.&lt;br /&gt;
 Password:&lt;br /&gt;
&lt;br /&gt;
5. Enter your maintenance password.&lt;br /&gt;
&lt;br /&gt;
The appliance then displays the following options:&lt;br /&gt;
&lt;br /&gt;
   Choose the type of override that you wish to perform:&lt;br /&gt;
   1. Override Prevention except for Self Protection&lt;br /&gt;
   2. Override Prevention Completely&lt;br /&gt;
   Choice?&lt;br /&gt;
&lt;br /&gt;
6. Enter 1 to override prevention except for self protection.&lt;br /&gt;
&lt;br /&gt;
Note: Symantec recommends that you use Option 1. Selecting Option 1 allows modification only to the NetBackup Appliance Shell Menu and NOT to the SCSP Agent.&lt;br /&gt;
&lt;br /&gt;
The appliance displays the following options:&lt;br /&gt;
&lt;br /&gt;
   Choose the amount of time after which to automatically re-enable:&lt;br /&gt;
   1. 15 minutes&lt;br /&gt;
   2. 30 minutes&lt;br /&gt;
   3. 1 hour&lt;br /&gt;
   4. 2 hours&lt;br /&gt;
   5. 4 hours&lt;br /&gt;
   6. 8 hours&lt;br /&gt;
   7. never&lt;br /&gt;
&lt;br /&gt;
7. Enter the appropriate number from 1 to 7 based on the time required to debug the Symantec support case.&lt;br /&gt;
&lt;br /&gt;
The appliance displays the following message:&lt;br /&gt;
&lt;br /&gt;
   Enter a comment. Press Enter to continue.&lt;br /&gt;
   Disabling the security policy for&lt;br /&gt;
   debugging a Symantec&lt;br /&gt;
   support case no - XYZ&lt;br /&gt;
&lt;br /&gt;
8. Enter a relevant comment as to why the override is required.&lt;br /&gt;
&lt;br /&gt;
The appliance overrides the policy and displays the following message:&lt;br /&gt;
&lt;br /&gt;
   Please wait while the policy is being overridden.&lt;br /&gt;
   ........&lt;br /&gt;
   The policy was successfully overridden.&lt;br /&gt;
&lt;br /&gt;
9. Run the elevate command to become root.&lt;br /&gt;
&lt;br /&gt;
   maintenance - !&amp;gt; '''elevate'''&lt;br /&gt;
&lt;br /&gt;
You should now have access to the root account.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Configure_NetBackup_client_based_encryption&amp;diff=697</id>
		<title>Configure NetBackup client based encryption</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Configure_NetBackup_client_based_encryption&amp;diff=697"/>
				<updated>2019-04-29T00:14:20Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;Documented quite well [https://www.veritas.com/support/en_US/article.100021401 here]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Documented quite well [https://www.veritas.com/support/en_US/article.100021401 here]&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Veritas&amp;diff=696</id>
		<title>Veritas</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Veritas&amp;diff=696"/>
				<updated>2019-04-29T00:13:47Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Installing NetBackup on Linux]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Manually expiring images from disk in NetBackup]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Netbackup – Increase Number of Days in Activity Monitor Job History]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Overriding the Symantec IPS on a NetBackup Appliance]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Configure NetBackup client based encryption]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Veritas&amp;diff=695</id>
		<title>Veritas</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Veritas&amp;diff=695"/>
				<updated>2019-04-29T00:13:33Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Installing NetBackup on Linux]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Manually expiring images from disk in NetBackup]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Netbackup – Increase Number of Days in Activity Monitor Job History]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Overriding the Symantec IPS on a NetBackup Appliance]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Configure client based encryption]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=694</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=MediaWiki:Sidebar&amp;diff=694"/>
				<updated>2019-04-29T00:12:36Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** Solaris|Solaris&lt;br /&gt;
** CentOS/Redhat|CentOS/Redhat&lt;br /&gt;
** Ubuntu|Ubuntu&lt;br /&gt;
** Windows|Windows&lt;br /&gt;
** Apple/Mac OS|Apple/Mac OS&lt;br /&gt;
** Cisco|Cisco&lt;br /&gt;
** NetApp|NetApp&lt;br /&gt;
** Oracle|Oracle&lt;br /&gt;
** General Unix|General Unix&lt;br /&gt;
** Nagios|Nagios&lt;br /&gt;
** Veritas|Veritas&lt;br /&gt;
** VMware|VMware&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Veritas&amp;diff=693</id>
		<title>Veritas</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Veritas&amp;diff=693"/>
				<updated>2019-04-29T00:09:57Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;&amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;Installing NetBackup on Linux&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;Manually expiring images from disk in NetBackup&amp;lt;/li&amp;gt; &amp;lt;li&amp;gt;Netbackup – Increase Number of Days in Activity Monitor Jo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Installing NetBackup on Linux]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Manually expiring images from disk in NetBackup]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Netbackup – Increase Number of Days in Activity Monitor Job History]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Overriding the Symantec IPS on a NetBackup Appliance]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Main_Page&amp;diff=692</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Main_Page&amp;diff=692"/>
				<updated>2019-04-29T00:09:48Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to Peter Papagiannopoulos' Technowiki.  This page is basically a brain dump of lots of different things I have done and learnt over a period of 18 years as a sys admin.  You'll find simple commands that I have found useful over the years, but that I quite often forget.  You'll find complete how-to's on things as varied as setting up Cisco wireless access points, to configuring a Solaris Jumpstart server.  The idea for this site was a place for me to store my documentation in an easily accessible format, but also a place for people to find things that aren't always that easy to find.  If you're reading this, I hope it's been of some use to you as well!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Solaris]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[CentOS/Redhat]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Ubuntu]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Windows]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Apple/Mac OS]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Cisco]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[NetApp]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Oracle]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[General Unix]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Nagios]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[VMware]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Veritas]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Avocent]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/UL&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array&amp;diff=691</id>
		<title>Replacing a failed disk in a ZFS/ZPOOL raid array</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array&amp;diff=691"/>
				<updated>2019-02-27T01:37:20Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This has been used on a SPARC S7-2, but should be relevant to most modern sparc based servers:&lt;br /&gt;
&lt;br /&gt;
1. Identify the failed disk in the zpool array:&lt;br /&gt;
&lt;br /&gt;
  # '''zpool status'''&lt;br /&gt;
    pool: rpool&lt;br /&gt;
   state: DEGRADED&lt;br /&gt;
   &lt;br /&gt;
  config:&lt;br /&gt;
  &lt;br /&gt;
          NAME                       STATE      READ WRITE CKSUM&lt;br /&gt;
          rpool                      DEGRADED      0     0     0&lt;br /&gt;
            mirror-0                 DEGRADED      0     0     0&lt;br /&gt;
              c0t5000CCA02F613ACCd0  ONLINE        0     0     0&lt;br /&gt;
              '''c0t5000CCA02D0F6C44d0'''  UNAVAIL       0     0     0&lt;br /&gt;
  &lt;br /&gt;
2. Find the device path for the drive you want to remove:&lt;br /&gt;
&lt;br /&gt;
  # '''diskinfo D:devchassis-path'''&lt;br /&gt;
  D:devchassis-path                   c:occupant-compdev&lt;br /&gt;
  ----------------------------------  ---------------------&lt;br /&gt;
  /dev/chassis/SYS/HDD0/disk          c0t5000CCA02F613ACCd0&lt;br /&gt;
  /dev/chassis/SYS/HDD1/disk          '''c0t5000CCA02D0F6C44d0'''&lt;br /&gt;
  /dev/chassis/SYS/HDD2               -&lt;br /&gt;
  /dev/chassis/SYS/HDD3               -&lt;br /&gt;
  /dev/chassis/SYS/HDD4               -&lt;br /&gt;
  /dev/chassis/SYS/HDD5               -&lt;br /&gt;
  /dev/chassis/SYS/HDD6               -&lt;br /&gt;
  /dev/chassis/SYS/HDD7               -&lt;br /&gt;
  /dev/chassis/SYS/MB/EUSB_DISK/disk  c1t0d0&lt;br /&gt;
&lt;br /&gt;
3. Check the drive's status:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -al'''&lt;br /&gt;
  Ap_Id                          Type         Receptacle   Occupant     Condition&lt;br /&gt;
  /SYS/DBP/NVME0                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME1                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME2                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME3                 unknown      empty        unconfigured unknown&lt;br /&gt;
  c3                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c3::w5000cca02f613acd,0        disk-path    connected    configured   unknown&lt;br /&gt;
  c4                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  '''c4::w5000CCA02D0F6C45,0        disk-path    connected    configured   unknown'''&lt;br /&gt;
  usb0/1                         usb-storage  connected    configured   ok&lt;br /&gt;
  usb0/2                         usb-hub      connected    configured   ok&lt;br /&gt;
&lt;br /&gt;
'''NOTICE''' the slight mismatch between the output of the last two commands.&lt;br /&gt;
&lt;br /&gt;
4. Unconfigure the drive:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -c unconfigure c4::w5000CCA02D0F6C45,0''' &lt;br /&gt;
&lt;br /&gt;
and check that it worked:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -al'''&lt;br /&gt;
  Ap_Id                          Type         Receptacle   Occupant     Condition&lt;br /&gt;
  /SYS/DBP/NVME0                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME1                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME2                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME3                 unknown      empty        unconfigured unknown&lt;br /&gt;
  c3                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c3::w5000cca02f613acd,0        disk-path    connected    configured   unknown&lt;br /&gt;
  c4                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c4::w5000CCA02D0F6C45,0        disk-path    connected    '''unconfigured'''   unknown&lt;br /&gt;
&lt;br /&gt;
5. Turn on the Ok to Remove indicator for that drive:&lt;br /&gt;
&lt;br /&gt;
  # '''fmadm set-indicator /dev/chassis/SYS/HDD1/disk ok2rm on'''&lt;br /&gt;
&lt;br /&gt;
and check that it worked:&lt;br /&gt;
&lt;br /&gt;
  # '''fmadm get-indicator /dev/chassis/SYS/HDD1/disk ok2rm'''&lt;br /&gt;
  The indicator (ok2rm) is set to on.&lt;br /&gt;
&lt;br /&gt;
6. Remove the failed drive and replace with the new one.&lt;br /&gt;
&lt;br /&gt;
7. The new drive should be configured automatically, but check it anyway:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -al'''&lt;br /&gt;
  Ap_Id                          Type         Receptacle   Occupant     Condition&lt;br /&gt;
  /SYS/DBP/NVME0                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME1                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME2                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME3                 unknown      empty        unconfigured unknown&lt;br /&gt;
  c3                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c3::w5000cca02f613acd,0        disk-path    connected    configured   unknown&lt;br /&gt;
  c4                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c4::w5000cca07d293ca1,0        disk-path    connected    '''configured'''   unknown&lt;br /&gt;
  usb0/1                         usb-storage  connected    configured   ok&lt;br /&gt;
  usb0/2                         usb-hub      connected    configured   ok&lt;br /&gt;
&lt;br /&gt;
If not, configure with:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -c unconfigure c4::w5000cca07d293ca1,0''' &lt;br /&gt;
&lt;br /&gt;
8. Get the name od the new drive from the format command:&lt;br /&gt;
&lt;br /&gt;
  # '''format'''&lt;br /&gt;
  Searching for disks...done&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  AVAILABLE DISK SELECTIONS:&lt;br /&gt;
         0. c0t5000CCA02F613ACCd0 &amp;lt;HGST-H101860SFSUN600G-A990-558.91GB&amp;gt;&lt;br /&gt;
            /scsi_vhci/disk@g5000cca02f613acc&lt;br /&gt;
            /dev/chassis/SYS/HDD0/disk&lt;br /&gt;
         1. '''c0t5000CCA07D293CA0d0''' &amp;lt;HGST-H101860SFSUN600G-A990-558.91GB&amp;gt;&lt;br /&gt;
            /scsi_vhci/disk@g5000cca07d293ca0&lt;br /&gt;
            /dev/chassis/SYS/HDD1/disk&lt;br /&gt;
         2. c1t0d0 &amp;lt;VT-eUSB-7722-1.91GB&amp;gt;&lt;br /&gt;
            /pci@300/pci@1/pci@0/pci@2/usb@0/storage@1/disk@0,0&lt;br /&gt;
            /dev/chassis/SYS/MB/EUSB_DISK/disk&lt;br /&gt;
  Specify disk (enter its number):&lt;br /&gt;
&lt;br /&gt;
9. Replace the failed disk with the new disk in the zpool:&lt;br /&gt;
&lt;br /&gt;
  # '''zpool replace rpool c0t5000CCA02D0F6C44d0 c0t5000CCA07D293CA0d0'''&lt;br /&gt;
&lt;br /&gt;
10. Check the progress with:&lt;br /&gt;
&lt;br /&gt;
  # '''zpool status'''&lt;br /&gt;
    pool: rpool&lt;br /&gt;
   state: ONLINE&lt;br /&gt;
    scan: resilvered 75.8G in 8m24s with 0 errors on Wed Feb 27 11:39:38 2019&lt;br /&gt;
  &lt;br /&gt;
  config:&lt;br /&gt;
  &lt;br /&gt;
          NAME                       STATE      READ WRITE CKSUM&lt;br /&gt;
          rpool                      ONLINE        0     0     0&lt;br /&gt;
            mirror-0                 ONLINE        0     0     0&lt;br /&gt;
              c0t5000CCA02F613ACCd0  ONLINE        0     0     0&lt;br /&gt;
              c0t5000CCA07D293CA0d0  ONLINE        0     0     0&lt;br /&gt;
  &lt;br /&gt;
  errors: No known data errors&lt;br /&gt;
&lt;br /&gt;
11. Once the zpool is happy again, install the boot block on the new disk:&lt;br /&gt;
&lt;br /&gt;
  # '''installboot -f -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t5000CCA07D293CA0d0s0'''&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array&amp;diff=690</id>
		<title>Replacing a failed disk in a ZFS/ZPOOL raid array</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array&amp;diff=690"/>
				<updated>2019-02-27T01:36:21Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This has been used on a SPARC S7-2, but should be relevant to most modern sparc based servers:&lt;br /&gt;
&lt;br /&gt;
1. Identify the failed disk in the zpool array:&lt;br /&gt;
&lt;br /&gt;
  # '''zpool status'''&lt;br /&gt;
    pool: rpool&lt;br /&gt;
   state: DEGRADED&lt;br /&gt;
   &lt;br /&gt;
  config:&lt;br /&gt;
  &lt;br /&gt;
          NAME                       STATE      READ WRITE CKSUM&lt;br /&gt;
          rpool                      DEGRADED      0     0     0&lt;br /&gt;
            mirror-0                 DEGRADED      0     0     0&lt;br /&gt;
              c0t5000CCA02F613ACCd0  ONLINE        0     0     0&lt;br /&gt;
              '''c0t5000CCA02D0F6C44d0'''  UNAVAIL       0     0     0&lt;br /&gt;
  &lt;br /&gt;
2. Find the device path for the drive you want to remove:&lt;br /&gt;
&lt;br /&gt;
  # '''diskinfo D:devchassis-path'''&lt;br /&gt;
  D:devchassis-path                   c:occupant-compdev&lt;br /&gt;
  ----------------------------------  ---------------------&lt;br /&gt;
  /dev/chassis/SYS/HDD0/disk          c0t5000CCA02F613ACCd0&lt;br /&gt;
  /dev/chassis/SYS/HDD1/disk          '''c0t5000CCA02D0F6C44d0'''&lt;br /&gt;
  /dev/chassis/SYS/HDD2               -&lt;br /&gt;
  /dev/chassis/SYS/HDD3               -&lt;br /&gt;
  /dev/chassis/SYS/HDD4               -&lt;br /&gt;
  /dev/chassis/SYS/HDD5               -&lt;br /&gt;
  /dev/chassis/SYS/HDD6               -&lt;br /&gt;
  /dev/chassis/SYS/HDD7               -&lt;br /&gt;
  /dev/chassis/SYS/MB/EUSB_DISK/disk  c1t0d0&lt;br /&gt;
&lt;br /&gt;
3. Check the drive's status:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -al'''&lt;br /&gt;
  Ap_Id                          Type         Receptacle   Occupant     Condition&lt;br /&gt;
  /SYS/DBP/NVME0                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME1                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME2                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME3                 unknown      empty        unconfigured unknown&lt;br /&gt;
  c3                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c3::w5000cca02f613acd,0        disk-path    connected    configured   unknown&lt;br /&gt;
  c4                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  '''c4::w5000CCA02D0F6C45,0        disk-path    connected    configured   unknown'''&lt;br /&gt;
  usb0/1                         usb-storage  connected    configured   ok&lt;br /&gt;
  usb0/2                         usb-hub      connected    configured   ok&lt;br /&gt;
&lt;br /&gt;
'''NOTICE''' the slight mismatch between the output of the last two commands.&lt;br /&gt;
&lt;br /&gt;
4. Unconfigure the drive:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -c unconfigure c4::w5000CCA02D0F6C45,0''' &lt;br /&gt;
&lt;br /&gt;
and check that it worked:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -al'''&lt;br /&gt;
  Ap_Id                          Type         Receptacle   Occupant     Condition&lt;br /&gt;
  /SYS/DBP/NVME0                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME1                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME2                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME3                 unknown      empty        unconfigured unknown&lt;br /&gt;
  c3                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c3::w5000cca02f613acd,0        disk-path    connected    configured   unknown&lt;br /&gt;
  c4                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c4::w5000CCA02D0F6C45,0        disk-path    connected    '''unconfigured'''   unknown&lt;br /&gt;
&lt;br /&gt;
5. Turn on the Ok to Remove indicator for that drive:&lt;br /&gt;
&lt;br /&gt;
  # '''fmadm set-indicator /dev/chassis/SYS/HDD1/disk ok2rm on'''&lt;br /&gt;
&lt;br /&gt;
and check that it worked:&lt;br /&gt;
&lt;br /&gt;
  # '''fmadm get-indicator /dev/chassis/SYS/HDD1/disk ok2rm'''&lt;br /&gt;
  The indicator (ok2rm) is set to on.&lt;br /&gt;
&lt;br /&gt;
6. Remove the failed drive and replace with the new one.&lt;br /&gt;
&lt;br /&gt;
7. The new drive should be configured automatically, but check it anyway:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -al'''&lt;br /&gt;
  Ap_Id                          Type         Receptacle   Occupant     Condition&lt;br /&gt;
  /SYS/DBP/NVME0                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME1                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME2                 unknown      empty        unconfigured unknown&lt;br /&gt;
  /SYS/DBP/NVME3                 unknown      empty        unconfigured unknown&lt;br /&gt;
  c3                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c3::w5000cca02f613acd,0        disk-path    connected    configured   unknown&lt;br /&gt;
  c4                             scsi-sas     connected    configured   unknown&lt;br /&gt;
  c4::w5000cca07d293ca1,0        disk-path    connected    '''configured'''   unknown&lt;br /&gt;
  usb0/1                         usb-storage  connected    configured   ok&lt;br /&gt;
  usb0/2                         usb-hub      connected    configured   ok&lt;br /&gt;
&lt;br /&gt;
If not, configure with:&lt;br /&gt;
&lt;br /&gt;
  # '''cfgadm -c unconfigure c4::w5000cca07d293ca1,0''' &lt;br /&gt;
&lt;br /&gt;
8. Get the name od the new drive from the format command:&lt;br /&gt;
&lt;br /&gt;
  # '''format'''&lt;br /&gt;
  Searching for disks...done&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  AVAILABLE DISK SELECTIONS:&lt;br /&gt;
         0. c0t5000CCA02F613ACCd0 &amp;lt;HGST-H101860SFSUN600G-A990-558.91GB&amp;gt;&lt;br /&gt;
            /scsi_vhci/disk@g5000cca02f613acc&lt;br /&gt;
            /dev/chassis/SYS/HDD0/disk&lt;br /&gt;
         1. '''c0t5000CCA07D293CA0d0''' &amp;lt;HGST-H101860SFSUN600G-A990-558.91GB&amp;gt;&lt;br /&gt;
            /scsi_vhci/disk@g5000cca07d293ca0&lt;br /&gt;
            /dev/chassis/SYS/HDD1/disk&lt;br /&gt;
         2. c1t0d0 &amp;lt;VT-eUSB-7722-1.91GB&amp;gt;&lt;br /&gt;
            /pci@300/pci@1/pci@0/pci@2/usb@0/storage@1/disk@0,0&lt;br /&gt;
            /dev/chassis/SYS/MB/EUSB_DISK/disk&lt;br /&gt;
  Specify disk (enter its number):&lt;br /&gt;
&lt;br /&gt;
9. Replace the failed disk with the new disk in the zpool:&lt;br /&gt;
&lt;br /&gt;
  # '''zpool replace rpool c0t5000CCA02D0F6C44d0 c0t5000CCA07D293CA0d0'''&lt;br /&gt;
&lt;br /&gt;
10. Check the progress with:&lt;br /&gt;
&lt;br /&gt;
  # '''zpool status'''&lt;br /&gt;
&lt;br /&gt;
11. Once the zpool is happy again, install the boot block on the new disk:&lt;br /&gt;
&lt;br /&gt;
  # '''installboot -f -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t5000CCA07D293CA0d0s0'''&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array&amp;diff=689</id>
		<title>Replacing a failed disk in a ZFS/ZPOOL raid array</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array&amp;diff=689"/>
				<updated>2019-02-27T01:20:47Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot;This has been used on a SPARC S7-2, but should be relevant to most modern sparc based servers:  1. Identify the failed disk in the zpool array:    # zpool status     pool: rpo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This has been used on a SPARC S7-2, but should be relevant to most modern sparc based servers:&lt;br /&gt;
&lt;br /&gt;
1. Identify the failed disk in the zpool array:&lt;br /&gt;
&lt;br /&gt;
  # zpool status&lt;br /&gt;
    pool: rpool&lt;br /&gt;
   state: DEGRADED&lt;br /&gt;
   &lt;br /&gt;
  config:&lt;br /&gt;
  &lt;br /&gt;
          NAME                       STATE      READ WRITE CKSUM&lt;br /&gt;
          rpool                      DEGRADED      0     0     0&lt;br /&gt;
            mirror-0                 DEGRADED      0     0     0&lt;br /&gt;
              c0t5000CCA02F613ACCd0  ONLINE        0     0     0&lt;br /&gt;
              '''c0t5000CCA02D0F6C44d0'''  UNAVAIL       0     0     0&lt;br /&gt;
  &lt;br /&gt;
2. Find the device path for the drive you want to remove:&lt;br /&gt;
&lt;br /&gt;
  # diskinfo D:devchassis-path&lt;br /&gt;
  D:devchassis-path                   c:occupant-compdev&lt;br /&gt;
  ----------------------------------  ---------------------&lt;br /&gt;
  /dev/chassis/SYS/HDD0/disk          c0t5000CCA02F613ACCd0&lt;br /&gt;
  /dev/chassis/SYS/HDD1/disk          '''c0t5000CCA02D0F6C44d0'''&lt;br /&gt;
  /dev/chassis/SYS/HDD2               -&lt;br /&gt;
  /dev/chassis/SYS/HDD3               -&lt;br /&gt;
  /dev/chassis/SYS/HDD4               -&lt;br /&gt;
  /dev/chassis/SYS/HDD5               -&lt;br /&gt;
  /dev/chassis/SYS/HDD6               -&lt;br /&gt;
  /dev/chassis/SYS/HDD7               -&lt;br /&gt;
  /dev/chassis/SYS/MB/EUSB_DISK/disk  c1t0d0&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Solaris&amp;diff=688</id>
		<title>Solaris</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Solaris&amp;diff=688"/>
				<updated>2019-02-27T01:13:10Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Jumpstart]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Useful Commands]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Building Custom Packages]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Removing Solaris Packages Non-Interactively]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[NFS]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Solaris Networking]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Advanced Lights Out Management (ALOM)]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Mirroring Disks]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Create an NFS share with Solaris]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Replacing a failed disk in a  software mirror]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Replacing a failed disk in a ZFS/ZPOOL raid array]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Patching with Live Upgrade]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Manipulating swap space on a running Solaris system]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Navigating My Oracle Support]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Oracle/Sun Hardware]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[ZFS]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Virtualisation]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Enforce Password Complexity on Solaris]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[ERROR: /packages/ufs-file-system: Last Trap: Division by Zero]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Configure sendmail masquerading]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Slow SSH Connection]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[Solaris 11: Useful commands]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Solaris_11:_Useful_commands&amp;diff=687</id>
		<title>Solaris 11: Useful commands</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Solaris_11:_Useful_commands&amp;diff=687"/>
				<updated>2018-09-27T03:27:49Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: /* Determining Oracle Solaris 11 OS Package Update Version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Determining Oracle Solaris 11 OS Package Update Version ==&lt;br /&gt;
&lt;br /&gt;
To determine the package version of the Oracle Solaris 11 OS installed on your system:&lt;br /&gt;
&lt;br /&gt;
  pkg info kernel&lt;br /&gt;
&lt;br /&gt;
== Check Available Versions ==&lt;br /&gt;
&lt;br /&gt;
If you want to update your operating system release, check the available versions of the pkg:/entire incorporation package:&lt;br /&gt;
&lt;br /&gt;
  pkg list -af entire&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Solaris_11:_Useful_commands&amp;diff=686</id>
		<title>Solaris 11: Useful commands</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Solaris_11:_Useful_commands&amp;diff=686"/>
				<updated>2018-09-27T03:26:22Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: Created page with &amp;quot; == Determining Oracle Solaris 11 OS Package Update Version ==    pkg info kernel   == Check Available Versions ==  If you want to update your operating system release, check...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Determining Oracle Solaris 11 OS Package Update Version ==&lt;br /&gt;
&lt;br /&gt;
  pkg info kernel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Check Available Versions ==&lt;br /&gt;
&lt;br /&gt;
If you want to update your operating system release, check the available versions of the pkg:/entire incorporation package:&lt;br /&gt;
&lt;br /&gt;
  pkg list -af entire&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	</feed>