Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DepOps News 20150712

Avatar for Xu Tao Xu Tao
June 13, 2015

DepOps News 20150712

一些近期的运维杂闻

Avatar for Xu Tao

Xu Tao

June 13, 2015

Other Decks in Technology

Transcript

  1. OpenSolaris • Open Source • Wiki: OpenSolaris • 始于 2005

    • Oracle 没有后续支持 • 衍生了一些 Fork
  2. 考究派 • An open source descendant of OpenSolaris • ...which

    itself was a branch of Solaris Nevada • ...which was the name of the release after Solaris 10 • ...and was open but is now closed • ...and is itself a descendant of Solaris 2.x • ...but it can all be called “SunOS 5.x” • ...but not “SunOS 4.x” — thatʼs different
  3. SmartOS • 主角来了 • SmartOS is a Joyent distribution features

    NetBSD packaging and is designed for cloud computing
  4. Features • Solaris heritage • Zones - OS level virtualization

    • Crossbow - virtual NICs • ZFS - pooled storage, data integrity • DTrace - production safe Dynamic Tracing • Hypervisor Focus
  5. Features • Core OS image booted from external media Persist

    user data and minimal convenience config Tools to simplify management • KVM - Hardware Virtualization • Open Source distribution of illumos illumos is the successor of OpenSolaris
  6. Crossbow • Create virtual NICs and virtual switches • Connect

    VNICs to: ◦ Physical NICs ◦ Virtual switch • Antispoof • MAC address IP addresses DHCP • Bandwidth controls • Simple as `dladm create-vnic -l igb0 foo0`
  7. ZFS • ZFS is a copy on write filesystem •

    Pooled Storage • Don’t have to guess your partition sizes • Managed in datasets • Quotas and reservations can be changed on the fly zvols - virtual block devices
  8. ZFS • Multiple RAID options • RAID 1 (Mirroring) •

    RAID Z1, Z2, Z3 (Single, double, and triple parity) RAID 0 (Striping) • Enterprise features built in • 128-bit Checksums on everything • Data Integrity
  9. iMac • ARC (Adaptive Replacement Cache) • L2ARC • Apple

    1TB Fusion Drive - MacOSX • FlashCache - Linux
  10. DTrace • Dynamic instrumentation of production systems • Originally released

    in 2003 for Solaris 10, open-sourced in 2005 • Available on SmartOS, illumos, and all other Solaris-derived systems • Available on Mac OS X, FreeBSD, QNX, and
  11. DTrace • Supports static and dynamic probes in both userland

    and the kernel with arbitrary actions and predicates • Aggregates data in the kernel • Allows us to support high numbers of events per second Designed to be safe for production use from the get go
  12. SystemTap • Linux • SystemTap Wiki (据说要被弃?) • LTTng Wiki

    • 很杂,不统一,文化冲突 • 最后 - strace, ltrace
  13. Docker • Triton • LX Branded Zones • Porting, Porting,

    Porting • 幸亏底子好 • 还是有点累 • 未来的趋势
  14. 遇到的问题 1. Guset OS hang up 2. 网络带宽限制是分离 - illumos

    overlay for SDN 3. 目前还不支持热迁移 4. 不支持AMD的CPU -现在支持了 5. 没有解决网络存储的问题
  15. Brendan Gregg • Blog • Sun -> Joyent -> Netflix

    • Solaris -> SmartOS -> Linux • 大势所趋,都去搞 Linux 了 • Shouting in the Datacenter • 直得关注
  16. Sysdig • Linux • Sysdig Cloud • process/container Level •

    Demo • 开源了一部分 agent 代码 • NewRelic - 还没试过
  17. Snappy • Snappy from Ubuntu, basically replaces apt-get with docker

    • transactional updates • 升级 kernel 挂了都可以回 滚,类似 ChromeOS 的 2 个 系统 (印象里是这样的)
  18. UniKernel A library to build your own operating system No

    userspace You application is compiled into a kernel Drastically smaller surface area for attack Very fast to boot, but with strong isolation guarantees
  19. OSv

  20. Cumulus Linux • a Linux Operating System for industry standard

    switch hardware. • based on Debian Linux • DELL/HP • Force10 S4810 就可以安装
  21. End