add update to proxmox and synology ha cluster

This commit is contained in:
2020-02-13 16:24:48 +08:00
parent a726820c4b
commit 32dde4d676
140 changed files with 9265 additions and 1261 deletions

View File

@@ -21,9 +21,9 @@
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "2019",
"datePublished": "2019-12-27 09:09:05 \x2b0800 CST",
"dateModified" : "2019-12-27 09:09:05 \x2b0800 CST",
"copyrightYear" : "2020",
"datePublished": "2020-01-17 12:20:33 \x2b0800 CST",
"dateModified" : "2020-01-17 12:20:33 \x2b0800 CST",
"url" : "https:\/\/h.cowbay.org\/",
"wordCount" : "0",
"image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"",
@@ -46,9 +46,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1577410044" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1581582274" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1577410044" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1581582274" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@@ -116,6 +116,10 @@ if (!doNotTrack) {
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
</li>
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
<a href="/categories/%E9%9B%9C%E5%BF%B5">雜念</a>
</li>
</ul>
@@ -288,12 +292,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-1.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">12 December</span>
<span class="date">20 March</span>
@@ -307,30 +311,21 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/ "> [碎念] mdadm 超級慢的rebuild 速度 Incredibly Slow mdadm Rebuild </a>
<a href="https://h.cowbay.org/post/command_to_test_main_ssl/ "> [筆記] 測試mail server 的SSL憑證的指令 Command to test mailserver SSL </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>最近在做一台老機器的P2V</p>
<p>今天老闆出國發slack說手機不能寄信看了一下似乎是因為用GMAIL的APP來收信</p>
<p>偏偏user說不能關機所以我用dd + ssh 做線上移轉</p>
<p>然後google 不知道跟人家改了什麼,結果不接受原本的認證了&hellip; WTF &hellip;.</p>
<p>這部份有空再來寫</p>
<p>然後,這問題應該很久了,結果現在才在講 &hellip;.</p>
<p>只是因為原來的設定有用mdadm 做raid1</p>
<p>這部份導致移轉過去proxmox 後會出現raid degrade 導致無法正常開機</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/incredibly-slow-mdadm-rebuild/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/command_to_test_main_ssl/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@@ -348,12 +343,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/create-portable-vim-environment/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-12.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">07 December</span>
<span class="date">11 March</span>
@@ -375,20 +370,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/create-portable-vim-environment/ "> [筆記] 建立一個帶著走的 VIM 環境 Creating portable Vim environment </a>
<a href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/ "> Install Timeshift on Ubuntu1804 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>因為工作的關係現在很多時間都花在VIM的操作上</p>
<p>最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook</p>
<p>所以之前花了滿多時間調整出一個適合自己的VIM環境</p>
<p>因為要不斷的修正所以想到一直有在自己電腦上執行的timeshift這個軟體</p>
<p>原本的作法是把這個設定好的環境丟到自己建立的gitea 上面</p>
<p>可以很簡單快速的備份、恢復系統狀態</p>
<p>然後每到一台新的機器就要去clone 下來</p>
<p>可是不知道為什麼在ubuntu 18.04 上安裝就是會發生錯誤&hellip;.</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/create-portable-vim-environment/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-timeshift-on-ubuntu1804/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@@ -406,12 +401,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/synology-ds415-repair-cost/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">04 December</span>
<span class="date">16 January</span>
@@ -427,34 +422,22 @@ if (!doNotTrack) {
<span> / </span>
<span class="category">
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
</span>
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/synology-ds415-repair-cost/ "> [雜念] 群暉 Synology NAS DS 415&#43; 誇張的維修費用 </a>
<a href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/ "> 用DELL 6 i/R 建立RAID並在上面安裝ubuntu 18.04 </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
<p>買了一張 DELL 6/iR 低階的raid 卡</p>
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
<p>來測試把系統裝在硬體做的RAID上結果沒想到居然不能開機&hellip;</p>
<p>但是已經無法登入系統</p>
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
<p>底下的電源藍燈不斷的在閃爍</p>
<p>雖然我一再表示不希望送修了</p>
<p>一來是已經過保二來是DS415+ 本身就有intel bug三來是因為對synology的NAS 實在沒有愛&hellip;</p>
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/synology-ds415-repair-cost/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-ubuntu1804-on-dell-6ir-raid-controller/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@@ -472,12 +455,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-03.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-14.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">30 November</span>
<span class="date">16 January</span>
@@ -499,30 +482,18 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/ "> [筆記] 用 proxmox &amp; Mellanox SFP 網卡土炮 10G LAB </a>
<a href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/ "> Ubuntu 1804 Install Root on Raid </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>想做一個 10G 的 LAB 環境出來已經很久了。</p>
<p>最近在弄一台機器想要把ubuntu 18.04 安裝在software raid上</p>
<p>只是礙於10G RJ45的卡太貴了然後光纖的種類又太複雜</p>
<p>因為新開的機器大部分都是在proxmox上所以很少碰實體機器了</p>
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
<p>結果在安裝過程中做raid碰到一些問題來紀錄一下</p>
<p>所以一直沒有付諸行動。</p>
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡以在台灣的價格來說算很便宜的 (550)</p>
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
<p>今天就花了點時間測試一下</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/10g-lab-using-proxmox-and-mellanox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-1804-install-root-on-raid/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@@ -540,12 +511,12 @@ if (!doNotTrack) {
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-filter/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-11.jpg"></div></a>
<a class="featured-image-link" href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-2.jpg"></div></a>
<div class="excerpt-container">
<div class="excerpt-meta">
<span class="date">29 November</span>
<span class="date">13 December</span>
@@ -567,18 +538,20 @@ if (!doNotTrack) {
</div>
<div class='excerpt-header'>
<h2 class='excerpt-title'>
<a href="https://h.cowbay.org/post/ansible-selectattr-filter/ "> [筆記] 還是 Ansible Selectattr </a>
<a href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/ "> [筆記] Freenas Smartd 啟動失敗 Smartd Failed to Start in Freenas </a>
</h2>
</div>
<div class='excerpt-content'>
<article>
<p>在上一篇 <a href="https://h.cowbay.org/post/ansible-selectattr/">Ansible how to use &lsquo;list&rsquo; in yaml file </a></p>
<p>這兩天在弄兩台Freenas 準備當作Proxmox 的Storage &amp; Server Backup</p>
<p>有提到怎麼用 with_items / set_fact 來取得在yaml 檔案中的清單</p>
<p>因為伺服器的限制只能接六個SATA我接了六個2T的硬碟做raid10</p>
<p>不過就是有點醜</p>
<p>然後把Freenas 安裝在隨身碟上</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ansible-selectattr-filter/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
<p>不過會一直出現Smartd failed to start 的錯誤訊息</p>
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/smartd-failed-to-start-in-freenas/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
</article>
</div>
</div>
@@ -699,7 +672,18 @@ if (!doNotTrack) {
<a class="page-numbers" href="/page/10/">10</a>
<span aria-current="page" class="page-numbers current">10</span>
<a class="page-numbers" href="/page/11/">11</a>
@@ -843,7 +827,7 @@ if (!doNotTrack) {
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1577410044"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1581582274"></script>
</body>
</html>