Chapter 13. Working with Templates

# cat etc/fstab

 

 

 

/dev/xvda

/

ext3

defaults

1 1

/dev/xvdb

/mnt

ext3

defaults

0 0

none

/dev/pts

devpts

gid=5,mode=620

0 0

none

/proc

proc

defaults

0 0

none

/sys

sysfs

defaults

0 0

 

 

 

 

 

7.Enable login via the console. The default console device in a XenServer system is xvc0. Ensure that etc/inittab and etc/securetty have the following lines respectively:

#grep xvc0 etc/inittab co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav

#grep xvc0 etc/securetty

xvc0

8.Ensure the ramdisk supports PV disk and PV network. Customize this for the kernel version you have determined above.

#chroot /mnt/loop/centos54

#cd /boot/

#mv initrd-2.6.18-164.15.1.el5xen.img initrd-2.6.18-164.15.1.el5xen.img.bak

#mkinitrd -f /boot/initrd-2.6.18-164.15.1.el5xen.img --with=xennet --preload=xenblk -- omit-scsi-modules 2.6.18-164.15.1.el5xen

9.Change the password.

#passwd

Changing password for user root.

New UNIX password:

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

10.Exit out of chroot.

#exit

11.Check etc/ssh/sshd_config for lines allowing ssh login using a password.

#egrep "PermitRootLoginPasswordAuthentication" /mnt/loop/centos54/etc/ssh/sshd_config PermitRootLogin yes

PasswordAuthentication yes

12.If you need the template to be enabled to reset passwords from the CloudPlatform UI or API, install the password change script into the image at this point. See Section 13.13, “Adding Password Management to Your Templates”.

13.Unmount and delete loopback mount.

#umount /mnt/loop/centos54

#losetup -d /dev/loop0

14.Copy the image file to your XenServer host's file-based storage repository. In the example below, the Xenserver is "xenhost". This XenServer has an NFS repository whose uuid is a9c5b8c8-536b- a193-a6dc-51af3e5ff799.

124

Page 134
Image 134
Citrix Systems 4.2 manual Exit out of chroot

4.2 specifications

Citrix Systems, a leading provider of virtualization solutions and cloud computing technologies, released version 4.2 of its popular software, Citrix XenApp, which was previously known as Presentation Server. This version marked a significant evolution in providing users with remote access to applications and desktops, emphasizing simplicity, performance, and security.

One of the standout features of Citrix XenApp 4.2 is its improved application streaming capabilities. This technology allows applications to be delivered to users in real-time, reducing the need for extensive local installations and enhancing the user experience. With application streaming, administrators can efficiently manage applications on a central server while ensuring that users have immediate access to the necessary tools.

Another highlight of this version is the enhanced security measures put in place to protect sensitive data. Citrix XenApp 4.2 includes support for SSL encryption, providing a secure communication channel for data transmitted between the server and clients. This is particularly crucial for businesses that need to comply with strict data protection regulations. Additionally, the integration of endpoint security features ensures that unauthorized access to applications is minimized.

Performance enhancements are also a critical focus in this release. Citrix optimized the delivery of applications over various network conditions, ensuring that users experience minimal latency regardless of their location. This was achieved through the incorporation of SmartAccess and SmartControl technologies, which allow administrators to set policies based on user roles, device types, and network conditions. This level of granularity enables organization-wide security without compromising on usability.

The user experience was further improved with a revamped interface, making it easier for end-users to access their applications and data. Simplified menus, clear navigation paths, and the ability to customize user settings contributed to a more efficient workflow, allowing users to focus on their tasks rather than struggling with the software.

Finally, Citrix XenApp 4.2 was designed to be highly scalable. Organizations of all sizes could deploy this solution to deliver applications efficiently, adapting to their specific needs as their user base grows or changes. This flexibility is crucial for businesses looking to future-proof their IT investments while maintaining optimal performance.

In summary, Citrix XenApp 4.2 stands out with its enhanced application streaming, robust security features, improved performance under varying conditions, user-friendly interface, and scalability, making it an ideal choice for organizations seeking to leverage virtualization for remote access to applications and desktops.