วันจันทร์ที่ 16 กันยายน พ.ศ. 2556

How to Deploying BGInfo using a GPO

Wyse ThinOS INI Files

https://www.4shared.com/office/1DnsUQOX/reference-guide-wyse-thinos-in.html?

DHCP & FTP Setup for Wyse

http://www.freewysemonkeys.com/downloads/DHCP%20%20FTP%20blazer.pdf
http://wysestore.com/pdfs/wyse/WTOS_Getting_Started_Guide_JUN2009.pdf

C10LE
By default set up your WNOS in "\Wyse\wnos\wnos.ini

KMS Command

Activate Windows
c:\windows\system32\cscript slmgr.vbs /skms KMSServer:1688  Specifies the kms server
c:\windows\system32\cscript slmgr.vbs /ato     Activation ID
c:\windows\system32\cscript slmgr.vbs /dlv all  Display detailed license information

http://technet.microsoft.com/en-us/library/ff793433.aspx
http://technet.microsoft.com/en-us/library/ff793406.aspx



Activate Microsoft Office
c:\Program Files\Microsoft Office\Office14>cscript OSPP.vbs /unpkey:*****   Remove Product key
c:\Program Files\Microsoft Office\Office14>cscript ospp.vbs /sethst:KMSServer Specifies the kms server
c:\Program Files\Microsoft Office\Office14>cscript ospp.vbs /act Activation ID
c:\Program Files\Microsoft Office\Office14>cscript ospp.vbs /dstatus Display detailed license information

http://technet.microsoft.com/en-us/library/ee624350.aspx
http://technet.microsoft.com/en-us/library/dn385360.aspx

Vdiab
c:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE
Rearm before create golden image

AD Lockouts and Bad Password Detection

http://sourceforge.net/projects/adlockouts/?source=dlp

วันจันทร์ที่ 1 กรกฎาคม พ.ศ. 2556

How to Resize Storage Repository after Changing Size of Logical Volume Manager Based Storage

iSCSI SRs with software initiator
  1. Shut down all virtual machines on the SR.
  2. Note the Universally Unique Identifier (UUID) of the Storage Repository. Use the xe sr-list command on the XenServer host and identify the SR by its name label.
  3. Identify the Physical Block Device (PBD) UUID corresponding to the SR. Use the following command on XenServer:
    # xe sr-param-list uuid=<SR UUID>|grep PBDwhere <SR UUID> is the UUID of the SR noted in step 2.
  4. Unplug the Physical Block Device (PBD) corresponding to the Storage Repository.
    # xe pbd-unplug uuid=<PBD UUID>where <PBD UUID> is the UUID of PBD noted in step 3.
  5. Plug the PBD.
    # xe pbd-plug uuid=<PBD UUID>
    Note: In previous versions of XenServer, explicit commands were required to resize the physical volume group of iSCSI and HBA SRs. These commands are now issued as part of the PBD plug operation and are no longer required.
  6. Power on the Virtual Machines.

HBA SRLive Migrate Virtual Machines to another host in the pool or shutdown or suspend the Virtual Machines.Restart the host.Power on the Virtual Machines.Repeat for each host in the pool.

วันพุธที่ 12 มิถุนายน พ.ศ. 2556

Creating backups of running VMs in XenServer

First look for the uuid of the VMs to backup. We don’t want to backup the control domain itself, so we add is-control-domain=false to the vm-list command and we also don’t want backups of snapshots so we add is-a-snapshot=false:
xe vm-list is-control-domain=false is-a-snapshot=false
Now we create a snapshot of the VMs we want to backup, replacing the uuid one by one with the ones we found with the previous command. Also replace the name of the snapshot if desired:
xe vm-snapshot uuid=d61bfc1a-33b2-5406-7ea5-76e4f7113220 new-name-label=snapshotname
This command has a return value: the uuid of the created snapshot. Then we transform the snapshot into a VM to be able to save it to a file, replacing uuid with the return value of the previous command:
xe template-param-set is-a-template=false ha-always-run=false uuid=b759625c-eab5-4e0f-be5e-a05bcbad869a
In the next step we save the snapshot to a file, replacing uuid with the snapshot uuid and providing a meaningful filename:
xe vm-export vm=b759625c-eab5-4e0f-be5e-a05bcbad869a filename=filename.xva
In the final step we delete the snapshot:
xe vm-uninstall uuid=b759625c-eab5-4e0f-be5e-a05bcbad869a force=true
http://www.jansipke.nl/creating-backups-of-running-vms-in-xenserver/