閱讀713 返回首頁    go 阿裏雲 go 技術社區[雲棲]


阿裏配管專家解讀:如何最優成本搭建非標準的iOS構建集群


我們都知道iOS的構建需要在macOS Sierra的係統上構建。針對我們構建集群的搭建有幾種思路:

  • 直接采購mac mini、mac pro用於構建;
  • 在linux虛機裏安裝macOS Sierra(應用層);
  • 在PC、linux等裸機上安裝macOS Sierra(係統層)。

這種機器在業界有個說法叫黑蘋果,最著名的黑蘋果論壇:https://www.tonymacx86.com/ 。詳細裝機文檔:https://www.tonymacx86.com/threads/unibeast-install-macos-sierra-on-any-supported-intel-based-pc.200564/。
從文檔可以看出:

裝機過程比較複雜;
常見做法是在PC上直接裝,PC機運維成本比較高; 無法做到自動化。

1)最新版本6.5.0版本在mac pro安裝失敗,achi無法識別;
2)6.0.0patch2版本在mac pro安裝成功一次,但安裝後,訪問虛擬機管理頁麵有錯誤。測試重啟服務器,虛擬機自動重新開機不生效。部分帖子反饋,磁盤讀取部分虛擬化有問題,讀寫效率低,目前未驗證;
3)在惠普微服務器gen8上安裝6.0.0版本,雖然6.0.0標記僅支持macOS10.10,但可以升級到macOS10.12.4;
4)燒製6.5.0EXSi後安裝後,即使返回安裝6.0.0patch2,EXSi安裝後,能正常讀取ip,但網絡訪問有問題,並且無法進入exsi係統的命令行模式;
5)借用Lenovo T4500,因網卡不識別,無法安裝EXSi,可見EXSi兼容範圍有限。

這種方案的裝機文檔網上比較多,不過也存在上述問題:

  1. 裝機過程比較複雜
  2. 常見做法是在PC上直接裝,PC機運維成本比較高

這種方案存在一個問題,virtualBox隻能支持 i386和AMD64的架構。

4670a96ed685c21bbdc4ca658758b500a0f9bee6

另外上述方案最大的優點在成本低。但是還有兩個通用致命的問題:


2. Permitted License Uses and Restrictions. A. This License allows you to install and use one copy of the Apple Software on a single Apple-labeled computer at a time. This License does not allow the Apple Software to exist on more than one computer at a time,and you may not make the Apple Software available over a network where it could be used by multiple computers at the same time. You may make one copy of the Apple Software (excluding the Boot ROM code) in machine-readable form for backup purposes only; provided that the backup copy must include all copyright or other proprietary notices contained on the original.

  1. 這個問題是相對的mac mini也才幾k
  2. 運維標準化包括:
  • IDC的標準化,像BAT這種會自己搭建了符合IDC規範的機房

803ab64829f3b9fd51fa15dd998f13095932dc22

  • 裝機的標準化,已有的OS升級安裝等都可以實現命令行自動化
  • 監控的標準化:mac機器已經接入到服務端監控平台

  • mac mini、mac pro的運維標準化已經在路上了

d06bfad45fad84a730b1aa3b7e993687656f5485

4f4e845bd429d3ef8d84e43447bd33e591acc6a3

點此立即預約

最後更新:2017-06-15 11:02:03

  上一篇:go  雲計算的未來暢想(一)
  下一篇:go  “Xavier”安卓木馬分析:可靜默收集數據並遠程代碼執行