PVS Reseal with Appsense

0

@ECHO OFF

echo Removing AppSense CCA registry information and stopping CCA Service

net stop "AppSense Client Communications Agent"

reg add "HKEY_LOCAL_MACHINE\Software\AppSense Technologies\Communications Agent" /v "group id" /t reg_sz /d "" /f

reg add "HKEY_LOCAL_MACHINE\Software\AppSense Technologies\Communications Agent" /v "machine id" /t reg_sz /d "" /f

echo Starting the Citrix Reseal

"C:\Program Files (x86)\Citrix\XenApp\ServerConfig\XenAppConfigConsole.exe" /ExecutionMode:ImagePrep /RemoveCurrentServer:True /PrepMsmq:True

ECHO *************************************************

ECHO *************************************************

ECHO **************** RESEAL COMPLETE ****************

ECHO ***** Remember to promote the vDisk to Test *****

ECHO ********* The Server will now shutdown **********

ECHO *************************************************

ECHO *************************************************

pause

shutdown -s -f -t 00

Posted in: Uncategorized

Continue Reading

Desktop availability with XenApp and XenDesktop 7.5

0

 

Last Tuesday, CItrix launched news of its new incarnation of the XenDesktop Product, version 7.5. With this release, the functionality known as XenDesktop App edition, the provision of seamless applications and shared hosted desktops has been rebranded to XenApp 7.5. Does this mean the return of XenApp as we know it? Frankly no, it’s the same FMA application publishing technology that started in XenDesktop version 7. So, if you wish to publish an application or a Shared desktop, you need a server on which you install the XenDesktop VDA. This enables the server to be used to deliver its desktops and installed applications using the Citrix HDX protocol.

One interesting development however, is the announcement that XenDesktop will now support the provision of applications and desktops within a public cloud platform.

This is intended to offer organisations the ability to deliver Windows desktop sessions and applications to users from their on-premise cloud, but expand out to other clouds such as Amazon Web Service or Azure possibly if extra capacity is required to meet peaks in demand, for example.

This means that customer will use the same management console to control user sessions, wherever they are hosted. Ultimately this will enable them to use any of the large public clouds on the market, but initial support is for AWS, or public or private clouds based on the CloudStack platform.

I personally think this will be useful when designing a disaster recovery solution for a customer that already use cloud for their other services as you’d want your desktops adjacent to your data.

On the cloud you could host a Netscaler VPX appliance and extend the XenDesktop/App farm using GSLB (global Server Load Balancing) as automated failover.

Upgrade packages are yet to be disclosed however Citrix has announced a discount on XenMobile licences with its platinum version. As well as the XenMobile incentive platinum customers also receive App DNA for application migration.

All in all, some exciting developments on the horizon.

image

Posted in: Uncategorized

Continue Reading

PVS Console Running Slow?

0

This is a very old fix but I keep seeing it when attending customer sites. The symptoms are PVS Console is very sluggish and you sometimes get the error :-

“The snap-in is not responding, end now or cancel to return to the MMC to check the status of the snap-in.”

By hitting Cancel the console loads but its very slow.

 

To fix it on Pvs 6 you should get this prompt….

Click Disable. However if you didn’t click it or choose something else you wont get prompted again.

The best way to fix this is to create a file called mmc.exe.config with the following contents…

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<runtime>
<generatePublisherEvidence enabled=”false” />
</runtime>
</configuration>

 

Copy this file to c:\windows\system32 and c:\windows\sysWOW64.

 

On restarting the console you should see the problem resolved;.


Continue Reading

Disable Secure Boot on Windows 2012 R2 to install the Citrix VDA – CTX137731

1

I recently attempted to install the Citrix VDA on a Windows 2012 R2 RDSH server running on Hyper-V 2012 R2 and received the following error …

image

“ The Virtual Delivery Agent (VDA) does not support Secure Boot, which is currently enabled. “

 

So I searched for Article CTX137731 as described but it doesn’t exist.

After some investigation it appears that when using Hyper-V 2012 R2 if you create a VM using a Generation 2 Virtual Machine, Hyper-V enables Secure Boot by default as described here

 

To disable this feature you need to power down the VM and then use the following PowerShell command on the Hypervisor…

image

Set-VMFirmware –Vmname <VM_NAME> –EnableSecureBoot Off

 

Hope this helps someone else.

Matthew Nichols


Continue Reading

Citrix CTP site links

0

Whilst on Carl Webster’s blog, who by the way has fantastic Citrix Farm Documentation Scripts, I found a list of all the Citrix Citrix Technology Professional (hopefully all) and their blog sites. Very useful if you want to see what Citrix Value in the community.

Anyway here’s the list

 

Citrix Technology Professional Sites

 

 

Sorry if anyone has been missed off. The full list of awardees can be found here… https://www.citrix.com/community/ctp/awardees.html

Posted in: Uncategorized

Continue Reading

Virtual ISO Drive HDD

0

I was at a customer site and I needed to build a ThinPC, so I downloaded the ISO and asked one of the guys if he good burn it so I could start the ThinPC image  build process. Then he replied with “We don’t burn ISO’s anymore that’s so 1990’s”. I thought well sure if your using virtualised machines but for physical hardware ??*?

He then showed me his ZALMAN! now calm down that’s not a euphemism, it’s a drive enclosure with a LCD screen. The beauty of this drive enclosure is that there’s some on board intelligence that allows you to present a stored ISO as an external CD/DVD drive.  Brilliant idea, all you do is select the ISO file that’s on the drive and it turns into an external drive with that disk mounted. Great for building servers, workstations or anything that requires a bootable CD. Server engineers could have all the Hypervisor versions on it and techs could have HirensBootCD and the like. Apparently it can mount VHD’s as well but I’ve not tested that.

Anyway I went and bought one as they were so good and at around £35 it’s a bargain! Please see the link to them below.

ZalMan on Amazon and video http://www.youtube.com/watch?v=TMg4Yu1QTbI


Continue Reading

Network Settings missing from XenServer after Pool Problem.

0

I have encountered several times that after a shutdown and restart on a XenServer host when it is configured as a pool, sometimes the pool members come up with no management interface because there are no network cards shown. The main reason I have seen this is because the pool-master server changes its IP address – this could be something as simple as changing the IP address, a DHCP address change, or a change of the PIF (physical interface) used for management. In these cases, if the pool slave cannot find the master, it will go into emergency mode to protect the VMs. However, the problem this presents is that there are no network cards available on the slave, no management interface, and the VM’s which were running on that server (even if you’re using shared storage) are unavailable.

The resolution is very quick and simple…

First, verify that you are in emergency mode by running the following from the command line interface on the pool slave host “xe host-is-in-emergency-mode” – – if it returns TRUE then read on, if it returns FALSE then this will not resolve your problem.

Next, verify what the IP address is of your running POOL MASTER (this assumes your POOL MASTER is still running, otherwise you will need to perform an emergency transition)….

On the pool slave, run the following “xe pool-emergency-reset-master master-address=xxx.xxx.xxx.xxx” — where xxx.xxx.xxx.xxx is the IP address of your working pool master…

Upon success it will notify you it will make the change within 10 seconds….

After 10 seconds, run “xe host-is-in-emergency-mode” — if it returns false you should be all set. You may need to refresh (disconnect/reconnect) to the pool in XenCenter.

If your pool-master is unavailable, or all of your hosts are showing no network adapter, then you will need to transfer the master role to one of the servers, from the command line, run: “xe pool-emergency-transition-to-master”

That will make this host the new pool master. Return to the menu system “xsconsole” and document that IP address as the pool master, and then continue the documentation above.

Posted in: Uncategorized

Continue Reading

Sync PVS vDisk Stores

0

When using provisioning services and multiple PVS servers I find that using a SAN storage presenting a local vDisk store a good option. However, this creates the question of replication to all PVS server vDisk stores.

You can create a read-only LUN but this causes problems when you want to update the vDisk.

 

There are two easy ways to replicate the storage, Microsoft’s DFS or ROBOCOPY.

 

I prefer ROBOCOPY as replication can be controlled whereas DFS is automatic and you can encounter problems with ‘the last write wins’. These are explained in more detail in BramWolfs Blog Replicating your vDisk Store with DFS.

 

To replicate the vDisk stores I create a batch file with the following contents…

ROBOCOPY \\PVS1\D$\Vdiskstore \\PVS2\D$\Vdiskstore /MIR /xo /XF *.lok /XD WriteCache

ROBOCOPY \\PVS2\D$\Vdiskstore \\PVS1\D$\Vdiskstore /MIR /xo /XF *.lok /XD WriteCache

@Edit Thanks for Greg williams for pointing out that its LOK not LOC

This script will mirror the destination with the source but the XO options are used in case the destination has a new version of the file, XF used to exclude loc files and XD to exclude the writecache folder.

Posted in: Uncategorized

Continue Reading

Cool way to put out a boat fire

0
YouTube Preview Image

 

Watch this video, it shows just about the coolest way to put out a fire. Its the boating equivalent of using planes in bush fires. Really Cool.


Continue Reading

Cycloramic: An App That Automatically Rotates Your iPhone 5 to Make 360-Degree Videos

0

This actually works. Basically it vibrates your iPhone 5 at the actual speed required to make the phone vibrate. You need to make sure the surface is clean and level.

 

YouTube Preview Image
Posted in: Apple, Cools Stuff, iPhone

Continue Reading