[Linux] How to use Memtest86+ v5.01 from PXE boot on BIOS

step01. ready Binary zip/gz file , 載點

step02. create /memtest86boot directory

step03. extract zip/gz file , then put ‘memtest86+-5.01.bin‘ into /MT folder

step04. download ‘some one custome tfptd packages environment

step05. extract MemTest86.zip , rename ‘PXE_Mem_test’ to ‘MT86’

step06. perform ‘TFTPD32’

step08.extract memtest86+ v5.01 binary zip/gz pub ‘MT’ , remove .bin extension otherwise it will NOT BOOT!

memtest86_001.jpg

step09. TFTPD32 settings > TFTP Base directory 指向 ‘%path%MT86’
memtest86_002.jpg

step10. DHCP > Boot file : pxememtest.0
memtest86_003.jpg

step11.
Let’s use hardware on BIOS environment to PXE boot + memtest86+..
Enjoy !


Reference :
* Symantec – Running Memtest86+ Using the Altiris PXE Server
* wiki.seanmadden.net – Memtest over PXEBoot
How To Setup a custom PXE Server on Windows OS

[Hardware] Server do memory run over 24H or 72H testing

說到記憶體測試大概腦中浮現 MetTest86+ ,但發現沒有Plus字樣的MemTest86它可以把過程編成一個報告(內含Vendor名稱,機器Mode name , 機器Serial Number )這個是很好作一個驗收工具且免費版即可作到唷!

PS:報告格式 " MemTest86-Report-年月日-時分秒.html "

sample如下:
memtest86-report.jpg

另外,若打算存報告的話建議是用usb boot 且製作usb boot不適用自行用rufus這類工具製作,不論是MemTest86+ 或 MemTest86 二家都有提供製作成USB開機工具.

 


1. MemTest86 – Official Site of the x86 Memory Testing Tool

2. Memtest86+ – Advanced Memory Diagnostic Tool

How to change Chrome / IE / Firefox cache directory

因安裝SSD關係才考量到cache/temporary file存放位置,

**Chrome**
C:\Usersusername\AppData\Local\GoogleChrome\Applicationchrome.exe –disk-cache-dir="d:cache" –disk-cache-size=1024

**IE**
工具 > 網際網路選項 > 設定 > 移動資料夾

**Firefox**
about:config

press > 我發誓,我一定會小心的

“New > String"

browser.cache.disk.parent_directory (D:\cache)

browser.cache.disk.enable (true)

 

Notepad ++ 類 UltraEdit 直行 – 區塊模式

UltraEdit  直行 – 區塊模式 好用之處大家都知..

但老K早已投入Notepad++找一下網路資料也是可達UltraEdit ‘直行’ – ‘區塊模式’ ( 列編輯功能 )

Workaround:

1.Alt + Mouse (ps: 先按下Alt 再滑鼠右鍵拖拉範圍)

2.Shift + Alt + Arrow keys (ps:同時按下Shift + Alt再運用上下左右鍵圈選範圍)


Reference:

1. https://hanmortw.wordpress.com/2010/09/09/notepad-%E7%9A%84%E5%88%97%E3%80%81%E5%8D%80%E5%A1%8A%E9%81%B8%E5%8F%96%E5%8A%9F%E8%83%BD/

2. http://jesse-webs.blogspot.com/2015/06/notepad-column-mode-editing.html

Cisco FI6248UP second node join cluster failure ? ‘ Error while exchanging SSH keys. Rebooting in 30 secs ‘

因更換了FI6248UP node-B RMA在想說加入cluster居然會fail又一直重開機狀況無限迴圈..

以下為一般拿到第二個node-B時,基本作法先接好
a. Node-A L1 接 Node-B L1 , Node-A L2 接 Node-B L2
b. 接上MGMT 網路線
c. 等join cluster後再接上 server port ,再來是 ethernet port / FCoE port

如下是狀況如下
——————————————————————————————————————-

Enter the configuration method. (console/gui) ? console

Installer has detected the presence of a peer Fabric interconnect. This Fabric interconnect will be added to the cluster. Continue (y/n) ? y

