Citrix X1 StoreFront High Availability

An article by Trond Eirik Haavarstein from xenappblog

In my latest posts I’ve shown you how to secure and customize your CItrix X1 StoreFront solution.

Now let’s take a look at how you can remove single point of failure by configuring a multiple-server deployment. Did you know it doesn’t work as expected?

I’m deploying all my servers with my Automation Framework, let’s take a look at the Task Sequence.

Citrix X1 StoreFront High Availability 017

So the Task Sequence will install Citrix X1 StoreFront unattended and also Import and Bind the SSL Certificate because the Task Sequence variable is set to True in CustomSettings.ini. Read more about it in my post Securing Citrix X1 StoreFront with Powershell.

Citrix X1 StoreFront High Availability 018

[Settings]
Priority=ByVM, UUID, Default
Properties=XenAppRole, PVSTemplate, WindowsUpdate, ImportCertificate, ConfigureSite, JoinSite, vCenterCertificate
WindowsSource=%DeployRoot%Operating SystemsWindows Server 2012 R2sourcessxs

WindowsUpdate=False
ImportCertificate=True
vCenterCertificate=False
ConfigureSite=True
JoinSite=True

Let’s start the Citrix X1 StoreFront console for the first time on SF-02.

Citrix X1 StoreFront High Availability 003

To get High Availability you need to click on Join existing server group. This will ask for the Authorizing server and code.

Citrix X1 StoreFront High Availability 004

To get this Code you need to head over to your Primary X1 StoreFront server, in my case SF-01.

Select Server Group – Add Server. This will give you the code.

Citrix X1 StoreFront High Availability 005

Head back to your Secondary X1 StoreFront Server and type in the information above.

Citrix X1 StoreFront High Availability 006

Citrix X1 StoreFront High Availability 007

Citrix X1 StoreFront High Availability 008

Now let’s test the new site on SF-02.

Citrix X1 StoreFront High Availability 009

Citrix X1 StoreFront High Availability 010

Citrix X1 StoreFront High Availability 011

Hey, Wait a Minute Citrix! Where’s my customization that I made according to the post Citrix Netscaler Gateway and X1 StoreFront Customization?

So the built in Synchronization takes care of my Application Subscriptions, Trusted Domains and Feature App Groups, but why not Customize Website Appearance?

Citrix X1 StoreFront High Availability 012

Citrix wants us to leverage Netscaler Gateway for Load Balancing, but what help does that do if StoreFront can’t replicate my Customizations!

Well, fix it yourself. Run the following script to replicate the Customization:

$PriSF="sf-01.ctxlab.local"
$SecSF="sf-02.ctxlab.local"
$StoreLocation="StoreWeb"

copy-item \$PriSFc$inetpubwwwrootCitrix$StoreLocationcustom* \$SecSFc$inetpubwwwrootCitrix$StoreLocationCustom -Recurse
copy-item \$PriSFc$inetpubwwwrootCitrix$StoreLocationreceiverimages2xReceiverFullScreenBackground_46E559C0E6B5A27B.jpg \$SecSFc$inetpubwwwrootCitrix$StoreLocationreceiverimages2xReceiverFullScreenBackground_46E559C0E6B5A27B.jpg -Recurse

PowerShell Customization Replication

Let’s check Customize Website Appearance once more.

Citrix X1 StoreFront High Availability 016

I’ve recently found the class for the Login Page Logo and added that to my StoreWebcustomstyle.css file which at the moment look like this:

Citrix X1 StoreFront High Availability 014

/* Edit this file to customize the User Interface by overriding the existing CSS Styles. 
 * You can use browser development tools to identify the CSS classes you want to customize.
 */

/* When using the StoreFront Authentication SDK to return custom forms, a class "customform" is added to each form.
 * The following commented CSS rule illustrates how to modify the width of form field labels for custom forms.
 */

/*
.customform .field {
    width: 400px;
}
*/

/* The following section of the file is reserved for use by StoreFront. */
/* CITRIX DISCLAIMER: START OF MANAGED SECTION. PLEASE DO NOT EDIT ANY STYLE IN THIS SECTION */
.theme-header-bgcolor{
	background-color:#464647;
}
.is-hdpi .logo-container{
	background-image: url('Receiver_Logo_2x.png');
	background-size: 110px 39px;
}
.logo-container{
	background-image: url('Receiver_Logo_1x.png');
	background-size: 110px 39px;
}
/* CITRIX DISCLAIMER: END OF MANAGED SECTION. */
/* You may add custom styles below this line. */
.with-logo.logon-spacer{
	background-image: url('xenappblog_Logo.png');
}

Citrix X1 StoreFront High Availability 013

I tried a couple of hours to replace the background image in the Body, but it didn’t work out to good. Probably because the body is calling another CSS file. If anyone have solved this issue, please share in the comment below.

I want to specify location and e.g. Custom_BG.jpg in Style.css instead of using the ridiculous long name ReceiverFullScreenBackground_46E559C0E6B5A27B.jpg.

The post Citrix X1 StoreFront High Availability appeared first on xenappblog.

Be Sociable, Share!
 

Tags:

Comments

No comments so far.

  • Leave a Reply
     
    Your gravatar
    Your Name