วันศุกร์ที่ 14 กุมภาพันธ์ พ.ศ. 2557

Automatic Rolling Pool Upgrade from XenServer 6.1 to XenServer 6.2

Automatic Rolling Pool Upgrade from XenServer 6.1 to XenServer 6.2

Alright, XenServer 6.2 has been released a few days ago. There seem to be no well-known update issues – so time to get the job done…
Things to consider BEFORE upgrading
This is the first release which massively removed features from the product. If you are using:
- Workload Balancing (WLB) or associated features (power down hosts…)
- SCOM Integration
- Backups using Virtual Machine Protection and Recovery (VMPR)
- Web Self Service
.. This update is not for you! Check out http://support.citrix.com/article/CTX137826  for further information.
Second, you need a Windows Host for the Rolling Pool Upgrade. Install and update XenCenter before proceeding …
Prepare the installation media
The easiest way to provide the installation media to XenServer 6.1 is NFS. Here you do not have to care for IIS MIME Type issues or FTP ascii/binary stuff. Just click & serve:
Add the NFS Server Role, create a folder and copy the content of the downloaded XenServer-6.2.0-install-cd.iso from Xenserver.org there and create a NFS share. The first step is to add the NFS server role

Create the NFS Share. Default permissions are fine, since they will give read access to every host.


To be on the safe side you should check if the NFS share can be accessed. Run XenServer Console or login via SSH to XenServer poolmaster and mount the NFS share like in my example:
mkdir /mnt/nfstest
mount -t nfs NFSServer:/NFSSHARENAME /mnt/nfstest
ls -l /mnt/nfstest
umount /mnt/nfstest


Rolling Pool Upgrade Wizard slideshow..
Now it’s time to start XenCenter and run the wizard:

                   run the wizard



 Select your pool. Nothing can be done wrong here



 Select “automatic” as we have prepared the NFS share




 Check the prechecks there. As you see Workload Balancing (WLB) and WSS are two features which will be removed after the Upgrade.



 Set XenServer installation media NFS Share


 Get a coffee – you may check the XenServers console to see if it’s proceeding..





 if you check the server’s console – cross your fingers and watch progress bars…




 After some time XenCenter will show you update have been successfull.



 After relogon to XenCenter you want to verify the Buildnumber












วันอาทิตย์ที่ 12 มกราคม พ.ศ. 2557

The trust relationship between this workstation and the primary domain failed


1) Goto Active Directory Users and Computers --> OU --> Computers -> Right Click on computer --> Reset Account
2) Login computer with domain admin
    Goto system properties > computer name tab > netword id (Enter domain admin username / password for rejoin)

วันอังคารที่ 24 ธันวาคม พ.ศ. 2556

Proxy PAC File publishing

Open IIS Console.

Right Click Site or Virtual Directory where you have create PAC file website.
Click on HTTP Headers Tab. And then Click on MIME Types button , It will open MIME Type Menu
that showing you two thing ( Extension and MIME Type).
Type .PAC in extension and application/x-ns-proxy-autoconfig in MIME type.

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

Example Robocopy

Backup
robocopy c:\backup d:\backup /maxage:1 /r:2 /mir /sec /log+:c:\backuplog\backup.log /ndl /nfl /eta

Archive
robocopy c:\backup d:\Archive /minlad:20121231(YYYYMMDD) /move /r:2 /mir /sec /log+:c:\backuplog\archive.log /ndl /nfl /eta

วันจันทร์ที่ 21 ตุลาคม พ.ศ. 2556

How to Add Account Window in Citrix Receiver for Windows 3.x

When you Install the receiver 3.3, you can script the install for the users so they do not see the prompt with an Install scipt similar to the following: 

CitrixReceiver.exe /silent /include SSON STORE0="VIAB;http://myviab/dt/PNAgent/config.xml;on" 

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

Enabling Remote Desktop Connection client Single Sign On (SSO) for Remote Desktop Services

1. Server

Connect to Remote Desktop Host Server
Start Server Manager
Expand Roles->Remote Desktop Services select RD Session Host Configuration
In the right pane in the Connections right click RDP-Tcp connection name and choose Properties
On the Log on Settings tab make sure "Alsways prompt for password" is unchecked.
On the General tab choose security layer: Negotiate or SSL (TLS 1.0)
Click OK.


2. Windows 7

Start Group Policy Editor (run: gpedit.msc)
Expand Computer Configuration->Administrative Templates->System->Credentials Delegation
Enable following settings: Allow Delegating Default Credentials and Allow Delegating Default Credentials with NTLM-only Server Authentication
Add following entries to each setting TERMSRV/server_name

server_name is the name of the RDSH server, you can use one wildcard there, for example: TERMSRV/myserver or TERMSRV/*.domain.com or TERMSRV/*

SSO (Single Sign On) thoughts on RDWEB

http://www.anilerduran.com/index.php/2012/sso-single-sign-on-thoughts-on-rds-remote-desktop-services-2012/