Quantcast
Channel: DevOps tips & tricks
Viewing all 181 articles
Browse latest View live

Trezor on Fedora with GPG

$
0
0

 HOWTO

 

Install Python Trezor libs on Fedora

sudo dnf install  python-trezor
Install using PIP
pip3 install setuptools wheel
pip3 install --upgrade setuptools
pip3 install trezor
python3 -m pip install trezor[hidapi]

Initialize GPG with key from Trezor

trezor-gpg init "DaVe dave@somemail.com" -vv
export GNUPGHOME=~/.gnupg/trezor
$ find ~/.gnupg/trezor/
/home/dave/.gnupg/trezor/
/home/dave/.gnupg/trezor/run-agent.sh
/home/dave/.gnupg/trezor/gpg.conf
/home/dave/.gnupg/trezor/env
/home/dave/.gnupg/trezor/pubkey.asc
/home/dave/.gnupg/trezor/pubring.kbx~
/home/dave/.gnupg/trezor/pubring.kbx
/home/dave/.gnupg/trezor/trustdb.gpg
/home/dave/.gnupg/trezor/gpg-agent.log
/home/dave/.gnupg/trezor/ownertrust.txt
/home/dave/.gnupg/trezor/random_seed


Java performance tuning and monitoring tools

Alternative artifiact creation in Maven using Ant

$
0
0

 HOWTO

Set target articact, skip standard generation 

<plugin>
      <groupId>org.codehaus.gmaven</groupId>
      <artifactId>gmaven-plugin</artifactId>
      <version>1.4</version>
      <executions>
        <execution>
          <id>set-main-artifact</id>
          <phase>package</phase>
          <goals>
            <goal>execute</goal>
          </goals>
          <configuration>
            <source>
              project.artifact.setFile(new File(project.build.directory+'/'+project.artifactId+'-'+project.version+'.war'))
            </source>
          </configuration>
        </execution>
      </executions>
    </plugin>
Skip compilation
<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-compiler-plugin</artifactId>
   <executions>
     <execution>
       <id>default-compile</id>
       <phase>compile</phase>
       <goals>
          <goal>compile</goal>
       </goals>
       <configuration>
         <skipMain>true</skipMain> <--Skip
       </configuration>
     </execution>
   </executions>
</plugin>
Skip WAR generation

Bluetooth sound device not detected on Linux

$
0
0

 HOWTO

  • https://unix.stackexchange.com/questions/736933/what-is-the-bluetooth-controllermode-in-etc-bluetooth-main-conf-what-is-bredr 



[dave@fedora ~]$ grep ControllerMode  /etc/bluetooth/main.conf
ControllerMode = bredr

 sudo systemctl status bluetooth
[sudo] password for dave: 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-09-07 17:17:56 CEST; 5h 46min ago
       Docs: man:bluetoothd(8)
   Main PID: 886 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18758)
     Memory: 2.6M
        CPU: 108ms
     CGroup: /system.slice/bluetooth.service
             └─886 /usr/libexec/bluetooth/bluetoothd

Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSource/faststream
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSink/opus_05
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSource/opus_05
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 07 22:11:14 fedora bluetoothd[886]: Endpoint registered: sender=:1.430 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Sep 07 22:11:35 fedora bluetoothd[886]: /org/bluez/hci0/dev_C4_30_18_9C_D4_49/sep3/fd1: fd(31) ready
Sep 07 22:11:57 fedora bluetoothd[886]: profiles/audio/avctp.c:avctp_connect_cb() connect to C4:30:18:9C:D4:49: Connection refused 

Linux Fedora 38 does not load WiFi driver on Asus notebook - SOLVED after udate

$
0
0

HOWTO 

[root@fedora ~]#  ls /lib/firmware/iwl* 
/lib/firmware/iwlwifi-1000-5.ucode.xz               /lib/firmware/iwlwifi-cc-a0-59.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-72.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-77.ucode.xz
/lib/firmware/iwlwifi-100-5.ucode.xz                /lib/firmware/iwlwifi-cc-a0-66.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-73.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-78.ucode.xz
/lib/firmware/iwlwifi-105-6.ucode.xz                /lib/firmware/iwlwifi-cc-a0-72.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-74.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-79.ucode.xz
/lib/firmware/iwlwifi-135-6.ucode.xz                /lib/firmware/iwlwifi-cc-a0-73.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-81.ucode.xz
/lib/firmware/iwlwifi-2000-6.ucode.xz               /lib/firmware/iwlwifi-cc-a0-74.ucode.xz        /lib/firmware/iwlwifi-QuZ-a0-hr-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-83.ucode.xz
/lib/firmware/iwlwifi-2030-6.ucode.xz               /lib/firmware/iwlwifi-cc-a0-77.ucode.xz        /lib/firmware/iwlwifi-QuZ-a0-hr-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm.xz
/lib/firmware/iwlwifi-3160-17.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-hr-b0-50.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-72.ucode.xz
/lib/firmware/iwlwifi-3168-29.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-hr-b0-59.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-73.ucode.xz
/lib/firmware/iwlwifi-3945-2.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-66.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-73.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-74.ucode.xz
/lib/firmware/iwlwifi-4965-2.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-72.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-74.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-77.ucode.xz
/lib/firmware/iwlwifi-5000-5.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-73.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-79.ucode.xz
/lib/firmware/iwlwifi-5150-2.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-74.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-81.ucode.xz
/lib/firmware/iwlwifi-6000-4.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-77.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-72.ucode.xz
/lib/firmware/iwlwifi-6000g2a-6.ucode.xz            /lib/firmware/iwlwifi-Qu-b0-jf-b0-50.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-73.ucode.xz
/lib/firmware/iwlwifi-6000g2b-6.ucode.xz            /lib/firmware/iwlwifi-Qu-b0-jf-b0-59.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-72.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-74.ucode.xz
/lib/firmware/iwlwifi-6050-5.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-jf-b0-66.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-73.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-77.ucode.xz
/lib/firmware/iwlwifi-7260-17.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-jf-b0-72.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-74.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-59.ucode.xz
/lib/firmware/iwlwifi-7265-17.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-jf-b0-73.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-77.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode.xz
/lib/firmware/iwlwifi-7265D-29.ucode.xz             /lib/firmware/iwlwifi-Qu-b0-jf-b0-74.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-72.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-72.ucode.xz
/lib/firmware/iwlwifi-8000C-34.ucode.xz             /lib/firmware/iwlwifi-Qu-b0-jf-b0-77.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-73.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-73.ucode.xz
/lib/firmware/iwlwifi-8000C-36.ucode.xz             /lib/firmware/iwlwifi-Qu-c0-hr-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-74.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-74.ucode.xz
/lib/firmware/iwlwifi-8265-34.ucode.xz              /lib/firmware/iwlwifi-Qu-c0-hr-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-77.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-77.ucode.xz
/lib/firmware/iwlwifi-8265-36.ucode.xz              /lib/firmware/iwlwifi-Qu-c0-hr-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-78.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-78.ucode.xz
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-34.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-72.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-79.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-79.ucode.xz
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-38.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-73.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-81.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-81.ucode.xz
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-74.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-83.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-83.ucode.xz
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-34.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-77.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm.xz      /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.xz
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-38.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-jf-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-72.ucode.xz
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-jf-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-73.ucode.xz
/lib/firmware/iwlwifi-cc-a0-50.ucode.xz             /lib/firmware/iwlwifi-Qu-c0-jf-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-74.ucode.xz

[root@fedora ~]# lspci -nnk
[root@fedora ~]#   lspci -nnk
0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4601] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: igen6_edac
    Kernel modules: igen6_edac
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] [8086:46a8] (rev 0c)
    DeviceName: VGA
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: i915
    Kernel modules: i915
0000:00:04.0 Signal processing controller [1180]: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant [8086:461d] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: proc_thermal_pci
    Kernel modules: processor_thermal_device_pci
0000:00:06.0 System peripheral [0880]: Intel Corporation RST VMD Managed Controller [8086:09ab]
0000:00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator [8086:464f] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
0000:00:0a.0 Signal processing controller [1180]: Intel Corporation Platform Monitoring Technology [8086:467d] (rev 01)
    Kernel driver in use: intel_vsec
    Kernel modules: intel_vsec
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller [8086:467f]
    Subsystem: Intel Corporation Device [8086:0000]
    Kernel driver in use: vmd
    Kernel modules: vmd
0000:00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:201f]
    Kernel driver in use: xhci_hcd
0000:00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
0000:00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
    DeviceName: WLAN
    Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz [8086:0074]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: mei_me
    Kernel modules: mei_me
0000:00:1e.0 Communication controller [0780]: Intel Corporation Alder Lake PCH UART #0 [8086:51a8] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:1e.2 Serial bus controller [0c80]: Intel Corporation Alder Lake SPI Controller [8086:51aa] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
0000:00:1f.3 Audio device [0403]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
10000:e0:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 04)
    Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller [0108]: Intel Corporation SSD 670p Series [Keystone Harbor] [8086:f1aa] (rev 03)
    Subsystem: Intel Corporation Device [8086:390f]
    Kernel driver in use: nvme
    Kernel modules: nvme

dmesg | grep iwl
[root@fedora ~]# dmesg | grep iwl
[    6.124426] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    6.205981] iwlwifi 0000:00:14.3: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
[    6.206085] iwlwifi 0000:00:14.3: PCI dev 51f0/0074, rev=0x370, rfid=0x10a100
[    6.206359] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-83.ucode failed with error -2
[    6.206393] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-82.ucode failed with error -2
[    6.262692] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[    6.262713] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.41
[    6.263022] iwlwifi 0000:00:14.3: loaded firmware version 81.31fc9ae6.0 so-a0-hr-b0-81.ucode op_mode iwlmvm
[    6.428091] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[    6.435484] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.575717] WARNING: CPU: 10 PID: 765 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2190 __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575740] Modules linked in: ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common snd_seq_device irqbypass asus_wmi btbcm iwlwifi btintel rapl videodev snd_pcm
[    7.575808] RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575841]  ? __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575862]  ? __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575892]  ? __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575909]  iwl_trans_pcie_grab_nic_access+0x1a/0x40 [iwlwifi]
[    7.575926]  iwl_read_prph+0x1d/0x70 [iwlwifi]
[    7.575940]  iwl_mvm_load_ucode_wait_alive+0x2d9/0x620 [iwlmvm]
[    7.575966]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[    7.575985]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[    7.576003]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[    7.576021]  ? __iwl_trans_pcie_grab_nic_access+0xb7/0x150 [iwlwifi]
[    7.576038]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[    7.576057]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[    7.576082]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[    7.576103]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[    7.576118]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[    7.576133]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    7.576155]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[    7.576174]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    7.576251] iwlwifi 0000:00:14.3: iwlwifi transaction failed, dumping registers
[    7.576252] iwlwifi 0000:00:14.3: iwlwifi device config registers:
[    7.576481] iwlwifi 0000:00:14.3: 00000000: 51f08086 00100000 02800001 00800000 00000004 00000000 00000000 00000000
[    7.576483] iwlwifi 0000:00:14.3: 00000020: 00000000 00000000 00000000 00748086 00000000 000000c8 00000000 00000100
[    7.576484] iwlwifi 0000:00:14.3: 00000040: 00928010 10000ec0 001a0c10 00000000 00000000 00000000 00000000 00000000
[    7.576485] iwlwifi 0000:00:14.3: 00000060: 00000000 00080812 00000005 00000000 00000000 00000000 00000000 00000000
[    7.576487] iwlwifi 0000:00:14.3: 00000080: 000f0011 00002000 00003000 00000000 00000000 00000000 00000000 00000000
[    7.576488] iwlwifi 0000:00:14.3: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.576489] iwlwifi 0000:00:14.3: 000000c0: 00000000 00000000 c823d001 0d000008 00804005 00000000 00000000 00000000
[    7.576490] iwlwifi 0000:00:14.3: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.576491] iwlwifi 0000:00:14.3: 00000100: 16410018 00000000 00000000 00462031 00000000 00002000 00000014 00000000
[    7.576492] iwlwifi 0000:00:14.3: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.576493] iwlwifi 0000:00:14.3: 00000140: 14c00000 ff000000 000000ff 00000000 00000000 0001001e 00481e1f 00000000
[    7.576494] iwlwifi 0000:00:14.3: iwlwifi device memory mapped registers:
[    7.576539] iwlwifi 0000:00:14.3: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.576541] iwlwifi 0000:00:14.3: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.576592] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
[    7.661911] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
[    7.745989] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x5a5a5a5a
[    7.830964] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
[    8.007288] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
[    8.096495] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
[    8.185720] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
[    8.275058] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
[    8.364355] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
[    8.364356] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xd05c18
[    8.364357] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd05c1c
[    8.364359] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    8.542884] WARNING: CPU: 10 PID: 765 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1493 iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.542905] Modules linked in: ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common snd_seq_device irqbypass asus_wmi btbcm iwlwifi btintel rapl videodev snd_pcm
[    8.542955] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.542985]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.543005]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.543030]  ? iwl_trans_pcie_grab_nic_access+0x2c/0x40 [iwlwifi]
[    8.543046]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.543063]  ? iwl_fwrt_dump_lmac_error_log+0xb3/0x600 [iwlwifi]
[    8.543081]  iwl_fwrt_dump_error_logs+0x28/0x2c0 [iwlwifi]
[    8.543099]  iwl_mvm_nic_error+0x61/0xe0 [iwlmvm]
[    8.543121]  iwl_trans_sync_nmi_with_addr+0x79/0x170 [iwlwifi]
[    8.543135]  iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[    8.543153]  iwl_mvm_load_ucode_wait_alive+0x506/0x620 [iwlmvm]
[    8.543173]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[    8.543191]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[    8.543209]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[    8.543227]  ? __iwl_trans_pcie_grab_nic_access+0xb7/0x150 [iwlwifi]
[    8.543244]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[    8.543262]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[    8.543282]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[    8.543302]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[    8.543316]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[    8.543331]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    8.543350]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[    8.543368]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    8.543420] iwlwifi 0000:00:14.3: HW error, resetting before reading
[    8.638568] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[    8.638572] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[    8.638574] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[    8.638575] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    8.638576] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[    8.638576] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[    8.638577] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[    8.638578] iwlwifi 0000:00:14.3: 0x00000000 | data1
[    8.638578] iwlwifi 0000:00:14.3: 0x00000000 | data2
[    8.638579] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    8.638580] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[    8.638581] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[    8.638581] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    8.638582] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    8.638583] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[    8.638583] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[    8.638584] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[    8.638585] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[    8.638585] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[    8.638586] iwlwifi 0000:00:14.3: 0x00000000 | board version
[    8.638587] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[    8.638588] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[    8.638588] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    8.638589] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[    8.638590] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[    8.638590] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    8.638591] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[    8.638592] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[    8.638592] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    8.638593] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    8.638594] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    8.638594] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    8.638595] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[    8.638596] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    8.638596] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[    8.727796] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT
[    8.727798] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    8.727798] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink2
[    8.727799] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[    8.727800] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[    8.727803] iwlwifi 0000:00:14.3: 0x00000000 | umac data1
[    8.727804] iwlwifi 0000:00:14.3: 0x00000000 | umac data2
[    8.727805] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[    8.727806] iwlwifi 0000:00:14.3: 0x00000000 | umac major
[    8.727807] iwlwifi 0000:00:14.3: 0x00000000 | umac minor
[    8.727807] iwlwifi 0000:00:14.3: 0x00000000 | frame pointer
[    8.727808] iwlwifi 0000:00:14.3: 0x00000000 | stack pointer
[    8.727809] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[    8.727809] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[    8.817013] iwlwifi 0000:00:14.3: IML/ROM dump:
[    8.817014] iwlwifi 0000:00:14.3: 0x5A5A | IML/ROM SYSASSERT
[    8.817015] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM error/state
[    8.906218] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM data1
[    8.995535] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
[    9.171773] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[    9.171776] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    9.356244] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[    9.895186] iwlwifi 0000:00:14.3: Failed to get monitor header
[    9.895188] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   10.261135] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   10.811215] iwlwifi 0000:00:14.3: Failed to get monitor header
[   10.811216] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   32.254070] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   32.268027] iwlwifi 0000:00:14.3: retry init count 0
[   32.277719] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[   32.517885] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[   33.884126] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
[   33.973486] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
[   34.062774] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x5a5a5a5a
[   34.152199] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
[   34.330696] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
[   34.419962] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
[   34.509441] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
[   34.598648] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
[   34.688075] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
[   34.688076] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xd05c18
[   34.688076] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd05c1c
[   34.688078] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   34.866766] WARNING: CPU: 1 PID: 765 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1493 iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866786] Modules linked in: nfnetlink(+) qrtr bnep ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common snd_seq_device irqbypass asus_wmi btbcm iwlwifi
[   34.866894] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866917]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866934]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866955]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866965]  ? iwl_fwrt_dump_lmac_error_log+0xb3/0x600 [iwlwifi]
[   34.866975]  iwl_fwrt_dump_error_logs+0x28/0x2c0 [iwlwifi]
[   34.866986]  iwl_mvm_nic_error+0x61/0xe0 [iwlmvm]
[   34.867010]  iwl_trans_sync_nmi_with_addr+0x79/0x170 [iwlwifi]
[   34.867019]  iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[   34.867029]  iwl_mvm_load_ucode_wait_alive+0x506/0x620 [iwlmvm]
[   34.867044]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[   34.867056]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[   34.867069]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[   34.867079]  ? __iwl_trans_pcie_grab_nic_access+0x133/0x150 [iwlwifi]
[   34.867090]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[   34.867101]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[   34.867114]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[   34.867125]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[   34.867134]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[   34.867142]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   34.867157]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[   34.867170]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   34.867229] iwlwifi 0000:00:14.3: HW error, resetting before reading
[   34.962905] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[   34.962908] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[   34.962909] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[   34.962909] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[   34.962910] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[   34.962910] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[   34.962911] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[   34.962911] iwlwifi 0000:00:14.3: 0x00000000 | data1
[   34.962912] iwlwifi 0000:00:14.3: 0x00000000 | data2
[   34.962912] iwlwifi 0000:00:14.3: 0x00000000 | data3
[   34.962913] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[   34.962913] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[   34.962914] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[   34.962914] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[   34.962915] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[   34.962915] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[   34.962916] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[   34.962916] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[   34.962916] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[   34.962917] iwlwifi 0000:00:14.3: 0x00000000 | board version
[   34.962917] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[   34.962918] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[   34.962918] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[   34.962919] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[   34.962919] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[   34.962920] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[   34.962920] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[   34.962921] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[   34.962921] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[   34.962921] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[   34.962922] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[   34.962922] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[   34.962923] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[   34.962923] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[   34.962924] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[   35.052275] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT
[   35.052276] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[   35.052276] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink2
[   35.052277] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[   35.052277] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[   35.052278] iwlwifi 0000:00:14.3: 0x00000000 | umac data1
[   35.052278] iwlwifi 0000:00:14.3: 0x00000000 | umac data2
[   35.052279] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[   35.052279] iwlwifi 0000:00:14.3: 0x00000000 | umac major
[   35.052279] iwlwifi 0000:00:14.3: 0x00000000 | umac minor
[   35.052280] iwlwifi 0000:00:14.3: 0x00000000 | frame pointer
[   35.052280] iwlwifi 0000:00:14.3: 0x00000000 | stack pointer
[   35.052281] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[   35.052281] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[   35.141540] iwlwifi 0000:00:14.3: IML/ROM dump:
[   35.141542] iwlwifi 0000:00:14.3: 0x5A5A | IML/ROM SYSASSERT
[   35.141542] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM error/state
[   35.230877] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM data1
[   35.320383] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
[   35.576856] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[   35.576859] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   36.014448] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   37.373822] iwlwifi 0000:00:14.3: Failed to get monitor header
[   37.373854] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   38.275853] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   39.635053] iwlwifi 0000:00:14.3: Failed to get monitor header
[   39.635055] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   63.190496] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   63.204484] iwlwifi 0000:00:14.3: retry init count 1
[   63.214492] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[   63.316712] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[   64.546030] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
[   64.638667] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
[   64.723223] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x5a5a5a5a
[   64.808252] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
[   64.985262] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
[   65.074129] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
[   65.162933] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
[   65.251689] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
[   65.340485] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
[   65.340486] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xd05c18
[   65.340487] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd05c1c
[   65.340490] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   65.518095] WARNING: CPU: 10 PID: 765 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1493 iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518122] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer nf_tables(+) nfnetlink qrtr bnep ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common
[   65.518154]  snd_seq_device irqbypass asus_wmi btbcm iwlwifi btintel rapl videodev snd_pcm ledtrig_audio btmtk intel_cstate snd_timer uas processor_thermal_device_pci sparse_keymap bluetooth intel_uncore platform_profile processor_thermal_device pcspkr cfg80211 wmi_bmof snd mc usb_storage spidev mei_me soundcore processor_thermal_rfim i2c_i801 processor_thermal_mbox mei i2c_smbus rfkill idma64 processor_thermal_rapl intel_vsec intel_rapl_common igen6_edac int3400_thermal int3403_thermal int340x_thermal_zone acpi_thermal_rel acpi_tad acpi_pad joydev loop zram i915 nvme nvme_core nvme_common i2c_algo_bit drm_buddy ttm crct10dif_pclmul crc32_pclmul crc32c_intel drm_display_helper polyval_clmulni polyval_generic spi_pxa2xx_platform hid_multitouch ghash_clmulni_intel sha512_ssse3 cec dw_dmac vmd i2c_hid_acpi i2c_hid video wmi pinctrl_tigerlake serio_raw ip6_tables ip_tables fuse
[   65.518197] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518230]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518253]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518283]  ? iwl_trans_pcie_grab_nic_access+0x2c/0x40 [iwlwifi]
[   65.518300]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518317]  ? iwl_fwrt_dump_lmac_error_log+0xb3/0x600 [iwlwifi]
[   65.518335]  iwl_fwrt_dump_error_logs+0x28/0x2c0 [iwlwifi]
[   65.518352]  iwl_mvm_nic_error+0x61/0xe0 [iwlmvm]
[   65.518383]  iwl_trans_sync_nmi_with_addr+0x79/0x170 [iwlwifi]
[   65.518398]  iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[   65.518416]  iwl_mvm_load_ucode_wait_alive+0x506/0x620 [iwlmvm]
[   65.518438]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[   65.518457]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[   65.518478]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[   65.518496]  ? __iwl_trans_pcie_grab_nic_access+0x133/0x150 [iwlwifi]
[   65.518513]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[   65.518532]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[   65.518554]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[   65.518574]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[   65.518589]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[   65.518603]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   65.518625]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[   65.518645]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   65.518726] iwlwifi 0000:00:14.3: HW error, resetting before reading
[   65.613908] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[   65.613913] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[   65.613915] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[   65.613916] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[   65.613917] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[   65.613917] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[   65.613918] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[   65.613919] iwlwifi 0000:00:14.3: 0x00000000 | data1
[   65.613920] iwlwifi 0000:00:14.3: 0x00000000 | data2
[   65.613920] iwlwifi 0000:00:14.3: 0x00000000 | data3
[   65.613921] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[   65.613922] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[   65.613923] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[   65.613923] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[   65.613924] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[   65.613925] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[   65.613926] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[   65.613926] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[   65.613927] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[   65.613928] iwlwifi 0000:00:14.3: 0x00000000 | board version
[   65.613929] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[   65.613929] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[   65.613930] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[   65.613931] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[   65.613931] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[   65.613932] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[   65.613933] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[   65.613934] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[   65.613934] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[   65.613935] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[   65.613936] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[   65.613937] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[   65.613937] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[   65.613938] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[   65.613939] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[   65.702760] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT
[   65.702763] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[   65.702763] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink2
[   65.702764] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[   65.702765] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[   65.702766] iwlwifi 0000:00:14.3: 0x00000000 | umac data1
[   65.702766] iwlwifi 0000:00:14.3: 0x00000000 | umac data2
[   65.702767] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[   65.702768] iwlwifi 0000:00:14.3: 0x00000000 | umac major
[   65.702768] iwlwifi 0000:00:14.3: 0x00000000 | umac minor
[   65.702769] iwlwifi 0000:00:14.3: 0x00000000 | frame pointer
[   65.702770] iwlwifi 0000:00:14.3: 0x00000000 | stack pointer
[   65.702770] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[   65.702771] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[   65.791569] iwlwifi 0000:00:14.3: IML/ROM dump:
[   65.791570] iwlwifi 0000:00:14.3: 0x5A5A | IML/ROM SYSASSERT
[   65.791571] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM error/state
[   65.880279] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM data1
[   65.968488] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
[   66.145636] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[   66.145640] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   66.323589] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   66.858655] iwlwifi 0000:00:14.3: Failed to get monitor header
[   66.858658] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   67.217787] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   67.765471] iwlwifi 0000:00:14.3: Failed to get monitor header
[   67.765475] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   77.688179] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   77.700981] iwlwifi 0000:00:14.3: retry init count 2

