<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://peterpap.net/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages</id>
		<title>Peter Pap's Technowiki - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="https://peterpap.net/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages"/>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Special:NewPages"/>
		<updated>2026-04-22T13:04:33Z</updated>
		<subtitle>From Peter Pap's Technowiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://peterpap.net/index.php/Rancher_Login_Page_Blank</id>
		<title>Rancher Login Page Blank</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Rancher_Login_Page_Blank"/>
				<updated>2025-06-27T03:09:16Z</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://peterpap.net/index.php/Rancher</id>
		<title>Rancher</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Rancher"/>
				<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://peterpap.net/index.php/Kubernetes</id>
		<title>Kubernetes</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Kubernetes"/>
				<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://peterpap.net/index.php/Verify_that_a_private_key_matches_a_certificate</id>
		<title>Verify that a private key matches a certificate</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Verify_that_a_private_key_matches_a_certificate"/>
				<updated>2024-02-12T04:41:41Z</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://peterpap.net/index.php/OpenSSL</id>
		<title>OpenSSL</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/OpenSSL"/>
				<updated>2024-02-12T04:40:20Z</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://peterpap.net/index.php/Show_files_for_a_given_tablespace</id>
		<title>Show files for a given tablespace</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Show_files_for_a_given_tablespace"/>
				<updated>2021-03-11T00:43:25Z</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://peterpap.net/index.php/Email_alerts_failing_to_send_from_Dell_iDRAC_v9</id>
		<title>Email alerts failing to send from Dell iDRAC v9</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Email_alerts_failing_to_send_from_Dell_iDRAC_v9"/>
				<updated>2020-10-08T05:35:01Z</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://peterpap.net/index.php/Dell</id>
		<title>Dell</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Dell"/>
				<updated>2020-10-08T05:31: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;[[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://peterpap.net/index.php/Changing_sendmail_connect_domain_macro,_Dj,_in_sendmail.mc</id>
		<title>Changing sendmail connect domain macro, Dj, in sendmail.mc</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Changing_sendmail_connect_domain_macro,_Dj,_in_sendmail.mc"/>
				<updated>2020-10-02T01:17:59Z</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://peterpap.net/index.php/Increasing_disk_space_on_a_VM_using_Logical_Volumes</id>
		<title>Increasing disk space on a VM using Logical Volumes</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Increasing_disk_space_on_a_VM_using_Logical_Volumes"/>
				<updated>2020-10-01T01:28:57Z</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://peterpap.net/index.php/Configure_NetBackup_client_based_encryption</id>
		<title>Configure NetBackup client based encryption</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Configure_NetBackup_client_based_encryption"/>
				<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://peterpap.net/index.php/Veritas</id>
		<title>Veritas</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Veritas"/>
				<updated>2019-04-29T00:09:57Z</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://peterpap.net/index.php/Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array</id>
		<title>Replacing a failed disk in a ZFS/ZPOOL raid array</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Replacing_a_failed_disk_in_a_ZFS/ZPOOL_raid_array"/>
				<updated>2019-02-27T01:20:47Z</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://peterpap.net/index.php/Solaris_11:_Useful_commands</id>
		<title>Solaris 11: Useful commands</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/Solaris_11:_Useful_commands"/>
				<updated>2018-09-27T03:26:22Z</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://peterpap.net/index.php/VCenter_Upgrade_options_for_small_sized_vCenter_deployments_missing</id>
		<title>VCenter Upgrade options for small sized vCenter deployments missing</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/VCenter_Upgrade_options_for_small_sized_vCenter_deployments_missing"/>
				<updated>2018-02-27T05:41:41Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So you've got the Migration Assistant to start and now you're half way through the migration assistant before you get this:&lt;br /&gt;
&lt;br /&gt;
[[File:Vmwarex-largeonly.png]]&lt;br /&gt;
&lt;br /&gt;
The ONLY option available to you is the &amp;quot;X-Large&amp;quot; deployment size.  This is obviously less than ideal if you only want a small one!  In my case, the issue was Postgres logs.  &lt;br /&gt;
&lt;br /&gt;
1. Log into the vCenter host via SSH and go to /storage/db/vpostgres/pg_log&lt;br /&gt;
&lt;br /&gt;
2. Delete anything older than 30 days&lt;br /&gt;
&lt;br /&gt;
   find . -mtime +30 -exec rm {} \;&lt;br /&gt;
&lt;br /&gt;
That was enough to convince the Upgrade utility that I could have a smaller one :-)&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://peterpap.net/index.php/VCenter_migration_assistant_failing_to_start_(rejecting_password)</id>
		<title>VCenter migration assistant failing to start (rejecting password)</title>
		<link rel="alternate" type="text/html" href="https://peterpap.net/index.php/VCenter_migration_assistant_failing_to_start_(rejecting_password)"/>
				<updated>2018-02-27T04:25:05Z</updated>
		
		<summary type="html">&lt;p&gt;Ppapa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I was trying to to a migration of a vCenter instance from v5.5 to v6.5.  There was an Update Manager in play, which requires that you log into the Update Manager and run the Migration Assistant. However, when prompted for the &amp;quot;root&amp;quot; password, even though I had entered the correct password, repeeatedly, it failed, saying I had bad credentials.  After much butting of my head against the wall, and Googling, I found out that to fix it, you need to run the following utility:&lt;br /&gt;
&lt;br /&gt;
   C:\Program Files (x86)\VMware\Infrastructure\Update Manager\VMwareUpdateManagerUtility.exe&lt;br /&gt;
&lt;br /&gt;
then:&lt;br /&gt;
&lt;br /&gt;
1. Login with SSO Admin (administrator@vsphere.local or similar)&lt;br /&gt;
&lt;br /&gt;
2. Navigate to “re-register vCenter Server” and enter in the details again.&lt;br /&gt;
&lt;br /&gt;
[[File:Vmwareupdatemanagerutility.png]]&lt;br /&gt;
&lt;br /&gt;
3. Restart the VMware Update Server Service.&lt;br /&gt;
&lt;br /&gt;
The Migration Assistant should now accept the correct password and start.&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	</feed>