Enter the admin password of the peer Fabric interconnect:
Connecting to peer Fabric interconnect… done
Retrieving config from peer Fabric interconnect… done

Peer Fabric interconnect Mgmt0 IP Address: 192.168.1.1
Peer Fabric interconnect Mgmt0 IP Netmask: 255.255.255.0
Cluster IP address          :192.168.1.10

Physical Switch Mgmt0 IPv4 address : 192.168.1.2

Apply and save the configuration (select ‘no’ if you want to re-enter)? (yes/no): yes
Applying configuration. Please wait.

Error while exchanging SSH keys. Rebooting in 30 secs
Resetting board

** 原由是Node-A /dev/null 權限有可能是 600 (rw- , — , — ) **

workaround:
—————————
step01.
FI6248-A# connect local-mgmt

step02.
FI6248-A(local-mgmt)# copy tftp://client-ip-address/ucs-dplug.5.0.3.N2.2.11.3a.gbin workspace:debug_plugin/ucs-dplug.5.0.3.N2.2.11.3a.gbin

step03.
FI6248-A(local-mgmt)# cd debug_plugin/

step04.
FI6248-A(local-mgmt)# copy ucs-dplug.5.0.3.N2.2.11.3a.gbin x

step05.
FI6248-A(local-mgmt)# ls // check file list 應存在著二個檔案
FI6248-A(local-mgmt)# ls

1 2308480 Apr 22 10:00:51 2016 ucs-dplug.5.0.3.N2.2.11.3a.gbin
1 2308480 Apr 22 14:36:17 2016 x

step06. FI6248-A(local-mgmt)# load x //執行過一次即自動刪除x plug-in
###############################################################
Warning: debug-plugin is for engineering internal use only!
For security reason, plugin image has been deleted.
###############################################################
Successfully loaded debug-plugin!!!
Linux(debug)#

step07.
Linux(debug)# ls -la /dev/null
crw——-  1 root root 1, 3 Jun 27  2007 /dev/null

step08.
Linux(debug)# chmod 666 /dev/null

step09.
Linux(debug)# ls -la /dev/null
crw-rw-rw-  1 root root 1, 3 Jun 27  2007 /dev/null

step10.
Linux(debug)# exit

step11.重新再加入cluster一次
Enter the configuration method. (console/gui) ? console

Installer has detected the presence of a peer Fabric interconnect. This Fabric interconnect will be added to the cluster. Continue (y/n) ? y

Enter the admin password of the peer Fabric interconnect:
Connecting to peer Fabric interconnect… done
Retrieving config from peer Fabric interconnect… done

Peer Fabric interconnect Mgmt0 IP Address: 192.168.1.1
Peer Fabric interconnect Mgmt0 IP Netmask: 255.255.255.0
Cluster IP address          : 192.168.1.10

Physical Switch Mgmt0 IPv4 address : 192.168.1.2

Apply and save the configuration (select ‘no’ if you want to re-enter)? (yes/no): yes
Applying configuration. Please wait.

  Configuration file – Ok  <<看到OK眼淚直流…..成功了…

step11. check cluster state.
FI6248-A# sh cluster state
Cluster Id: 0x11111111111111111111111111111111111111

A: UP, PRIMARY
B: UP, SUBORDINATE

HA READY

Done.

Cisco UCSM FI6248UP manual failover

step01.
FI6248-A /system # connect local-mgmt

step02.
FI6248-A(local-mgmt)# show cluster extended-state ; show cluster state
A: UP, PRIMARY
B: UP, SUBORDINATE

step03.

FI6248# connect local-mgmt b
FI6248-A(local-mgmt)# cluster lead a // 切換a為primary角色

FI6248# connect local-mgmt a
FI6248-A(local-mgmt)# cluster lead b // 切換b為primary角色


Reference:

1. https://basraayman.com/2011/07/05/shorts-how-to-reboot-a-cisco-ucs-6100-series-fabric-interconnect/

2. https://fatmin.com/2012/05/01/cisco-ucs-failover-via-6248-cli/