This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disk DescriptorFile | |
version=4 | |
encoding="UTF-8" | |
parentCID=ffffffff | |
isNativeSnapshot="no" | |
createType="vmfs" | |
# Extent description | |
RW 14540800 VMFS "ce.img" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
hostname: cloudinit-test-01 | |
write_files: | |
- path: /opt/test.f | |
content: | | |
cloud-init no | |
test file | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$module_list = @( | |
"VMware.VimAutomation.Core", | |
"VMware.VimAutomation.Vds", | |
"PowerNSX" | |
) | |
Import-Module $module_list | |
$window_width = 120 | |
$window_height = 40 | |
$window_buffer = 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Key | Label | Summary | |
---|---|---|---|
host.OperationCleanupManager.createEntry | createEntry | createEntry | |
host.OperationCleanupManager.updateEntry | updateEntry | updateEntry | |
host.OperationCleanupManager.queryEntry | queryEntry | queryEntry | |
vm.guest.GuestOperationsManager.queryDisabledMethods | Query disabled guest operations | Returns a list of guest operations not supported by a virtual machine | |
profile.host.HostSpecificationManager.updateHostSpecification | updateHostSpecification | updateHostSpecification | |
profile.host.HostSpecificationManager.updateHostSubSpecification | updateHostSubSpecification | updateHostSubSpecification | |
profile.host.HostSpecificationManager.retrieveHostSpecification | retrieveHostSpecification | retrieveHostSpecification | |
profile.host.HostSpecificationManager.deleteHostSubSpecification | deleteHostSubSpecification | deleteHostSubSpecification | |
profile.host.HostSpecificationManager.deleteHostSpecification | deleteHostSpecification | deleteHostSpecification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0005566f-98ae-3f49-14de-0050568a38fb::111000 | E-mail alerts check | |
---|---|---|
0005566f-98ae-3f49-14de-0050568a38fb::103069 | Host FQDN resolution | |
0005566f-98ae-3f49-14de-0050568a38fb::110253 | Vstore VM Files Consistency Check | |
0005566f-98ae-3f49-14de-0050568a38fb::6005 | CVM to CVM Connectivity | |
0005566f-98ae-3f49-14de-0050568a38fb::110012 | Cloud Gflags Check | |
0005566f-98ae-3f49-14de-0050568a38fb::110248 | Metro Vstore Symlinks Check | |
0005566f-98ae-3f49-14de-0050568a38fb::110006 | Remote Site configuration | |
0005566f-98ae-3f49-14de-0050568a38fb::110007 | Remote Site virtual external IP(VIP) | |
0005566f-98ae-3f49-14de-0050568a38fb::110249 | Remote Stargate Version Check | |
0005566f-98ae-3f49-14de-0050568a38fb::110246 | Clone Count Check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
import requests | |
import datetime | |
args = sys.argv | |
conf_file = args[1] | |
metrics_file_name = args[2] | |
with open(conf_file, "r") as file: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"prism_address": "Nutanix Cluster VIP", | |
"user_name": "ユーザ", | |
"password": "パスワード" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.etree.ElementTree as ET | |
cvm_xml_file_in = "./cvm.xml" | |
cvm_xml_file_out = "./cvm-10GB.xml" | |
cvm_memory_gb = 10 | |
cvm_memory_kb = cvm_memory_gb * 1024 * 1024 | |
tree = ET.parse(cvm_xml_file_in) | |
root = tree.getroot() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function timestamp_us2jst($timestamp_us){ | |
$ts_base = Get-Date "1970/1/1" | |
$ts_base = $ts_base.AddHours(9) | |
$ts_base.AddSeconds($timestamp_us / 1000000) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$images = Get-NTNXImage -IncludeVmDiskSizes | |
$ctrs = Get-NTNXContainer | |
$clsuter = Get-NTNXCluster | |
function timestamp_us2jst($timestamp_us){ | |
$ts_base = Get-Date "1970/1/1" | |
$ts_base = $ts_base.AddHours(9) | |
$ts_base.AddSeconds($timestamp_us / 1000000) | |
} |
OlderNewer