Author Archives: admin

MD5 cert

openssl x509 -noout -modulus -in .crt | openssl md5 For your RSA private key: openssl rsa -noout -modulus -in .key | openssl md5

Posted in wrk | Leave a comment

Debug autofs

sudo systemctl stop autofs ; sudo automount -f -v

Posted in wrk | Leave a comment

NFS mount : no device

mount.nfs: mount(2): No such device mount.nfs: No such device —————— depmod -av <kernel version> # modprobe nfsd # mount 10.0.0.1:/NFS/Share /mountpoint -vvv

Posted in Uncategorized | Leave a comment

HP check UEFI via iLo

1. Connect to iLO by CLI. 2. Type “dir /system1/bootconfig1” and example result is following

Posted in Uncategorized | Leave a comment

Add repo RHEL6/7/8

add Repo on Satellite to the host: then login to the host yum update yum subscpiton-manager katello-agent subscription-manager repos subscription-manager repos –enable OE_Elastic_ELK_stack_Filebeat7 sudo subscription-manager repos –enable=OE_InfluxDB_InfluxDB_RHEL7_x86_64 yum install metricbeat-7.2.1 filebeat-7.2.1  

Posted in wrk | Leave a comment

VCS common stuff

UUID /opt/VRTSvcs/bin/uuidconfig.pl -clus -configure node_a ODM cat /etc/vx/odm.config | grep START ODM_START=0 /etc/init.d/vxodm start GUI haconf -makerw hauser -add admin  -priv Administrator VCS ERROR V-16-1-11502 IV value is NULL or not dumped in memory. VCS ERROR V-16-1-11399 Failed to create user. … Continue reading

Posted in Uncategorized | Leave a comment

Rescan multipath for RW

multipath -ll | grep wp m=lvm-mdbrdb-prd-vol1 ODEVS=$( multipath -ll $m | grep “active ready running” | awk ‘{print $3}’ ) for d in $ODEVS ; do cat /sys/block/${d}/ro ; done for d in $ODEVS ; do echo 1 > /sys/block/${d}/device/rescan … Continue reading

Posted in wrk | Leave a comment

HP iLo cmd

ILO: Using Virtual Media with the Command-Line Interface ISOs may be loaded from an HTTP server using Virtual Media with the iLO command-line interface. Example: $ ssh -l ilo-admin 10.215.14.5 User:ilo-admin logged-in to ilo.(10.215.14.5) iLO Advanced 1.82 pass1 at 15:53:34 … Continue reading

Posted in wrk | Leave a comment

HP ILo reset password

nano passwd_reset_ilo.xml  <ribcl VERSION=”2.0″>   <login USER_LOGIN=”Administrator” PASSWORD=”boguspassword”>     <user_INFO MODE=”write”>      <mod_USER USER_LOGIN=”Administrator”>       <password value=”newpass”/>      </mod_USER>     </user_INFO>   </login>   </ribcl> hponcfg -f passwd_reset_ilo.xml HP Lights-Out Online Configuration utility Version 5.5.0 Date 5/30/2019 (c) 2005,2019 Hewlett Packard Enterprise Development LP Firmware Revision = 2.78 Device type = iLO 4 Driver name … Continue reading

Posted in Uncategorized | Leave a comment

Android app

Android JDK App Continue reading

Posted in wrk | Leave a comment