Skip to main content

Posts

Showing posts from July, 2022

Photon OS change NTP server time sync

 1. verify the time server systemctl status systemd-timesyncd 2.Start the service if its not started: systemctl start systemd-timesyncd 3.Update the NTP server ip in the config:   vi /etc/systemd/timesyncd.conf add ntp server : NTP=<IP of ntp server> 4.restart the service systemctl stop systemd-timesyncd systemctl start systemd-timesyncd

How to install windows terminal on windows 10

 1.Upgrade your windows to latest version of windows 10 or windows 11 2.Install Chocolatey    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) 3.Install Microsoft.VCLibs.Desktop package    download the package from : https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx    install using(from powershell):                   Add-AppxPackage .\Microsoft.VCLibs.x64.14.00.Desktop.appx 4.Install windows-terminal     choco install microsoft-windows-terminal

Delete vCLS Virtual machine from vcenter server

  We can delete vCLS VMs from vCenter server for maintenance activity by: 1.Find the CLS ID    a.Vcenter server webclient.->Developer Center->Clusters -Get API 2.Inverntory->select vCenter server->Config->Advanced settings->Edit settings and add below variable with value "False" config.vcls.clusters.domain-< CID >.enabled        =>here CID =c8 from step1 3. Wait for 1 minutes all the vCLS VM will get deleted automatically.    you can enable again by changing the value to "TRUE"