2013. május 30., csütörtök

XenServer project

Have you ever tried to create virtual machines in the CLI on a XenServer? I can assure you it can be a real pain. How the heck on earth do you attach an iso into the storage repository or why do you need to use that kickstart thingy, or whatever.
You think it's easy, just
xe sr-create name-label=Local type=iso device-config:legacy_mode=true device-config:location=/vm/iso content-type=iso 
....then copy the iso onto the server with scp, then...
xe sr-scan uuid=<SR UUID> 
xe template-list
xe vm-install new-name-label=<VM_NAME> template=<TEMPLATE NAME>
xe cd-list
 xe vm-cd-ad vm=<VM_NAME> cd-name=<NAME_ISO.iso> device=3
and finally
 xe vm-start vm=<VM-NAME>
 Hahaha. Have a look at this then.



Shorty comes the ultimate XenServer CLI VM creation howto.

2013. május 23., csütörtök

Exchange 2013 FSW fun

Long time no see. I feel I gotta do some post because really in the need of seeing googlebots coming to my site. Hehh.
Just came across with a funny post. It deserves a share. Have fun.

"How to use a Domain Controller as an Exchange 2013 DAG Witness Server (Don’t)

If you’re setting up Exchange 2013 in a lab, you may have a requirement to use a domain controller as a File Share Witness (FSW) host.
Obligatory disclaimer: While this is definitely not recommended practise in a production environment, and may have undesirable results, it will probably work. I highly doubt Microsoft support this, though I have been unable to find any concrete evidence on it (frankly, it’s such terrible practise they shouldn’t have to publicise advice against it). If you can come up with a method to avoid following this guide in production, I implore you to do so.
The File Share Witness is used as the winning vote when your DAG has an even number of hosts – the same principle as the quorum drive in a Failover Cluster. This is a file server that all DAG members can read and write (but cannot be a DAG member for obvious reasons).
If you just try to create a DAG and use a domain controller as a FSW, you’ll get this error message:

 ...."
Read the rest here.