After update wifi driver loaded OK
[root@fedora ~]# dmesg | grep iwl
[    6.315038] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    6.367649] iwlwifi 0000:00:14.3: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
[    6.367743] iwlwifi 0000:00:14.3: PCI dev 51f0/0074, rev=0x370, rfid=0x10a100
[    6.371067] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-83.ucode failed with error -2
[    6.371099] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-82.ucode failed with error -2
[    6.431361] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[    6.431382] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.41
[    6.431701] iwlwifi 0000:00:14.3: loaded firmware version 81.31fc9ae6.0 so-a0-hr-b0-81.ucode op_mode iwlmvm
[    6.606637] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[    6.613637] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    6.717270] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    6.717319] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    6.717367] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    6.717416] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    6.717476] iwlwifi 0000:00:14.3: Detected RF HR B3, rfid=0x10a100
[    6.718779] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    6.784542] iwlwifi 0000:00:14.3: base HW address: f4:26:79:73:61:ee
[    6.802921] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[    7.602876] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.701657] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    7.701706] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    7.701715] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    7.701724] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    7.703214] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    7.774155] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
[    7.809578] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.908467] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    7.908496] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    7.908544] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    7.908555] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    7.910142] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    8.019735] iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
[    8.019963] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    8.019966] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 6
[    8.019971] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[    8.019975] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[    8.019980] iwlwifi 0000:00:14.3: 0x000002F0 | trm_hw_status0
[    8.019983] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    8.019986] iwlwifi 0000:00:14.3: 0x004D8B5C | branchlink2
[    8.019989] iwlwifi 0000:00:14.3: 0x004CEDFA | interruptlink1
[    8.019992] iwlwifi 0000:00:14.3: 0x004CEDFA | interruptlink2
[    8.019995] iwlwifi 0000:00:14.3: 0x00014F1A | data1
[    8.019998] iwlwifi 0000:00:14.3: 0x00000010 | data2
[    8.020000] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    8.020003] iwlwifi 0000:00:14.3: 0x003E0BA8 | beacon time
[    8.020005] iwlwifi 0000:00:14.3: 0x00027A4B | tsf low
[    8.020008] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    8.020011] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    8.020013] iwlwifi 0000:00:14.3: 0x00033352 | time gp2
[    8.020016] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[    8.020018] iwlwifi 0000:00:14.3: 0x00000051 | uCode version major
[    8.020021] iwlwifi 0000:00:14.3: 0x31FC9AE6 | uCode version minor
[    8.020023] iwlwifi 0000:00:14.3: 0x00000370 | hw version
[    8.020026] iwlwifi 0000:00:14.3: 0x00C80002 | board version
[    8.020028] iwlwifi 0000:00:14.3: 0x001F0103 | hcmd
[    8.020030] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[    8.020033] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    8.020035] iwlwifi 0000:00:14.3: 0x48F04802 | isr2
[    8.020037] iwlwifi 0000:00:14.3: 0x00C3000C | isr3
[    8.020039] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    8.020042] iwlwifi 0000:00:14.3: 0x001F0103 | last cmd Id
[    8.020044] iwlwifi 0000:00:14.3: 0x00014F1A | wait_event
[    8.020046] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    8.020048] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    8.020051] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    8.020053] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    8.020055] iwlwifi 0000:00:14.3: 0x00000018 | lmpm_pmg_sel
[    8.020057] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    8.020059] iwlwifi 0000:00:14.3: 0x00001840 | flow_handler
[    8.020121] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    8.020123] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
[    8.020127] iwlwifi 0000:00:14.3: 0x2010190E | ADVANCED_SYSASSERT
[    8.020130] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    8.020132] iwlwifi 0000:00:14.3: 0x8046D5A0 | umac branchlink2
[    8.020135] iwlwifi 0000:00:14.3: 0xC0081500 | umac interruptlink1
[    8.020137] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[    8.020139] iwlwifi 0000:00:14.3: 0x01001718 | umac data1
[    8.020142] iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data2
[    8.020144] iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data3
[    8.020146] iwlwifi 0000:00:14.3: 0x00000051 | umac major
[    8.020148] iwlwifi 0000:00:14.3: 0x31FC9AE6 | umac minor
[    8.020151] iwlwifi 0000:00:14.3: 0x0003334D | frame pointer
[    8.020153] iwlwifi 0000:00:14.3: 0xC0886BF4 | stack pointer
[    8.020155] iwlwifi 0000:00:14.3: 0x001F0103 | last host cmd
[    8.020157] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[    8.020198] iwlwifi 0000:00:14.3: IML/ROM dump:
[    8.020200] iwlwifi 0000:00:14.3: 0x00000B03 | IML/ROM error/state
[    8.020246] iwlwifi 0000:00:14.3: 0x0000510E | IML/ROM data1
[    8.020297] iwlwifi 0000:00:14.3: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
[    8.020389] iwlwifi 0000:00:14.3: Fseq Registers:
[    8.020396] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[    8.020438] iwlwifi 0000:00:14.3: 0x00350002 | FSEQ_TOP_INIT_VERSION
[    8.020445] iwlwifi 0000:00:14.3: 0x00150001 | FSEQ_CNVIO_INIT_VERSION
[    8.020486] iwlwifi 0000:00:14.3: 0x0000A482 | FSEQ_OTP_VERSION
[    8.020493] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[    8.020535] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[    8.020541] iwlwifi 0000:00:14.3: 0x00080400 | FSEQ_CNVI_ID
[    8.020583] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[    8.020590] iwlwifi 0000:00:14.3: 0x00080400 | CNVI_AUX_MISC_CHIP
[    8.020634] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[    8.020690] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    8.020731] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    8.020777] iwlwifi 0000:00:14.3: 0x00150001 | FSEQ_PREV_CNVIO_INIT_VERSION
[    8.020783] iwlwifi 0000:00:14.3: 0x00350002 | FSEQ_WIFI_FSEQ_VERSION
[    8.020825] iwlwifi 0000:00:14.3: 0x00350002 | FSEQ_BT_FSEQ_VERSION
[    8.020832] iwlwifi 0000:00:14.3: 0x000000EB | FSEQ_CLASS_TP_VERSION
[    8.020880] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x8048bb7c
[    8.020922] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0
[    8.021110] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[    8.626963] iwlwifi 0000:00:14.3: Failed to send MAC_CONFIG_CMD (action:1): -5
[    8.647836] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    8.751398] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    8.751453] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    8.751515] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    8.751526] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    8.753396] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[   12.974777] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[   13.073804] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   13.073854] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   13.073905] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[   13.073955] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[   13.075223] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5

Install Apache Kafka on Linux Fedora

$
0
0

HOWTO

 

Download from https://kafka.apache.org/downloads 

 

Start zookeeper

[dave@dave kafka_2.12-3.5.1]$ bin/zookeeper-server-start.sh config/zookeeper.properties 
[2023-10-09 13:18:51,465] INFO Reading configuration from: config/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,466] WARN config/zookeeper.properties is relative. Prepend ./ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,472] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,472] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,473] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,473] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,475] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager)
[2023-10-09 13:18:51,475] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager)
[2023-10-09 13:18:51,475] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager)
[2023-10-09 13:18:51,475] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain)
[2023-10-09 13:18:51,476] INFO Log4j 1.2 jmx support not found; jmx disabled. (org.apache.zookeeper.jmx.ManagedUtil)
[2023-10-09 13:18:51,477] INFO Reading configuration from: config/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,477] WARN config/zookeeper.properties is relative. Prepend ./ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,477] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,477] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,477] INFO observerMasterPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,477] INFO metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2023-10-09 13:18:51,477] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain)
[2023-10-09 13:18:51,490] INFO ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@2abf4075 (org.apache.zookeeper.server.ServerMetrics)
[2023-10-09 13:18:51,493] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2023-10-09 13:18:51,506] INFO  (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,506] INFO   ______                  _                                           (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,506] INFO  |___  /                 | |                                          (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO     / /    ___     ___   | | __   ___    ___   _ __     ___   _ __    (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO    / /    / _ \   / _ \  | |/ /  / _ \  / _ \ | '_ \   / _ \ | '__| (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO   / /__  | (_) | | (_) | |   <  |  __/ |  __/ | |_) | |  __/ | |     (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO  /_____|  \___/   \___/  |_|\_\  \___|  \___| | .__/   \___| |_| (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO                                               | |                      (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO                                               |_|                      (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,507] INFO  (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,508] INFO Server environment:zookeeper.version=3.6.4--d65253dcf68e9097c6e95a126463fd5fdeb4521c, built on 12/18/2022 18:10 GMT (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,508] INFO Server environment:host.name=dave (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,508] INFO Server environment:java.version=11.0.16.1 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,508] INFO Server environment:java.vendor=Oracle Corporation (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,508] INFO Server environment:java.home=/usr/java/jdk-11.0.16.1 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,508] INFO Server environment:java.class.path=/app/kafka/kafka_2.12-3.5.1/bin/../libs/activation-1.1.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/aopalliance-repackaged-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/argparse4j-0.7.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/audience-annotations-0.13.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/commons-cli-1.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/commons-lang3-3.8.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-basic-auth-extension-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-json-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-mirror-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-mirror-client-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-runtime-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-transforms-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-api-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-locator-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-utils-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-annotations-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-core-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-databind-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-dataformat-csv-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-datatype-jdk8-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-jaxrs-base-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-jaxrs-json-provider-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-module-jaxb-annotations-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-module-scala_2.12-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.activation-api-1.2.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.annotation-api-1.3.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.inject-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.validation-api-2.0.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.ws.rs-api-2.1.6.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.xml.bind-api-2.3.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javassist-3.29.2-GA.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.activation-api-1.2.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.annotation-api-1.3.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.servlet-api-3.1.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.ws.rs-api-2.1.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jaxb-api-2.3.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-client-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-common-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-container-servlet-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-container-servlet-core-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-hk2-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-server-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-client-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-continuation-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-http-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-io-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-security-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-server-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-servlet-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-servlets-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-util-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-util-ajax-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jline-3.22.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jopt-simple-5.0.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jose4j-0.9.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka_2.12-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-clients-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-group-coordinator-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-log4j-appender-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-metadata-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-raft-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-server-common-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-shell-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-storage-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-storage-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-examples-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-scala_2.12-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-test-utils-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-tools-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-tools-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/lz4-java-1.8.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/maven-artifact-3.8.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/metrics-core-2.2.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/metrics-core-4.1.12.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-buffer-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-codec-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-common-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-handler-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-resolver-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-classes-epoll-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-native-epoll-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-native-unix-common-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/osgi-resource-locator-1.0.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/paranamer-2.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/plexus-utils-3.3.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/reflections-0.9.12.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/reload4j-1.2.25.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/rocksdbjni-7.1.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-collection-compat_2.12-2.10.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-java8-compat_2.12-1.0.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-library-2.12.15.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-logging_2.12-3.9.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-reflect-2.12.15.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/slf4j-api-1.7.36.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/slf4j-reload4j-1.7.36.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/snappy-java-1.1.10.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/swagger-annotations-2.2.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/trogdor-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zookeeper-3.6.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zookeeper-jute-3.6.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zstd-jni-1.5.5-1.jar (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:java.compiler=<NA> (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:os.version=6.5.5-100.fc37.x86_64 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:user.name=dave (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:user.home=/home/dave (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:user.dir=/home/app/kafka/kafka_2.12-3.5.1 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:os.memory.free=490MB (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO zookeeper.enableEagerACLCheck = false (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO zookeeper.digest.enabled = true (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO zookeeper.closeSessionTxn.enabled = true (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,509] INFO zookeeper.flushDelay=0 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,510] INFO zookeeper.maxWriteQueuePollTime=0 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,510] INFO zookeeper.maxBatchSize=1000 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,510] INFO zookeeper.intBufferStartingSizeBytes = 1024 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,511] INFO Weighed connection throttling is disabled (org.apache.zookeeper.server.BlueThrottle)
[2023-10-09 13:18:51,512] INFO minSessionTimeout set to 6000 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,512] INFO maxSessionTimeout set to 60000 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,513] INFO Response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache)
[2023-10-09 13:18:51,513] INFO Response cache size is initialized with value 400. (org.apache.zookeeper.server.ResponseCache)
[2023-10-09 13:18:51,514] INFO zookeeper.pathStats.slotCapacity = 60 (org.apache.zookeeper.server.util.RequestPathMetricsCollector)
[2023-10-09 13:18:51,514] INFO zookeeper.pathStats.slotDuration = 15 (org.apache.zookeeper.server.util.RequestPathMetricsCollector)
[2023-10-09 13:18:51,515] INFO zookeeper.pathStats.maxDepth = 6 (org.apache.zookeeper.server.util.RequestPathMetricsCollector)
[2023-10-09 13:18:51,515] INFO zookeeper.pathStats.initialDelay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector)
[2023-10-09 13:18:51,515] INFO zookeeper.pathStats.delay = 5 (org.apache.zookeeper.server.util.RequestPathMetricsCollector)
[2023-10-09 13:18:51,515] INFO zookeeper.pathStats.enabled = false (org.apache.zookeeper.server.util.RequestPathMetricsCollector)
[2023-10-09 13:18:51,521] INFO The max bytes for all large requests are set to 104857600 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,521] INFO The large request threshold is set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,521] INFO Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 clientPortListenBacklog -1 datadir /tmp/zookeeper/version-2 snapdir /tmp/zookeeper/version-2 (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,531] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory)
[2023-10-09 13:18:51,532] WARN maxCnxns is not configured, using default value 0. (org.apache.zookeeper.server.ServerCnxnFactory)
[2023-10-09 13:18:51,534] INFO Configuring NIO connection handler with 10s sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 kB direct buffers. (org.apache.zookeeper.server.NIOServerCnxnFactory)
[2023-10-09 13:18:51,541] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
[2023-10-09 13:18:51,565] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory)
[2023-10-09 13:18:51,565] INFO Using org.apache.zookeeper.server.watch.WatchManager as watch manager (org.apache.zookeeper.server.watch.WatchManagerFactory)
[2023-10-09 13:18:51,567] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase)
[2023-10-09 13:18:51,567] INFO zookeeper.commitLogCount=500 (org.apache.zookeeper.server.ZKDatabase)
[2023-10-09 13:18:51,574] INFO zookeeper.snapshot.compression.method = CHECKED (org.apache.zookeeper.server.persistence.SnapStream)
[2023-10-09 13:18:51,574] INFO Snapshotting: 0x0 to /tmp/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2023-10-09 13:18:51,577] INFO Snapshot loaded in 10 ms, highest zxid is 0x0, digest is 1371985504 (org.apache.zookeeper.server.ZKDatabase)
[2023-10-09 13:18:51,577] INFO Snapshotting: 0x0 to /tmp/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2023-10-09 13:18:51,577] INFO Snapshot taken in 0 ms (org.apache.zookeeper.server.ZooKeeperServer)
[2023-10-09 13:18:51,588] INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor)
[2023-10-09 13:18:51,589] INFO zookeeper.request_throttler.shutdownTimeout = 10000 (org.apache.zookeeper.server.RequestThrottler)
[2023-10-09 13:18:51,611] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager)
[2023-10-09 13:18:51,612] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider)

Running process
[dave@dave kafka_2.12-3.5.1]$ pgrep -a java
9605 java -Xmx512M -Xms512M -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 -Djava.awt.headless=true -Xlog:gc*:file=/app/kafka/kafka_2.12-3.5.1/bin/../logs/zookeeper-gc.log:time,tags:filecount=10,filesize=100M -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dkafka.logs.dir=/app/kafka/kafka_2.12-3.5.1/bin/../logs -Dlog4j.configuration=file:bin/../config/log4j.properties -cp /app/kafka/kafka_2.12-3.5.1/bin/../libs/activation-1.1.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/aopalliance-repackaged-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/argparse4j-0.7.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/audience-annotations-0.13.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/commons-cli-1.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/commons-lang3-3.8.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-basic-auth-extension-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-json-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-mirror-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-mirror-client-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-runtime-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-transforms-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-api-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-locator-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-utils-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-annotations-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-core-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-databind-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-dataformat-csv-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-datatype-jdk8-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-jaxrs-base-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-jaxrs-json-provider-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-module-jaxb-annotations-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-module-scala_2.12-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.activation-api-1.2.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.annotation-api-1.3.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.inject-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.validation-api-2.0.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.ws.rs-api-2.1.6.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.xml.bind-api-2.3.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javassist-3.29.2-GA.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.activation-api-1.2.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.annotation-api-1.3.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.servlet-api-3.1.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.ws.rs-api-2.1.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jaxb-api-2.3.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-client-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-common-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-container-servlet-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-container-servlet-core-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-hk2-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-server-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-client-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-continuation-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-http-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-io-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-security-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-server-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-servlet-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-servlets-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-util-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-util-ajax-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jline-3.22.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jopt-simple-5.0.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jose4j-0.9.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka_2.12-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-clients-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-group-coordinator-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-log4j-appender-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-metadata-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-raft-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-server-common-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-shell-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-storage-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-storage-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-examples-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-scala_2.12-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-test-utils-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-tools-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-tools-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/lz4-java-1.8.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/maven-artifact-3.8.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/metrics-core-2.2.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/metrics-core-4.1.12.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-buffer-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-codec-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-common-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-handler-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-resolver-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-classes-epoll-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-native-epoll-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-native-unix-common-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/osgi-resource-locator-1.0.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/paranamer-2.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/plexus-utils-3.3.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/reflections-0.9.12.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/reload4j-1.2.25.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/rocksdbjni-7.1.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-collection-compat_2.12-2.10.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-java8-compat_2.12-1.0.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-library-2.12.15.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-logging_2.12-3.9.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-reflect-2.12.15.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/slf4j-api-1.7.36.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/slf4j-reload4j-1.7.36.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/snappy-java-1.1.10.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/swagger-annotations-2.2.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/trogdor-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zookeeper-3.6.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zookeeper-jute-3.6.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zstd-jni-1.5.5-1.jar org.apache.zookeeper.server.quorum.QuorumPeerMain config/zookeeper.properties

