DELL PowerEdgeのfirmware周りをアップデートできるDELL System Update(dsu)はlibssl1.0.0を必要とするのだが、Ubuntu 20.04の標準レポジトリには含まれていない。このため、実行すると下記のエラーが表示される。
root@ubuntu:~# dsu
dsu: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
root@ubuntu:~#
root@ubuntu:~# chmod a+x /usr/local/src/Systems-Management_Application_5C2CW_LN64_1.9.2.0_A00.BIN
root@ubuntu:~# /usr/local/src/Systems-Management_Application_5C2CW_LN64_1.9.2.0_A00.BIN
Collecting inventory...
.
Running validation...
DELL System Update
No version of this Update Package is currently installed.
Software application name: DSU
Package version: 1.9.2.0
Continue? Y/N:y
Executing update...
WARNING: DO NOT STOP THIS PROCESS OR INSTALL OTHER PRODUCTS WHILE UPDATE IS IN PROGRESS.
THESE ACTIONS MAY CAUSE YOUR SYSTEM TO BECOME UNSTABLE!
.
DELL EMC System Update installed successfully.
The update completed successfully.
root@ubuntu:~#
root@ubuntu:~# dsu
DELL EMC System Update 1.9.2.0
Copyright (C) 2014 -- 2021 DELL EMC Proprietary.
Do you want to import public key(s) on the system (Y/N)? : y
Import Public Key(s)
Importing key 1019CED6 is successful
Importing key 23B66A9D is successful
Importing key 34D8786F is successful
Importing key 46770C59 is successful
Downloading the Index catalog
Extracting /usr/libexec/dell_dup/CatalogIndex.gz
Reading the Index catalog
Downloading the catalog
Extracting /usr/libexec/dell_dup/Catalog.gz
Reading the catalog ...
Fetching invcol_8YPK7_LN64_21_12_200_1196_A00 ...
Verifying inventory collector installation
Trying to connect using https
Fetching invcol_8YPK7_LN64_21_12_200_1196_A00.BIN ...
Getting System Inventory ...
Determining Applicable Updates ...
|--------DELL EMC System Update-----------|
[ ] represents 'not selected'
[*] represents 'selected'
[-] represents 'Component already at repository version (can be selected only if -e option is used)'
Choose: q - Quit without update, c to Commit, <number> - To Select/Deselect, a - Select All, n - Select None
[-]1 BIOS
Current Version : 1.3.8 Same as : 1.3.8, Criticality : Recommended, Type : BIOS
[ ]2 SEP Firmware, BayID: 1
Current Version : 3.56 Upgrade to : 3.57, Criticality : Optional, Type : Firmware
[-]3 Firmware for - Disk 0 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[-]4 Firmware for - Disk 1 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[-]5 Firmware for - Disk 2 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[-]6 Firmware for - Disk 3 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[ ]7 PERC H755 Front Controller 0 Firmware
Current Version : 52.16.1-4074 Upgrade to : 52.16.1-4158, Criticality : Urgent, Type : Firmware
[-]8 NetXtreme BCM5720 Gigabit Ethernet PCIe (eno8403)
Current Version : 21.81.3 Same as : 21.81.3, Criticality : Optional, Type : Firmware
[-]9 NetXtreme BCM5720 Gigabit Ethernet PCIe (eno8303)
Current Version : 21.81.3 Same as : 21.81.3, Criticality : Optional, Type : Firmware
[-]10 Intel(R) Ethernet 10G 2P X710-T2L-t OCP
Current Version : 20.5.13 Same as : 20.5.13, Criticality : Recommended, Type : Firmware
[-]11 Intel(R) Ethernet Network Adapter X710-TL
Current Version : 20.5.13 Same as : 20.5.13, Criticality : Recommended, Type : Firmware
[-]12 Intel(R) Ethernet 10G 2P X710-T2L-t Adapter
Current Version : 20.5.13 Same as : 20.5.13, Criticality : Recommended, Type : Firmware
[ ]13 iDRAC
Current Version : 5.00.10.10 Upgrade to : 5.00.20.00, Criticality : Recommended, Type : Firmware
[ ]14 NVMePCISSD Model Number: Dell Ent NVMe v2 AGN MU U.2 3.2TB
Current Version : 2.0.0 Upgrade to : 2.2.0, Criticality : Recommended, Type : Firmware
[-]15 Dell 64 Bit uEFI Diagnostics, version 4301, 4301A61, 4301.62
Current Version : 4301A61 Same as : 4301A61, Criticality : Optional, Type : Application
[-]16 Dell OS Driver Pack, 21.07.07, A00
Current Version : 21.07.07 Same as : 21.07.07, Criticality : Optional, Type : Application
[-]17 Dell EMC iDRAC Service Module Embedded Package v4.1.0.0, A00
Current Version : 4.1.0.0 Same as : 4.1.0.0, Criticality : Recommended, Type : Application
Enter your choice :
firmwareの現状が表示されて、選択肢入力となります。
基本的には必要なもの全てに適用するため「a」を入力します。
Enter your choice : a
|--------DELL EMC System Update-----------|
[ ] represents 'not selected'
[*] represents 'selected'
[-] represents 'Component already at repository version (can be selected only if -e option is used)'
Choose: q - Quit without update, c to Commit, <number> - To Select/Deselect, a - Select All, n - Select None
[-]1 BIOS
Current Version : 1.3.8 Same as : 1.3.8, Criticality : Recommended, Type : BIOS
[*]2 SEP Firmware, BayID: 1
Current Version : 3.56 Upgrade to : 3.57, Criticality : Optional, Type : Firmware
[-]3 Firmware for - Disk 0 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[-]4 Firmware for - Disk 1 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[-]5 Firmware for - Disk 2 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[-]6 Firmware for - Disk 3 of PERC H755 Front Controller 0
Current Version : BA08 Same as : BA08, Criticality : Recommended, Type : Firmware
[*]7 PERC H755 Front Controller 0 Firmware
Current Version : 52.16.1-4074 Upgrade to : 52.16.1-4158, Criticality : Urgent, Type : Firmware
[-]8 NetXtreme BCM5720 Gigabit Ethernet PCIe (eno8403)
Current Version : 21.81.3 Same as : 21.81.3, Criticality : Optional, Type : Firmware
[-]9 NetXtreme BCM5720 Gigabit Ethernet PCIe (eno8303)
Current Version : 21.81.3 Same as : 21.81.3, Criticality : Optional, Type : Firmware
[-]10 Intel(R) Ethernet 10G 2P X710-T2L-t OCP
Current Version : 20.5.13 Same as : 20.5.13, Criticality : Recommended, Type : Firmware
[-]11 Intel(R) Ethernet Network Adapter X710-TL
Current Version : 20.5.13 Same as : 20.5.13, Criticality : Recommended, Type : Firmware
[-]12 Intel(R) Ethernet 10G 2P X710-T2L-t Adapter
Current Version : 20.5.13 Same as : 20.5.13, Criticality : Recommended, Type : Firmware
[*]13 iDRAC
Current Version : 5.00.10.10 Upgrade to : 5.00.20.00, Criticality : Recommended, Type : Firmware
[*]14 NVMePCISSD Model Number: Dell Ent NVMe v2 AGN MU U.2 3.2TB
Current Version : 2.0.0 Upgrade to : 2.2.0, Criticality : Recommended, Type : Firmware
[-]15 Dell 64 Bit uEFI Diagnostics, version 4301, 4301A61, 4301.62
Current Version : 4301A61 Same as : 4301A61, Criticality : Optional, Type : Application
[-]16 Dell OS Driver Pack, 21.07.07, A00
Current Version : 21.07.07 Same as : 21.07.07, Criticality : Optional, Type : Application
[-]17 Dell EMC iDRAC Service Module Embedded Package v4.1.0.0, A00
Current Version : 4.1.0.0 Same as : 4.1.0.0, Criticality : Recommended, Type : Application
Enter your choice :
そうするとインストールが必要なものについては「[*]」という表示に変わります。
インストールするものを選択したら「c」と入力し、ダウンロードと適用を開始します。
Enter your choice : c
Trying to connect using https
Fetching iDRAC-with-Lifecycle-Controller_Firmware_19C2M_LN64_5.00.20.00_A00 ...
Trying to connect using https
Fetching iDRAC-with-Lifecycle-Controller_Firmware_19C2M_LN64_5.00.20.00_A00.BIN ...
Trying to connect using https
Fetching SAS-RAID_Firmware_6MTTK_LN64_52.16.1-4158_A05_01 ...
Trying to connect using https
Fetching SAS-RAID_Firmware_6MTTK_LN64_52.16.1-4158_A05_01.BIN ...
Trying to connect using https
Fetching Express-Flash-PCIe-SSD_Firmware_FJK0C_LN64_2.2.0_A01 ...
Trying to connect using https
Fetching Express-Flash-PCIe-SSD_Firmware_FJK0C_LN64_2.2.0_A01.BIN ...
Trying to connect using https
Fetching Firmware_TKKM5_LN64_3.57_A00 ...
Trying to connect using https
Fetching Firmware_TKKM5_LN64_3.57_A00.BIN ...
Installing iDRAC-with-Lifecycle-Controller_Firmware_19C2M_LN64_5.00.20.00_A00
Installed successfully
Installing SAS-RAID_Firmware_6MTTK_LN64_52.16.1-4158_A05_01
Installed successfully
Installing Express-Flash-PCIe-SSD_Firmware_FJK0C_LN64_2.2.0_A01
Installed successfully
Installing Firmware_TKKM5_LN64_3.57_A00
Installed successfully
Please restart the system for successful update(s) to take effect
Done! Please run 'dsu --inventory' to check the inventory
Exiting DSU!
root@ubuntu:~#
1.5. 再起動
firmwareは再起動時に適用されるため、再起動します。
1.6. 確認
root@ubuntu:~# dsu --inventory
DELL EMC System Update 1.9.2.0
Copyright (C) 2014 -- 2021 DELL EMC Proprietary.
Downloading the Index catalog
Extracting /usr/libexec/dell_dup/CatalogIndex.gz
Reading the Index catalog
Downloading the catalog
Extracting /usr/libexec/dell_dup/Catalog.gz
Reading the catalog ...
Verifying inventory collector installation
Trying to connect using https
Fetching invcol_8YPK7_LN64_21_12_200_1196_A00.BIN ...
Getting System Inventory ...
1. BIOS, BIOS ( Version : 1.3.8 )
2. FRMW, Power Supply ( Version : 00.2A.2A )
3. FRMW, Power Supply ( Version : 00.2A.2A )
4. FRMW, SEP Firmware, BayID: 1 ( Version : 3.57 )
5. FRMW, Firmware for - Disk 0 of PERC H755 Front Controller 0 ( Version : BA08 )
6. FRMW, Firmware for - Disk 1 of PERC H755 Front Controller 0 ( Version : BA08 )
7. FRMW, Firmware for - Disk 2 of PERC H755 Front Controller 0 ( Version : BA08 )
8. FRMW, Firmware for - Disk 3 of PERC H755 Front Controller 0 ( Version : BA08 )
9. FRMW, PERC H755 Front Controller 0 Firmware ( Version : 52.16.1-4074 )
10. FRMW, NetXtreme BCM5720 Gigabit Ethernet PCIe (eno8403) ( Version : 21.81.3 )
11. FRMW, NetXtreme BCM5720 Gigabit Ethernet PCIe (eno8303) ( Version : 21.81.3 )
12. FRMW, Intel(R) Ethernet 10G 2P X710-T2L-t OCP ( Version : 20.5.13 )
13. FRMW, Intel(R) Ethernet Network Adapter X710-TL ( Version : 20.5.13 )
14. FRMW, Intel(R) Ethernet 10G 2P X710-T2L-t Adapter ( Version : 20.5.13 )
15. FRMW, Intel(R) Ethernet Network Adapter X710-TL ( Version : 20.5.13 )
16. FRMW, iDRAC ( Version : 5.00.20.00 )
17. FRMW, NVMePCISSD Model Number: Dell Ent NVMe v2 AGN MU U.2 3.2TB ( Version : 2.2.0 )
18. FRMW, NVMePCISSD Model Number: Dell Ent NVMe v2 AGN MU U.2 3.2TB ( Version : 2.2.0 )
19. APAC, Lifecycle Controller ( Version : 5.00.20.00 )
20. APAC, Dell 64 Bit uEFI Diagnostics, version 4301, 4301A61, 4301.62 ( Version : 4301A61 )
21. APAC, Dell OS Driver Pack, 21.07.07, A00 ( Version : 21.07.07 )
22. APAC, Dell EMC iDRAC Service Module Embedded Package v4.1.0.0, A00 ( Version : 4.1.0.0 )
23. FRMW, System CPLD ( Version : 1.0.5 )
Progress report is available at:/usr/libexec/dell_dup/DSU_STATUS.json
Exiting DSU!
root@ubuntu:~#
2. ドライバインストール
上記のDSUで「Dell OS Driver Pack」が導入されているのだが、バージョンが最新ではないことの方が多いようだ。
root@ubuntu:~# chmod a+x /usr/local/src/Drivers-for-OS-Deployment_Application_CF52W_LN_21.10.02_A00.BIN
root@ubuntu:~# /usr/local/src/Drivers-for-OS-Deployment_Application_CF52W_LN_21.10.02_A00.BIN
Collecting inventory...
....................................................
Running validation...
Dell OS Driver Pack, 21.07.07, A00
The version of this Update Package is newer than the currently installed version.
Software application name: Dell OS Driver Pack, 21.07.07, A00
Package version: 21.10.02
Installed version: 21.07.07
Continue? Y/N:y
Executing update...
WARNING: DO NOT STOP THIS PROCESS OR INSTALL OTHER PRODUCTS WHILE UPDATE IS IN PROGRESS.
THESE ACTIONS MAY CAUSE YOUR SYSTEM TO BECOME UNSTABLE!
..............................................................................................................................................................................
Update Success
The update completed successfully.
root@ubuntu:~#
[root@adserver ~]# tar xfz samba-4.9.4.tar.gz
[root@adserver ~]# cd samba-4.9.4/
[root@adserver samba-4.9.4]# ./configure
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
<略>
Checking if compiler accepts -fstack-protector : no
Checking if compiler accepts -fstack-clash-protection : yes
'configure' finished successfully (1m24.346s)
[root@adserver samba-4.9.4]#
また、セットアップ中、「Merge the contents of this file with your system krb5.conf or replace it with this one. Do not create a symlink!」とメッセージが出ますが、これは、この手順で自動生成されたkrb5.confをシステムのもつkrb5.confと統合しろ、というお知らせです。後の手順で対処します。
[root@adserver samba-4.9.4]# /usr/local/samba/bin/samba-tool domain provision --use-rfc2307 --interactive
Realm [example.com]: ADOSAKANA.LOCAL
Domain [ADOSAKANA]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding) [172.30.50.100]: 172.30.50.100
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs
Adding DomainDN: DC=adosakana,DC=local
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers and extended rights
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=adosakana,DC=local
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba AD has been generated at /usr/local/samba/private/krb5.conf
Merge the contents of this file with your system krb5.conf or replace it with this one. Do not create a symlink!
Setting up fake yp server settings
Once the above files are installed, your Samba AD server will be ready to use
Server Role: active directory domain controller
Hostname: wk70
NetBIOS Domain: ADOSAKANA
DNS Domain: adosakana.local
DOMAIN SID: S-1-5-21-3471449246-245784766-327389652
[root@adserver samba-4.9.4]#
[root@adserver samba-4.9.4]# kinit administrator@ADOSAKANA.LOCAL
Password for administrator@ADOSAKANA.LOCAL:
Warning: Your password will expire in 41 days on 2019年02月08日 14時13分15秒
[root@adserver samba-4.9.4]#
[root@adserver samba-4.9.4]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@ADOSAKANA.LOCAL
Valid starting Expires Service principal
2018-12-28T14:26:25 2018-12-29T00:26:25 krbtgt/ADOSAKANA.LOCAL@ADOSAKANA.LOCAL
renew until 2018-12-29T14:26:22
[root@adserver samba-4.9.4]#
なお、ドメイン名指定の大文字/小文字を間違えると下記の様なエラーとなります。
[root@adserver ~]# kinit administrator@adosakana.local
Password for administrator@adosakana.local:
kinit: KDC reply did not match expectations while getting initial credentials
[root@adserver ~]#
DNSサーバ指定が誤っている場合は下記の様なエラーです。
[root@adserver ~]# kinit administrator@ADOSAKANA.LOCAL
kinit: Cannot resolve servers for KDC in realm "ADOSAKANA.LOCAL" while getting initial credentials
[root@adserver ~]#
[root@adserver samba-4.9.4]# /usr/local/samba/bin/samba-tool domain level show
Domain and forest function level for domain 'DC=adosakana,DC=local'
Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2008 R2
Lowest function level of a DC: (Windows) 2008 R2
[root@adserver samba-4.9.4]#
今回のプラグインはOSMC用ということなので、OSMCのSDカードイメージで起動してみる・・・が・・・「Install failed: can’t mount root」というエラー。
SDカード内にある「install.log」にログがある、というので確認してみると・・・
Thu Jan 1 00:00:07 1970 Starting OSMC installer
Thu Jan 1 00:00:13 1970 Detecting device we are running on
Thu Jan 1 00:00:13 1970 Mounting boot filesystem
Thu Jan 1 00:00:13 1970 Trying to mount to MNT_BOOT (/mnt/boot)
Thu Jan 1 00:00:13 1970 Using device-&amp;gt;boot: /dev/mmcblk0p1 and FS: fat32
Thu Jan 1 00:00:13 1970 No preseed file was found
Thu Jan 1 00:00:13 1970 Creating root partition
Thu Jan 1 00:00:13 1970 From a root partition of /dev/mmcblk0p2, I have deduced a base device of /dev/mmcblk0
Thu Jan 1 00:00:10 1970 Determined 255 MB as end of first partition
Thu Jan 1 00:00:10 1970 Calling mkpart for device: /dev/mmcblk0 and fs: ext4 with start 257M and end 100%
Thu Jan 1 00:00:11 1970 Calling fmtpart for partition /dev/mmcblk0p2 and fstype ext4
Thu Jan 1 00:01:23 1970 Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=2 blocks, Stripe width=1024 blocks
969136 inodes, 3869440 blocks
193472 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=3963617280
119 block groups
32768 blocks per group, 32768 fragments per group
8144 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: 0/119 done
Writing inode tables: 0/119 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/119 2/119 4/119 6/119 50/119 done
Thu Jan 1 00:01:23 1970 Mounting root
Thu Jan 1 00:01:23 1970 Trying to mount to MNT_ROOT (/mnt/root)
Thu Jan 1 00:01:23 1970 Using device-&amp;gt;root: /dev/mmcblk0p2
Thu Jan 1 00:01:23 1970 Error occured trying to mount root of /dev/mmcblk0p2
Thu Jan 1 00:01:23 1970 Halting Install. Error message was: can't mount root