Errors in NTP Auth configuration using autokey

During latest leap second test activities, I was tinkering with my test NTP server and I encountered an error: "RAND_load_file /root/.rnd not found or empty"

There is not much help on internet. You just need to seed with the following command:
dd if=/dev/urandom of=/root/.rnd bs=512 count=1

And if you have an error: "crypto_setup: random seed file not found error:"
Add “crypto randfile /dev/urandom” entry to /etc/ntp.conf without the quotes.

For details: http://support.ntp.org/bin/view/Support/ConfiguringAutokey

HP Smart Array B140i SATA RAID controller OS boot problem

Recently I installed VMware ESXi on a HP DL160 Gen9 server and couldn’t boot afterwards. After a short investigation I found out that the default configuration of the controller prevents booting. The controller should be configured and enabled to support SATA AHCI mode. Actually it is necessary to configure it for all servers carrying HP Smart Array B110i, B120i, B140i and B320i RAID controllers.

To do that:

1) In BIOS/UEFI, go into “System Options”
2) Go to SATA Controller Options -> Embedded SATA Configuration
3) Select “Enable SATA AHCI Support”

For a similar case in RedHat: http://access.redhat.com/articles/118133

WWN / MAC Formatter

Since I first dealt with SANs and WWNs years ago, I thought there should be a more practical way to edit WWNs, most of the time to add colons between characters. I could not find an online tool to do this. One can and possibly does use a little more advanced text editor to do block editing or some custom scripting to do this task. I wanted to make it easier and also share with others so I decided to build a php tool here. With adding some features and extending the idea to MACs, this came out:

WWN/MAC Formatter

I hope it helps other system administrators.

Exporting images from headers or footers in Excel 2007 and 2010

If you don’t have the original file of an image used in a Excel file header or footer and you need it, here is a solution: All Office 2007, 2010… files are actually zipped files. If you have an older version, Excel 97-2003 (.xls), just save it as Excel 2007-2010 workbook (with extension .xlsx). Just renaming does not work. If you open .xlsx file with a program that can open .zip (7Zip, WinRAR or WinZip) you will see some folders. The files you are looking for are in folder “xl\media” and you can easily extract them from there. You may copy the file and work on the copy if you want to be on the safe side.

Installing VMware ESXi on IBM Lenovo x240 M5 with SD Media Adapter and SD Cards

Last week I installed VMware ESXi 6.0U1B on some (formerly IBM) Lenovo x240 M5 Compute Nodes in Flex System Chassis. The case was special because the nodes contain only SD cards and SD Media Adapters instead of SAS hard drives and standard RAID controllers. There are no interface other than IMM CLI of the node to configure this SD Media Adapter to build a RAID array. You should first connect to IMM of the node with SSH. Then you can get the initial information about your SD RAID and cards with these commands:

system> sdraid
SD Media Adapter for System x
Hardware Revision = 4.3
Firmware Version = 1.3.2.171
Serial Number = 58WXYZ
FRU Number = 00JY0XX
Mode = Operational
SDCard1
Status = Healthy
Capacity = 30436 MBytes
FRU Number = 00MLXYZ
SDCard2
Status = Healthy
Capacity = 30436 MBytes
FRU Number = 00MLXYZ

system> sdraid -driveList
SDCard 1
Index LUN Name Type Size(MB) Owner Access Removable
SDCard 2
Index LUN Name Type Size(MB) Owner Access Removable
ok

system> sdraid -getFreeSpaceInfo

I have two 32 GB SD cards which I intend to build a mirror RAID-1 array with. I switched to config mode, created the drive and switched back to operational mode with these commands:

system> sdraid -setMode Configuration -now
system> sdraid -create -driveName ESXiLocalDS -target mirror -sizeMB 30436 -removable 1 -owner system -systemReadOnly 0 -LUN 0
system> sdraid -setMode Operational -now

After these BIOS should be configured to boot from this drive:

Boot Manager > Add Boot Option > Generic Boot Option > Embedded Hypervisor
Boot Manager > Change Boot Order > move "Embedded Hypervisor" to the top
System Settings > Devices and I/O Ports > PCI 64-Bit Resource > Disabled
System Settings > Devices and I/O Ports > MM Config Base > 3 GB

When you save your changes and exit BIOS, you will be able to start ESXi installation aware of the SD card drive.

For reference: http://public.dhe.ibm.com/systems/support/system_x_pdf/dw2abms3.pdf

My website uses cookies. Click for more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close