server start
[dave@dave kafka_2.12-3.5.1]$ bin/kafka-server-start.sh config/server.properties 
[2023-10-09 13:52:40,614] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$)
[2023-10-09 13:52:41,054] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util)
[2023-10-09 13:52:41,158] INFO Registered signal handlers for TERM, INT, HUP (org.apache.kafka.common.utils.LoggingSignalHandler)
[2023-10-09 13:52:41,159] INFO starting (kafka.server.KafkaServer)
[2023-10-09 13:52:41,160] INFO Connecting to zookeeper on localhost:2181 (kafka.server.KafkaServer)
[2023-10-09 13:52:41,175] INFO [ZooKeeperClient Kafka server] Initializing a new session to localhost:2181. (kafka.zookeeper.ZooKeeperClient)
[2023-10-09 13:52:41,180] INFO Client environment:zookeeper.version=3.6.4--d65253dcf68e9097c6e95a126463fd5fdeb4521c, built on 12/18/2022 18:10 GMT (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,180] INFO Client environment:host.name=dave (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,180] INFO Client environment:java.version=11.0.16.1 (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,180] INFO Client environment:java.vendor=Oracle Corporation (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,180] INFO Client environment:java.home=/usr/java/jdk-11.0.16.1 (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,180] INFO Client environment:java.class.path=/app/kafka/kafka_2.12-3.5.1/bin/../libs/activation-1.1.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/aopalliance-repackaged-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/argparse4j-0.7.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/audience-annotations-0.13.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/commons-cli-1.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/commons-lang3-3.8.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-basic-auth-extension-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-json-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-mirror-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-mirror-client-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-runtime-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/connect-transforms-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-api-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-locator-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/hk2-utils-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-annotations-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-core-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-databind-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-dataformat-csv-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-datatype-jdk8-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-jaxrs-base-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-jaxrs-json-provider-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-module-jaxb-annotations-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jackson-module-scala_2.12-2.13.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.activation-api-1.2.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.annotation-api-1.3.5.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.inject-2.6.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.validation-api-2.0.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.ws.rs-api-2.1.6.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jakarta.xml.bind-api-2.3.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javassist-3.29.2-GA.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.activation-api-1.2.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.annotation-api-1.3.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.servlet-api-3.1.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/javax.ws.rs-api-2.1.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jaxb-api-2.3.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-client-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-common-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-container-servlet-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-container-servlet-core-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-hk2-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jersey-server-2.39.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-client-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-continuation-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-http-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-io-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-security-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-server-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-servlet-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-servlets-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-util-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jetty-util-ajax-9.4.51.v20230217.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jline-3.22.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jopt-simple-5.0.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/jose4j-0.9.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka_2.12-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-clients-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-group-coordinator-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-log4j-appender-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-metadata-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-raft-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-server-common-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-shell-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-storage-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-storage-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-examples-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-scala_2.12-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-streams-test-utils-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-tools-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/kafka-tools-api-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/lz4-java-1.8.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/maven-artifact-3.8.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/metrics-core-2.2.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/metrics-core-4.1.12.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-buffer-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-codec-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-common-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-handler-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-resolver-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-classes-epoll-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-native-epoll-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/netty-transport-native-unix-common-4.1.94.Final.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/osgi-resource-locator-1.0.3.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/paranamer-2.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/plexus-utils-3.3.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/reflections-0.9.12.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/reload4j-1.2.25.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/rocksdbjni-7.1.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-collection-compat_2.12-2.10.0.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-java8-compat_2.12-1.0.2.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-library-2.12.15.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-logging_2.12-3.9.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/scala-reflect-2.12.15.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/slf4j-api-1.7.36.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/slf4j-reload4j-1.7.36.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/snappy-java-1.1.10.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/swagger-annotations-2.2.8.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/trogdor-3.5.1.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zookeeper-3.6.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zookeeper-jute-3.6.4.jar:/app/kafka/kafka_2.12-3.5.1/bin/../libs/zstd-jni-1.5.5-1.jar (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:java.compiler=<NA> (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:os.version=6.5.5-100.fc37.x86_64 (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:user.name=dave (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:user.home=/home/dave (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:user.dir=/home/app/kafka/kafka_2.12-3.5.1 (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:os.memory.free=1011MB (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:os.memory.max=1024MB (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,181] INFO Client environment:os.memory.total=1024MB (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,183] INFO Initiating client connection, connectString=localhost:2181 sessionTimeout=18000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@3a3e78f (org.apache.zookeeper.ZooKeeper)
[2023-10-09 13:52:41,188] INFO jute.maxbuffer value is 4194304 Bytes (org.apache.zookeeper.ClientCnxnSocket)
[2023-10-09 13:52:41,194] INFO zookeeper.request.timeout value is 0. feature enabled=false (org.apache.zookeeper.ClientCnxn)
[2023-10-09 13:52:41,196] INFO [ZooKeeperClient Kafka server] Waiting until connected. (kafka.zookeeper.ZooKeeperClient)
[2023-10-09 13:52:41,198] INFO Opening socket connection to server localhost/127.0.0.1:2181. (org.apache.zookeeper.ClientCnxn)
[2023-10-09 13:52:41,204] INFO Socket connection established, initiating session, client: /127.0.0.1:53256, server: localhost/127.0.0.1:2181 (org.apache.zookeeper.ClientCnxn)
[2023-10-09 13:52:41,225] INFO Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x100010063960000, negotiated timeout = 18000 (org.apache.zookeeper.ClientCnxn)
[2023-10-09 13:52:41,229] INFO [ZooKeeperClient Kafka server] Connected. (kafka.zookeeper.ZooKeeperClient)
[2023-10-09 13:52:41,479] INFO Cluster ID = -c2ZUNqaTmmDSC1x9HxQJQ (kafka.server.KafkaServer)
[2023-10-09 13:52:41,482] WARN No meta.properties file under dir /app/kafka/logs/meta.properties (kafka.server.BrokerMetadataCheckpoint)
[2023-10-09 13:52:41,581] INFO KafkaConfig values: 
    advertised.listeners = null
    alter.config.policy.class.name = null
    alter.log.dirs.replication.quota.window.num = 11
    alter.log.dirs.replication.quota.window.size.seconds = 1
    authorizer.class.name = 
    auto.create.topics.enable = true
    auto.include.jmx.reporter = true
    auto.leader.rebalance.enable = true
    background.threads = 10
    broker.heartbeat.interval.ms = 2000
    broker.id = 0
    broker.id.generation.enable = true
    broker.rack = null
    broker.session.timeout.ms = 9000
    client.quota.callback.class = null
    compression.type = producer
    connection.failed.authentication.delay.ms = 100
    connections.max.idle.ms = 600000
    connections.max.reauth.ms = 0
    control.plane.listener.name = null
    controlled.shutdown.enable = true
    controlled.shutdown.max.retries = 3
    controlled.shutdown.retry.backoff.ms = 5000
    controller.listener.names = null
    controller.quorum.append.linger.ms = 25
    controller.quorum.election.backoff.max.ms = 1000
    controller.quorum.election.timeout.ms = 1000
    controller.quorum.fetch.timeout.ms = 2000
    controller.quorum.request.timeout.ms = 2000
    controller.quorum.retry.backoff.ms = 20
    controller.quorum.voters = []
    controller.quota.window.num = 11
    controller.quota.window.size.seconds = 1
    controller.socket.timeout.ms = 30000
    create.topic.policy.class.name = null
    default.replication.factor = 1
    delegation.token.expiry.check.interval.ms = 3600000
    delegation.token.expiry.time.ms = 86400000
    delegation.token.master.key = null
    delegation.token.max.lifetime.ms = 604800000
    delegation.token.secret.key = null
    delete.records.purgatory.purge.interval.requests = 1
    delete.topic.enable = true
    early.start.listeners = null
    fetch.max.bytes = 57671680
    fetch.purgatory.purge.interval.requests = 1000
    group.consumer.assignors = []
    group.consumer.heartbeat.interval.ms = 5000
    group.consumer.max.heartbeat.interval.ms = 15000
    group.consumer.max.session.timeout.ms = 60000
    group.consumer.max.size = 2147483647
    group.consumer.min.heartbeat.interval.ms = 5000
    group.consumer.min.session.timeout.ms = 45000
    group.consumer.session.timeout.ms = 45000
    group.coordinator.new.enable = false
    group.coordinator.threads = 1
    group.initial.rebalance.delay.ms = 0
    group.max.session.timeout.ms = 1800000
    group.max.size = 2147483647
    group.min.session.timeout.ms = 6000
    initial.broker.registration.timeout.ms = 60000
    inter.broker.listener.name = null
    inter.broker.protocol.version = 3.5-IV2
    kafka.metrics.polling.interval.secs = 10
    kafka.metrics.reporters = []
    leader.imbalance.check.interval.seconds = 300
    leader.imbalance.per.broker.percentage = 10
    listener.security.protocol.map = PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL
    listeners = PLAINTEXT://:9092
    log.cleaner.backoff.ms = 15000
    log.cleaner.dedupe.buffer.size = 134217728
    log.cleaner.delete.retention.ms = 86400000
    log.cleaner.enable = true
    log.cleaner.io.buffer.load.factor = 0.9
    log.cleaner.io.buffer.size = 524288
    log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308
    log.cleaner.max.compaction.lag.ms = 9223372036854775807
    log.cleaner.min.cleanable.ratio = 0.5
    log.cleaner.min.compaction.lag.ms = 0
    log.cleaner.threads = 1
    log.cleanup.policy = [delete]
    log.dir = /tmp/kafka-logs
    log.dirs = /app/kafka/logs
    log.flush.interval.messages = 9223372036854775807
    log.flush.interval.ms = null
    log.flush.offset.checkpoint.interval.ms = 60000
    log.flush.scheduler.interval.ms = 9223372036854775807
    log.flush.start.offset.checkpoint.interval.ms = 60000
    log.index.interval.bytes = 4096
    log.index.size.max.bytes = 10485760
    log.message.downconversion.enable = true
    log.message.format.version = 3.0-IV1
    log.message.timestamp.difference.max.ms = 9223372036854775807
    log.message.timestamp.type = CreateTime
    log.preallocate = false
    log.retention.bytes = -1
    log.retention.check.interval.ms = 300000
    log.retention.hours = 168
    log.retention.minutes = null
    log.retention.ms = null
    log.roll.hours = 168
    log.roll.jitter.hours = 0
    log.roll.jitter.ms = null
    log.roll.ms = null
    log.segment.bytes = 1073741824
    log.segment.delete.delay.ms = 60000
    max.connection.creation.rate = 2147483647
    max.connections = 2147483647
    max.connections.per.ip = 2147483647
    max.connections.per.ip.overrides = 
    max.incremental.fetch.session.cache.slots = 1000
    message.max.bytes = 1048588
    metadata.log.dir = null
    metadata.log.max.record.bytes.between.snapshots = 20971520
    metadata.log.max.snapshot.interval.ms = 3600000
    metadata.log.segment.bytes = 1073741824
    metadata.log.segment.min.bytes = 8388608
    metadata.log.segment.ms = 604800000
    metadata.max.idle.interval.ms = 500
    metadata.max.retention.bytes = 104857600
    metadata.max.retention.ms = 604800000
    metric.reporters = []
    metrics.num.samples = 2
    metrics.recording.level = INFO
    metrics.sample.window.ms = 30000
    min.insync.replicas = 1
    node.id = 0
    num.io.threads = 8
    num.network.threads = 3
    num.partitions = 1
    num.recovery.threads.per.data.dir = 1
    num.replica.alter.log.dirs.threads = null
    num.replica.fetchers = 1
    offset.metadata.max.bytes = 4096
    offsets.commit.required.acks = -1
    offsets.commit.timeout.ms = 5000
    offsets.load.buffer.size = 5242880
    offsets.retention.check.interval.ms = 600000
    offsets.retention.minutes = 10080
    offsets.topic.compression.codec = 0
    offsets.topic.num.partitions = 50
    offsets.topic.replication.factor = 1
    offsets.topic.segment.bytes = 104857600
    password.encoder.cipher.algorithm = AES/CBC/PKCS5Padding
    password.encoder.iterations = 4096
    password.encoder.key.length = 128
    password.encoder.keyfactory.algorithm = null
    password.encoder.old.secret = null
    password.encoder.secret = null
    principal.builder.class = class org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder
    process.roles = []
    producer.id.expiration.check.interval.ms = 600000
    producer.id.expiration.ms = 86400000
    producer.purgatory.purge.interval.requests = 1000
    queued.max.request.bytes = -1
    queued.max.requests = 500
    quota.window.num = 11
    quota.window.size.seconds = 1
    remote.log.index.file.cache.total.size.bytes = 1073741824
    remote.log.manager.task.interval.ms = 30000
    remote.log.manager.task.retry.backoff.max.ms = 30000
    remote.log.manager.task.retry.backoff.ms = 500
    remote.log.manager.task.retry.jitter = 0.2
    remote.log.manager.thread.pool.size = 10
    remote.log.metadata.manager.class.name = null
    remote.log.metadata.manager.class.path = null
    remote.log.metadata.manager.impl.prefix = null
    remote.log.metadata.manager.listener.name = null
    remote.log.reader.max.pending.tasks = 100
    remote.log.reader.threads = 10
    remote.log.storage.manager.class.name = null
    remote.log.storage.manager.class.path = null
    remote.log.storage.manager.impl.prefix = null
    remote.log.storage.system.enable = false
    replica.fetch.backoff.ms = 1000
    replica.fetch.max.bytes = 1048576
    replica.fetch.min.bytes = 1
    replica.fetch.response.max.bytes = 10485760
    replica.fetch.wait.max.ms = 500
    replica.high.watermark.checkpoint.interval.ms = 5000
    replica.lag.time.max.ms = 30000
    replica.selector.class = null
    replica.socket.receive.buffer.bytes = 65536
    replica.socket.timeout.ms = 30000
    replication.quota.window.num = 11
    replication.quota.window.size.seconds = 1
    request.timeout.ms = 30000
    reserved.broker.max.id = 1000
    sasl.client.callback.handler.class = null
    sasl.enabled.mechanisms = [GSSAPI]
    sasl.jaas.config = null
    sasl.kerberos.kinit.cmd = /usr/bin/kinit
    sasl.kerberos.min.time.before.relogin = 60000
    sasl.kerberos.principal.to.local.rules = [DEFAULT]
    sasl.kerberos.service.name = null
    sasl.kerberos.ticket.renew.jitter = 0.05
    sasl.kerberos.ticket.renew.window.factor = 0.8
    sasl.login.callback.handler.class = null
    sasl.login.class = null
    sasl.login.connect.timeout.ms = null
    sasl.login.read.timeout.ms = null
    sasl.login.refresh.buffer.seconds = 300
    sasl.login.refresh.min.period.seconds = 60
    sasl.login.refresh.window.factor = 0.8
    sasl.login.refresh.window.jitter = 0.05
    sasl.login.retry.backoff.max.ms = 10000
    sasl.login.retry.backoff.ms = 100
    sasl.mechanism.controller.protocol = GSSAPI
    sasl.mechanism.inter.broker.protocol = GSSAPI
    sasl.oauthbearer.clock.skew.seconds = 30
    sasl.oauthbearer.expected.audience = null
    sasl.oauthbearer.expected.issuer = null
    sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000
    sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000
    sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100
    sasl.oauthbearer.jwks.endpoint.url = null
    sasl.oauthbearer.scope.claim.name = scope
    sasl.oauthbearer.sub.claim.name = sub
    sasl.oauthbearer.token.endpoint.url = null
    sasl.server.callback.handler.class = null
    sasl.server.max.receive.size = 524288
    security.inter.broker.protocol = PLAINTEXT
    security.providers = null
    server.max.startup.time.ms = 9223372036854775807
    socket.connection.setup.timeout.max.ms = 30000
    socket.connection.setup.timeout.ms = 10000
    socket.listen.backlog.size = 50
    socket.receive.buffer.bytes = 102400
    socket.request.max.bytes = 104857600
    socket.send.buffer.bytes = 102400
    ssl.cipher.suites = []
    ssl.client.auth = none
    ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
    ssl.endpoint.identification.algorithm = https
    ssl.engine.factory.class = null
    ssl.key.password = null
    ssl.keymanager.algorithm = SunX509
    ssl.keystore.certificate.chain = null
    ssl.keystore.key = null
    ssl.keystore.location = null
    ssl.keystore.password = null
    ssl.keystore.type = JKS
    ssl.principal.mapping.rules = DEFAULT
    ssl.protocol = TLSv1.3
    ssl.provider = null
    ssl.secure.random.implementation = null
    ssl.trustmanager.algorithm = PKIX
    ssl.truststore.certificates = null
    ssl.truststore.location = null
    ssl.truststore.password = null
    ssl.truststore.type = JKS
    transaction.abort.timed.out.transaction.cleanup.interval.ms = 10000
    transaction.max.timeout.ms = 900000
    transaction.remove.expired.transaction.cleanup.interval.ms = 3600000
    transaction.state.log.load.buffer.size = 5242880
    transaction.state.log.min.isr = 1
    transaction.state.log.num.partitions = 50
    transaction.state.log.replication.factor = 1
    transaction.state.log.segment.bytes = 104857600
    transactional.id.expiration.ms = 604800000
    unclean.leader.election.enable = false
    unstable.api.versions.enable = false
    zookeeper.clientCnxnSocket = null
    zookeeper.connect = localhost:2181
    zookeeper.connection.timeout.ms = 18000
    zookeeper.max.in.flight.requests = 10
    zookeeper.metadata.migration.enable = false
    zookeeper.session.timeout.ms = 18000
    zookeeper.set.acl = false
    zookeeper.ssl.cipher.suites = null
    zookeeper.ssl.client.enable = false
    zookeeper.ssl.crl.enable = false
    zookeeper.ssl.enabled.protocols = null
    zookeeper.ssl.endpoint.identification.algorithm = HTTPS
    zookeeper.ssl.keystore.location = null
    zookeeper.ssl.keystore.password = null
    zookeeper.ssl.keystore.type = null
    zookeeper.ssl.ocsp.enable = false
    zookeeper.ssl.protocol = TLSv1.2
    zookeeper.ssl.truststore.location = null
    zookeeper.ssl.truststore.password = null
    zookeeper.ssl.truststore.type = null
 (kafka.server.KafkaConfig)
[2023-10-09 13:52:41,621] INFO [ThrottledChannelReaper-Fetch]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
[2023-10-09 13:52:41,622] INFO [ThrottledChannelReaper-Produce]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
[2023-10-09 13:52:41,624] INFO [ThrottledChannelReaper-Request]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
[2023-10-09 13:52:41,626] INFO [ThrottledChannelReaper-ControllerMutation]: Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
[2023-10-09 13:52:41,661] INFO Loading logs from log dirs ArrayBuffer(/app/kafka/logs) (kafka.log.LogManager)
[2023-10-09 13:52:41,665] INFO No logs found to be loaded in /app/kafka/logs (kafka.log.LogManager)
[2023-10-09 13:52:41,682] INFO Loaded 0 logs in 21ms (kafka.log.LogManager)
[2023-10-09 13:52:41,685] INFO Starting log cleanup with a period of 300000 ms. (kafka.log.LogManager)
[2023-10-09 13:52:41,687] INFO Starting log flusher with a default period of 9223372036854775807 ms. (kafka.log.LogManager)
[2023-10-09 13:52:41,780] INFO [kafka-log-cleaner-thread-0]: Starting (kafka.log.LogCleaner$CleanerThread)
[2023-10-09 13:52:41,796] INFO [feature-zk-node-event-process-thread]: Starting (kafka.server.FinalizedFeatureChangeListener$ChangeNotificationProcessorThread)
[2023-10-09 13:52:41,805] INFO Feature ZK node at path: /feature does not exist (kafka.server.FinalizedFeatureChangeListener)
[2023-10-09 13:52:41,844] INFO [zk-broker-0-to-controller-forwarding-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread)
[2023-10-09 13:52:42,194] INFO Updated connection-accept-rate max connection creation rate to 2147483647 (kafka.network.ConnectionQuotas)
[2023-10-09 13:52:42,222] INFO [SocketServer listenerType=ZK_BROKER, nodeId=0] Created data-plane acceptor and processors for endpoint : ListenerName(PLAINTEXT) (kafka.network.SocketServer)
[2023-10-09 13:52:42,228] INFO [zk-broker-0-to-controller-alter-partition-channel-manager]: Starting (kafka.server.BrokerToControllerRequestThread)
[2023-10-09 13:52:42,258] INFO [ExpirationReaper-0-Produce]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,260] INFO [ExpirationReaper-0-Fetch]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,262] INFO [ExpirationReaper-0-DeleteRecords]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,264] INFO [ExpirationReaper-0-ElectLeader]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,281] INFO [LogDirFailureHandler]: Starting (kafka.server.ReplicaManager$LogDirFailureHandler)
[2023-10-09 13:52:42,309] INFO Creating /brokers/ids/0 (is it secure? false) (kafka.zk.KafkaZkClient)
[2023-10-09 13:52:42,338] INFO Stat of the created znode at /brokers/ids/0 is: 25,25,1696852362328,1696852362328,1,0,0,72058695220330496,192,0,25
 (kafka.zk.KafkaZkClient)
[2023-10-09 13:52:42,339] INFO Registered broker 0 at path /brokers/ids/0 with addresses: PLAINTEXT://dave:9092, czxid (broker epoch): 25 (kafka.zk.KafkaZkClient)
[2023-10-09 13:52:42,420] INFO [ExpirationReaper-0-topic]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,427] INFO Successfully created /controller_epoch with initial epoch 0 (kafka.zk.KafkaZkClient)
[2023-10-09 13:52:42,429] INFO [ExpirationReaper-0-Heartbeat]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,430] INFO [ExpirationReaper-0-Rebalance]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,443] INFO Feature ZK node created at path: /feature (kafka.server.FinalizedFeatureChangeListener)
[2023-10-09 13:52:42,451] INFO [GroupCoordinator 0]: Starting up. (kafka.coordinator.group.GroupCoordinator)
[2023-10-09 13:52:42,457] INFO [GroupCoordinator 0]: Startup complete. (kafka.coordinator.group.GroupCoordinator)
[2023-10-09 13:52:42,475] INFO [MetadataCache brokerId=0] Updated cache from existing <empty> to latest FinalizedFeaturesAndEpoch(features=Map(), epoch=0). (kafka.server.metadata.ZkMetadataCache)
[2023-10-09 13:52:42,479] INFO [TransactionCoordinator id=0] Starting up. (kafka.coordinator.transaction.TransactionCoordinator)
[2023-10-09 13:52:42,483] INFO [TxnMarkerSenderThread-0]: Starting (kafka.coordinator.transaction.TransactionMarkerChannelManager)
[2023-10-09 13:52:42,483] INFO [TransactionCoordinator id=0] Startup complete. (kafka.coordinator.transaction.TransactionCoordinator)
[2023-10-09 13:52:42,542] INFO [ExpirationReaper-0-AlterAcls]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,566] INFO [Controller id=0, targetBrokerId=0] Node 0 disconnected. (org.apache.kafka.clients.NetworkClient)
[2023-10-09 13:52:42,570] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (dave/192.168.0.115:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2023-10-09 13:52:42,575] INFO [Controller id=0, targetBrokerId=0] Client requested connection close from node 0 (org.apache.kafka.clients.NetworkClient)
[2023-10-09 13:52:42,580] INFO [/config/changes-event-process-thread]: Starting (kafka.common.ZkNodeChangeNotificationListener$ChangeEventProcessThread)
[2023-10-09 13:52:42,603] INFO [SocketServer listenerType=ZK_BROKER, nodeId=0] Enabling request processing. (kafka.network.SocketServer)
[2023-10-09 13:52:42,608] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.DataPlaneAcceptor)
[2023-10-09 13:52:42,650] INFO Kafka version: 3.5.1 (org.apache.kafka.common.utils.AppInfoParser)
[2023-10-09 13:52:42,650] INFO Kafka commitId: 2c6fb6c54472e90a (org.apache.kafka.common.utils.AppInfoParser)
[2023-10-09 13:52:42,650] INFO Kafka startTimeMs: 1696852362645 (org.apache.kafka.common.utils.AppInfoParser)
[2023-10-09 13:52:42,652] INFO [KafkaServer id=0] started (kafka.server.KafkaServer)
[2023-10-09 13:52:42,756] INFO [zk-broker-0-to-controller-forwarding-channel-manager]: Recorded new controller, from now on will use node dave:9092 (id: 0 rack: null) (kafka.server.BrokerToControllerRequestThread)
[2023-10-09 13:52:42,833] INFO [zk-broker-0-to-controller-alter-partition-channel-manager]: Recorded new controller, from now on will use node dave:9092 (id: 0 rack: null) (kafka.server.BrokerToControllerRequestThread)

