20170630_jeffrey - silenceuncrio/diary GitHub Wiki

0850

Morris 已確定了 安富利 提供的 i.MX 6UltraLite CPU board with eMMC 在 零下 40 度的表現

eMMC 的工作項目正式啟動

0910

參考一下 pepwave 的 user manual 的 VRRP

當作我們接下來要實作的 VRRP 的 參考

pepwave 的 manual 的 VRRP 部分寫得比 RobustelMOXA 詳細

pepwave 相對有特色的 VRRP 設定如下

  • Resume Master Role Upon Recovery
    • This option is displayed when Master mode is selected in Preferred Role.
    • If this option is enabled, once the device has recovered from an outage, it will take over and resume its Master role from the slave unit.
  • Configuration Sync.
    • This option is displayed when Slave mode is selected in Preferred Role.
    • If this option is enabled and the Master Serial Number entered matches with the actual master unit's, the master unit will automatically transfer the configuration to this unit.
    • Please make sure the LAN IP Address and the Subnet Mask fields are set correctly in the LAN settings page.
    • You can refer to the Event Log for the configuration synchronization status.

而且還會顯示出目前 LAN Administration IPSubnet Mask 提供使用者設定 Virtual IP 的參考

1130

M300 週會

  • VRRP 在 enable/disable 的時候要重新啟動 lan 端的 DHCP Server
    • 配合 VRRP Virtual Server 的設定去套到 DHCP Server 的 default gateway
  • eMMC 的工作項目正式啟動

順手 update 一下 VRRP Proposal

加個項目 描述一下 VRRPDHCP Server 功能共存的問題

再提供一下預計實作的 solution

至少這是在 MOXA, Robustelpepwave 手冊裡都沒提到的部分

希望這是對 Proscend 產品有加分的地方

1315

因為 FirmwareUpgrade.shFirmwareProgress.sh 都會去寫 /tmp/FirmwareUpgrade.progress.json

已經參考 aaron 的 icos_snmp.sh

其中 lock_wait() 的做法來解決同步的問題

上 code

commit b1eb4c696985280697a43dd0e69482ce0bf93f73                                                        
Refs: [develop], {origin/develop}                                                                      
Author: jeffrey <[email protected]>                                                                 
Date:   Fri Jun 30 13:17:24 2017 +0800                                                                 

    Synchronize the access of the same file between different shell script

 proscend/prosrc/icos/script/FirmwareProgress.sh | 18 ++++++++++++++++++                               
 proscend/prosrc/icos/script/FirmwareUpgrade.sh  | 22 ++++++++++++++++++++++                           
 2 files changed, 40 insertions(+)

1415

monkeyjj time

1720

下班前來寫一下周報