※ ESXi 7.0 Update 2부터 ESXi 서비스들의 Configuration 관련된 xml 파일 대신 /bin/configstorecli 명령어를 이용하여, Configuration 정보를 Export/Import 하는 방식으로 바뀐 것으로 확인됩니다.
How to change configuration settings for Hostd service in vSphere ESXi 7.0 Update 2 (82227)
https://kb.vmware.com/s/article/82227
아래는 /bin/configstorecli 를 이용하여, hostd 프로세스의 configuration 정보를 수정하는 예제입니다.
1. Configuration 정보 읽기
[root@mgmtesxi01:~] /bin/configstorecli config current get -c esx -g services -k hostd -outfile tmp.json Data written to tmp.json |
2. Configuration 정보 수정
[root@mgmtesxi01:~] vi tmp.json "log": { "level": "verbose", "directory": "/var/log/vmware/", "max_file_num": 8, "max_file_size": 524288, "name": "hostd", "output_to_console": false, "output_to_files": false, "output_to_syslog": true, "syslog": { "facility": "local4", "ident": "Hostd", "log_header_file": "/var/run/vmware/hostdLogHeader.txt" } }, |
3. Configuration 정보 저장
[root@mgmtesxi01:~] /bin/configstorecli config current set -c esx -g services -k hostd -infile tmp.json Set: completed successfully |
'Compute' 카테고리의 다른 글
How to configure syslog server (0) | 2022.11.19 |
---|---|
Too many verbose logs on hostd log file (0) | 2022.11.15 |
How to collect guest os memory dump using vmss2core (0) | 2022.11.02 |
How to use non-default vCenter events (0) | 2022.10.27 |
How to get a live VMkernel core dump (0) | 2022.10.27 |