PIXNET Logo登入

No Money No Honey

跳到主文

Just Another Beginning

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 9月 08 週二 202014:10
  • ESXi Server線上升級

參考網址:https://medium.com/@jackyu/%E5%8D%87%E7%B4%9A-esxi-6-5-%E5%88%B0-esxi-6-7-613e39d6dccbSSH連入打開防火牆esxcli network firewall ruleset set -e true -r httpClient撈一下線上可更新列表(查詢6.7版)
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7
(繼續閱讀...)
文章標籤

NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(149)

  • 個人分類:電腦虛擬化技術
▲top
  • 12月 18 週三 201914:59
  • [教學] 降級 VMware 虛擬機器的 Hardware compatibility 的 Level

出處 https://blog.hy31.net/2014/12/vmware-hardware-compatibility-level.html[教學] 降級 VMware 虛擬機器的 Hardware compatibility 的 Level
起因:目前VMware的軟體的版本很多,然後用新版軟體所產生的VMDK又會不能給舊版使用EX:在 VMware Workstation 9、10所產生的VMDK是無法在 ESXI 5.1正常使用的所以,以下是教你怎麼把現有新版的產生出相容舊版的使用目前現有VMDK是相容 Workstation 10 版本clip_image002在你要用的機器按右鍵,選擇Manage,然後Change Hardware Compatibility
(繼續閱讀...)
文章標籤

NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(1,013)

  • 個人分類:電腦虛擬化技術
▲top
  • 3月 21 週四 201911:26
  • ESXi 6.7 host UTC 本機時區非UTC+8問題

用SSH連入ESXi Server輸入date指令,你會發現時間跟vSphere Client的時間不一致,原因是UTC問題,詳細可以看這篇
https://blog.51cto.com/jdonghong/1957118
先在本機電腦建立下面檔案,用WinSCP連入ESXi Server,把檔案放在ESXi Server的localdisk內
建立smtp.xml檔案(開放STMP 25讓ghettoVCB備份程式可以發信通知結果)
=====================================
<!-- E-MAIL SMTP -->  
<ConfigRoot> 
   <service id='1000'> 
     <id>SMTP</id> 
     <rule> 
       <direction>outbound</direction> 
       <protocol>tcp</protocol> 
       <porttype>dst</porttype> 
       <port>25</port> 
     </rule> 
     <enabled>true</enabled> 
     <required>false</required> 
   </service> 
</ConfigRoot> 
=====================================
(繼續閱讀...)
文章標籤

NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(3,887)

  • 個人分類:電腦虛擬化技術
▲top
  • 12月 17 週一 201814:41
  • ESXi6.7無法安裝vib與使用ghettoVCB備份可能的原因

應該都跟新主機板BIOS上的  Secure Boot 功能開啟後有關,限制了系統更改一些設定的權限,導致無法設定一些東西,進BIOS關掉 Secure Boot功能試試。參考網址
http://jawadchowdhury.com/cannot-change-acceptance-level-to-community-vsphere-6-5/secure boot enabled cannot change acceptance level to community vsphere 6.5Today I have loaded ESXi 6.5 in my Whitebox PC.
My mainboard is a Asus M5197 R2 motherboard that came with an onboard Realtek NIC which doesn’t work with Esxi 5.5 onwards.
So I wanted to install a community version of VBA as explained in my earlier post Link
(繼續閱讀...)
文章標籤

NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(199)

  • 個人分類:電腦虛擬化技術
▲top
  • 11月 22 週一 201010:29
  • ESX下VM機器安裝 USB裝置方式

參考文章:http://www.benjr.tw/?q=node/634 ESX下有很多VM機器,但是實體連USB裝置的在同一時間內只有一台可以連,那麼要怎麼指定USB裝置給那台使用呢? VM Workstation 下只要把視窗作用,然後插入usb裝置後,在該VM下就可以直接連接USB裝置,但是在ESX下要指定USB裝置給那台VM機器使用,則要做一些設定,設定方式如下: 1. 先將欲使用的USB裝置插入該台ESX SERVER實體硬體上。 2. 進 vSphere Cliet 3. 開啟要連USB裝置的硬體設定畫面,確認有USB controller裝置。 clip_image002 4. 新增USB裝置,若不確定,可先拔除實體USB然後再做到這步驟看看與接上USB裝置後的差別來判定那個USB裝置是您要的。 clip_image004 clip_image005 5. 新增完VM機器上的USB裝置,應該可以看到對應的VM機器上抓到USB裝置使用。 clip_image006
(繼續閱讀...)
文章標籤

NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(1,839)

  • 個人分類:電腦虛擬化技術
▲top
  • 10月 12 週二 201010:56
  • esx所用的port列表

參考來源 : http://s852254.blogspot.com/2009/09/esxport.html
esx所用的port列表 不翻譯了,直接看比較快
port 80
vCenter Server requires port 80 for direct HTTP connections. Port 80 redirects requests to HTTPS port443. This is useful if you accidentally use http://server instead of https://server.
port 389
This port must be open on the local and all remote instances of vCenter Server. This is the LDAP portnumber for the Directory Services for the vCenter Server group. The vCenter Server system needs tobind to port 389, even if you are not joining this vCenter Server instance to a Linked Mode group. Ifanother service is running on this port, it might be preferable to remove it or change its port to differentport. If needed, you can run the LDAP service on any port from 1025 through 65535.If this instance is serving as the Microsoft Windows Active Directory, change the port number from 389to an available port from 1025 through 65535.
port 443
The default port that the vCenter Server system uses to listen for connections from the vSphere Client.To enable the vCenter Server system to receive data from the vSphere Client, open port 443 in thefirewall.The vCenter Server system also uses port 443 to listen for data transfer from the vSphere Web AccessClient and other SDK clients.If you use another port number for HTTPS, you must use : when you log in to thevCenter Server system.
port 636
For vCenter Linked Mode, this is the SSL port of the local instance. If another service is running on thisport, it might be preferable to remove it or change its port to different port. If needed, you can run theSSL service on any port from 1025 through 65535.
port 902
The default port that the vCenter Server system uses to send data to managed hosts. Managed hostsalso send a regular heartbeat over UDP port 902 to the vCenter Server system. This port must not beblocked by firewalls between the server and the hosts, or between hosts.
port 902/903
Ports 902 and 903 must not be blocked between the vSphere Client and the hosts. These ports are usedby the vSphere Client to display virtual machine consoles.
port 8080
Web Services HTTP. Used for the VMware VirtualCenter Management Webservices.
port 8443
Web Services HTTPS. Used for the VMware VirtualCenter Management Webservices.
(繼續閱讀...)
文章標籤

NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(119)

  • 個人分類:電腦虛擬化技術
▲top
  • 10月 05 週二 201014:32
  • ESXi 4.1 設定檔重開機後自動復原初始值?無法修改設定檔

