I’m using Insomnia for testing and after already getting the auth token I use that in Insomnia as follows: The URL I used for the query was: The word device in there does not need to be changed by the ID field that follows it should be changed to the UUID of your device. You… Read more »
To blink the light on a hard disk on Dell Server from the command line first get a list of the physical disks so you can check the disk ID: omreport storage pdisk controller=0 then to blink the disk: omconfig storage pdisk action=blink controller=0 pdisk=0:0:2
Newer iDRAC web interfaces show the physical and virtual disks on a PERC controller but for older servers with an old iDRAC use openmanage on the command-line. To view a list of the physical disks: omreport storage pdisk controller=0 To view a list of the virtual disks: omreport storage vdisk controller=0 To check which physical… Read more »
On an EC2 instance with an EBS volume of 200GB I right-clicked the volume and chose to ‘Modify Volume’, then set a new size for the disk. On the OS (RHEL 7.6) you can check that the new size of the disk is visible with: fdisk -l lsblk Then increase the partition with: growpart /dev/nvme0n1… Read more »
On a server where normal reboot commands such as ‘shutdown -r now’ are not working and if you don’t have access to an iDrac or similar the following worked: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger
Requirement was to run a process on a server on a new port but the original port was hard-coded into the client so we needed to redirect all traffic bound for the original port to the new port. First check the IP Forwarding is enabled. sysctl net.ipv4.ip_forward if IP forwarding is not enabled then: echo… Read more »
Had difficulty accessing an old iDRAC 6 interface with a more recent release of a web browser. Some of the drac interface shows but you get 404 error messages. The solution was accessing it via the compatability mode on IE: Then add the address of the iDRAC interface:
I wanted to watch a PluralSight course while on a flight without internet access. This might well be against the PluralSight terms and conditions so I don’t recommend doing this. I used a recent version of youtube-dl and used a recent version of python via conda: conda create -n python37 python=3.7 anaconda conda env listconda… Read more »
Hashicorp Vault supports several backends for secret storage. I was creating a test Vault to play with PKI certificate generation and started with installing Zookeeper After download the Vault binary and extracting it to /usr/local/sbin/vault, I created a config file at /etc/vault/config.hcl vi /etc/vault/config.hcl storage “zookeeper” { address = “127.0.0.1:2181” path = “vault/” }listener “tcp”… Read more »