Kafka logs
$ ls -lt /app/kafka/logs/
total 12
-rw-r--r--. 1 dave dave  4 Oct  9 14:00 log-start-offset-checkpoint
-rw-r--r--. 1 dave dave  4 Oct  9 14:00 recovery-point-offset-checkpoint
-rw-r--r--. 1 dave dave 89 Oct  9 13:52 meta.properties
-rw-r--r--. 1 dave dave  0 Oct  9 13:52 replication-offset-checkpoint
-rw-r--r--. 1 dave dave  0 Oct  9 13:52 cleaner-offset-checkpoint

Kafka producer and consumer

$
0
0

 

 

 

Kafka producer

 bin/kafka-console-producer.sh --bootstrap-server=localhost:9092 --topic=test1 
>Hi from dave
[2023-10-09 14:29:27,126] WARN [Producer clientId=console-producer] Error while fetching metadata with correlation id 4 : {test1=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
[2023-10-09 14:29:27,231] WARN [Producer clientId=console-producer] Error while fetching metadata with correlation id 5 : {test1=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
>dave
>dave

Server logs
[2023-10-09 13:52:42,475] INFO [MetadataCache brokerId=0] Updated cache from existing <empty> to latest FinalizedFeaturesAndEpoch(features=Map(), epoch=0). (kafka.server.metadata.ZkMetadataCache)
[2023-10-09 13:52:42,479] INFO [TransactionCoordinator id=0] Starting up. (kafka.coordinator.transaction.TransactionCoordinator)
[2023-10-09 13:52:42,483] INFO [TxnMarkerSenderThread-0]: Starting (kafka.coordinator.transaction.TransactionMarkerChannelManager)
[2023-10-09 13:52:42,483] INFO [TransactionCoordinator id=0] Startup complete. (kafka.coordinator.transaction.TransactionCoordinator)
[2023-10-09 13:52:42,542] INFO [ExpirationReaper-0-AlterAcls]: Starting (kafka.server.DelayedOperationPurgatory$ExpiredOperationReaper)
[2023-10-09 13:52:42,566] INFO [Controller id=0, targetBrokerId=0] Node 0 disconnected. (org.apache.kafka.clients.NetworkClient)
[2023-10-09 13:52:42,570] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 (dave/192.168.0.115:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2023-10-09 13:52:42,575] INFO [Controller id=0, targetBrokerId=0] Client requested connection close from node 0 (org.apache.kafka.clients.NetworkClient)
[2023-10-09 13:52:42,580] INFO [/config/changes-event-process-thread]: Starting (kafka.common.ZkNodeChangeNotificationListener$ChangeEventProcessThread)
[2023-10-09 13:52:42,603] INFO [SocketServer listenerType=ZK_BROKER, nodeId=0] Enabling request processing. (kafka.network.SocketServer)
[2023-10-09 13:52:42,608] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.DataPlaneAcceptor)
[2023-10-09 13:52:42,650] INFO Kafka version: 3.5.1 (org.apache.kafka.common.utils.AppInfoParser)
[2023-10-09 13:52:42,650] INFO Kafka commitId: 2c6fb6c54472e90a (org.apache.kafka.common.utils.AppInfoParser)
[2023-10-09 13:52:42,650] INFO Kafka startTimeMs: 1696852362645 (org.apache.kafka.common.utils.AppInfoParser)
[2023-10-09 13:52:42,652] INFO [KafkaServer id=0] started (kafka.server.KafkaServer)
[2023-10-09 13:52:42,756] INFO [zk-broker-0-to-controller-forwarding-channel-manager]: Recorded new controller, from now on will use node dave:9092 (id: 0 rack: null) (kafka.server.BrokerToControllerRequestThread)
[2023-10-09 13:52:42,833] INFO [zk-broker-0-to-controller-alter-partition-channel-manager]: Recorded new controller, from now on will use node dave:9092 (id: 0 rack: null) (kafka.server.BrokerToControllerRequestThread)
[2023-10-09 14:29:27,102] INFO Creating topic test1 with configuration {} and initial partition assignment Map(0 -> ArrayBuffer(0)) (kafka.zk.AdminZkClient)
[2023-10-09 14:29:27,170] INFO [Controller id=0, targetBrokerId=0] Node 0 disconnected. (org.apache.kafka.clients.NetworkClient)
[2023-10-09 14:29:27,200] INFO [ReplicaFetcherManager on broker 0] Removed fetcher for partitions Set(test1-0) (kafka.server.ReplicaFetcherManager)
[2023-10-09 14:29:27,260] INFO [LogLoader partition=test1-0, dir=/app/kafka/logs] Loading producer state till offset 0 with message format version 2 (kafka.log.UnifiedLog$)
[2023-10-09 14:29:27,278] INFO Created log for partition test1-0 in /app/kafka/logs/test1-0 with properties {} (kafka.log.LogManager)
[2023-10-09 14:29:27,279] INFO [Partition test1-0 broker=0] No checkpointed highwatermark is found for partition test1-0 (kafka.cluster.Partition)
[2023-10-09 14:29:27,281] INFO [Partition test1-0 broker=0] Log loaded for partition test1-0 with initial high watermark 0 (kafka.cluster.Partition)

Kafka consumer
$ bin/kafka-console-consumer.sh --bootstrap-server=localhost:9092 --topic=test1  
aa
bb

Kafka
]$ ls -l /app/kafka/logs/
total 220
-rw-r--r--. 1 dave dave    0 Oct  9 13:52 cleaner-offset-checkpoint
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-0
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-1
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-10
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-11
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-12
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-13
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-14
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-15
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-16
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-17
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-18
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-19
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-2
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-20
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-21
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-22
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-23
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-24
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-25
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-26
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-27
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-28
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-29
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-3
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-30
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-31
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-32
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-33
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-34
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-35
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-36
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-37
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-38
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-39
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-4
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-40
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-41
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-42
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-43
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-44
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-45
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-46
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-47
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-48
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-49
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-5
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-6
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-7
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-8
drwxr-xr-x. 1 dave dave  242 Oct  9 14:35 __consumer_offsets-9
-rw-r--r--. 1 dave dave    4 Oct  9 14:37 log-start-offset-checkpoint
-rw-r--r--. 1 dave dave   89 Oct  9 13:52 meta.properties
-rw-r--r--. 1 dave dave 1205 Oct  9 14:37 recovery-point-offset-checkpoint
-rw-r--r--. 1 dave dave 1205 Oct  9 14:38 replication-offset-checkpoint
drwxr-xr-x. 1 dave dave  242 Oct  9 14:29 test1-0

topic test-1
$ ls -l /app/kafka/logs/test1-0/
total 12
-rw-r--r--. 1 dave dave 10485760 Oct  9 14:29 00000000000000000000.index
-rw-r--r--. 1 dave dave      364 Oct  9 14:35 00000000000000000000.log
-rw-r--r--. 1 dave dave 10485756 Oct  9 14:29 00000000000000000000.timeindex
-rw-r--r--. 1 dave dave        8 Oct  9 14:29 leader-epoch-checkpoint
-rw-r--r--. 1 dave dave       43 Oct  9 14:29 partition.metadata

Apache Kafka CLI kcat

$
0
0

 HOWTO


Install kcat
$ sudo dnf install kafkacat
[sudo] password for dave: 
Last metadata expiration check: 0:30:11 ago on Tue 10 Oct 2023 08:36:11 AM CEST.
Dependencies resolved.
=================================================================================================================================================
 Package                            Architecture                   Version                                 Repository                       Size
=================================================================================================================================================
Installing:
 kcat                               x86_64                         1.7.1-1.fc37                            updates                          39 k
Installing dependencies:
 librdkafka                         x86_64                         1.6.1-5.fc37                            fedora                          662 k

Transaction Summary
=================================================================================================================================================
Install  2 Packages

Total download size: 701 k
Installed size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): kcat-1.7.1-1.fc37.x86_64.rpm                                                                              192 kB/s |  39 kB     00:00    
(2/2): librdkafka-1.6.1-5.fc37.x86_64.rpm                                                                        2.8 MB/s | 662 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                            1.0 MB/s | 701 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                         1/1 
  Installing       : librdkafka-1.6.1-5.fc37.x86_64                                                                                          1/2 
  Installing       : kcat-1.7.1-1.fc37.x86_64                                                                                                2/2 
  Running scriptlet: kcat-1.7.1-1.fc37.x86_64                                                                                                2/2 
  Verifying        : librdkafka-1.6.1-5.fc37.x86_64                                                                                          1/2 
  Verifying        : kcat-1.7.1-1.fc37.x86_64                                                                                                2/2 

Installed:
  kcat-1.7.1-1.fc37.x86_64                                             librdkafka-1.6.1-5.fc37.x86_64                                            

Complete!
[dave@dave go]$ which kcat
/usr/bin/kcat

list server state
$ kcat -b localhost:9094 -L
Metadata for all topics (from broker -1: localhost:9094/bootstrap):
 3 brokers:
  broker 106 at dave:9096 (controller)
  broker 103 at dave:9095
  broker 102 at dave:9094
 7 topics:
  topic "test_topic_5" with 1 partitions:
    partition 0, leader 102, replicas: 102,103,106, isrs: 102,103,106
  topic "test1" with 1 partitions:
    partition 0, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
  topic "test_topic_2" with 1 partitions:
    partition 0, leader 103, replicas: 103,102,106, isrs: 103,102,106
  topic "__consumer_offsets" with 50 partitions:
    partition 0, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 1, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 2, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 3, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 4, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 5, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 6, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 7, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 8, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 9, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 10, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 11, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 12, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 13, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 14, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 15, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 16, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 17, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 18, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 19, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 20, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 21, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 22, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 23, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 24, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 25, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 26, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 27, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 28, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 29, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 30, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 31, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 32, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 33, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 34, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 35, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 36, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 37, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 38, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 39, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 40, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 41, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 42, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 43, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 44, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 45, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 46, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 47, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 48, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
    partition 49, leader -1, replicas: 100, isrs: 100, Broker: Leader not available
  topic "test_topic_3" with 3 partitions:
    partition 0, leader 106, replicas: 106,103,102, isrs: 106,103,102
    partition 1, leader 103, replicas: 103,102,106, isrs: 103,102,106
    partition 2, leader 102, replicas: 102,106,103, isrs: 102,106,103
  topic "test_topic_4" with 2 partitions:
    partition 0, leader 102, replicas: 102,103, isrs: 102,103
    partition 1, leader 103, replicas: 103,106, isrs: 103,106
  topic "T3" with 1 partitions:
    partition 0, leader -1, replicas: 100, isrs: 100, Broker: Leader not available


Apacha Kafka list active brokers

$
0
0

HOWTO

$ ./bin/zookeeper-shell.sh localhost:2181 ls /brokers/ids
Connecting to localhost:2181

WATCHER::

WatchedEvent state:SyncConnected type:None path:null
[102, 103, 106]

Server config - broker.id
$ grep broker.id config/server*
config/server1.properties:broker.id=106
config/server2.properties:broker.id=102
config/server3.properties:broker.id=103

JPS
$ jps -l
20116 kafka.Kafka
19685 kafka.Kafka
22633 jdk.jcmd/sun.tools.jps.Jps
20538 kafka.Kafka
18650 org.apache.zookeeper.server.quorum.QuorumPeerMain

Apacha Kafka Partition replications

$
0
0
HOWTO 

 Partition replications 
Topic with one partition that is replicated 3 times
$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --create --topic test_topic_2 --replication-factor 3
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Created topic test_topic_2.
[dave@dave kafka_2.12-3.5.1]$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --describe --topic test_topic_2
Topic: test_topic_2    TopicId: q-EXSFY7RCq3RpSDblxW9Q    PartitionCount: 1    ReplicationFactor: 3    Configs: 
    Topic: test_topic_2    Partition: 0    Leader: 103    Replicas: 103,102,106    Isr: 103,102,106

server log
[2023-10-10 10:33:55,854] WARN [ReplicaFetcher replicaId=106, leaderId=103, fetcherId=0] Received UNKNOWN_TOPIC_ID from the leader for partition test_topic_2-0. This error may be returned transiently when the partition is being created or deleted, but it is not expected to persist. (kafka.server.ReplicaFetcherThread)

Topic with three partitions that are replicated
$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --create --topic test_topic_3 --replication-factor 3 --partitions 3
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Created topic test_topic_3.

$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --describe --topic test_topic_3
Topic: test_topic_3    TopicId: lMuEiHIXSZGtJnSkdxSdUg    PartitionCount: 3    ReplicationFactor: 3    Configs: 
    Topic: test_topic_3    Partition: 0    Leader: 106    Replicas: 106,103,102    Isr: 106,103,102
    Topic: test_topic_3    Partition: 1    Leader: 103    Replicas: 103,102,106    Isr: 103,102,106
    Topic: test_topic_3    Partition: 2    Leader: 102    Replicas: 102,106,103    Isr: 102,106,103

Kafka logs
$ ls  -lt /app/kafka/logs2/
total 32
-rw-r--r--. 1 dave dave  72 Oct 10 10:41 replication-offset-checkpoint
-rw-r--r--. 1 dave dave   4 Oct 10 10:40 log-start-offset-checkpoint
-rw-r--r--. 1 dave dave  72 Oct 10 10:40 recovery-point-offset-checkpoint
drwxr-xr-x. 1 dave dave 242 Oct 10 10:37 test_topic_3-0
drwxr-xr-x. 1 dave dave 242 Oct 10 10:37 test_topic_3-1
drwxr-xr-x. 1 dave dave 242 Oct 10 10:37 test_topic_3-2
drwxr-xr-x. 1 dave dave 242 Oct 10 10:33 test_topic_2-0
-rw-r--r--. 1 dave dave  91 Oct 10 10:04 meta.properties
-rw-r--r--. 1 dave dave   0 Oct 10 09:53 cleaner-offset-checkpoint

Specify replica assignments
$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --create --topic test_topic_4 --replica-assignment 102:103,103:106
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
[dave@dave kafka_2.12-3.5.1]$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --create --topic test_topic_5 --replica-assignment 102:103:106
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Created topic test_topic_5.

describe topic
$ bin/kafka-topics.sh --bootstrap-server localhost:9094 --describe --topic test_topic_3
Topic: test_topic_3    TopicId: lMuEiHIXSZGtJnSkdxSdUg    PartitionCount: 3    ReplicationFactor: 3    Configs: 
    Topic: test_topic_3    Partition: 0    Leader: 106    Replicas: 106,103,102    Isr: 106,103,102
    Topic: test_topic_3    Partition: 1    Leader: 103    Replicas: 103,102,106    Isr: 103,102,106
    Topic: test_topic_3    Partition: 2    Leader: 102    Replicas: 102,106,103    Isr: 102,106,103

Apache Kafka Connect

$
0
0

 HOWTO


Check plugin.path


config/connect-standalone.properties

plugin.path=libs/

File connector

$ bin/connect-standalone.sh config/connect-standalone.properties config/connect-file-sink.properties

file connector config
name=local-file-sink
connector.class=FileStreamSink
tasks.max=1
file=test.sink.txt
topics=connect-test
key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=org.apache.kafka.connect.storage.StringConverter
key.converter.schemas.enable=false
value.converter.schemas.enable=false
JSON connector
name=local-file-sink
connector.class=FileStreamSink
tasks.max=1
file=test.sink.txt
topics=connect-test
key.converter=org.apache.kafka.connect.json.JsonConverter
value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter.schemas.enable=false
value.converter.schemas.enable=false

Apacha Kafka Java producer and consumer

$
0
0

HOWTO 


 Java producer code
package dave;

import java.util.Properties;

import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerConfig;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.common.serialization.StringSerializer;

public class SimpleProducer {
    public static void main(String args[])
    {
        String bootstrapServers="127.0.0.1:9092";
        Properties properties=new Properties();
        properties.setProperty(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);
        properties.setProperty(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, StringSerializer.class.getName());
        properties.setProperty(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, StringSerializer.class.getName());

        KafkaProducer<String,String> producer = new KafkaProducer<String, String>(properties);

        ProducerRecord<String, String> record = new ProducerRecord<String, String>("topic", "Hello");
        producer.send(record);
        producer.flush();
        producer.close();
    }
}

CLI start
$ mvn exec:java -Dexec.mainClass="dave.SimpleProducer"
Java consumer code
package dave;

import java.util.Arrays;
import java.time.Duration;
import java.util.Properties;

import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.common.serialization.StringDeserializer;

public class SimpleConsumer {
    public static void main(String args[])
    {
        String bootstrapServers="127.0.0.1:9092";
        String group_id="my_consumer_group";
        String topic="topic";

        Properties properties=new Properties();
        properties.setProperty(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);
        properties.setProperty(ConsumerConfig.GROUP_ID_CONFIG, group_id);
        properties.setProperty(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName());
        properties.setProperty(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class.getName());
        properties.setProperty(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "earliest");

        KafkaConsumer<String,String> consumer= new KafkaConsumer<String,String>(properties);
        consumer.subscribe(Arrays.asList(topic));

        while(true) {
            ConsumerRecords<String,String> records=consumer.poll(Duration.ofMillis(100));
            for(ConsumerRecord<String,String> record: records){
                System.out.println("Key: "+ record.key() + ", Value:" +record.value());
                System.out.println("Partition:" + record.partition()+",Offset:"+record.offset());
            }
        }
    }
}

CLI start
 mvn exec:java -Dexec.mainClass="dave.SimpleConsumer"

Weblogic Server Clustering

Weblogic Kubernetes (k8s) Operator

$
0
0

Create Docker Oracle Java 11 image

$
0
0

 Installation packages


See also

GitHub 

Build JDK 11 image


dave@dave:/git/weblogic/docker-images/docker-oracle-java-11$ ./build.sh 
Building Oracle JDK 11 on Oracle Linux 7 slim
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  169.9MB
Step 1/15 : FROM oraclelinux:7-slim as builder
7-slim: Pulling from library/oraclelinux
11a38aebcb7a: Pull complete 
Digest: sha256:7aa9abbeb4e78d0717c46a63cb90a3285359b0753413bd2f2f5e39e9a7d5993c
Status: Downloaded newer image for oraclelinux:7-slim
 ---> 506c06ed74d4
Step 2/15 : LABEL maintainer="Aurelio Garcia-Ribeyro <aurelio.garciaribeyro@oracle.com>"
 ---> Running in a9eeecc8ae9a
Removing intermediate container a9eeecc8ae9a
 ---> c4d64e58c179
Step 3/15 : RUN yum install -y gzip tar
 ---> Running in 20445878bfb0
Loaded plugins: ovl
Package 2:tar-1.26-35.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gzip.x86_64 0:1.5-11.el7_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch            Version                Repository           Size
================================================================================
Installing:
 gzip          x86_64          1.5-11.el7_9           ol7_latest          129 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 129 k
Installed size: 245 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : gzip-1.5-11.el7_9.x86_64                                     1/1 
  Verifying  : gzip-1.5-11.el7_9.x86_64                                     1/1 

Installed:
  gzip.x86_64 0:1.5-11.el7_9                                                    

Complete!
Removing intermediate container 20445878bfb0
 ---> 5794fc4428d6
Step 4/15 : ENV LANG en_US.UTF-8
 ---> Running in dd4f6ce453be
Removing intermediate container dd4f6ce453be
 ---> 79ac18c8737a
Step 5/15 : ENV JAVA_HOME=/usr/java/jdk-11
 ---> Running in 55a2120fc569
Removing intermediate container 55a2120fc569
 ---> 24e9614dd3ca
Step 6/15 : COPY *.tar.gz /tmp/
 ---> db81332ba08a
Step 7/15 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
 ---> Running in 5646dca1c66e
Removing intermediate container 5646dca1c66e
 ---> 91eba2ae2a71
Step 8/15 : RUN set -eux;     ARCH="$(uname -m)"&&     if [ "$ARCH" = "x86_64" ];     then         mv "$(ls /tmp/jdk-11*_linux-x64_bin.tar.gz)" /tmp/jdk.tar.gz ;         JAVA_SHA256=b4eb49c123e2cf2ed7cb068a37b84eb75fcf1e76c3620d3378f5735e11a8508b ;     else         mv "$(ls /tmp/jdk-11*_linux-aarch64_bin.tar.gz)" /tmp/jdk.tar.gz ;         JAVA_SHA256=d6b26336a467768d0ec1474dbfdc68df0aa0745e8e46871f0aa46a07851097df ;     fi &&     echo "$JAVA_SHA256 */tmp/jdk.tar.gz" | sha256sum -c -;     mkdir -p "$JAVA_HOME";     tar --extract --file /tmp/jdk.tar.gz --directory "$JAVA_HOME" --strip-components 1
 ---> Running in 8a8a5bef2431
++ uname -m
+ ARCH=x86_64
+ '[' x86_64 = x86_64 ']'
++ ls /tmp/jdk-11.0.20_linux-x64_bin.tar.gz
+ mv /tmp/jdk-11.0.20_linux-x64_bin.tar.gz /tmp/jdk.tar.gz
+ JAVA_SHA256=b4eb49c123e2cf2ed7cb068a37b84eb75fcf1e76c3620d3378f5735e11a8508b
+ echo 'b4eb49c123e2cf2ed7cb068a37b84eb75fcf1e76c3620d3378f5735e11a8508b */tmp/jdk.tar.gz'
+ sha256sum -c -
/tmp/jdk.tar.gz: OK
+ mkdir -p /usr/java/jdk-11
+ tar --extract --file /tmp/jdk.tar.gz --directory /usr/java/jdk-11 --strip-components 1
Removing intermediate container 8a8a5bef2431
 ---> dcacebd8006e
Step 9/15 : FROM oraclelinux:7-slim
 ---> 506c06ed74d4
Step 10/15 : ENV LANG en_US.UTF-8
 ---> Running in d89d29d6ba65