今天想修改ESXi 4.1 自動開啟SSH 與關閉LOADING IPMI功能,修改設定檔無法作用,重開機後復原設定值?廠商真是貼心……… IPMI功能為何關閉如下:
http://ithelp.ithome.com.tw/question/10051917 ================================================================================== 發問文章:http://ithelp.ithome.com.tw/question/10052113 小弟又來了,測試了 ESXi 開啟ssh 與 關閉IPMI功能的方式,修改設定檔,但是只要重開機就會回復預設值,例如我開了 SSH :  
  • 1、在控制台下,按 ALT+F1 進入控制台界面   
  • 2、輸入 unsupported 然後按 enter  (輸入的時候是看不到你輸入的,所以一定要注意)   
  • 3、如果輸入的 unsupported 正確,您將看到支持模式和密碼提示,然後輸入 root 密碼進行登錄   
  • 4、登錄后,修改設定檔    
  •      # vi /etc/inetd.conf
  • 5、搜索  #SSH  這一項后,把前面的 # 去掉       
  • 6、然後保存退出 
  • 1、在控制台下,按 ALT+F1 進入控制台界面
    2、輸入 unsupported 然後按 enter (輸入的時候是看不到你輸入的,所以一定要注意)
    3、如果輸入的 unsupported 正確,您將看到支持模式和密碼提示,然後輸入 root 密碼進行登錄
    4、登錄后,修改設定檔
    # vi /etc/inetd.conf
    5、搜索 #SSH 這一項后,把前面的 # 去掉
    6、然後保存退出
    但是重開機後,進去看又被#號起來,必需手動在啟動一次.........IPMI修改設定檔的情形也是這樣,查了關鍵字都沒看到有人遇到相同問題,請問有人知道原因與解法嗎?
    ESXi 4.1是安裝在USB當開機系統.懷疑是因為開機只從USB讀入?修改是修改記憶體內的設定檔,所以開機從USB讀入又回復原狀?如果真是這樣,那要如何才能改到正確的設定檔?
    ==================================================================================
    自己找到的另類解法:
    ==================================================================================
    關閉IPMI功能:
    安裝完後,到SERVER上開啟SSH功能(參考系統安裝篇),使用SSH連入:
    修改
    vi /etc/vmware/init/init.d/72.ipmi
    加入紅字
    return ${SUCCESS} # disable IPMI
    Exec esxcfg-init -I || {
    return ${NON_CRITICAL_FAILURE}
    }
    按wq! ‘強制存檔退出
    ######若重開機剛剛改的設定檔回復初始值,請使用 VMware vSphere Client 連入 用 VMware vSphere Client介面修改。
    把勾勾拿掉即可。
    clip_image002
    ==================================================================================
    開啟SSH自動啟動功能:
    ESX4.1付費版方式
    我們可以根據以下步驟開啟
    1. 在ESX Server伺服器上,依畫面指示按下「Alt+F1」,登入Service Console。
    2. 切換到ssh目錄下,並編輯「sshd_config」,這個檔案。指令如下:
    cd etc/ssh
    vi sshd_config
    3. 在「sshd_config」中找到「PermitRootLogin」這一行,並將後面的「no」改成「yes」
    修改後再按下「Shift+q」切換到「:」命令模式,之後在:輸入「wq」,表示儲存修改並離開vi編輯程式。
    4. 回到Service Console後,重新啟動sshd服務,指令是:
    service sshd restart
    免費版ESXi 4.1方式:
    1、在控制台下,按 ALT+F1 進入控制台界面
    2、輸入 unsupported 然後按 enter  (輸入的時候是看不到你輸入的,所以一定要注意)
    3、如果輸入的 unsupported 正確,您將看到支持模式和密碼提示,然後輸入 root 密碼進行登錄
    4、登錄后,修改設定檔
         # vi /etc/inetd.conf
    5、搜索  #SSH  這一項后,把前面的 # 去掉
    6、然後保存退出
  • From the console press ALT-F1
  • Type unsupported and press ENTER
  • Enter the root password
  • Enter the following command vi /etc/inetd.conf
  • Search for the #SSH settings
  • Remove the # from the SSH row
  • Save the config by using :wq!
  • Type ps | grep inetd on the console
  • Send a hangup signal by using the following command kill -s HUP

  • ######若重開機剛剛改的設定檔回復初始值,請使用 VMware vSphere Client 連入 用 VMware vSphere Client介面修改。
    clip_image001
    clip_image002[5]
    (繼續閱讀...)
    文章標籤

    NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(440)

    • 個人分類:電腦虛擬化技術
    ▲top
    • 10月 05 週二 201011:10
    • 解決VMWare ESXi 2TB硬碟限制問題

    最近公司買了便宜的ASUS TS-300/PS4 SERVER,很怪的是 安裝ESX4.1 到選安裝系統到那個硬碟畫面時,硬碟有抓到 LSI 2.8TB,但是卻是反灰不能選,另外使用USB也是一樣,變成兩個都反灰,已打去原廠反應,但都沒下文………………………可是ESXi4.1免費版本確可以正常安裝,傻眼……… 但是遇到了2TB限制問題,外加原廠 LSI 1078 MegaRaid陣列卡配上4顆 1TB 原廠 3.5吋7200轉硬碟做RAID 5,容量有2.8TB左右,可是如果直接安裝系統在 LSI上,因2TB限制,則會有800G空間左右浪費。 我的解決方式如下: 使用USB當開機系統碟。 使用SSH連入 看分割狀況 一個RAID5 一個USB開機 ~ # fdisk -l Disk /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34: 2998.9 GB, 2998960914432 bytes 255 heads, 63 sectors/track, 364602 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p1 1 523 4193280 6 FAT16 Partition 1 does not end on cylinder boundary /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p2 523 537 112640 fc VMKcore Partition 2 does not end on cylinder boundary /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p3 537 97254 776882176 fb VMFS Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 1030 MB, 1030750208 bytes 64 heads, 32 sectors/track, 983 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System /dev/disks/mpx.vmhba32:C0:T0:L0p1 5 900 917504 5 Extended /dev/disks/mpx.vmhba32:C0:T0:L0p4 * 1 4 4080 4 FAT16 <32M /dev/disks/mpx.vmhba32:C0:T0:L0p5 5 254 255984 6 FAT16 /dev/disks/mpx.vmhba32:C0:T0:L0p6 255 504 255984 6 FAT16 /dev/disks/mpx.vmhba32:C0:T0:L0p7 505 614 112624 fc VMKcore /dev/disks/mpx.vmhba32:C0:T0:L0p8 615 900 292848 6 FAT16   分割指定硬碟 ~ # fdisk /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34 The number of cylinders for this disk is set to 364602. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) 按 m 看指令有那些 Command (m for help): m Command Action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only)   刪除所有磁區 Command (m for help): d Partition number (1-4): 3 列表看看 第三磁區已刪除 Command (m for help): p Disk /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34: 2998.9 GB, 2998960914432 bytes 255 heads, 63 sectors/track, 364602 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p1 1 523 4193280 6 FAT16 Partition 1 does not end on cylinder boundary /dev/disks/naa.600e0180000b5a40143c6d7206ef1a34p2 523 537 112640 fc VMKcore Partition 2 does not end on cylinder boundary Command (m for help):   使用 VMware vSphere Client 連入管理 clip_image001 clip_image002 clip_image003 若刪除分割區後第一次應該會有第三個選項,執行第三個選項一次,即可讓系統自動分割。 clip_image005 clip_image006 clip_image007 clip_image008 再新增一次 clip_image009 clip_image010 clip_image011 剛第三項新增 LOCAL DISK動作系統自己幫我們切割好一個 2TB與一個 744.89 剩餘空間的兩個分割區,選第一項可以把這兩個分割區合併成一個VM內邏輯的分割區。第四個選項可以回到2TB限制原狀,因手動刪除分割區無效,要回復原狀就要使用這方式。 clip_image012 clip_image013 成功破除2TB限制,實際上是兩個分割區合併後的狀況,一個實體分割還是不能超過2TB clip_image014
    (繼續閱讀...)
    文章標籤

    NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(1,800)

    • 個人分類:電腦虛擬化技術
    ▲top
    • 8月 09 週一 201012:06
    • HP NC105iPCIe GIGA SERVER ADAPTER(DL160 G5)網卡不支援Jumbo Frames(MTU 9000)

    看來測試的結果應該是如此 [root@HP-ESX-1 ~]# esxcfg-vswitch -m 9000 vSwitch0 Unable to set MTU to 9000 the following uplinks refused the MTU setting 若在這台ESXi SERVER上直接把VM機器內的網卡開啟 Jumbo Frames (MTU 9000),則可能會碰上網路連線的靈異事件,我就碰過連同一台NSA,有些目錄一連線就當在那邊,改回MTU 1500後就完全正常。 HP DL160 G5 VMWare上官網不在支援名冊上,但因為當初有加購 SMART 200 陣列卡,故可以安裝ESXi ,硬碟與網卡都可直接抓到無誤,缺點就是無法開啟Jumbo Frames...........
    (繼續閱讀...)
    文章標籤

    NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(79)

    • 個人分類:電腦虛擬化技術
    ▲top
    • 8月 08 週日 201002:11
    • 更改ESX SERVER Switch 的 MTU為9000值(Jumbo Frames)

    #esxcfg-vswitch -l This will allow you to list all the virtual switch you have on the ESX server #esxcfg-vswitch -m 9000 vswitch1
    this command is to enable the mtu value of 9000 for every nics that connected to the same virtual switch which provide the storage access to ISCSI #vmkping -s 9000 192.x.x.x
    test the jumbo frame setting 要調整這個選項,交換機也要支援,然後網卡進階設定也要設成MTU 9000才行。 若不支援還硬調成MTU 9000,在我的網域裡是有發生某些分享資料夾會進不去卡在那邊,調回MTU 1500後就正常。
    (繼續閱讀...)
    文章標籤

    NoMoney NoHoney 發表在 痞客邦 留言(0) 人氣(591)

    • 個人分類:電腦虛擬化技術
    ▲top
    123»

    自訂側欄

    自訂側欄

    個人資訊

    NoMoney NoHoney
    暱稱:
    NoMoney NoHoney
    分類:
    不設分類
    好友:
    累積中
    地區:

    熱門文章

    • (450)DELPHI 7 使用ADO元件寫入資料庫強制四捨五入小數到第四位問題
    • (18,071)公司部門英文縮寫簡稱大全(1)
    • (10,263)HP ProCurve 1810G-24 GIGA SWITCH簡易設定
    • (7,414)DELPHI 7 下將文字存成UTF8格式
    • (9,163)林宥嘉 - 說謊 歌詞是什麼意思 ?
    • (11,216)使用GPO規則幫使用者自動安裝印表機
    • (897)DelForExp - 可以幫你重新編排 Delphi 程式碼
    • (4,071)每日一句-為什麼要叫衛生眼?
    • (11,333)DELPHI 字串函式大全
    • (19,896)Delphi控制Excel範例大全

    文章分類

    • LINUX (1)
    • 汽車 (1)
    • OPENVPN (1)
    • OPENSSL (1)
    • OSSIM (1)
    • 印表機 (1)
    • ANDRIOD (1)
    • 不斷電系統UPS (1)
    • 生活 (6)
    • 鼠來寶 (1)
    • PC零組件 (2)
    • 政治垃圾 (60)
    • 政治與歷史 (13)
    • Open-audit (2)
    • SOPHOS XG (2)
    • NAS (1)
    • TOYOTA (1)
    • RouterOS (3)
    • YAMAHA勁戰4代六期 (1)
    • 政治 (11)
    • SERVER (7)
    • 養生 (1)
    • W124 (14)
    • OFFICE (1)
    • Postfix (7)
    • 遊戲 (1)
    • 音樂 (2)
    • FTP (1)
    • 網路設備 (3)
    • 網頁設計 (2)
    • PHP (3)
    • EXCEL (1)
    • 無料好用工具 (2)
    • MSSQL (6)
    • 飲食 (6)
    • 新聞及政治 (16)
    • 電腦和網際網路 (54)
    • DOS (1)
    • 知識 (6)
    • MySQL (2)
    • 電腦專有名詞 (1)
    • 閒聊 (72)
    • 娛樂 (13)
    • 電腦打版刺繡MARK、臂章 (2)
    • 科技 (13)
    • 電腦虛擬化技術 (28)
    • Windows (45)
    • DELPHI程式語言 (29)
    • 新奇 (15)
    • Linux (19)
    • 未分類文章 (1)

    最新文章

    • Synology 群暉 DSM 7.2.2 手動安裝Video Station-How to Add Video Station BACK to DSM 7.2.2
    • LibreNMS Rocky Linux 9.5 安裝 設定 教學
    • #一人一票的意義 新加坡國父李光耀:我從不相信「民主」會帶來進步!
    • 台灣選舉哪裡是民主? 其實是"金主"
    • WINDOWS 11 無法安裝SERVER 2003 或 XP分享的印表機出現 0x00000709 錯誤,印表機救星來了。
    • WINDOWS登入第三方兩步驟驗證(2FA)方案設定教學-PROTECTIMUS-免費版有10個帳號可用
    • 台灣的窘境越來越明顯
    • 國產車油電93萬,這價位在大陸可以買到BYD PHEV續行200公里版本,隔音內裝品質引擎動力都遠勝台灣國產車,台灣人還要被自己人盤多久? 被自己人欺負多久?
    • 台灣傻子多到騙子不夠多來騙真的不是空穴來風
    • 說個笑話:大陸都快要有第四艘航母了,台灣薪資伙食費+600本薪-600

    動態訂閱

    文章精選

    文章搜尋

    誰來我家

    參觀人氣

    • 本日人氣:
    • 累積人氣: