add update to proxmox and synology ha cluster
This commit is contained in:
@@ -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/transfer-file-content-using-xclip-in-terminal/"><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/ansible-run-task-depends-on-ipaddr/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">17 May</span>
|
||||
<span class="date">23 July</span>
|
||||
|
||||
|
||||
|
||||
@@ -309,26 +313,26 @@ if (!doNotTrack) {
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/linux">linux</a>
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/ "> Transfer File Content Using Xclip in Terminal </a>
|
||||
<a href="https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/ "> [ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>工作上常會需要用ssh登入遠端主機檢查LOG,有必要的時候,還要把log複製回本機來處理。</p>
|
||||
<p>因為工作上的需要,要修改client端的 /etc/environment 檔案</p>
|
||||
|
||||
<p>以前都是傻傻的用 scp 傳檔案</p>
|
||||
<p>在有權限使用proxy 服務的user的環境中,加入proxy 的設定</p>
|
||||
|
||||
<p>之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行</p>
|
||||
<p>原本的清單中,有host/user/ip 這幾個值可以拿來判斷</p>
|
||||
|
||||
<p>早上研究了一下,順便做個筆記。</p>
|
||||
<p>proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-file-content-using-xclip-in-terminal/">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/ansible-run-task-depends-on-ipaddr/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -346,12 +350,12 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-10.jpg"></div></a>
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-7.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">23 April</span>
|
||||
<span class="date">01 July</span>
|
||||
|
||||
|
||||
|
||||
@@ -367,28 +371,24 @@ if (!doNotTrack) {
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
<a href="/categories/ansible">Ansible</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/ "> [筆記] inxi 蒐集詳盡的硬體資訊 / inxi Collect Detail Hardware Info </a>
|
||||
<a href="https://h.cowbay.org/post/ansible-selectattr-from-list-in-dictionary/ "> [ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近因為一直碰到硬碟故障的問題,算起來那一批同時購買的5X顆 seagate 2T硬碟,已經有一半以上故障返修了….</p>
|
||||
<p>在ansible中,關於如何引用自定義的變數,一直讓我很頭疼</p>
|
||||
|
||||
<p>然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著</p>
|
||||
<p>尤其是有牽涉到從外部導入yaml檔案時,更是常常讓我不知道到底該怎麼抓出想要的變數</p>
|
||||
|
||||
<p>所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!</p>
|
||||
<p>這次還是用selectattr 來處理,希望下次能夠記得…</p>
|
||||
|
||||
<p>也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了</p>
|
||||
|
||||
<p>然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/inx-collect-detail-hardware-info/">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/ansible-selectattr-from-list-in-dictionary/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -406,12 +406,12 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/log-all-bash-commands/"><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/remote-management-system-meshcentral/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-5.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">23 April</span>
|
||||
<span class="date">20 June</span>
|
||||
|
||||
|
||||
|
||||
@@ -433,20 +433,22 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/log-all-bash-commands/ "> [筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp </a>
|
||||
<a href="https://h.cowbay.org/post/remote-management-system-meshcentral/ "> linux底下遠端遙控&管理的好用系統 Meshcentral / Remote Management & control system Meshcentral </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
||||
<p>之前在LAN/windows環境下,一直都是用ultravnc/winvnc/tigervnc之類的VNC軟體</p>
|
||||
|
||||
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
||||
<p>但是如果要過 internet ,就會碰到各種開port的問題</p>
|
||||
|
||||
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
||||
<p>在這種環境下,就有了當時 teamviewer 的橫空出世</p>
|
||||
|
||||
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
||||
<p>解決了開PORT的問題,讓被控端(通常是資訊技術相對弱勢,需要接受幫助的一方)不需要懂太多</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/log-all-bash-commands/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
<p>只要下載teamviewer被控端,開啟後報ID 給協助者就好了</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/remote-management-system-meshcentral/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -464,12 +466,12 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/"><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/install-asus-10g-nic-in-proxmox/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-13.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">01 April</span>
|
||||
<span class="date">17 June</span>
|
||||
|
||||
|
||||
|
||||
@@ -485,24 +487,30 @@ if (!doNotTrack) {
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
<a href="/categories/proxmox">Proxmox</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/ "> [筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup </a>
|
||||
<a href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/ "> Install Asus 10G NIC XG-C100C in Proxmox </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||
<p>前幾天接的一個case</p>
|
||||
|
||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||
<p>因為費用的關係,所以沒有考慮用傳統定義上的伺服器(DELL R640)</p>
|
||||
|
||||
<p>可是一直出現device busy的錯誤訊息</p>
|
||||
<p>改採用比較高階一點的洋垃圾,規格大概是 Intel E5-2680V2 x2 + 64G RAM + 128G SSD x2 (OS) + 960G SSD x4 (raid 10 , zfs)</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/fix-zpool-device-busy-using-dmsetup/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
<p>storage 選擇QNAP NAS TS-932X + 960G SSD x 4 (raid 10 , NFS) + QNAP 10G Switch QSW-1280C-8C</p>
|
||||
|
||||
<p>既然storage這邊選用了10G的機種,伺服器上當然也要增加10G網卡</p>
|
||||
|
||||
<p>一樣,成本考量,就不用INTEL 了,買了這張 ASUS 10G 網卡</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/install-asus-10g-nic-in-proxmox/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -520,12 +528,12 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/transfer-cent62-using-rsync/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-9.jpg"></div></a>
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/change-timezone-in-docker/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-3.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">27 March</span>
|
||||
<span class="date">21 May</span>
|
||||
|
||||
|
||||
|
||||
@@ -547,16 +555,16 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/transfer-cent62-using-rsync/ "> [筆記] 用rsync 移轉 centos 6.2的老機器 Transfer Cent6.2 using rsync </a>
|
||||
<a href="https://h.cowbay.org/post/change-timezone-in-docker/ "> [筆記] 修改 docker 容器內的時區 - Change Timezone in Docker </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。</p>
|
||||
<p>最近一直在玩一些docker,不過老是會碰到歪果扔寫的東西,時區都不一致</p>
|
||||
|
||||
<p>看起來不難搞,事實上…..</p>
|
||||
<p>有的用 UTC,有的用localtime,就是沒碰到用 Asia/Taipei 的….</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/transfer-cent62-using-rsync/">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/change-timezone-in-docker/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -679,7 +687,16 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="page-numbers" href="/page/10/">10</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="page-numbers" href="/page/11/">11</a>
|
||||
|
||||
|
||||
|
||||
@@ -823,7 +840,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>
|
||||
|
||||
Reference in New Issue
Block a user