Removing intermediate container d89d29d6ba65
 ---> 4f4c16a907dc
Step 11/15 : ENV JAVA_HOME=/usr/java/jdk-11
 ---> Running in 4563545f4b8b
Removing intermediate container 4563545f4b8b
 ---> 7cdea07e15df
Step 12/15 : ENV    PATH $JAVA_HOME/bin:$PATH
 ---> Running in 739e33df5e6f
Removing intermediate container 739e33df5e6f
 ---> 84bc9560aba7
Step 13/15 : COPY --from=builder $JAVA_HOME $JAVA_HOME
 ---> 53437439b590
Step 14/15 : RUN set -eux;     yum -y update;     yum install -y         freetype fontconfig     ;     rm -rf /var/cache/yum;     ln -sfT "$JAVA_HOME" /usr/java/default;     ln -sfT "$JAVA_HOME" /usr/java/latest;     for bin in "$JAVA_HOME/bin/"*; do         base="$(basename "$bin")";         [ ! -e "/usr/bin/$base" ];         alternatives --install "/usr/bin/$base""$base""$bin" 20000;     done;     java -Xshare:dump;
 ---> Running in 87543eaeb535
+ yum -y update
Loaded plugins: ovl
Resolving Dependencies
--> Running transaction check
---> Package libblkid.x86_64 0:2.23.2-65.0.3.el7_9.1 will be updated
---> Package libblkid.x86_64 0:2.23.2-65.0.4.el7_9.1 will be an update
---> Package libmount.x86_64 0:2.23.2-65.0.3.el7_9.1 will be updated
---> Package libmount.x86_64 0:2.23.2-65.0.4.el7_9.1 will be an update
---> Package libuuid.x86_64 0:2.23.2-65.0.3.el7_9.1 will be updated
---> Package libuuid.x86_64 0:2.23.2-65.0.4.el7_9.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch         Version                     Repository        Size
================================================================================
Updating:
 libblkid       x86_64       2.23.2-65.0.4.el7_9.1       ol7_latest       183 k
 libmount       x86_64       2.23.2-65.0.4.el7_9.1       ol7_latest       185 k
 libuuid        x86_64       2.23.2-65.0.4.el7_9.1       ol7_latest        84 k

Transaction Summary
================================================================================
Upgrade  3 Packages

Total download size: 452 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total                                              1.1 MB/s | 452 kB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : libuuid-2.23.2-65.0.4.el7_9.1.x86_64                         1/6 
  Updating   : libblkid-2.23.2-65.0.4.el7_9.1.x86_64                        2/6 
  Updating   : libmount-2.23.2-65.0.4.el7_9.1.x86_64                        3/6 
  Cleanup    : libmount-2.23.2-65.0.3.el7_9.1.x86_64                        4/6 
  Cleanup    : libblkid-2.23.2-65.0.3.el7_9.1.x86_64                        5/6 
  Cleanup    : libuuid-2.23.2-65.0.3.el7_9.1.x86_64                         6/6 
  Verifying  : libuuid-2.23.2-65.0.4.el7_9.1.x86_64                         1/6 
  Verifying  : libmount-2.23.2-65.0.4.el7_9.1.x86_64                        2/6 
  Verifying  : libblkid-2.23.2-65.0.4.el7_9.1.x86_64                        3/6 
  Verifying  : libuuid-2.23.2-65.0.3.el7_9.1.x86_64                         4/6 
  Verifying  : libblkid-2.23.2-65.0.3.el7_9.1.x86_64                        5/6 
  Verifying  : libmount-2.23.2-65.0.3.el7_9.1.x86_64                        6/6 

Updated:
  libblkid.x86_64 0:2.23.2-65.0.4.el7_9.1                                       
  libmount.x86_64 0:2.23.2-65.0.4.el7_9.1                                       
  libuuid.x86_64 0:2.23.2-65.0.4.el7_9.1                                        

Complete!
+ yum install -y freetype fontconfig
Loaded plugins: ovl
Resolving Dependencies
--> Running transaction check
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package freetype.x86_64 0:2.8-14.el7_9.1 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: freetype-2.8-14.el7_9.1.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: freetype-2.8-14.el7_9.1.x86_64
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-8.el7 will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch       Version            Repository      Size
================================================================================
Installing:
 fontconfig                  x86_64     2.13.0-4.3.el7     ol7_latest     254 k
 freetype                    x86_64     2.8-14.el7_9.1     ol7_latest     380 k
Installing for dependencies:
 dejavu-fonts-common         noarch     2.33-6.el7         ol7_latest      64 k
 dejavu-sans-fonts           noarch     2.33-6.el7         ol7_latest     1.4 M
 fontpackages-filesystem     noarch     1.44-8.el7         ol7_latest     9.4 k
 libpng                      x86_64     2:1.5.13-8.el7     ol7_latest     212 k

Transaction Summary
================================================================================
Install  2 Packages (+4 Dependent packages)

Total download size: 2.3 M
Installed size: 7.3 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                              5.5 MB/s | 2.3 MB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                    1/6 
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                        2/6 
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                          3/6 
  Installing : 2:libpng-1.5.13-8.el7.x86_64                                 4/6 
  Installing : freetype-2.8-14.el7_9.1.x86_64                               5/6 
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                             6/6 
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                             1/6 
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                        2/6 
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                          3/6 
  Verifying  : 2:libpng-1.5.13-8.el7.x86_64                                 4/6 
  Verifying  : freetype-2.8-14.el7_9.1.x86_64                               5/6 
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                    6/6 

Installed:
  fontconfig.x86_64 0:2.13.0-4.3.el7      freetype.x86_64 0:2.8-14.el7_9.1     

Dependency Installed:
  dejavu-fonts-common.noarch 0:2.33-6.el7                                       
  dejavu-sans-fonts.noarch 0:2.33-6.el7                                         
  fontpackages-filesystem.noarch 0:1.44-8.el7                                   
  libpng.x86_64 2:1.5.13-8.el7                                                  

Complete!
+ rm -rf /var/cache/yum
+ ln -sfT /usr/java/jdk-11 /usr/java/default
+ ln -sfT /usr/java/jdk-11 /usr/java/latest
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jar
+ base=jar
+ '[''!' -e /usr/bin/jar ']'
+ alternatives --install /usr/bin/jar jar /usr/java/jdk-11/bin/jar 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jarsigner
+ base=jarsigner
+ '[''!' -e /usr/bin/jarsigner ']'
+ alternatives --install /usr/bin/jarsigner jarsigner /usr/java/jdk-11/bin/jarsigner 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/java
+ base=java
+ '[''!' -e /usr/bin/java ']'
+ alternatives --install /usr/bin/java java /usr/java/jdk-11/bin/java 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/javac
+ base=javac
+ '[''!' -e /usr/bin/javac ']'
+ alternatives --install /usr/bin/javac javac /usr/java/jdk-11/bin/javac 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/javadoc
+ base=javadoc
+ '[''!' -e /usr/bin/javadoc ']'
+ alternatives --install /usr/bin/javadoc javadoc /usr/java/jdk-11/bin/javadoc 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/javap
+ base=javap
+ '[''!' -e /usr/bin/javap ']'
+ alternatives --install /usr/bin/javap javap /usr/java/jdk-11/bin/javap 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jcmd
+ base=jcmd
+ '[''!' -e /usr/bin/jcmd ']'
+ alternatives --install /usr/bin/jcmd jcmd /usr/java/jdk-11/bin/jcmd 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jconsole
+ base=jconsole
+ '[''!' -e /usr/bin/jconsole ']'
+ alternatives --install /usr/bin/jconsole jconsole /usr/java/jdk-11/bin/jconsole 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jdb
+ base=jdb
+ '[''!' -e /usr/bin/jdb ']'
+ alternatives --install /usr/bin/jdb jdb /usr/java/jdk-11/bin/jdb 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jdeprscan
+ base=jdeprscan
+ '[''!' -e /usr/bin/jdeprscan ']'
+ alternatives --install /usr/bin/jdeprscan jdeprscan /usr/java/jdk-11/bin/jdeprscan 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jdeps
+ base=jdeps
+ '[''!' -e /usr/bin/jdeps ']'
+ alternatives --install /usr/bin/jdeps jdeps /usr/java/jdk-11/bin/jdeps 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jfr
+ base=jfr
+ '[''!' -e /usr/bin/jfr ']'
+ alternatives --install /usr/bin/jfr jfr /usr/java/jdk-11/bin/jfr 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jhsdb
+ base=jhsdb
+ '[''!' -e /usr/bin/jhsdb ']'
+ alternatives --install /usr/bin/jhsdb jhsdb /usr/java/jdk-11/bin/jhsdb 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jimage
+ base=jimage
+ '[''!' -e /usr/bin/jimage ']'
+ alternatives --install /usr/bin/jimage jimage /usr/java/jdk-11/bin/jimage 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jinfo
+ base=jinfo
+ '[''!' -e /usr/bin/jinfo ']'
+ alternatives --install /usr/bin/jinfo jinfo /usr/java/jdk-11/bin/jinfo 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jjs
+ base=jjs
+ '[''!' -e /usr/bin/jjs ']'
+ alternatives --install /usr/bin/jjs jjs /usr/java/jdk-11/bin/jjs 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jlink
+ base=jlink
+ '[''!' -e /usr/bin/jlink ']'
+ alternatives --install /usr/bin/jlink jlink /usr/java/jdk-11/bin/jlink 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jmap
+ base=jmap
+ '[''!' -e /usr/bin/jmap ']'
+ alternatives --install /usr/bin/jmap jmap /usr/java/jdk-11/bin/jmap 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jmod
+ base=jmod
+ '[''!' -e /usr/bin/jmod ']'
+ alternatives --install /usr/bin/jmod jmod /usr/java/jdk-11/bin/jmod 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jps
+ base=jps
+ '[''!' -e /usr/bin/jps ']'
+ alternatives --install /usr/bin/jps jps /usr/java/jdk-11/bin/jps 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jrunscript
+ base=jrunscript
+ '[''!' -e /usr/bin/jrunscript ']'
+ alternatives --install /usr/bin/jrunscript jrunscript /usr/java/jdk-11/bin/jrunscript 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jshell
+ base=jshell
+ '[''!' -e /usr/bin/jshell ']'
+ alternatives --install /usr/bin/jshell jshell /usr/java/jdk-11/bin/jshell 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jstack
+ base=jstack
+ '[''!' -e /usr/bin/jstack ']'
+ alternatives --install /usr/bin/jstack jstack /usr/java/jdk-11/bin/jstack 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jstat
+ base=jstat
+ '[''!' -e /usr/bin/jstat ']'
+ alternatives --install /usr/bin/jstat jstat /usr/java/jdk-11/bin/jstat 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/jstatd
+ base=jstatd
+ '[''!' -e /usr/bin/jstatd ']'
+ alternatives --install /usr/bin/jstatd jstatd /usr/java/jdk-11/bin/jstatd 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/keytool
+ base=keytool
+ '[''!' -e /usr/bin/keytool ']'
+ alternatives --install /usr/bin/keytool keytool /usr/java/jdk-11/bin/keytool 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/pack200
+ base=pack200
+ '[''!' -e /usr/bin/pack200 ']'
+ alternatives --install /usr/bin/pack200 pack200 /usr/java/jdk-11/bin/pack200 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/rmic
+ base=rmic
+ '[''!' -e /usr/bin/rmic ']'
+ alternatives --install /usr/bin/rmic rmic /usr/java/jdk-11/bin/rmic 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/rmid
+ base=rmid
+ '[''!' -e /usr/bin/rmid ']'
+ alternatives --install /usr/bin/rmid rmid /usr/java/jdk-11/bin/rmid 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/rmiregistry
+ base=rmiregistry
+ '[''!' -e /usr/bin/rmiregistry ']'
+ alternatives --install /usr/bin/rmiregistry rmiregistry /usr/java/jdk-11/bin/rmiregistry 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/serialver
+ base=serialver
+ '[''!' -e /usr/bin/serialver ']'
+ alternatives --install /usr/bin/serialver serialver /usr/java/jdk-11/bin/serialver 20000
+ for bin in '"$JAVA_HOME/bin/"*'
++ basename /usr/java/jdk-11/bin/unpack200
+ base=unpack200
+ '[''!' -e /usr/bin/unpack200 ']'
+ alternatives --install /usr/bin/unpack200 unpack200 /usr/java/jdk-11/bin/unpack200 20000
+ java -Xshare:dump
narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3
Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000
Allocated shared space: 3221225472 bytes at 0x0000000800000000
Loading classes to share ...
Loading classes to share: done.
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 1216
    instance classes   =  1156
    obj array classes  =    52
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Scanning all metaspace objects ... 
Allocating RW objects ... 
Allocating RO objects ... 
Relocating embedded pointers ... 
Relocating external roots ... 
Dumping symbol table ...
Dumping objects to closed archive heap region ...
Dumping objects to open archive heap region ...
Relocating SystemDictionary::_well_known_klasses[] ... 
Removing java_mirror ... done. 
mc  space:      8144 [  0.1% of total] out of      8192 bytes [ 99.4% used] at 0x0000000800000000
rw  space:   3818304 [ 32.5% of total] out of   3821568 bytes [ 99.9% used] at 0x0000000800002000
ro  space:   7099752 [ 60.4% of total] out of   7102464 bytes [100.0% used] at 0x00000008003a7000
md  space:      2560 [  0.0% of total] out of      4096 bytes [ 62.5% used] at 0x0000000800a6d000
st0 space:    409600 [  3.5% of total] out of    409600 bytes [100.0% used] at 0x00000007bff00000
oa0 space:    212992 [  1.8% of total] out of    212992 bytes [100.0% used] at 0x00000007bfe00000
bm  space:    196616 [  1.7% of total] out of    196616 bytes [100.0% used] at 0x0000000000000000
total    :  11551352 [100.0% of total] out of  11755528 bytes [ 98.3% used]
Removing intermediate container 87543eaeb535
 ---> 18be8724b598
Step 15/15 : CMD ["jshell"]
 ---> Running in 7ea3469bb982
Removing intermediate container 7ea3469bb982
 ---> fea3c351284b
Successfully built fea3c351284b
Successfully tagged oracle/jdk:11-ol7

List images
dave@dave:/git/weblogic/docker-images/docker-oracle-java-11$ docker images
REPOSITORY                            TAG       IMAGE ID       CREATED         SIZE
oracle/jdk                            11-ol7    fea3c351284b   6 minutes ago   451MB
<none>                                <none>    dcacebd8006e   6 minutes ago   1.14GB
oraclelinux                           7-slim    506c06ed74d4   3 weeks ago     138MB

Run Java 11 image
dave@dave:/git/weblogic/docker-images/docker-oracle-java-11$  docker run -it  oracle/jdk:11-ol7
Dec 10, 2023 12:39:22 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
|  Welcome to JShell -- Version 11.0.20
|  For an introduction type: /help intro

