Tag Info

New answers tagged

2

you already have: include /etc/nginx/sites-enabled/*; which means your servers are included from there (by default symlinked from /etc/nginx/sites-available/) http://nginx.org/en/docs/http/ngx_http_core_module.html#server


1

There is a server directive outside of the http section, this needs to be nested within http rather than as a seperate section. Ideally any server apart from the default should be set-up in /etc/nginx/conf.d/$sitename.conf.


0

Use Start Roles REST API, if possible. I believe the PowerShell equivalent allows starting only one Role at a time.


4

You are much better off tracking changes inside the machine, as git etc. won't work very well with a large binary blob like a VM disk image. To be able to roll back to another state, snapshots are an excellent solution, but they have a performance impact. The best method (IMHO) is to use a configuration management tool (e.g. Puppet) and track the changes ...


0

This is probably caused by the issue described in http://kb.vmware.com/kb/2036572: ESXi does no longer support virtual disks of hosted formats (basically the Workstation format) by default. See the KB article for help and workaround.


4

That's not the best way to migrate from W10 to ESXi, export the VM as an OVF/OVA and import it - basically, as I'm sure you've figured out, the file paths are wrong doing it the way you have. Alternatively just edit the .vmx file but to be honest it's just quicker to export/import.


0

There is no way to do automatic sync from Azure AD back to AD. You have to do this yourself using Azure AD graph API


0

This is a loaded question. There are two ways to go about what you want. Sysprep and image - This means creating a generalized version of the OS and then using it to create a bunch of new VMs. This is advantageous when you want the ability to clone (but grant new usernames and password, computer names, etc to) the VMs. This also allows the VMs to co-exist ...


0

Lock files are stored here in /var/lib/vz/lock/. Any chance this directory is not writable/missing ?


4

In short, you are wanting to build a template. On your maintenance schedule, convert it to a virtual machine, boot the new virtual machine, run sudo yum -y update ; sudo shutdown -h now. Once it is down, convert back to a template from a live VM. Since you have configuration management already in-place, you would simply build a new VM matching the ...


0

You can also try to reset the computer account with the AD MMC. Or with Powershell Reset-ComputerMachinePassword or cmd NETDOM RESETPWD /Server:<name of any domain controller> /UserD:<domain admin account> /PasswordD:<password>


2

The reason you need to rebind the server to the domain is most likely related to the 30 day password for computers. When you restore a machine from snapshot, you're also reverting the password that machine knows and uses to authenticate to the domain. The domain will then refuse to service your computer. Re-adding it to the domain resets the password, and ...


0

I guess this VMWare KB Post can resolve your issue. Try and let me know the result.


0

I recommend doing this with a udev rule. I put this in /etc/udev/rules.d/81-bridge.rules: ACTION=="add", SUBSYSTEM=="net", NAME=="virbr*", RUN+="/sbin/ethtool -K $env{INTERFACE} tx off" More sophisticated approaches are possible, depending on your needs.


1

Check VMFS for metadata inconsistency, it's done with VMware Ondisk Metadata Analyser Before you start VOMA from the CLI of your ESXi host, take care of the following guidelines: Shut down all virtual machines running on the VMFS datastore make sure that the VMFS volume is not in use by other hosts (best practice: unmount the datastore on the other ...


0

great job, thanks mustaccio. To raise the dead ... VMware Player 5 outline: VNET_# = 0 to 9 (VMnet# i.e. for VMnet1: VNET_1) HASH is a 40 digit hex number File -- Start File Header: VERSION=1,0 bridge mode -- other than standard (see addition below) answer VNET_#_DHCP no answer VNET_#_VIRTUAL_ADAPTER no Host-only with DHCP answer VNET_#_DHCP yes ...


0

There were a few efficiencies to be made to this script: On my system at least, the perl buffer reads are 8k, so use 8192 block size. autoflush so the local end doesn't block until the remote output buffer is 'full', as we are feeding lzop the buffering seems pointless. ssh -i /root/.ssh/rsync_rsa $remote " perl -'MDigest::MD5 md5' -ne ...


0

I finally figured the answer, the Squid proxy server was corrupted and that's why it was giving me error like I was able to send traffic on to 22 and 21 port at one moment and couldn't do it on other, I updated the file and edited the conf file to add the rule. Worked for me.


0

The basic idea would be to connect each router to a local interface via a cloud object in each vm then have a network connection between the two virtual machines. How you do this depends on guest and virtualisation platforms.


1

Alexus pointed towards a link with the solution, though for StackOverflow, we should always pull out the salient points and post them here. Delete the old VM, choose to keep the disks. Restart the portal, this is important since the UI controls availability (show|hide) is computed once on load. With the new VM highlighted, from the bottom menu, choose ...


0

You can use following guide to do that: Recover Azure VM by attaching OS disk to another Azure VM - Microsoft Azure Support Team Blog - Site Home - MSDN Blogs


0

Is this possible? Yes. Supplementary question: Is this a good idea? No. An employee sits down at the server As a general rule, you don't want your employees sitting down at servers. It's a waste of servers and employees. Your question leaves out too much of the why and how for us to guess at your thinking that has led you to this idea, ...


0

Honestly the request sounds a bit suspicious to me. Can't you just move things and see what load is like on the new system? That being said, onto your actual issue. You need to find out the resource usage of processes (and not the whole system). Option 1: You can actually launch the processes with some sort of profiler or tracing tool (i.e. perf and ...


0

This has since disappeared through no action of my own - it looks like it was a transient, internal problem with Azure. VMs that never had connectivity are now connected, and newly-provisioned VMs are connected without problems.


2

VMware vCenter Converter sounds like the best tool for the job.


3

Yes, you can move the virtual machine from one host to the other. It's less than ideal, since your VM will be scheduled across two physical CPUs, but it will definitely work.



Top 50 recent answers are included