阅读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”安卓木马分析:可静默收集数据并远程代码执行