jshell> /help
|  Type a Java language expression, statement, or declaration.
|  Or type one of the following commands:
|  /list [<name or id>|-all|-start]
|      list the source you have typed
|  /edit <name or id>
|      edit a source entry
|  /drop <name or id>
|      delete a source entry
|  /save [-all|-history|-start] <file>
|      Save snippet source to a file
|  /open <file>
|      open a file as source input
|  /vars [<name or id>|-all|-start]
|      list the declared variables and their values
|  /methods [<name or id>|-all|-start]
|      list the declared methods and their signatures
|  /types [<name or id>|-all|-start]
|      list the type declarations
|  /imports 
|      list the imported items
|  /exit [<integer-expression-snippet>]
|      exit the jshell tool
|  /env [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ...
|      view or change the evaluation context
|  /reset [-class-path <path>] [-module-path <path>] [-add-modules <modules>]...
|      reset the jshell tool
|  /reload [-restore] [-quiet] [-class-path <path>] [-module-path <path>]...
|      reset and replay relevant history -- current or previous (-restore)
|  /history [-all]
|      history of what you have typed
|  /help [<command>|<subject>]
|      get information about using the jshell tool
|  /set editor|start|feedback|mode|prompt|truncation|format ...
|      set configuration information
|  /? [<command>|<subject>]
|      get information about using the jshell tool
|  /! 
|      rerun last snippet -- see /help rerun
|  /<id> 
|      rerun snippets by ID or ID range -- see /help rerun
|  /-<n> 
|      rerun n-th previous snippet -- see /help rerun
|  
|  For more information type '/help' followed by the name of a
|  command or a subject.
|  For example '/help /list' or '/help intro'.
|  
|  Subjects:
|  
|  intro
|      an introduction to the jshell tool
|  keys
|      a description of readline-like input editing
|  id
|      a description of snippet IDs and how use them
|  shortcuts
|      a description of keystrokes for snippet and command completion,
|      information access, and automatic code generation
|  context
|      a description of the evaluation context options for /env /reload and /reset
|  rerun
|      a description of ways to re-evaluate previously entered snippets

jshell> 



Create Weblogic 14.1.1 Docker image

$
0
0

 Installation package

GitHub

See also






dave@dave:/git/weblogic/docker-images/docker-oracle-java-11$ ls -lt
total 165964
-rw-r--r--. 1 dave dave      2718 Dec 10 13:25 Dockerfile
-rw-r--r--. 1 dave dave 169934047 Dec 10 13:22 jdk-11.0.20_linux-x64_bin.tar.gz
-rwxr-xr-x. 1 dave dave       411 Dec 10 13:16 build.sh
-rw-r--r--. 1 dave dave      2662 Dec 10 13:16 Dockerfile.8
dave@dave:/git/weblogic/docker-images/docker-oracle-java-11$ docker images
REPOSITORY                            TAG       IMAGE ID       CREATED          SIZE
oracle/jdk                            11-ol7    fea3c351284b   15 minutes ago   451MB
<none>                                <none>    dcacebd8006e   16 minutes ago   1.14GB
oraclelinux                           7-slim    506c06ed74d4   3 weeks ago      138MB


Build Weblogic 14.1.1 image


Docker image Modify Java image tag according to what was built - Java tag is reffered from Oracle Weblogic image 11-ol7

Oracle HOWTO 

Oracle WebLogic Server on Docker
=================================
These Docker configurations have been used to create the Oracle WebLogic Server (WLS) image. Providing this WLS image facilitates the configuration and environment setup for DevOps users. This project includes the installation and creation of an empty WebLogic Server domain (an Administration Server only). These Oracle WebLogic Server 14.1.1.0 images are based on Oracle Linux and Oracle JRE 8 (Server) or Oracle JDK 11.

The certification of Oracle WebLogic Server on Docker does not require the use of any file presented in this repository. Customers and users are welcome to use them as starters, and customize, tweak, or create from scratch, new scripts and Dockerfiles.

For more information on the certification, please see the [Oracle WebLogic Server on Docker certification whitepaper](http://www.oracle.com/technetwork/middleware/weblogic/overview/weblogic-server-docker-containers-2491959.pdf) and [The WebLogic Server Blog](https://blogs.oracle.com/weblogicserver/) for updates.

## How to build and run
This project offers sample Dockerfiles for Oracle WebLogic Server 14.1.1.0. It provides at least one Dockerfile for the `developer` distribution, a second Dockerfile for the `generic` distribution, and a third Dockerfile for the `slim` distribution.  

1- The WebLogic `generic` image is supported for `development` and `production` deployment of WebLogic configurations using Docker.   It contains the same binaries as those installed by the WebLogic generic installer.  The WebLogic generic image is primarily intended for WebLogic domains managed with the WebLogic Kubernetes Operator, when WLS console-based monitoring, and possibly configuration, is required.  All servers within a domain managed with the Operator will use the same WebLogic image.  Support is also provided for environments where Kubernetes and/or the WebLogic Kubernetes Operator is not being used.

2- The WebLogic `slim` image is supported for `development` and `production` deployment of WebLogic configurations using Docker.  In order to reduce image size, it contains a subset of the binaries included in the WebLogic generic image.   The WebLogic console, WebLogic examples, WebLogic clients, Maven plug-ins and Java DB have been removed - all binaries that remain included are the same as those in the WebLogic generic image.  The WebLogic slim image is primarily intended for WebLogic domains managed with the WebLogic Kubernetes Operator, when WLS console-based monitoring and configuration is not required, and a smaller image size than the generic image is preferred.  If there are requirements to monitor the WebLogic configuration, they should be addressed using Prometheus and Grafana or other alternatives. All servers within a domain managed with the Operator will use the same WebLogic image.  Support is also provided for environments where Kubernetes and/or the WebLogic Kubernetes Operator is not being used.

3- The WebLogic `developer` image is supported for `development` of  WebLogic applications in Docker containers.  In order to reduce image size, it contains a subset of the binaries included in the WebLogic generic image.   WebLogic examples and WLS Console help files have been removed - all binaries that remain included are the same as those in the WebLogic generic image.  The WebLogic developer image is primarily intended to provide a Docker image that is consistent with the WebLogic "quick installers" intended for `development` only.   Production WebLogic domains should use the WebLogic generic or WebLogic slim images.   


To assist in building the images, you can use the [`buildDockerImage.sh`](dockerfiles/buildDockerImage.sh) script. See below for instructions and usage.

The `buildDockerImage.sh` script is a utility shell script that performs MD5 checks and is an easy way for beginners to get started. Expert users are welcome to directly call `docker build` with their prefered set of parameters.

### Building Oracle WebLogic Server Docker install images
**IMPORTANT:** You must download the binary of Oracle WebLogic Server and put it in place (see `.download` files inside `dockerfiles/<version>`).  WebLogic Server 14.1.1.0 supports both Java SE 8 or 11. If you want to run WebLogic Server on Oracle Server JRE 8, you must build the image by using the Dockerfile in [`../../../OracleJava/java8`](https://github.com/oracle/docker-images/tree/master/OracleJava/java-8). There is no longer a Oracle Server JRE for Java SE 11, it is bundled into Oracle JDK 11.  If you want to run images of WebLogic based on the Oracle JDK 11 image, you must build the image by using the Dockerfile in [`../../../OracleJava/java11`](https://github.com/oracle/docker-images/tree/master/OracleJava/java-11).

Before you build, select the version and distribution for which you want to build an image, then download the required packages (see `.download` files) and locate them in the folder of your distribution version of choice. Then, from the `dockerfiles` folder, run the `buildDockerImage.sh` script as root.

        $ sh buildDockerImage.sh
        Usage: buildDockerImage.sh -v [version] [-d | -g | -m] [-s] [-j]
        Builds a Docker Image for Oracle WebLogic Server.

        Parameters:
           -v: version to build. Required.
           Choose : 14.1.1.0
           -d: creates image based on 'developer' distribution
           -g: creates image based on 'generic' distribution
           -m: creates image based on 'slim' distribution
           -j: choose '8' to create a 14.1.1.0 image with JDK 8 or '11' to create a 14.1.1.0 image with JDK 11. 
           -c: enables Docker image layer cache during build
           -s: skips the MD5 check of packages

        * select one distribution only: -d, -g, or -m

        LICENSE UPL 1.0

        Copyright (c) 2014, 2020, Oracle and/or its affiliates

**IMPORTANT:** The resulting images will have a single server domain (Administration Server only), by default.


  1. To build the `14.1.1.0`image, from `dockerfiles`, call:

        `$ sh buildDockerImage.sh -v 14.1.1.0 -d -j 11`

  2. Verify that you now have this image in place with:

        `$ docker images`
     
     If the WebLogic image is built extending Oracle Server JRE 8, then the built image will be called oracle/weblogic:14.1.1.0-developer-8
     If the WebLogic image is built extending Oracle JDK 11, then the built image will be called oracle/weblogic:14.1.1.0-developer-11
     

### Running a single server domain from the image
The WebLogic Server install image (built above) allows you to run a container with a single WebLogic Server domain.  This makes it extremely simple to deploy applications and any resource the application might need.

#### Providing the Administration Server user name and password
The user name and password must be supplied in a `domain.properties` file located in a HOST directory that you will map at Docker runtime with the `-v` option to the image directory `/u01/oracle/properties`. The properties file enables the scripts to configure the correct authentication for the WebLogic Server Administration Server.

The format of the `domain.properties` file is key=value pair:

username=myadminusername
password=myadminpassword

**Note**: Oracle recommends that the `domain.properties` file be deleted or secured after the container and the WebLogic Server are started so that the user name and password are not inadvertently exposed.

#### Start the container
Start a container from the image created in step 1.
You can override the default values of the following parameters during runtime with the `-e` option:

      * `ADMIN_NAME`                  (default: `AdminServer`)
      * `ADMIN_LISTEN_PORT`           (default: `7001`)
      * `DOMAIN_NAME`                 (default: `base_domain`)
      * `ADMINISTRATION_PORT_ENABLED` (default: `true`)
      * `ADMINISTRATION_PORT`         (default: `9002`)

**NOTE**: For security, the Administration port 9002 is enabled by default, before running the container in WebLogic 14.1.1.0. If you prefer to not enable the Administration port when you issue the `docker run` command, set `ADMINISTRTATION_PORT_ENABLED` to false. If you intend to run these images in production, then you must change the Production Mode to `production`. When you set the `DOMAIN_NAME`, the `DOMAIN_HOME=/u01/oracle/user_projects/domains/$DOMAIN_NAME`.

$ docker run -d -p 7001:7001 -p 9002:9002  -v `HOST PATH where the domain.properties file is`:/u01/oracle/properties -e ADMINISTRATION_PORT_ENABLED=true -e DOMAIN_NAME=docker_domain -e ADMIN_NAME=docker-AdminServer oracle/weblogic:14.1.1.0-developer-11

Run the WLS Administration Console:

        $ docker inspect --format '{{.NetworkSettings.IPAddress}}'<container-name>

In your browser, enter `https://xxx.xx.x.x:9002/console`. Your browser will request that you accept the Security Exception. To avoid the Security Exception, you must update the WebLogic Server SSL configuration with a custom identity certificate.

## Copyright
Copyright (c) 2014, 2022, Oracle and/or its affiliates.


Create Oracle Weblogic 14.1.1 image 


dave@dave:/git/weblogic/docker-images/docker-weblogic-14.1.1.0/dockerfiles$ ./buildDockerImage.sh -v 14.1.1.0 -g -j 11 
Set- WebLogic's Version 14.1.1.0
Set- Distribution:Generic
Set- JDK Version 11
Version= 14.1.1.0 Distribution= generic-11
Checking if required packages are present and valid...
fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip: OK
=====================
Building image 'oracle/weblogic:14.1.1.0-generic-11' ...
Building image using Dockerfile.'generic-11'
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  637.8MB
Step 1/19 : FROM oracle/jdk:11-ol7 as builder
 ---> fea3c351284b
Step 2/19 : LABEL "provider"="Oracle""maintainer"="Monica Riccelli <monica.riccelli@oracle.com>""issues"="https://github.com/oracle/docker-images/issues""port.admin.listen"="7001""port.administration"="9002"
 ---> Running in 948085d825dd
Removing intermediate container 948085d825dd
 ---> 07adc77f7103
Step 3/19 : ENV ORACLE_HOME=/u01/oracle     USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom"     PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin
 ---> Running in cf3d65b7e8b3
Removing intermediate container cf3d65b7e8b3
 ---> 11205d8e8724
Step 4/19 : RUN mkdir /u01 &&     useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle &&     chown oracle:root -R /u01 &&     chmod -R 775 /u01
 ---> Running in ff64fe64d6a2
Removing intermediate container ff64fe64d6a2
 ---> 4bfdc0bd7458
Step 5/19 : ENV FMW_PKG=fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip     FMW_JAR=fmw_14.1.1.0.0_wls_lite_generic.jar
 ---> Running in 1da04d801cc1
Removing intermediate container 1da04d801cc1
 ---> 49220deea1b1
Step 6/19 : COPY --chown=oracle:root $FMW_PKG install.file oraInst.loc /u01/
 ---> 6d2a862fd32b
Step 7/19 : USER oracle
 ---> Running in abfbd86e7d09
Removing intermediate container abfbd86e7d09
 ---> 0e36338dbbf5
Step 8/19 : RUN cd /u01 && ${JAVA_HOME}/bin/jar xf /u01/$FMW_PKG && cd - &&     ${JAVA_HOME}/bin/java -jar /u01/$FMW_JAR -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME INSTALL_TYPE="WebLogic Server"&&     rm /u01/$FMW_JAR /u01/$FMW_PKG /u01/install.file &&     rm -rf /u01/oracle/cfgtoollogs
 ---> Running in 3dae13c551ff
/
Launcher log file is /tmp/OraInstall2023-12-10_01-02-21PM/launcher2023-12-10_01-02-21PM.log.
Extracting the installer . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2603.809 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 8191 MB    Passed
Checking temp space: must be greater than 300 MB.   Actual 97604 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2023-12-10_01-02-21PM
Log: /tmp/OraInstall2023-12-10_01-02-21PM/install2023-12-10_01-02-21PM.log
Setting ORACLE_HOME...
Setting INSTALL_TYPE...
Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Validations are disabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100

The installation of Oracle Fusion Middleware 14.1.1 WebLogic Server and Coherence 14.1.1.0.0 completed successfully.
Logs successfully copied to /u01/oracle/.inventory/logs.
Removing intermediate container 3dae13c551ff
 ---> 74fc89d6f899

Final image build
Step 9/19 : FROM oracle/jdk:11-ol7
 ---> fea3c351284b
Step 10/19 : ENV ORACLE_HOME=/u01/oracle     USER_MEM_ARGS="-Djava.security.egd=file:/dev/./urandom"     SCRIPT_FILE=/u01/oracle/createAndStartEmptyDomain.sh     HEALTH_SCRIPT_FILE=/u01/oracle/get_healthcheck_url.sh     PATH=$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin
 ---> Running in 6a4311a468aa
Removing intermediate container 6a4311a468aa
 ---> 05ed16dcb0ff
Step 11/19 : ENV DOMAIN_NAME="${DOMAIN_NAME:-base_domain}"     ADMIN_LISTEN_PORT="${ADMIN_LISTEN_PORT:-7001}"     ADMIN_NAME="${ADMIN_NAME:-AdminServer}"     ADMINISTRATION_PORT_ENABLED="${ADMINISTRATION_PORT_ENABLED:-true}"     ADMINISTRATION_PORT="${ADMINISTRATION_PORT:-9002}"
 ---> Running in 05c67a838f44
Removing intermediate container 05c67a838f44
 ---> 2dc4c671343f
Step 12/19 : RUN mkdir -p /u01 &&     chmod 775 /u01 &&     useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle &&     chown oracle:root /u01
 ---> Running in b06aae28f0ca
Removing intermediate container b06aae28f0ca
 ---> fd3567fea8fe
Step 13/19 : COPY --from=builder --chown=oracle:root /u01 /u01
 ---> c6a71035b723
Step 14/19 : COPY container-scripts/createAndStartEmptyDomain.sh container-scripts/create-wls-domain.py container-scripts/get_healthcheck_url.sh /u01/oracle/
 ---> de880dfbaebd
Step 15/19 : RUN chmod +xr $SCRIPT_FILE $HEALTH_SCRIPT_FILE &&     chown oracle:root $SCRIPT_FILE /u01/oracle/create-wls-domain.py $HEALTH_SCRIPT_FILE
 ---> Running in 23f141d58ca1
Removing intermediate container 23f141d58ca1
 ---> 51861410f4e7
Step 16/19 : USER oracle
 ---> Running in 20c54fc88fef
Removing intermediate container 20c54fc88fef
 ---> 0c87661179ee
Step 17/19 : HEALTHCHECK --start-period=10s --timeout=30s --retries=3 CMD curl -k -s --fail `$HEALTH_SCRIPT_FILE` || exit 1
 ---> Running in 6233c472670d
Removing intermediate container 6233c472670d
 ---> 19cf305ab999
Step 18/19 : WORKDIR ${ORACLE_HOME}
 ---> Running in f55ba3099d77
Removing intermediate container f55ba3099d77
 ---> 6cb61c41c12e
Step 19/19 : CMD ["/u01/oracle/createAndStartEmptyDomain.sh"]
 ---> Running in c460c0d62829
Removing intermediate container c460c0d62829
 ---> a63e1c89480e
Successfully built a63e1c89480e
Successfully tagged oracle/weblogic:14.1.1.0-generic-11

  WebLogic Docker Image for 'generic-11' version 14.1.1.0 is ready to be extended:

    --> oracle/weblogic:14.1.1.0-generic-11

  Build completed in 90 seconds.

List created images
dave@dave:/git/weblogic/docker-images/docker-weblogic-14.1.1.0/dockerfiles$ docker images
REPOSITORY                            TAG                   IMAGE ID       CREATED              SIZE
oracle/weblogic                       14.1.1.0-generic-11   a63e1c89480e   38 seconds ago       1.27GB
<none>                                <none>                a6efff1e460a   About a minute ago   1.91GB
<none>                                <none>                74fc89d6f899   4 minutes ago        1.91GB
oracle/jdk                            11-ol7                fea3c351284b   38 minutes ago       451MB
<none>                                <none>                dcacebd8006e   39 minutes ago       1.14GB
oraclelinux                           7-slim                506c06ed74d4   3 weeks ago          138MB

List of files used See repo
ave@dave:/git/weblogic/docker-images/docker-weblogic-14.1.1.0/dockerfiles$ find
.
./14.1.1.0
./14.1.1.0/Checksum.developer
./14.1.1.0/Checksum.generic
./14.1.1.0/Checksum.slim
./14.1.1.0/Dockerfile.developer-11
./14.1.1.0/Dockerfile.developer-8
./14.1.1.0/Dockerfile.generic-8
./14.1.1.0/Dockerfile.slim-11
./14.1.1.0/Dockerfile.slim-8
./14.1.1.0/README.md
./14.1.1.0/container-scripts
./14.1.1.0/container-scripts/create-wls-domain.py
./14.1.1.0/container-scripts/createAndStartEmptyDomain.sh
./14.1.1.0/container-scripts/get_healthcheck_url.sh
./14.1.1.0/fmw_14.1.1.0.0_wls_Disk1_1of1.zip.download
./14.1.1.0/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip.download
./14.1.1.0/fmw_14.1.1.0.0_wls_lite_quick_Disk1_1of1.zip.download
./14.1.1.0/fmw_14.1.1.0.0_wls_lite_slim_Disk1_1of1.zip.download
./14.1.1.0/fmw_14.1.1.0.0_wls_quick_Disk1_1of1.zip.download
./14.1.1.0/fmw_14.1.1.0.0_wls_quick_slim_Disk1_1of1.zip.download
./14.1.1.0/install.file
./14.1.1.0/oraInst.loc
./14.1.1.0/properties
./14.1.1.0/properties/domain.properties
./14.1.1.0/fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip
./14.1.1.0/Dockerfile.generic-11
./buildDockerImage.sh

Create Weblogic 14.1.1 domain from Docker image

$
0
0

 

Oracle HOWTO


See also


GitHub 



Oracle HOWTO


Oracle WebLogic domain in volume on Docker

This project creates a Docker image which contains an Oracle WebLogic domain image. The image extends the WebLogic install image and builds an WebLogic domain persisted to a host volume.

How to build and run

This project offers a sample Dockerfile and scripts to build an Oracle WebLogic 12.2.1.3 domain in volume.

Building the Oracle WebLogic 14.1.1 developer install image

See https://danielveselka.blogspot.com/2023/12/create-weblogic-1411-docker-image.html

Providing the Administration Server user name and password and Database username and password

The administration server user name and password must be supplied in a domain_security.properties file. This file should be located in a HOST directory that you will map at Docker runtime with the -v option to the image directory /u01/oracle/properties. The properties file enables the scripts to configure the correct authentication for the WebLogic Administration Server.

The format of the domain_security.properties file is key=value pair:

    username=myadminusername
    password=myadminpassword

Note: Oracle recommends that the domain_securtity.properties file be deleted or secured after the container and the WebLogic Server are started so that the user name and password are not inadvertently exposed.

Build the WebLogic Domain Image

  1. To build the 14.1.1 WebLogic domain image, run:

    $ docker build -f Dockerfile -t 1411-weblogic-domain-in-volume .

  2. Verify you now have this image in place with:

`$ docker images`

Start the container

Start a container from the image created in step 1. You can override the default values of the following parameters during runtime in the ./properties/domain.properties file. The script ./container-scripts/setEnv.sh sets the environment variables to configure the domain. The properties set as environment variables are:

  * `DOMAIN_NAME`
  * `ADMIN_PORT`
  * `ADMIN_NAME`
  * `ADMIN_HOST`
  * `MANAGED_SERVER_PORT`
  * `MANAGED_SERVER_NAME_BASE`
  * `MANAGED_SERVER_CONTAINER`
  * `CONFIGURED_MANAGED_SERVER_COUNT`
  * `CLUSTER_NAME`
  * `CLUSTER_TYPE`
  * `PRODUCTION_MODE_ENABLED`
  * `DOMAIN_HOST_VOLUME`

NOTE: When you set the DOMAIN_NAME, the DOMAIN_HOME=/u01/oracle/user_projects/domains/$DOMAIN_NAME.

IMPORTANT: The domain directory needs to be externalized by using data volumes (-v option). The Administration Server as well as the Managed Servers need to read/write to the same DOMAIN_HOME.

We are supplying scripts run_admin_server.sh and run_managed_server.sh to facilitate setting the environment variables defined in the property files and running the admin server and managed server containers.

Start a container to launch the Administration and Managed Servers from the image created in step 1.

To run an Administration Server container, call:

    `$ sh run_admin_server.sh`

To run Managed Server with base name MS pass in to the scrtipt run_managed_server.sh the name of the managed server you want to run and the host port that will be mapped to the managed server port defined in MANAGED_SERVER_PORT.

To run managed server one with name MS1 and mapped to host port 98001 call:

    `$ sh run_managed_server.sh MS1 98001`

To run managed server two with name MS2 and mapped to host port 98002 call:

    `$ sh run_managed_server.sh MS2 98002`

Access the Administration Console:

`$ docker inspect --format '{{.NetworkSettings.IPAddress}}'<container-name>`
    This returns the IP address of the container (for example, `xxx.xx.x.x`).  Go to your browser and enter `http://xxx.xx.x.x:9001/console`

    Because the container ports are mapped to the host port, you can access it using the `hostname` as well.


Create Weblogic 14.1.1 domain 


Files for domain 

dave@dave:/git/weblogic/docker-domain$ find
.
./build.sh
./container-scripts
./container-scripts/add-machine.py
./container-scripts/add-server.py
./container-scripts/commEnv.sh
./container-scripts/commonfuncs.py
./container-scripts/create-wls-domain.py
./container-scripts/createMachine.sh
./container-scripts/createServer.sh
./container-scripts/jaxrs2-template.jar
./container-scripts/waitForAdminServer.sh
./container-scripts/wlst
./container-scripts/createWLSDomain.sh
./container-scripts/get_healthcheck_url.sh
./container-scripts/setEnv.sh
./container-scripts/startManagedServer.sh
./README.md
./Dockerfile
./properties
./properties/domain.properties
./properties/domain_security.properties
./run_admin_server.sh
./run_managed_server.sh

Docker images
dave@dave:/git/weblogic/docker-domain$ docker images
REPOSITORY                            TAG                   IMAGE ID       CREATED             SIZE
oracle/weblogic                       14.1.1.0-generic-11   a63e1c89480e   About an hour ago   1.27GB
<none>                                <none>                a6efff1e460a   About an hour ago   1.91GB
<none>                                <none>                74fc89d6f899   About an hour ago   1.91GB
oracle/jdk                            11-ol7                fea3c351284b   2 hours ago         451MB
<none>                                <none>                dcacebd8006e   2 hours ago         1.14GB
oraclelinux                           7-slim                506c06ed74d4   3 weeks ago         138MB

Modify persistent volume location
$ git diff properties/domain.properties
diff --git a/docker-domain/properties/domain.properties b/docker-domain/properties/domain.properties
index b724819..9bc89ac 100644
--- a/docker-domain/properties/domain.properties
+++ b/docker-domain/properties/domain.properties
@@ -14,4 +14,4 @@ CONFIGURED_MANAGED_SERVER_COUNT=2
 PRODUCTION_MODE_ENABLED=true
 CLUSTER_NAME=cluster1
 CLUSTER_TYPE=DYNAMIC
-DOMAIN_HOST_VOLUME=/Users/host/temp
+DOMAIN_HOST_VOLUME=/app/domains

Check rights on volume
$ ls -ld /app/domains/
drwxr-x---. 1 dave dave 56 Jan 30  2022 /app/domains/
dave@dave:/git/weblogic/docker-domain$ chmod 777 /app/domains/

Set admin password in property file
$ cat properties/domain_security.properties
username=weblogic
password=weblgoic123

Build domain using build.sh
ave@dave:/git/weblogic/docker-domain$ ./build.sh 
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  51.71kB
Step 1/11 : FROM oracle/weblogic:14.1.1.0-generic-11
 ---> a63e1c89480e
Step 2/11 : LABEL "provider"="Oracle"                                                     "maintainer"="Monica Riccelli <monica.riccelli@oracle.com>"             "issues"="https://github.com/oracle/docker-images/issues"               "port.admin.listen"="7001"                                              "port.administration"="9002"                                            "port.managed.server"="8001"
 ---> Running in 2345b2a74011
Removing intermediate container 2345b2a74011
 ---> 4f21d8454d46
Step 3/11 : ENV DOMAIN_ROOT="/u01/oracle/user_projects/domains"     ADMIN_HOST="${ADMIN_HOST:-AdminContainer}"     MANAGED_SERVER_PORT="${MANAGED_SERVER_PORT:-8001}"     MANAGED_SERVER_NAME_BASE="${MANAGED_SERVER_NAME_BASE:-MS}"     MANAGED_SERVER_CONTAINER="${MANAGED_SERVER_CONTAINER:-false}"     CONFIGURED_MANAGED_SERVER_COUNT="${CONFIGURED_MANAGED_SERVER_COUNT:-2}"     MANAGED_NAME="${MANAGED_NAME:-MS1}"     CLUSTER_NAME="${CLUSTER_NAME:-cluster1}"     CLUSTER_TYPE="${CLUSTER_TYPE:-DYNAMIC}"     PROPERTIES_FILE_DIR="/u01/oracle/properties"     JAVA_OPTIONS="-Doracle.jdbc.fanEnabled=false -Dweblogic.StdoutDebugEnabled=false"      PATH="$PATH:${JAVA_HOME}/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/u01/oracle/container-scripts"
 ---> Running in 90617a796664
Removing intermediate container 90617a796664
 ---> c39b5ed96dca
Step 4/11 : COPY --chown=oracle:oracle container-scripts/* /u01/oracle/container-scripts/
 ---> ad4c257e596d
Step 5/11 : COPY --chown=oracle:oracle container-scripts/get_healthcheck_url.sh /u01/oracle/get_healthcheck_url.sh
 ---> 73cbaf7ecff6
Step 6/11 : USER root
 ---> Running in b3bba43de1c5
Removing intermediate container b3bba43de1c5
 ---> 59fb28b0c1e3
Step 7/11 : RUN mkdir -p $DOMAIN_ROOT &&     chown -R oracle:oracle $DOMAIN_ROOT/.. &&     chmod -R a+xwr $DOMAIN_ROOT/.. &&     mkdir -p $ORACLE_HOME/properties &&     chmod -R a+r $ORACLE_HOME/properties &&     chmod +x /u01/oracle/container-scripts/*
 ---> Running in 9e64451b2a54
Removing intermediate container 9e64451b2a54
 ---> 844c4f0c18df
Step 8/11 : VOLUME $DOMAIN_ROOT
 ---> Running in bbf7e165f354
Removing intermediate container bbf7e165f354
 ---> 30cb6a7527ae
Step 9/11 : USER oracle
 ---> Running in e3ca1b9a1461
Removing intermediate container e3ca1b9a1461
 ---> 4f3e5330c095
Step 10/11 : WORKDIR $ORACLE_HOME
 ---> Running in 3f5764b70b89
Removing intermediate container 3f5764b70b89
 ---> 70def36c3473
Step 11/11 : CMD ["/u01/oracle/container-scripts/createWLSDomain.sh"]
 ---> Running in a45dd0809491
Removing intermediate container a45dd0809491
 ---> e15b6085f27d
Successfully built e15b6085f27d
Successfully tagged 1411-weblogic-domain-in-volume:latest

List images
dave@dave:/git/weblogic/docker-domain$ docker images
REPOSITORY                            TAG                   IMAGE ID       CREATED             SIZE
1411-weblogic-domain-in-volume        latest                e15b6085f27d   27 seconds ago      1.27GB
oracle/weblogic                       14.1.1.0-generic-11   a63e1c89480e   About an hour ago   1.27GB
<none>                                <none>                a6efff1e460a   About an hour ago   1.91GB
<none>                                <none>                74fc89d6f899   About an hour ago   1.91GB
oracle/jdk                            11-ol7                fea3c351284b   2 hours ago         451MB
<none>                                <none>                dcacebd8006e   2 hours ago         1.14GB
oraclelinux                           7-slim                506c06ed74d4   3 weeks ago         138MB

Run admin server
 ./run_admin_server.sh 
Context for docker build is /git/weblogic/docker-domain
Export environment variables from the /git/weblogic/docker-domain/properties/domain.properties properties file
 env_arg: DOMAIN_NAME=myDomain
 env_arg: ADMIN_NAME=myadmin
 env_arg: ADMIN_LISTEN_PORT=7001
 env_arg: ADMIN_HOST=AdminContainer
 env_arg: ADMINISTRATION_PORT_ENABLED=false
 env_arg: MANAGED_SERVER_PORT=8001
 env_arg: MANAGED_SERVER_NAME_BASE=MS
 env_arg: CONFIGURED_MANAGED_SERVER_COUNT=2
 env_arg: CLUSTER_NAME=cluster1
 env_arg: CLUSTER_TYPE=DYNAMIC
 env_arg: PRODUCTION_MODE=dev
 env_arg: DOMAIN_HOST_VOLUME=/app/domains
The domain configuration will get persisted in the host volume: /app/domains
docker run -d -p 9001:7001 --name AdminContainer --hostname AdminContainer -v /git/weblogic/docker-domain/properties:/u01/oracle/properties -v /app/domains:/u01/oracle/user_projects/domains  -e DOMAIN_NAME=myDomain -e ADMIN_NAME=myadmin -e ADMIN_LISTEN_PORT=7001 -e ADMIN_HOST=AdminContainer -e ADMINISTRATION_PORT_ENABLED=false -e MANAGED_SERVER_PORT=8001 -e MANAGED_SERVER_NAME_BASE=MS -e CONFIGURED_MANAGED_SERVER_COUNT=2 -e CLUSTER_NAME=cluster1 -e CLUSTER_TYPE=DYNAMIC -e PRODUCTION_MODE=dev 1411-weblogic-domain-in-volume
813697a094067b8fbfe02deda03d56d0de67405fecbff42e49a010eee6e9ecbd

Missing property file
$ docker ps -a
CONTAINER ID   IMAGE                            COMMAND                  CREATED          STATUS                      PORTS     NAMES
813697a09406   1411-weblogic-domain-in-volume   "/u01/oracle/contain…"   26 seconds ago   Exited (0) 25 seconds ago             AdminContainer
4ba36c6d2ccb   oracle/jdk:11-ol7                "jshell"                 2 hours ago      Exited (0) 2 hours ago                interesting_fermat
dave@dave:/git/weblogic/docker-domain$ docker logs AdminContainer
Domain Home is:  /u01/oracle/user_projects/domains/myDomain
/u01/oracle/properties/domain_security.properties
A properties file with the username and password needs to be supplied.
Copy property file and admin server access file to properties dir
dave@dave:/git/weblogic/docker-domain$ find /app/domains/properties/
/app/domains/properties/
/app/domains/properties/domain_security.properties
/app/domains/properties/domain.properties
dave@dave:/git/weblogic/docker-domain$ ./run_admin_server.sh 
Context for docker build is /git/weblogic/docker-domain
Export environment variables from the /git/weblogic/docker-domain/properties/domain.properties properties file
 env_arg: DOMAIN_NAME=myDomain
 env_arg: ADMIN_NAME=myadmin
 env_arg: ADMIN_LISTEN_PORT=7001
 env_arg: ADMIN_HOST=AdminContainer
 env_arg: ADMINISTRATION_PORT_ENABLED=false
 env_arg: MANAGED_SERVER_PORT=8001
 env_arg: MANAGED_SERVER_NAME_BASE=MS
 env_arg: CONFIGURED_MANAGED_SERVER_COUNT=2
 env_arg: CLUSTER_NAME=cluster1
 env_arg: CLUSTER_TYPE=DYNAMIC
 env_arg: PRODUCTION_MODE=dev
 env_arg: DOMAIN_HOST_VOLUME=/app/domains
The domain configuration will get persisted in the host volume: /app/domains
docker run -d -p 9001:7001 --name AdminContainer --hostname AdminContainer -v /app/domains/properties:/u01/oracle/properties -v /app/domains:/u01/oracle/user_projects/domains  -e DOMAIN_NAME=myDomain -e ADMIN_NAME=myadmin -e ADMIN_LISTEN_PORT=7001 -e ADMIN_HOST=AdminContainer -e ADMINISTRATION_PORT_ENABLED=false -e MANAGED_SERVER_PORT=8001 -e MANAGED_SERVER_NAME_BASE=MS -e CONFIGURED_MANAGED_SERVER_COUNT=2 -e CLUSTER_NAME=cluster1 -e CLUSTER_TYPE=DYNAMIC -e PRODUCTION_MODE=dev 1411-weblogic-domain-in-volume
80c609a25b9d4ff4e49a0d48c929dad91da919b408b48d3dc8bcaaaf823b736f
dave@dave:/git/weblogic/docker-domain$ docker logs AdminContainer
Domain Home is:  /u01/oracle/user_projects/domains/myDomain
/u01/oracle/properties/domain_security.properties
/u01/oracle/properties/domain.properties

Initializing WebLogic Scripting Tool (WLST) ...

Missing permissions on host volume
 docker logs AdminContainer
Domain Home is:  /u01/oracle/user_projects/domains/myDomain
/u01/oracle/properties/domain_security.properties
/u01/oracle/properties/domain.properties

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

domain_path              : [/u01/oracle/user_projects/domains/myDomain]
domain_name              : [myDomain]
admin_server_name        : [myadmin]
admin_port               : [7001]
cluster_name             : [cluster1]
server_port              : [8001]
number_of_ms             : [2]
cluster_type             : [DYNAMIC]
managed_server_name_base : [MS]
production_mode          : [dev]
Configuring Dynamic Cluster cluster1
Creating Server Template: cluster1-template
Done creating Server Template: cluster1-template
Done setting attributes for Dynamic Cluster: cluster1
com.oracle.cie.domain.script.ScriptException: 60308: Domain location not writable.
60308: The domain location does not have write permission.
60308: Correct permissions or select different domain location.

    at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:2048)
    at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:1880)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.oracle.cie.domain.script.jython.WLSTState.processCommand(WLSTState.java:226)
    at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:732)
    at jdk.internal.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:188)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:206)
    at org.python.core.PyObject.__call__(PyObject.java:515)
    at org.python.core.PyObject.__call__(PyObject.java:519)
    at org.python.core.PyMethod.__call__(PyMethod.java:156)
    at org.python.pycode._pyx6.command$1(/tmp/WLSTOfflineIni5927803169066468041.py:19)
    at org.python.pycode._pyx6.call_function(/tmp/WLSTOfflineIni5927803169066468041.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:171)
    at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
    at org.python.core.PyBaseCode.call(PyBaseCode.java:146)
    at org.python.core.PyFunction.__call__(PyFunction.java:423)
    at org.python.pycode._pyx6.writeDomain$29(/tmp/WLSTOfflineIni5927803169066468041.py:114)
    at org.python.pycode._pyx6.call_function(/tmp/WLSTOfflineIni5927803169066468041.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:171)
    at org.python.core.PyBaseCode.call(PyBaseCode.java:139)
    at org.python.core.PyFunction.__call__(PyFunction.java:413)
    at org.python.pycode._pyx32.f$0(/u01/oracle/container-scripts/create-wls-domain.py:136)
    at org.python.pycode._pyx32.call_function(/u01/oracle/container-scripts/create-wls-domain.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:171)
    at org.python.core.PyCode.call(PyCode.java:18)
    at org.python.core.Py.runCode(Py.java:1614)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:296)
    at weblogic.management.scripting.WLST.main(WLST.java:192)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at weblogic.WLST.main(WLST.java:47)
Error: runCmd() failed. Do dumpStack() to see details.
Traceback (most recent call last):
  File "/u01/oracle/container-scripts/create-wls-domain.py", line 121, in <module>
    writeDomain(domain_path)
  File "/tmp/WLSTOfflineIni5927803169066468041.py", line 113, in writeDomain
    command("writeDomain", domainDir)
  File "/tmp/WLSTOfflineIni5927803169066468041.py", line 19, in command
    return WLS.runCmd(name, args)
60308: Domain location not writable.
60308: The domain location does not have write permission.
60308: Correct permissions or select different domain location.

    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:3124)
    at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:738)
    at jdk.internal.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Error writing domain:
60308: Domain location not writable.
60308: The domain location does not have write permission.
60308: Correct permissions or select different domain location.

Problem invoking WLST - Traceback (most recent call last):
  File "/u01/oracle/container-scripts/create-wls-domain.py", line 121, in <module>
    writeDomain(domain_path)
  File "/tmp/WLSTOfflineIni5927803169066468041.py", line 113, in writeDomain
    command("writeDomain", domainDir)
  File "/tmp/WLSTOfflineIni5927803169066468041.py", line 19, in command
    return WLS.runCmd(name, args)
60308: Domain location not writable.
60308: The domain location does not have write permission.
60308: Correct permissions or select different domain location.

    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:3124)
    at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:738)
    at jdk.internal.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Error writing domain:
60308: Domain location not writable.
60308: The domain location does not have write permission.
60308: Correct permissions or select different domain location.


RetVal from Domain creation 1
Domain Creation Failed.. Please check the Domain Logs

Add :z to mounted host volume
Exiting WebLogic Scripting Tool.

RetVal from Domain creation 0
Java Options: -Doracle.jdbc.fanEnabled=false -Dweblogic.StdoutDebugEnabled=false
Starting the Admin Server
==========================
.
.
JAVA Memory arguments: -Djava.security.egd=file:/dev/./urandom
.
CLASSPATH=/usr/java/jdk-11/lib/tools.jar:/u01/oracle/wlserver/server/lib/weblogic.jar:/u01/oracle/wlserver/../oracle_common/modules/thirdparty/ant-contrib-1.0b3.jar:/u01/oracle/wlserver/modules/features/oracle.wls.common.nodemanager.jar::/u01/oracle/wlserver/common/derby/lib/derbynet.jar:/u01/oracle/wlserver/common/derby/lib/derbyclient.jar:/u01/oracle/wlserver/common/derby/lib/derby.jar
.
PATH=/u01/oracle/user_projects/domains/myDomain/bin:/u01/oracle/wlserver/server/bin:/u01/oracle/wlserver/../oracle_common/modules/thirdparty/org.apache.ant/1.10.5.0.0/apache-ant-1.10.5/bin:/usr/java/jdk-11/bin:/usr/java/jdk-11/bin:/usr/java/jdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/java/jdk-11/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/usr/java/jdk-11/bin:/u01/oracle/oracle_common/common/bin:/u01/oracle/wlserver/common/bin:/u01/oracle/container-scripts
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
Starting WLS with line:
/usr/java/jdk-11/bin/java -server   -Djava.security.egd=file:/dev/./urandom -cp /u01/oracle/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=myadmin -Djava.security.policy=/u01/oracle/wlserver/server/lib/weblogic.policy -Doracle.jdbc.fanEnabled=false -Dweblogic.StdoutDebugEnabled=false -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader  -javaagent:/u01/oracle/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/u01/oracle/wlserver/server -Dweblogic.home=/u01/oracle/wlserver/server      weblogic.Server
Java HotSpot(TM) 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.oracle.classloader.weblogic.LaunchClassLoader"). To use archived non-system classes, this property must be not be set
<Dec 10, 2023, 2:44:20 PM Greenwich Mean Time> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.> 
<Dec 10, 2023, 2:44:20 PM Greenwich Mean Time> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.> 

Start line with added :z - modify in run_admin_server.sh
docker run -d -p 9001:${adminport} --name ${adminhost} --hostname ${adminhost} -v /app/domains/properties:/u01/oracle/properties:z -v ${domainhostvol}:/u01/oracle/user_projects/domains:z ${ENV_ARG} 1411-weblogic-domain-in-volume

Admin server container running
dave@dave:/git/weblogic/docker-domain$ docker ps
CONTAINER ID   IMAGE                            COMMAND                  CREATED              STATUS                        PORTS                                       NAMES
5fae4bf178dd   1411-weblogic-domain-in-volume   "/u01/oracle/contain…"   About a minute ago   Up About a minute (healthy)   0.0.0.0:9001->7001/tcp, :::9001->7001/tcp   AdminContainer

Check Admin console on port 9001 - http://dave:9001/console

Push Docker image to Google cloud (GCP) container registry

$
0
0

 HOWTO

See also


Authenticate against GCP via gcloud shell


dave@dave:~$ docker push gcr.io/dave-terraform/oraclelinux:7-slim
ERROR: (gcloud.auth.docker-helper) There was a problem refreshing your current auth tokens: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account, run:

  $ gcloud config set account ACCOUNT

to select an already authenticated account to use.
The push refers to repository [gcr.io/dave-terraform/oraclelinux]
An image does not exist locally with the tag: gcr.io/dave-terraform/oraclelinux
dave@dave:~$ gcloud auth login
Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?....

You are now logged in as [daniel.veselka@gmail.com].
Your current project is [dave-terraform].  You can change this setting by running:
  $ gcloud config set project PROJECT_ID

Configure Docker in GCP
$ gcloud auth configure-docker
Adding credentials for all GCR repositories.
WARNING: A long list of credential helpers may cause delays running 'docker build'. We recommend passing the registry name to configure only the registry you are using.
After update, the following will be written to your Docker config file located at [/home/dave/.docker/config.json]:
 {
  "credHelpers": {
    "gcr.io": "gcloud",
    "us.gcr.io": "gcloud",
    "eu.gcr.io": "gcloud",
    "asia.gcr.io": "gcloud",
    "staging-k8s.gcr.io": "gcloud",
    "marketplace.gcr.io": "gcloud"
  }
}

Do you want to continue (Y/n)?  Y

Docker configuration file updated.


Full list of Artifact registry 

$ gcloud auth configure-docker
WARNING: Your config file at [/home/student_03_ca7dee6f1b2a/.docker/config.json] contains these credential helper entries:

{
  "credHelpers": {
    "asia-docker.pkg.dev": "gcloud",
    "asia-east1-docker.pkg.dev": "gcloud",
    "asia-east2-docker.pkg.dev": "gcloud",
    "asia-northeast1-docker.pkg.dev": "gcloud",
    "asia-northeast2-docker.pkg.dev": "gcloud",
    "asia-northeast3-docker.pkg.dev": "gcloud",
    "asia-south1-docker.pkg.dev": "gcloud",
    "asia-south2-docker.pkg.dev": "gcloud",
    "asia-southeast1-docker.pkg.dev": "gcloud",
    "asia-southeast2-docker.pkg.dev": "gcloud",
    "australia-southeast1-docker.pkg.dev": "gcloud",
    "australia-southeast2-docker.pkg.dev": "gcloud",
    "europe-docker.pkg.dev": "gcloud",
    "europe-central2-docker.pkg.dev": "gcloud",
    "europe-north1-docker.pkg.dev": "gcloud",
    "europe-southwest1-docker.pkg.dev": "gcloud",
    "europe-west1-docker.pkg.dev": "gcloud",
    "europe-west10-docker.pkg.dev": "gcloud",
    "europe-west12-docker.pkg.dev": "gcloud",
    "europe-west2-docker.pkg.dev": "gcloud",
    "europe-west3-docker.pkg.dev": "gcloud",
    "europe-west4-docker.pkg.dev": "gcloud",
    "europe-west6-docker.pkg.dev": "gcloud",
    "europe-west8-docker.pkg.dev": "gcloud",
    "europe-west9-docker.pkg.dev": "gcloud",
    "me-central1-docker.pkg.dev": "gcloud",
    "me-central2-docker.pkg.dev": "gcloud",
    "me-west1-docker.pkg.dev": "gcloud",
    "northamerica-northeast1-docker.pkg.dev": "gcloud",
    "northamerica-northeast2-docker.pkg.dev": "gcloud",
    "southamerica-east1-docker.pkg.dev": "gcloud",
    "us-docker.pkg.dev": "gcloud",
    "us-central1-docker.pkg.dev": "gcloud",
    "us-east1-docker.pkg.dev": "gcloud",
    "us-east4-docker.pkg.dev": "gcloud",
    "us-east5-docker.pkg.dev": "gcloud",
    "us-east7-docker.pkg.dev": "gcloud",
    "us-south1-docker.pkg.dev": "gcloud",
    "us-west1-docker.pkg.dev": "gcloud",
    "us-west2-docker.pkg.dev": "gcloud",
    "us-west3-docker.pkg.dev": "gcloud",
    "us-west4-docker.pkg.dev": "gcloud"
  }
}

List my own registry

$ gcloud artifacts repositories list
Listing items under project dave-terraform, across all locations.

                                                               ARTIFACT_REGISTRY
REPOSITORY   FORMAT  MODE                 DESCRIPTION  LOCATION  LABELS  ENCRYPTION          CREATE_TIME          UPDATE_TIME          SIZE (MB)
asia.gcr.io  DOCKER  STANDARD_REPOSITORY               asia              Google-managed key  2023-12-13T10:15:02  2023-12-13T10:15:02  0
eu.gcr.io    DOCKER  STANDARD_REPOSITORY               europe            Google-managed key  2023-12-13T10:14:54  2023-12-13T11:58:44  847.519
gcr.io       DOCKER  STANDARD_REPOSITORY               us                Google-managed key  2023-12-13T10:14:53  2023-12-13T10:14:53  0
us.gcr.io    DOCKER  STANDARD_REPOSITORY               us                Google-managed key  2023-12-13T10:14:52  2023-12-13T10:14:52  0


Tag the Docker image with GCP registry host
~$ docker push gcr.io/dave-terraform/oraclelinux:7-slim
The push refers to repository [gcr.io/dave-terraform/oraclelinux]
An image does not exist locally with the tag: gcr.io/dave-terraform/oraclelinux
dave@dave:~$ docker tag 138MB gcr.io/dave-terraform/oraclelinux:7-slim
Error parsing reference: "138MB" is not a valid repository/tag: invalid reference format: repository name must be lowercase
dave@dave:~$ docker tag 506c06ed74d4 gcr.io/dave-terraform/oraclelinux:7-slim
dave@dave:~$ docker push gcr.io/dave-terraform/oraclelinux:7-slim
The push refers to repository [gcr.io/dave-terraform/oraclelinux]

Push the Docker image to GCP container registry
$ docker push eu.gcr.io/dave-terraform/oraclelinux:7-slim
The push refers to repository [eu.gcr.io/dave-terraform/oraclelinux]
2a900b79adf5: Layer already exists 
7-slim: digest: sha256:b477523e90e66d9944bb0ce9c08246c431b617bfc5997bbaa1842d009bf561bb size: 529
dave@dave:~$ docker images
REPOSITORY                             TAG                   IMAGE ID       CREATED         SIZE
1411-weblogic-domain-in-volume         latest                e15b6085f27d   2 days ago      1.27GB
oracle/weblogic                        14.1.1.0-generic-11   a63e1c89480e   2 days ago      1.27GB
<none>                                 <none>                a6efff1e460a   2 days ago      1.91GB
<none>                                 <none>                74fc89d6f899   2 days ago      1.91GB
oracle/jdk                             11-ol7                fea3c351284b   2 days ago      451MB
<none>                                 <none>                dcacebd8006e   2 days ago      1.14GB
gcr.io/dave-terraform/oraclelinux      7-slim                506c06ed74d4   4 weeks ago     138MB
oraclelinux                            7-slim                506c06ed74d4   4 weeks ago     138MB
eu.gcr.io/dave-terraform/oraclelinux   7-slim                506c06ed74d4   4 weeks ago     138MB

Check deployed Docker images in registry via GCP console

Check deployed images via gcloud



$ gcloud container images list --repository=eu.gcr.io/dave-terraform
NAME
eu.gcr.io/dave-terraform/1411-weblogic-domain-in-volume
eu.gcr.io/dave-terraform/oracle
eu.gcr.io/dave-terraform/oraclelinux

GCP Artifact registry

Show pull command




docker pull \
    eu.gcr.io/dave-terraform/1411-weblogic-domain-in-volume:latest

Setup Weblogic Kubernetes ( k8s) Operator in GCP

$
0
0

HOWTO 




 Set up the operator Helm chart access

$ helm repo add weblogic-operator https://oracle.github.io/weblogic-kubernetes-operator/charts --force-update
"weblogic-operator" has been added to your repositories

$ helm repo list
NAME                    URL                                                         
weblogic-operator       https://oracle.github.io/weblogic-kubernetes-operator/charts
List versions
$ helm search repo weblogic-operator/weblogic-operator --versions
NAME                                    CHART VERSION   APP VERSION     DESCRIPTION                                      
weblogic-operator/weblogic-operator     4.1.7           4.1.7           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.6           4.1.6           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.5           4.1.5           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.4           4.1.4           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.3           4.1.3           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.2           4.1.2           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.1           4.1.1           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.1.0           4.1.0           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.10          4.0.10          Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.9           4.0.9           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.8           4.0.8           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.7           4.0.7           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.6           4.0.6           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.5           4.0.5           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.4           4.0.4           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.3           4.0.3           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.2           4.0.2           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.1           4.0.1           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     4.0.0           4.0.0           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.11          3.4.11          Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.10          3.4.10          Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.9           3.4.9           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.8           3.4.8           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.7           3.4.7           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.6           3.4.6           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.5           3.4.5           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.4           3.4.4           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.3           3.4.3           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.2           3.4.2           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.1           3.4.1           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.4.0           3.4.0           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.8           3.3.8           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.7           3.3.7           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.6           3.3.6           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.5           3.3.5           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.4           3.3.4           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.3           3.3.3           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.2           3.3.2           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.1           3.3.1           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.3.0           3.3.0           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.2.5           3.2.5           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.2.4           3.2.4           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.2.3           3.2.3           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.2.2           3.2.2           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.2.1           3.2.1           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.2.0           3.2.0           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.1.4           3.1.4           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.1.3           3.1.3           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.1.2           3.1.2           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.1.1           3.1.1           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.1.0           3.1.0           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.0.4                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.0.3                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.0.2                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.0.1                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     3.0.0                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.6.0                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.5.0                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.4.0                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.3.1                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.3.0                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.2.1                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.2.0                           Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.1                             Helm chart for configuring the WebLogic operator.
weblogic-operator/weblogic-operator     2.0.1                           Helm chart for configuring the WebLogic operator.
Inspect the operator Helm chart
$ helm show values weblogic-operator/weblogic-operator
# Copyright (c) 2018, 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

# serviceAccount specifies the name of the ServiceAccount in the operator's namespace that the
# operator will use to make requests to the Kubernetes API server.
# The customer is responsible for creating the ServiceAccount in the same namespace as this Helm release.
# If not specified, the operator will use the Helm release namespace's 'default' ServiceAccount.
serviceAccount: default

# domainNamespaceSelectionStrategy specifies how the operator will select the set of namespaces
# that it will manage. Legal values are: LabelSelector, RegExp, List, and Dedicated.
# If set to 'LabelSelector', then the operator will manage the set of namespaces discovered by a list
# of namespaces using the value specified by 'domainNamespaceLabelSelector' as a label selector.
# If set to 'RegExp', then the operator will manage the set of namespaces discovered by a list
# of namespaces using the value specified by 'domainNamespaceRegExp' as a regular expression matched
# against the namespace names.
# If set to 'List', then the operator will manage the set of namespaces listed by the 'domainNamespaces' value.
# If set to 'Dedicated', then operator will manage WebLogic Domains only in the same namespace
# where the operator itself is deployed, which is the namespace of the Helm release.
# If not specified, the default is LabelSelector
domainNamespaceSelectionStrategy: LabelSelector

# domainNamespaceLabelSelector specifies the label selector value that the operator will use when listing
# namespaces in search of the namespaces that contain WebLogic Domains that this operator will manage. Ignored
# if 'domainNamespaceSelectionStrategy' is not 'LabelSelector'. If not specified, the default is "weblogic-operator=enabled"
#
# Example: manage any namespace with a label named "weblogic-operator" that has value "enabled".
#
# domainNamespaceLabelSelector: 'weblogic-operator=enabled'

# domainNamespaceRegExp specifies a regular expression that will be matched against namespace names when listing
# namespaces in search of the namespaces that contain WebLogic Domains that this operator will manage. Ignored
# if 'domainNamespaceSelectionStrategy' is not 'RegExp'.
#
# Example: manage any namespace where the namespace name starts with "prod".
#
# domainNamespaceRegExp: ^prod

# domainNamespaces specifies list of WebLogic Domain namespaces that this operator manages. This value
# is ignored if 'domainNamespaceSelectionStrategy' is not 'List'. The customer is responsible for creating these
# namespaces. If not specified, then the operator will manage WebLogic Domains in the Kubernetes 'default' namespace.
#
# Example: In the configuration below, the operator will manage namespace1 and namespace2.
#
# domainNamespaces:
# - "namespace1"
# - "namespace2"

# enableClusterRoleBinding specifies whether the roles necessary for the operator to manage domains
# will be granted using a ClusterRoleBinding rather than using RoleBindings in each managed namespace.
# If not specified, the default is true unless 'domainNamespaceSelectionStrategy' is 'Dedicated, in which
# case this value is ignored as all resources will be created in the namespace where the operator is deployed.
#
enableClusterRoleBinding: true

# image specifies the container image containing the operator.
image: "ghcr.io/oracle/weblogic-kubernetes-operator:4.1.7"

# imagePullPolicy specifies the image pull policy for the operator's container image.
imagePullPolicy: IfNotPresent

# imagePullSecrets contains an optional list of Kubernetes Secrets, in the operator's namespace,
# that are needed to access the registry containing the operator's container image.
# The customer is responsible for creating the Secret.
# If no Secrets are required, then omit this property.
#
# Example: a Secret is needed, and has been stored in 'my-operator-secret'
#
# imagePullSecrets:
# - name: "my-operator-secret"

# enableRest specifies whether the operator's REST interface is enabled. Beginning with version 4.0.5,
# the REST interface will be disabled by default.
# enableRest: true

# externalRestEnabled specifies whether the operator's REST interface is exposed
# outside the Kubernetes cluster on the port specified by the 'externalRestHttpsPort'
# property. Ignored if 'enableRest' is not true.
#
# If set to true, then the customer must provide the SSL certificate and private key for
# the operator's external REST interface by specifying the 'externalOperatorCert' and
# 'externalOperatorKey' properties.
externalRestEnabled: false

# externalRestHttpsPort specifies the node port that should be allocated for the external operator REST HTTPS interface.
# This parameter is required if 'externalRestEnabled' is true.
# Otherwise, it is ignored.
externalRestHttpsPort: 31001

# The name of the Secret used to store the certificate and private key to use for the external operator REST HTTPS interface.
# The Secret has to be created in the same namespace of the WebLogic operator.
# This parameter is required if 'externalRestEnabled' is true. Otherwise, it is ignored.
# As example, an external REST identity can be created using the following sample script
# kubernetes/samples/scripts/rest/generate-external-rest-identity.sh
# externalRestIdentitySecret:

# elkIntegrationEnabled specifies whether ELK integration is enabled.
elkIntegrationEnabled: false

# logStashImage specifies the container image containing Logstash.
# This parameter is ignored if 'elkIntegrationEnabled' is false.
logStashImage: "logstash:6.8.23"

# elasticSearchHost specifies the hostname of where elasticsearch is running.
# This parameter is ignored if 'elkIntegrationEnabled' is false.
elasticSearchHost: "elasticsearch.default.svc.cluster.local"

# elasticSearchPort specifies the port number of where elasticsearch is running.
# This parameter is ignored if 'elkIntegrationEnabled' is false.
elasticSearchPort: 9200

# elasticSearchProtocol specifies the protocol to be used for communication with elasticsearch.
# This parameter is ignored if 'elkIntegrationEnabled' is false.
elasticSearchProtocol: http

# createlogStashConfigMap specifies whether a ConfigMap named
# weblogic-operator-logstash-cm should be created during helm install.
# The ConfigMap contains the Logstash pipeline configuration for the Logstash
# container running in the operator pod.
# If set to true, a ConfigMap will be created during Helm install using the
# logstash.conf file in the kubernetes/samples/charts/weblogic-operator directory.
# Set createLogStashConfigMap to false if the ConfigMap
# already exists in the operator's namespace with the Logstash 
# configuration provided by the customer.
# This parameter is ignored if 'elkIntegrationEnabled' is false.
createLogStashConfigMap: true

# featureGates specifies a set of key=value pairs separated by commas that describe whether a given
# operator feature is enabled. You enable a feature by including a key=value pair where the key is the
# feature name and the value is "true". This will allow the operator team to release features that
# are not yet ready to be enabled by default, but that are ready for testing by customers. Once a feature is
# stable then it will be enabled by default and can not be disabled using this configuration.
# featureGates: "...,AuxiliaryImage=true"

# javaLoggingLevel specifies the Java logging level for the operator. This affects the operator pod's
# log output and the contents of log files in the container's /logs/ directory.
# Valid values are: "SEVERE", "WARNING", "INFO", "CONFIG", "FINE", "FINER", and "FINEST".
javaLoggingLevel: "INFO"

# javaLoggingFileSizeLimit specifies the maximum size in bytes for an individual Java logging file in the operator container's
# /logs/ directory.
javaLoggingFileSizeLimit: 20000000

# javaLoggingFileCount specifies the number of Java logging files to preserve in the operator container's /logs/
# directory as the files are rotated.
javaLoggingFileCount: 10

# labels specifies a set of key-value labels that will be added to each pod running the operator.
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
#labels:

# annotations specifies a set of key-value annotations that will be added to each pod running the operator.
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
#annotations:

# nodeSelector specifies a matching rule that the Kubernetes scheduler will use when selecting the node
# where the operator will run. If the nodeSelector value is specified, then this content will be added to
# the operator's deployment. See https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
# for more information on node selectors.
#nodeSelector:
 
# webhookOnly specifies whether only the conversion webhook should be installed during the helm install
# and that the operator installation should be skipped.
# By default, the helm install command installs both the operator and the conversion webhook.
# If set to true, the helm install will install only the conversion webhook (and not the operator).
# The default value is false.
webhookOnly: false

# operatorOnly specifies whether only the operator should be installed during the helm install and that 
# the conversion webhook installation should be skipped.
# By default, the helm install command installs both the operator and the conversion webhook.
# If set to true, the helm install will install only the operator (and not the conversion webhook).
# The default value is false.
operatorOnly: false
 
# preserveWebhook specifies whether the previous webhook deployment should be preserved
# when the chart is uninstalled using helm uninstall.
# By default, the helm uninstall will remove both the webhook deployment and the operator deployment.
# If set to true, the helm uninstall command will skip removing the webhook deployment.
# The default value is false.
preserveWebhook: false

# affinity specifies a set of matching rules related to the presence of other workloads that the Kubernetes scheduler
# will use when selecting the node where the operator will run. If the affinity value is specified, then this content
# will be added to the operator's deployment. See https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
# for more information on affinity and anti-affinity.
#affinity:

# tolerations and taints work together to ensure that pods are not scheduled on inappropriate nodes. If the tolerations value is specified,
# then this content will be added to the operator's deployment. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# for more information on tolerations and taints.
#tolerations:

# Values related to debugging the operator.
# Customers should not need to use the following properties

# remoteDebugNodePortEnabled specifies whether the operator will provide a Java remote debug interface on the
# provided port. If the 'suspendOnDebugStartup' property is specified, the operator will suspend execution
# until a remote debugger has attached.
# The 'internalDebugHttpPort' property controls the port number inside the Kubernetes
# cluster and the 'externalDebugHttpPort' property controls the port number outside
# the Kubernetes cluster.
remoteDebugNodePortEnabled: false

#suspendOnDebugStartup specifies whether the operator will suspend on startup when a Java remote debugging is enabled.
suspendOnDebugStartup: false

# internalDebugHttpPort specifies the port number inside the Kubernetes cluster for the operator's Java
# remote debug interface.
# This parameter is required if 'remoteDebugNodePortEnabled' is true.
# Otherwise, it is ignored.
internalDebugHttpPort: 30999

# externalDebugHttpPort specifies the node port that should be allocated for the operator's
# Java remote debug interface.
# This parameter is required if 'remoteDebugNodePortEnabled' is true.
# Otherwise, it is ignored.
externalDebugHttpPort: 30999

# webhookDebugHttpPort specifies the port number inside the Kubernetes cluster for the webhook's Java
# remote debug interface.
# This parameter is required if 'remoteDebugNodePortEnabled' is true.
# Otherwise, it is ignored.
webhookDebugHttpPort: 31999

# dns1123Fields overrides the default list of field names that the operator
# converts to DNS-1123 legal values when replacing variable references in the 
# Domain resource. The default list can be found inside the class LegalNames
# in the oracle.kubernetes.operator.helpers package.
# Supply a comma separated list of field names to customize the list of fields
# such as "name, claimName, volumeName", or leave it commented out to use 
# the default list of field names.
# dns1123Fields: ""

# introspectorJobNameSuffix overrides the default suffix that the operator uses
# to append to the domainUID to form the name of the domain introspector job name.
# Note that the resultant job name should not be more than 58 characters due to
# the Kubernetes limit to the name of a job and Kubernetes appends five additional
# characters to the name of the pod that is created by the job controller.
# The default suffix is '-introspector'.
# The default suffix in pre-3.1.0 is "-introspect-domain-job"
introspectorJobNameSuffix: "-introspector"

# externalServiceNameSuffix overrides the default suffix that the operator uses
# to append to the domainUID and the WebLogic admin server name, to form the name
# of the domain's admin server external service.
# Note that the resultant name should not be more than 63 characters due to
# the Kubernetes limit to the name of a service.
# The default suffix is '-ext'.
# The default suffix in pre-3.1.0 is "-external".
externalServiceNameSuffix: "-ext"

# clusterSizePaddingValidationEnabled specifies if additional one or two characters
# need to be reserved to account for longer managed server names because of an increased
# cluster size.
# The default value is true.
clusterSizePaddingValidationEnabled: true

# tokenReviewAuthentication, if set to true, specifies whether the operator's REST API should use
#   1. Kubernetes token review API for authenticating users, and
#   2. Kubernetes subject access review API for authorizing a user's operation (get, list,
#      patch, etc) on a resource.
#   3. Update the Domain resource using the operator's privileges.
# This parameter, if set to false, will use the caller's bearer token for any update
# to the Domain resource so that it is done using the caller's privileges.
# The default value is false.
#tokenReviewAuthentication: false

# runAsuser specifies the UID to run the operator and conversion webhook container processes. 
# If not specified, it defaults to the user specified in the operator's container image.
#runAsUser: 1000

# jvmOptions specifies a value used to control the Java process that runs the operator, such as the maximum heap size
# that will be allocated.
#jvmOptions: -XshowSettings:vm -XX:MaxRAMPercentage=70
Prepare an operator namespace and service account

Install Kubernetes (k8s) on Fedora and start k8s cluster in GCP

$
0
0

 HOWTO




Install k8s using RPM


dave@dave:~$ cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.29/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.29/rpm/repodata/repomd.xml.key
EOF
[sudo] password for dave: 
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.29/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.29/rpm/repodata/repomd.xml.key
dave@dave:~$ sudo yum install -y kubectl
Fedora 39 - x86_64 - Updates                                                                                                                                                                                                                                                                  118 kB/s |  16 kB     00:00    
Fedora 39 - x86_64 - Updates                                                                                                                                                                                                                                                                  1.8 MB/s | 2.7 MB     00:01    
Kubernetes                                                                                                                                                                                                                                                                                     12 kB/s | 5.7 kB     00:00    
Dependencies resolved.
==============================================================================================================================================================================================================================================================================================================================
 Package                                                                   Architecture                                                             Version                                                                                Repository                                                                    Size
==============================================================================================================================================================================================================================================================================================================================
Installing:
 kubectl                                                                   x86_64                                                                   1.29.0-150500.1.1                                                                      kubernetes                                                                    10 M

Transaction Summary
==============================================================================================================================================================================================================================================================================================================================
Install  1 Package

Total download size: 10 M
Installed size: 47 M
Downloading Packages:
kubectl-1.29.0-150500.1.1.x86_64.rpm                                                                                                                                                                                                                                                           12 MB/s |  10 MB     00:00    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                                                          12 MB/s |  10 MB     00:00     
Kubernetes                                                                                                                                                                                                                                                                                    7.9 kB/s | 1.7 kB     00:00    
Importing GPG key 0x9A296436:
 Userid     : "isv:kubernetes OBS Project <isv:kubernetes@build.opensuse.org>"
 Fingerprint: DE15 B144 86CD 377B 9E87 6E1A 2346 54DA 9A29 6436
 From       : https://pkgs.k8s.io/core:/stable:/v1.29/rpm/repodata/repomd.xml.key
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                                                                                      1/1 
  Installing       : kubectl-1.29.0-150500.1.1.x86_64                                                                                                                                                                                                                                                                     1/1 
  Verifying        : kubectl-1.29.0-150500.1.1.x86_64                                                                                                                                                                                                                                                                     1/1 

Installed:
  kubectl-1.29.0-150500.1.1.x86_64                                                                                                                                                                                                                                                                                            

Complete!
dave@dave:~$ 


Check k8s cluster via gcloud

$ gcloud container clusters list
NAME          LOCATION       MASTER_VERSION  MASTER_IP     MACHINE_TYPE  NODE_VERSION    NUM_NODES  STATUS
dave-cluster  europe-west10  1.27.3-gke.100  1.1.1.1  e2-small      1.27.3-gke.100  1          RUNNING


Connect to GKE from localhost via gcloud and kubectl

 sudo yum install google-cloud-sdk-gke-gcloud-auth-plugin
[sudo] password for dave: 
Last metadata expiration check: 0:29:49 ago on Thu 14 Dec 2023 10:05:11 AM CET.
Dependencies resolved.
==================================================================================================================================================================================================================
 Package                                                                 Architecture                           Version                                    Repository                                        Size
==================================================================================================================================================================================================================
Installing:
 google-cloud-sdk-gke-gcloud-auth-plugin                                 x86_64                                 457.0.0-1                                  google-cloud-sdk                                 3.6 M

Transaction Summary
==================================================================================================================================================================================================================
Install  1 Package

Total download size: 3.6 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
4b31246c89a3b0d6ec3d0120181b2e556f2a4f483a412c1f89bca3d475061438-google-cloud-sdk-gke-gcloud-auth-plugin-457.0.0-1.x86_64.rpm                                                     9.9 MB/s | 3.6 MB     00:00    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                             9.8 MB/s | 3.6 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                          1/1 
  Installing       : google-cloud-sdk-gke-gcloud-auth-plugin-457.0.0-1.x86_64                                                                                                                                 1/1 
  Running scriptlet: google-cloud-sdk-gke-gcloud-auth-plugin-457.0.0-1.x86_64                                                                                                                                 1/1 
  Verifying        : google-cloud-sdk-gke-gcloud-auth-plugin-457.0.0-1.x86_64                                                                                                                                 1/1 

Installed:
  google-cloud-sdk-gke-gcloud-auth-plugin-457.0.0-1.x86_64                                                                                                                                                        

Complete!

Check the version
dave@dave:~$ gke-gcloud-auth-plugin --version
Kubernetes v1.28.2-alpha+dafa3f6c671d0a0d879f3b203588c782ecb87a18

Update the kubectl configuration to use the plugin:
$ gcloud container clusters get-credentials dave-cluster \
    --zone=europe-west10
Fetching cluster endpoint and auth data.
kubeconfig entry generated for dave-cluster.
dave@dave:~$ kubectl get namespaces
NAME                       STATUS   AGE
default                    Active   13m
gke-gmp-system             Active   12m
gke-managed-filestorecsi   Active   13m
gmp-public                 Active   12m
kube-node-lease            Active   13m
kube-public                Active   13m
kube-system                Active   13m

Interact with k8s cluster via kubectl
dave@dave:~$ kubectl config view
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: https://34.32.43.197
  name: gke_dave-terraform_europe-west10_dave-cluster
contexts:
- context:
    cluster: gke_dave-terraform_europe-west10_dave-cluster
    user: gke_dave-terraform_europe-west10_dave-cluster
  name: gke_dave-terraform_europe-west10_dave-cluster
current-context: gke_dave-terraform_europe-west10_dave-cluster
kind: Config
preferences: {}
users:
- name: gke_dave-terraform_europe-west10_dave-cluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args: null
      command: gke-gcloud-auth-plugin
      env: null
      installHint: Install gke-gcloud-auth-plugin for use with kubectl by following
        https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
      interactiveMode: IfAvailable
      provideClusterInfo: true

Current context
dave@dave:~$ kubectl config current-context
gke_dave-terraform_europe-west10_dave-cluster

Store cluster info
$ gcloud container clusters get-credentials dave-cluster \
    --zone=europe-west10
Fetching cluster endpoint and auth data.
kubeconfig entry generated for dave-cluster.



Google HOWTO for GKE k8s cluster creation

Create GKE cluster in GCP

Enable Google Kubernetes Engine in a Cloud project

For access to Google Kubernetes Engine, select or create a Cloud project to work in, then enable the required APIs:

  1.  to ensure that you have the permissions you need, or select an existing project in which you have the relevant permissions.

  2. The necessary APIs are enabled:
    • Kubernetes Engine API
    • Artifact Registry API


Create a GKE cluster

  1. Click the Navigation menu  icon, then Kubernetes Engine.

    You can see where it is by clicking the following button:

  2. Click Clusters.

  3. Click Create.

  4. Choose Standard mode and click Configure.

  5. In the Name field, enter the name hello-cluster.

  6. Under Location type, select Zonal and then select a Compute Engine zone from the Zone drop-down list, such as us-west1-a.

  7. Click Create. This creates a GKE cluster. After the cluster is ready, a green checkmark appears next to the cluster name.

Deploy the sample app to GKE

  1. Click Workloads.

  2. Click Deploy.

  3. In the Edit container section, select Existing container image.

  4. In the Image path field, click Select.

  5. In the Select container image pane, select the hello-app image you pushed to Artifact Registry.

  6. Click Select.

  7. Click Done.

  8. Click Continue.

  9. In the Configuration section, under Labels, enter app for Key
    and hello-app for Value.

  10. Under the Configuration section, click the View YAML button under Configuration YAML. This opens a YAML configuration file representing the two Kubernetes API resources about to be deployed into your cluster.

  11. Click Close.

  12. Click Deploy.

    When the Deployment Pods are ready, the Deployment details page opens.

  13. Under Managed pods, note the three running Pods for the hello-app Deployment.

Expose a sample app to the internet

  1. Click Workloads.

  2. Click on hello-app in the Name column.

  3. From the Deployment details page, click the Actions > Expose button.

  4. In the Expose dialog, under the Port Mapping section, set

  5. Click Expose to create a Kubernetes Service for hello-app.

    When the Load Balancer is ready, the Service details page opens.

  6. Scroll down to the Exposing services secion and copy the external IP from the Endpoints column for the newly exposed Load balancer .

    • Note that Endpoints are used as External IP addresses for the next sections.

Click Next to learn how to deploy a new version of your app.

🎉 Success

You have successfully deployed a containerized web application!



Clean up

To avoid incurring charges to your Google Cloud account for the resources used in this tutorial, delete your project if you're not going to use it again. If you intend to use it again, you can delete the individual resources.

Delete the project

To delete the Cloud project:

```bash
gcloud projects delete ${PROJECT_ID}
```

Delete individual resources

  1. Delete the Service: This deallocates the Cloud Load Balancer created for your Service:

    kubectl delete service \ hello-app-service
  2. Delete the cluster: This deletes the resources that make up the cluster. Replace COMPUTE_ZONE in the command below with your own zone:

    gcloud container clusters delete \ hello-cluster --zone \ COMPUTE_ZONE
  3. Delete your container images: This deletes the Docker images you pushed to Artifact Registry. Replace PROJECT-ID with your own:

    gcloud artifacts docker images \ delete \ ${REGION}-docker.pkg.dev/${PROJECT_ID}/hello-repo/hello-app:v1 \ --delete-tags --quiet gcloud artifacts docker images \ delete \ ${REGION}-docker.pkg.dev/${PROJECT_ID}/hello-repo/hello-app:v2 \ --delete-tags --quiet

Do more with Google Kubernetes Engine

Viewing all 181 articles
Browse latest View live