Questions tagged [virtual-machines]

A virtual machine (VM) is a completely isolated guest operating system installation within a normal host operating system. It is a software implementation of a machine (i.e. a computer) that executes programs like a physical machine.

Filter by
Sorted by
Tagged with
2 votes
1 answer
4k views

How do I disconnect a VM from a Log Analytics workspace that has already been deleted?

I created a Log Analytics Workspace (LAW) and connected the SQL Server to it in order to test a theory. I then deleted the Log Analytics Workspace (LAW) but did not "Disconnect" it from the LAW. I ...
0 votes
3 answers
171 views

Looking for some options for working with multiple VPNs and switching back and forth between them frequently in the course of a day

I'm a consultant, and I have multiple clients where I connect through their VPN to virtual machines on their network. Each client may have a different VPN setup (cisco, GlobalProtect, etc). In the ...
2 votes
1 answer
10k views

Debian 11 no longer automatically receiving static DHCP IP address, dhclient must be started manually

I am hosting a Debian 11 (no desktop environment) virtual machine on Windows Server 2012 with Hyper-V. This is on a company network with its own DHCP system and the MAC address of the VM is registered ...
1 vote
0 answers
376 views

How do I test my Proxmox VM Guest's Watchdog? (Windows 10 VM)

My Proxmox (Qemu) uses the i6300esb watchdog device driver. Windows shows the Watchdog Timer device under Device Manager. How do I test this? I tried disabling the watchdog device but nothing happened ...
0 votes
3 answers
332 views

Is there a benefit to running my File Sharing server on the physical server and my SQL server on a virtual machine?

I've never heard of anyone running one server on the original instance of Windows Server on the physical machine, and then running a second server on a Virtual Machine, so I can't find any info on ...
0 votes
0 answers
530 views

Error promoting Windows Server 2022 to Domain Controller

I have a virtual Windows 2022 Server in a VMWare ESXi environment, and a WS2019 virtual in another host, which is my Active Directory Domain Controller. I've been trying to promote the WS2022 to ...
0 votes
1 answer
581 views

How to boot into safe mode with RDP enabled on GCP

Read title. I am trying to figure out how to boot into safe mode on a windows VM and still be able to connect to it via RDP (or another remote service).
-1 votes
1 answer
165 views

Can't connect to Windows VM after booting into safe mode

I cannot connect to my windows VM after booting into safe mode [networking enabled]. I have restarted, and I have tried using the serial console but it doesn't make much sense to me. I am trying to ...
2 votes
1 answer
2k views

RHel 7 converted with qemu-img fails with dracut error at boot

I'll have to migrate several computers from Hyper-V to VmWare. I would like to use qemu-img because is command line and I could create an script. Conversion works fine for Windows but is not working ...
0 votes
1 answer
2k views

How to connect veth interfaces to bridge slave ports

This will probably be easier to explain with a diagram, so this is the basic setup: There are 2 containers 10.0.0.1 & 10.0.0.2 running inside a host machine, and I've also created a linux bridge ...
1 vote
1 answer
2k views

VMware vSphere VM at 100% workload CPU when real load average is near 0

I'm using VMware vSphere 5.5 on an ESXi 5.5 Host to host a small private web site. Host server is an HP ProLiant 380 DL with 50 GB Ram, 1 TB SSD storage, 2 Intel Xeon 5550 CPU. There are 10 running ...
1 vote
1 answer
3k views

Routing traffic from a bridge interface (with IP assigned) to another network on a different local interface

I'm on Ubuntu 20.04 and am running virtual machines (KVM) locally that are attached to a bridge interface on the host. The bridge (and all VMs attached to it) are getting their IPs via DHCP from a DSL/...
0 votes
1 answer
2k views

Specifying a MAC address of a new virtual machine instance on Google Cloud

We are planning to move a Windows 2012 Server to Google Cloud, but we have one issue. We are going to reinstall on this server an application that uses the server’s MAC address for its licensing so we ...
0 votes
1 answer
270 views

When does upgrading require a restart or disruption of services?

I'm using google compute engine with a single VM instance (machine type: e2-custom-2-5632/skylake) that needs an upgrade. Services are bumping up against limits and throttling. I'm trying to purchase ...
2 votes
1 answer
1k views

Cannot access supervisor web interface on guest machine from host

I set up an ubuntu virtual machine using Vagrant. In my Vagrantfile, I have configured a private network like in the example: config.vm.network "private_network", ip: "192.168.33.10 In /etc/...
2 votes
3 answers
2k views

How to install APC on a vagrant box running Ubuntu with PHP?

In my "Vagrant" file I have this line: chef.add_recipe("php::module_apc") But it gives me this error: [2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc ...
3 votes
2 answers
98 views

SAN Solution for diverse VM Servers

I recently got my fingers into Server Administration. I am currently the only person administering an air gapped network with 8 sites. Most things are dated and old but I get the money to renew things....
0 votes
0 answers
328 views

How to create a VM with a specific external IP or IP range?

I have some problems with some google cloud IP ranges, they are blocked in my country, so I cannot connect to my VM if the instance is on those external IP ranges. I have tried reserving IP addresses ...
0 votes
1 answer
678 views

Give VM a static ipv6 address

I am a ”networking beginner“, so I hope this question makes sense. I have an Ubuntu 22.04 server and a virtual machine based on qemu/multipass (also running Ubuntu 22.04). The goal is to have the web ...
0 votes
1 answer
69 views

Sharing a SQL Server between two locations -- best solution? [duplicate]

We're looking at opening a second facility which will have its own internal network for workstations and file sharing, but will need to access our central database server. Existing capacity on our ...
0 votes
1 answer
137 views

Packet download speed drops for Ubuntu 20.04.05

I have a virtual machine in VMware Workstation 16.2.3. running in Windows 10 Pro I managed a few months ago to install Ubuntu 20.04.5. The idea of creating this virtual machine is to be able to test ...
1 vote
0 answers
2k views

Alma Linux - Not able to ping out

So I have my first VM in Proxmox and I know the network works as I have used CT in the past without any issues, however I have set up a VM and now I am having network issues. Seems while it says the ...
0 votes
1 answer
832 views

back up and restore host ssh_keys using cloud init autoinstall ubuntu

I am trying to automate VM installations for ubuntu 22.04 using autoinstall,cloud-init, qcow2 and virt-install. When I am reinstalling the OS on the same qcow2 file, I have a script that is run in ...
21 votes
6 answers
44k views

How to attach a virtual hard disk using VBoxManage?

What is the best method for setting the virtual hard drive (VDI) of the primary controller for an existing virtual machine? Does the syntax change if the VDI is really a child differencing disk of ...
2 votes
1 answer
3k views

Windowns Hyper-V Virtual Machine shutdown instead of restarting as commanded

I am running a Windows 2016 Hyper-V host with the following VM's 2x Windows 2012 R2 2x Ubuntu 16.04 Whenever I carry out a restart of the VM's after an update they nearly always shut down and ...
1 vote
0 answers
605 views

Need help regarding NFS shares permissions

I recently switched to using Proxmox as my OS of choice from OMV as the main OS and running a bunch of docker containers on the same host. I installed OMV (OpenMediaVault) inside a VM. I passed ...
1 vote
1 answer
622 views

Possible to move VM with a dedicated drive to a bare metal server?

I have several VMs running on Proxmox, each with a dedicated SSD. I need to move each one to it's own bare metal server. Would it be as simple as removing the drive and placing it in the new server, ...
0 votes
1 answer
3k views

Tap interface within a virtual machine has NO-CARRIER

I am trying to hook up a virtual machine to a host using openvpn. When i create a tap interface within the virtual machine using: /usr/sbin/openvpn --mktun --dev tap1 The state of the tap interface ...
0 votes
1 answer
540 views

Unable to access the path inside Docker Desktop Virtual machine where Kubernetes has mounted the volume

I am running RabbitMQ inside Kubernetes cluster. When I type the following command in order to know where volume has been mounted in my Docker desktop virtual machine kubectl get pv pvc-7c1bf15b-7f84-...
0 votes
1 answer
84 views

Restart multiple Azure VMSS with time shedule with Powershell Script

I have multiple windows and Linux VMSS machines in azure, I need to recreate the pods, particularly with the windows machine after x days of creation. I need to implement it with help of Powershell ...
0 votes
1 answer
2k views

creating site collections using SharePoint management shell 2013

I am creating Site Collections for Testing SharePoint. I am using Host Named Site Collection to do that instead of the path based site collection addressing. For that Got a reference to the HNSC web ...
2 votes
1 answer
2k views

Why do you need serial port connection between QEMU guest and host?

I am new to qemu. I was exploring some commands to setup qemu VM. Can someone please explain why serial ports are required/desired between guest and the host? Also, what does '-serial pty' and -'...
2 votes
1 answer
2k views

Azure : VM fails to connect after being promoted as domain controller

I have few VMs provisioned on Azure, one of them acts as a read only domain controller replicating from a in house domain controller through site-to-site VPN. The problem is every time I create a VM, ...
3 votes
0 answers
2k views

The driver detected a controller error on \Device\Harddisk0\DR0 on a virtual machine

The event in question is generated by a virtual machine. The disk 0 is a scsi connected drive to the virtual machine. The vhdx file is in the hyper-v cluster which has the storage from SAN cluster. ...
1 vote
1 answer
7k views

Podman (or docker) running a MySQL container and a shared data directory

I am running a Ubuntu 20.04.5 LTS virtual machine for my development environment. In the past I have run multiple VM's to host databases, web servers, etc, as I need them for projects. So in short, I ...
1 vote
1 answer
971 views

Is there a simple way in Azure to redirect all HTTP(S) requests to a "server down" status page?

I have a web server (Windows/IIS) hosting various web applications running as a VM on Azure. Now, I'll need to do some maintenance on the web server, which will involve shutting down and reconfiguring ...
0 votes
0 answers
133 views

How do I assign a KVM guest / virtual machine one of my public IPs?

I'm running Ubuntu 22.04.1 LTS and I have a subset of /29 (5 usuable IPs). I currently have my host using 1 of those IPs. I want to setup a KVM guest to be assigned one of the available IPs and be ...
8 votes
2 answers
2k views

Checking if two virtual machines are running on the same host

Is there a way to see if several Virtual Machines are running on the same host? Specifically, I have three VMWare VMs (each running a Ubuntu Server 14.04) and I have tried to compare different pieces ...
0 votes
1 answer
113 views

Ubuntu on Azure VM suddenly unable to connect out to the internet but can still serve incoming requests - how to monitor this?

I have an Azure VM running on Ubuntu and it's a production server. Sometime after 26th August 2022, it was unable to reach out to the internet. Even though it can still serve incoming requests. I was ...
1 vote
2 answers
3k views

Connecting Azure VM to domain with Azure AD DS - Event ID: 4097 "The user name or password is incorrect."

When trying to connect an Azure VM to Azure AD DS, I get the message below, even though I have logged in successfully with the username/password elsewhere, and the account used to connect to the ...
1 vote
0 answers
438 views

Host unreachable from a specific host

I'm encountering a weird issue where connections from one VM (A) to another VM (B) systematically time out, in both ways. Symptoms: ping A from B hangs (as well as anything else I have tried such as ...
3 votes
2 answers
2k views

RTC time is going totally wrong after a few minutes (Ubuntu 16.04 + Hyper-V)

My RTC time on my Ubuntu 16.04 is going crazy. After a few minutes the RTC time is going totaly wrong. The strange thing is, if I disable NTP Service (timedatectl set-ntp false and service ntp stop) ...
2 votes
2 answers
2k views

Private networks with SCVMM 2012 SP1 and Hyper-V

In my lab I have two hyper-v host running Windows 2012 server. For lab and test purposes I want to have private networks that are available on both hosts, and where the VMs on those networks are able ...
1 vote
0 answers
57 views

Restoring a Windows VM automatically in AWS

We have a Windows 2012 R2 VM called test01 in AWS and it's used for automatic tests. There is another server which connects to the test VM for running some tests. Sometimes the tests mess up the VM. I'...
1 vote
1 answer
2k views

Iptables configure gateway virtual machine with 2 interfaces

I have a virtual machine that works like a gateway from other virtual machines. The configuration of the interfaces is the following UBUNTU: eth0: ip: 10.0.2.2 netmask 255.255.255.255 ...
3 votes
1 answer
4k views

Azure Disks-Adding disk without stopping it

Can anyone help me to know if we can add disk to azure vm without shutting it down or stopping the VM?
2 votes
1 answer
4k views

Best way to enable DDoS protection on many individual GCP compute instances without load balancing?

I've been scouring through the Google Cloud Armor docs for information about DDoS protection of a GCP compute VM instance. From what I've found, Google Cloud Armor Managed Protection provides ...
0 votes
1 answer
240 views

Changing the disk type of vsphere VM using Rest API

I am looking for a way to convert my Vsphere VM disk type using REST API calls, like "Dependent" and "Independent-Nonpersistent". i was searching in the documentation for Sphere 6....
1 vote
2 answers
3k views

Using VMware ovftool to check existence of virtual machine (VM)?

What is the canonical way to use VMware's ovftool to query to see if a VM exists or not? If I run this command: ovftool vi://username@password@myvsphere/mydatacenter/vm/myvm I might get this response:...
0 votes
1 answer
176 views

Why a E2 VM instance is set for my Google Cloud set up?

For a bit of context, I'm an solo app developper, I use google cloud (Firebase) for my app back end. I have cloud functions running and because I need a static IP adress from some of them, I have set ...

1
3 4
5
6 7
57