Posts

Clearing DNS cache on vCenter Server Appliance

  Clearing DNS cache on vCenter Server Appliance 6.5/6.7 - Just Virtualise It (kanecharles.com) I came across a situation recently where I was building some nested ESXi hosts and had configured the incorrect IP address for their DNS record, only to realize this after attempting to add the host into Center:  By attempting to add the host, vCenter will query your DNS servers for the IP address associated with the FQDN you have supplied (assuming you did this method, not via IP address). If you have set the wrong IP on your DNS server for the above FQDN record, you have 2 options: Wait a short while for vCenter to clear the cache entry for this FQDN, thus allowing you to add the host with the correct IP from the DNS record Clear the DNS cache on your vCenter Server Appliance (vCSA) vCSA 6.5 upwards runs on Photon OS with dnsmasq acting as a local caching nameserver (thank you to Brandon for the comment to clarify). Enough rambling, so how do we do it? If you’re anything like...

Repairing a virtual disk in Workstation (2019259)

 https://kb.vmware.com/s/article/2019259 Last Updated:  9/25/2018 Categories:  How to   Symptoms The virtual machine fails to start after a forced host shutdown. The virtual machine does not start after a failure. When starting the virtual machine, you see an error similar to: Cannot open the disk ' path_to_virtual machine / virtual_disk.vmdk ' or one of the snapshot disks it depends on. Reason: The specified virtual disk needs repair.   When trying to mount the virtual disk with VMDKMounter, you see the error: There is a problem trying to mount the virtual disk.   Purpose This article provides steps to repair a virtual disk of a VMware Workstation virtual machine in Linux and Windows hosts.   Resolution Linux Host To repair a virtual disk of a Workstation virtual machine in a Linux host, use the  vmware-vdiskmanager  utility that is installed by the Workstation installer in the  /usr/bin  folder on a Linux host.   To use the v...

Never download tools again! Quickly Generate Large Test Files in Windows!

Never download tools again! Quickly Generate Large Test Files in Windows! https://tweaks.com/windows/62755/quickly-generate-large-test-files-in-windows/ Never download another 100mb test file or waste time searching for a large file.  Sometimes you need a large file fast to test data transfers or disk performance. Windows includes a utility that allows you to quickly generate a file of any size instantly.  Open an administrative level command prompt.  Run the following command: fsutil file createnew <file> <size in bytes> For example, this command will create a 1GB file called 1gb.test on my desktop: fsutil file createnew c:\users\steve\desktop\1gb.test 1073741824 The key is to input the size of the file in bytes so here are some common file sizes to save you from math: 1 MB = 1048576 bytes 100 MB = 104857600 bytes 1 GB = 1073741824 bytes 10 GB = 10737418240 bytes 100 GB =107374182400 bytes 1 TB = 1099511627776 bytes 10 TB =10995116277760 bytes

How do I install OpenSSH server on Ubuntu Linux

How do I install OpenSSH server on Ubuntu Linux Ubuntu Linux install OpenSSH server - nixCraft (cyberciti.biz) How to install SSH server in Ubuntu The procedure to install a ssh server in Ubuntu Linux is as follows: Open the terminal application for Ubuntu desktop. For remote Ubuntu server you must use BMC or KVM or IPMI tool to get console access. Type command: sudo apt-get install openssh-server Enable the ssh service by typing: sudo systemctl enable ssh ## OR enable and start the ssh service immediately ## sudo systemctl enable ssh --now Start the ssh service by typing: sudo systemctl start ssh Test it by login into the system using: ssh userName @ Your-server-name-IP ssh ec2-user @ ec2-aws-ip-here

How to Start, Stop & Restart Services in Ubuntu and Other Linux Distributions

Image
  How to Start, Stop & Restart Services in Ubuntu and Other Linux Distributions Start, Stop & Restart Services in Ubuntu and Other Linux (itsfoss.com) You are here:  Home   /   Terminal Tools and Tricks   /  How to Start, Stop & Restart Services in Ubuntu and Other Linux Distributions How to Start, Stop & Restart Services in Ubuntu and Other Linux Distributions Last updated  October 29, 2020  By  Sergiu   10 Comments Services are essential background processes that are usually run while booting up and shut down with the OS. If you are a sysadmin, you’ll deal with the service regularly. If you are a normal desktop user, you may come across the need to restart a service like  setting up Barrier for sharing mouse and keyboard between computers . or when you are  using ufw to setup firewall . Today I will show you two different ways you can manage services. You’ll learn to start, stop and restart services in Ubuntu ...

Start and stop services in vCenter Server Appliance

Image
 https://4sysops.com/archives/start-and-stop-services-in-vcenter-server-appliance-vcsa-6-5/ Start and stop services in vCenter Server Appliance This post will focus on managing the important individual services that are the core of the VMware infrastructure. We'll learn how to start, stop, and restart services in vCenter Server Appliance 6.5. The procedure is similar for a vCenter server installed on a Windows server, which I'll cover as well. Contents List services in a vCSA appliance Start and stop a service Stop and start all VMware vCSA services List all services via vSphere web client vCenter Server on Windows Server The VMware vCenter Server Appliance (vCSA) 6.5 is a fundamental building block of the modern vSphere environment. All the management features of a vSphere environment revolve around this product that is very easy to deploy and manage. Its principal functionality is embedded into a single location, a single virtual machine (VM). This platform now runs...

How to Mount and Unmount File Systems in Linux

  How to Mount and Unmount File Systems in Linux | Linuxize On Linux and UNIX operating systems, you can use the  mount  command to attach (mount) file systems and removable devices such as USB flash drives at a particular mount point in the directory tree. The  umount  command detaches (unmounts) the mounted file system from the directory tree. In this tutorial, we will go over the basics of attaching and detaching various file systems using the  mount  and  umount  commands. How to List Mounted File Systems When used without any argument, the  mount  command will display all currently attached file systems: mount Copy By default, the output will include all file systems including the virtual ones such as cgroup, sysfs, and others. Each line contains information about the device name, the directory to which the device is mounted to, the type of the filesystem and the mount options in the following form: device_name on directory typ...