新工作入职学习笔记

今天是来到v公司的第一天,领导下发了学习任务,列表如下:

  • What is Virtualization?, what is VM? What is different and advantage between Virtual VM and physical VM
  • 1. 虚拟化,是指通过虚拟化技术将一台计算机虚拟为多台逻辑计算机。 在一台计算机上同时运行多个逻辑计算机,每个逻辑计算机可运行不同的操作系统,并且应用程序都可以在相互独立的空间内运行而互不影响,从而显著提高计算机的工作效率。
  • 2.虚拟机(Virtual Machine)指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。
  • 3.1 虚拟机没有硬件实体,而物理机有实体。也就是说,物理机是有实体的硬件系统,比如服务器等,而虚拟机是借助物理机虚拟出虚拟的硬件系统。
  • 3.2 两者容器不同。以电脑举例,一台电脑就是一个物理机,但是一台电脑可以成为多个虚拟机,每个虚拟机可运行不同的操作系统,并且应用程序都可以在相互独立的空间内运行而互不影响。
  • 3.3 物理机的执行引擎是直接建立在CPU处理器、指令集、操作系统和硬件层面上的;而虚拟机的执行引擎则由自己实现,因此可以制定自己的指令集和执行引擎的结构体系,而且还可以执行一些不被硬件直接支持的指令集格式。
  • What is VC, what are connection protocols between host and storage?
  • 1. A virtual core is a CPU with a separation between two areas of the processor. Virtual cores take on some of the processing of the computer without interfering with the other area. As opposed to physical cores, which has something that physically separates the cores, virtual cores do not have physical separation.
  • 2. IDE SATA M2 
  • VM files,- vmxf, vmx, vmdk, -falt.vmdk, ctk.vmdk, nvram, vmsd, vmsn, .log
  •  
    .vmx vmname.vmx Virtual machine configuration file
    .vmxf vmname.vmxf Additional virtual machine configuration files
    .vmdk vmname.vmdk Virtual disk characteristics
    -flat.vmdk vmname-flat.vmdk Virtual machine data disk
    .nvram vmname.nvram or nvram Virtual machine BIOS or EFI configuration
    .vmsd vmname.vmsd Virtual machine snapshots
    .vmsn vmname.vmsn Virtual machine snapshot data file
    .vswp vmname.vswp Virtual machine swap file
    .vmss vmname.vmss Virtual machine suspend file
    .log vmware.log Current virtual machine log file
    -#.log vmware-#.log (where # is a number starting with 1) Old virtual m
     
  • What features of VMware—vMotion, Storage vMotion, High Availability, Fault Tolerance, Distributed Resource Schedule
  • 1. vSphere vMotion 可以将工作负载从一台服务器实时迁移到另一台服务器而无需停机,因此用户可以实现系统访问连续性,保持高效工作。
  • 2. Storage vMotion 在存储阵列内和跨存储阵列实时迁移虚拟机磁盘文件。 将虚拟机磁盘文件改放到其他位置的同时,可以使服务保持持续可用,并全面保证事务的完整性。
  • 3. HA(High Availability)指的是通过尽量缩短因日常维护操作(计划)和突发的系统崩溃(非计划)所导致的停机时间,以提高系统和应用的可用性。它与被认为是不间断操作的容错技术有所不同。HA系统是目前企业防止核心计算机系统因故障停机的最有效手段。
  • 4. Fault tolerance refers to the ability of a system (computer, network, cloud cluster, etc.) to continue operating without interruption when one or more of its components fail.
  • 5. VMware DRS (Distributed Resource Scheduler) is a utility that balances computing workloads with available resources in a virtualized environment. 
  • What is VMware Tools
  • 1. VMware Tools中包含一系列服务和模块,可在VMware产品中实现多种功能,从而使用户能够更好地管理客户机操作系统,以及与客户机操作系统进行无缝交互。 不同的系统需要安装相应的VMwareTools,有vmware Tools for windows,vmware Tools for linux,还有vmware Tools for mac之分。
  • What is snapshot? What is the Max number snapshots in a single tree. What happen when create/ delete the snapshot
  • 1. Snapshots are generally created for data protection, but they can also be used for testing application software and data mining. A storage snapshot can be used for disaster recovery when information is lost due to human error or data corruption.
  • 2. 32 个
  • 3.1在使用虚拟机时会给虚拟机分配一个虚拟磁盘,在使用过程中可能并未占用全部的分配空间,其与 .vmdk 虚拟磁盘文件标识的大小相同,如果此时记录快照,那么 .vmdk 文件就会被锁定,变成只读状态,在此后的虚拟机使用中进行的任何修改都不是在 .vmdk 文件上做更改,而是在另外生成一个新的文件上进行修改。也就是说,在做快照时,将原虚拟磁盘文件锁定,重新生成新的虚拟磁盘文件,新生成的虚拟磁盘会记录生成快照之后,虚拟机的使用情况。快照可以做多个,每记录一次快照, .vmdk 文件就会多出一个,并可以根据需求选择其中任一一个进行恢复。
  • 3.2 当删除虚拟机的所有快照时,针对该虚拟机所创建的所有delta文件中的内容将会合并到原来的vmdk文件中,合并完成后再删除vmdk文件。如果只选择删除一个快照,那么这个快照的delta文件将和其父快照的delta文件进行合并。如果选择回滚到某一个快照,那么当前的磁盘和内存状态将会被丢弃,而且虚拟机会转变到revert-to的状态。无论选择哪个快照进行回滚,该快照都会变成当前的父快照,就是说当前运行的虚拟机会在这个快照之下。
  • VMFS---Virtual Machine File System, what other file system can be used under VMware
  • NFS
  • Raw Device Mapping—RDM, physical or Virtual
  • 1. Raw device mapping (RDM) is a method of disk virtualization in VMware that allows virtual machines to use a storage logical unit number (LUN) device to be directly connected to a virtual machine in a storage area network (SAN). This direct connection can boost disk access performance in I/O-intensive operations.
  • Disk type---Thin provisioning, Thick lazy-zeroed, Thick eager-zeroed
  • 1. 【Thin provisioning】 This type of virtual disk allows you to allocate storage on demand, instead of deciding ahead of time how much space it’s going to take up. This is a good option if you want to control costs and scale out your storage over time. However, you need to pay closer attention to your disk size so you don’t overprovision and overcommit your storage to more than it can hold. Additionally, since it’s allocating on the fly, you might take some performance hits on initial writes that you wouldn’t encounter if you were to utilize one of its thick disk brethren options. This is because as new data space is allocated, the blocks have to first be zeroed to ensure the space is empty before the actual data is written.
  • 2. 【Thick lazy-zeroed】If you want to pre-allocate the space for your disk, one option is to make a thick lazy zeroed disk. It won’t be subject to the aforementioned fragmentation problem since it pre-allocates all the space so no other files will get in the middle (which causes fragmentation), and it’s easier to track capacity utilization.
  • 3. 【 Thick eager-zeroed】 Generally, we don’t utilize this option unless the vendor requires it. For example, Microsoft clusters and Oracle programs often require this in order to qualify for support.
  • 精简盘:虚拟机硬盘占用的空间等于磁盘实际使用的空间,即按需分配磁盘空间。空间的大小动态变化,有利于存储空间的优化。即:实际使用多大,就分配多大,最大不会超过实际硬盘空间的大小。

    厚置备延迟置零,这是默认的格式。所有磁盘空间都被分配,但原来在硬盘级别上写入的数据不被删除。擦除数据和块置零(格式化)只在第一次写入磁盘的时候进行。即:分配好空间,执行写操作时才会按需要将其置零。

    厚置备置零:所有磁盘空间被保留;数据完全从磁盘上删除,磁盘创建的时候就进行块置协零(格式化)与厚置备延迟置零相比,这种方式在写入磁盘的时候性能要好很多。即:分配好空间并置零操作,有IO的时无需等待任何操作直接执行。

  • Dependent, independent persistent, independent non-persistent, what Veeam is using when create the snapshot?
  • 从属

    快照中包含从属磁盘。

    独立持久

    持久模式磁盘的行为与物理机上常规磁盘的行为相似。写入持久模式磁盘的所有数据都会永久性地写入磁盘。

    独立非持久

    关闭虚拟机或重置虚拟机时,在非持久模式下对磁盘的更改将丢失。使用非持久模式,您可以每次使用相同的虚拟磁盘状态重新启动虚拟机。对磁盘的更改会写入重做日志文件并从中读取,关闭虚拟机或重置虚拟机时会删除重做日志文件。

posted @ 2021-08-17 14:42  丢丢__2018  阅读(183)  评论(0)    收藏  举报