您可以配置“服务器硬件”成本驱动因素和资源利用率参数来计算准确成本并提高环境的效率。

成本驱动因素会分析虚拟环境的资源和性能。基于您定义的值,成本驱动因素可确定回收机会,并可提供建议以减少资源和成本浪费。

如何为 vCenter 设置折旧模式和年份

您可以使用以下步骤设置折旧模式和年份。
  1. 从左侧菜单中,单击配置,然后单击成本设置
  2. 单击设置
  3. 从下拉菜单中选择 vCenter 作为基础架构类型
  4. 成本设置 - 财务会计模式页面中,选择折旧年限(两到五年)。
  5. 根据您的要求选择折旧模式,然后单击保存

编辑 VMware 云基础架构的成本比率

您可以使用以下步骤设置或修改公有云帐户的成本比率。
  1. 从左侧菜单中,单击配置,然后单击成本设置
  2. 单击设置
  3. 基础架构类型下拉菜单中选择您所选择的公有云帐户。
  4. 组织下拉菜单中选择需要的组织。
  5. 输入 CPU内存存储的成本比率。
  6. 输入“折扣百分比”。
    注: 折扣仅当 VMC on AWS/Azure VMware 解决方案适配器中禁用计费时适用,并且适用于该区域适用的每小时参考成本(定价)。
  7. 选择区域,然后单击保存
    注: 仅当 VMware Cloud Foundation vCenter 配置为使用 vCenter 适配器的 vRealize Operations 时,才会考虑此值。

默认折扣百分比值为零。您可以为 VMC on AWS 环境中的所有组织设置或编辑折扣百分比,也可以为 VMC on AWS 环境中的特定组织设置或编辑折扣百分比。您可以运行成本计算,并检查折扣百分比是否反映在每月 CPU 基本费率、每月内存基本费率和每月存储基本费率衡量指标中。

配置折旧首选项

要计算“服务器硬件”成本驱动因素的摊销成本,您可以配置折旧方法和折旧期。成本驱动因素支持两种年度折旧方法,您可以设置两年至五年的折旧期。
注: 成本驱动因素计算年度折旧值,然后再将该值除以 12 得出月度折旧。
方法 计算
直线法 Yearly straight line depreciation = [(original cost - accumulated depreciation) / number of remaining depreciation years]
双倍或直线最大值 Yearly max of Double or Straight = Maximum (yearly depreciation of double declining balance method, yearly depreciation of straight line method)

Yearly depreciation of double declining method= [(original cost - accumulated depreciation) * depreciation rate].

Depreciation rate = 2 / number of depreciation years.
注: Double declining depreciation for the last year = original cost - accumulated depreciation

直线折旧法示例

原始成本 累积的折旧 直线折旧成本
第 1 年 10000 0
[(10000-0)/5] =	2000
第 2 年 10000 2000
[(10000-2000)/4] = 2000
第 3 年 10000 4000
[(10000-2000)/3] = 2000
第 4 年 10000 6000
[(10000-2000)/2] = 2000
第 5 年 10000 8000
[(10000-2000)/1] = 2000

双倍和直线最大值折旧法示例

原始成本 折旧率 累积的折旧 直线折旧成本
第 1 年 10000 0.4 0
Maximum([(10000-0)*0.4],[(10000-0)/5])
= Maximum(4000, 2000) = 4000
每月 333.33。
第 2 年 10000 0.4 4000
Maximum([(10000-4000)*0.4],[(10000-4000)/4])
= Maximum (2400, 1500) = 2400
每月 200。
第 3 年 10000 0.4 6400
Maximum([(10000-6400)*0.4],[(10000-6400)/3])
= Maximum (1440, 1200) = 1440
每月 120。
第 4 年 10000 0.4 7840
Maximum([(10000-7840)*0.4],[(10000-7840)/2])
= Maximum (864, 1080) = 1080
每月 90。
第 5 年 10000 0.4 8920
Maximum([(10000-8920)*0.4],[(10000-8920)/1])
= Maximum (432, 1080) = 1080
每月 90。