Netscaler VPX 9.1 Primeros Pasos.

Unos de los productos más desconocidos de Citrix es Netscaler, por ahi por el echo de que era dificil obtener el hardware para poder probarlo o mirarlo. En su momento pasaba lo mismo con Access Gateway, pero cuando salió el tutorial para poder Virtualizarlo en VMWare el acceso a probar y romperlo fue mucho más rápido.

Lo mismo pasa hoy en día con NetScaler, Citrix saco al mercado recientemente la versión NetScaler  VPX 9.1 que es la versión de NetScaler para virtualizar en XenServer 5.0 o mayor. Con lo cual todas las limitaciones que teníamos para probar el producto se han vuelto mas simple.

Para los que no están al tanto NetScaler es un Producto de optimización de tráfico, mejora el rendimiento de aplicaciones web, haciendo compresión, caching, balanceo de tráfico, administración de tráfico de nivel 3 a 7, firewall de aplicaciones, aceleración SSL  y etc.

NetScaler es un producto que puede parecer complejo ya que hay muchos conceptos  que para los que venimos de los ambientes de Terminal/Citrix no son manejados en el día a día. Como para perder el miedo veamos como empezar a trabajar y probar NetScaler en nuestros ambientes.

Para lo que necesitamos tener es un Citrix XenServer 5.5 que es gratis, y lo podemos bajar desde aqui  la consola XenCenter para poder administrar el XenServer.
Luego debemos bajar las imágenes virtuales de
NetScaler VPX
Podemos bajar el PDF (Citrix NetScaler VPX Getting Started Guide - Release 9.1)

Una vez que bajamos la Imagen de NetScaler debemos importar la VM a XenServer

Abrir  la XenCenter, conectarse al XenServer y Seleccionamos el menú VM y hacemos Clic en Import

Seleccionamos la imagen .xva  del NetScaler VPX y debemos asegurar que la opción de “Exported VM” este seleccionado.

NS12


Esperamos a que este importada la VM y la iniciamos, desde la consola debemos configurar la IP del NetScaler (NetScaler IP o NSIP) para poder administrarlo.

Luego simplemente nos conectamos desde una maquina que tenga un browser a la dirección http://nsip  donde nsip es la IP del Netscaler que configuramos en la consola.

Iniciamos con el usuario nsroot y su password nsroot

Luego vemos la consola desde el cual podremos iniciar asistentes para poder configurar las caracteristicas que necesitemos. 

 Opciones de Load Balancing

 

 

 

 

 

 

Configurar GSLB

 

 Las Opciones de AppExpert que son realmente utiles y muy flexibles para poder crear cualquier tipo de reglas

 

 Podemos activar y configurar un Access Gateway para poder integrar con XenApp o XenDesktop

 

 Configuracion de nivel de Content Switching

En otros post veremos como configurar HA, NLB y demas opciones de NetScaler

Aplicaciones y Desktops en iPhone a traves de Citrix XenDesktop y XenApp

Hace unos pocos meses Citrix libero el Citrix Receiver for iPhone, este mismo funciona como cliente de Citrix para conectarse a Aplicaciones que estén publicadas en XenApp y  Escritorios que estén publicados en XenDesktop.

Por suerte tuve la oportunidad de unir ambos ambientes, tener un IPhone y contar con la posibilidad de tener un ambiente de Xendesktop 3.0 para poder probar todo.
Los requisitos son simples.

Tener un iPhone versión 2.2.1  o mayor con la aplicación Citrix Receiver for iPhone que se puede bajar desde iTunes

A nivel de XenApp necesitamos tener Citrix Presentation Server 4.5, con un site para Program Neighborhood Services configurado o Citrix XenApp 5.0, con el sitio de XenApp Services configurado.

Una vez cumplido con los requisitos necesitamos configurar nuestro iPhone para que se conecta a la granja.
Desde la configuración del iphone debemos configurar nuestro Citrix Receiver for iPhone para que se conecte al Sitio de Servicios en busca de nuestro config.xml


Debemos configurar usuario, clave y URL completa del archivo config.xml del sitio de Citrix.





Luego tenemos que ir a la aplicación Citrix Receiver for iPhone en nuestro iPhone y ejecutarla.




Veremos nuestras aplicaciones disponibles y al ejecutarlas solo tenemos que disfrutar de tenerlas en el iPhone.

Iniciando aplicaciones de Citrix desde mi sking para iphone de windows 7 (muy geek lo mio)

Escribiendo en las aplicaciones

moviendome en el menu inicio, con un mstsc ejecutado

Configurando la consola de Citrix desde mi iPhone ;)

Tambien hay tiempo para ver el mundo desde Google Earth

y Obviamente buscando Buenos Aires.

 

Espero les sea de utilidad.

Como instalar XenServer en un USB

Para todos los que esten con notebook 64 bits con VT, su Windows Vista o sistema operativo corriendo y quieran probar XenServer esta la opcion de romper todo e instalar XenServer, Instalarlo en VMWare (problemas de performance) o simplemente pueden probar de instalarlo en una disco USB. (ideal)

Para los que quieren probar esta última opción, les paso la info que encontre en VirtualizationReview

Installing and Running XenServer 4.1 on an External USB Drive
May 9, 2008 - by Chris Wolf
Source: http://virtualizationreview.com/columns/article.aspx?editorialsid=2618

"I often get asked about running hypervisors from portable storage devices and in this column, I'd like to talk about a method for installing and running XenServer 4.1 from a portable USB hard drive. This is useful if you are testing multiple hypervisor solutions and do not want to multi-boot the hypervisors on local server storage. Since XenServer Express Edition is free, you can evaluate the product for as long as you like and eventually upgrade the license if you want to unlock the product's enterprise-class features.
Of course, the physical host server is going to need to meet XenServer 4.1's system requirements. Servers with support for hardware-assisted virtualization (one of XenServer's hardware requirements) should also support USB device boot. Many USB flash drives offer enough storage space for a XenServer installation (16GB is required per the official requirements). Note that the actual software installation will only consume about 2GB. However, keep in mind that USB flash drives perform considerably slower than traditional hard disks. So if performance is a consideration, I highly recommend using a 2.5" external USB drive. In preparation for this article, I used a Seagate external USB 2.0 40 GB hard disk.
While not required, I disabled all internal hard disks in the test server's BIOS so that the XenServer installation would only see the external USB drive. This prevents accidentally installing XenServer on an internal server hard disk.
At this point, you should be ready to install XenServer 4.1. You can do so by following the installations steps documented in the XenServer 4.1 Installation Guide. Note that you will only be prompted to select the installation drive if the system can see multiple attached drives. If you take the cautionary step to disable all locally attached physical drives, you will not see this option. If multiple drives are present, you will also be prompted to select the drive for virtual storage, which again should be the external USB drive.
Once the XenServer installation completes, you will be prompted to hit Enter to reboot the server. This is where the trouble will begin. USB support is not preloaded by the mkinitrd image, by default, which will eventually cause a kernel panic and automatic reboot when XenServer starts. Note that if you are not seeing XenServer boot, that's probably because the USB drive was listed farther down in the boot order than another system drive. You can select to boot from the USB drive by clicking the hotkey to access the boot options menu and selecting to boot from the USB drive at that point. For example, the boot options menu on many Dell servers is accessed by hitting the F11 key when the server boots.
To get XenServer to successfully boot on an external USB drive, follow these steps:
1. When the server boots, hit the hotkey for the boot options menu.
2. Ensure that the XenServer installation CD is in the CD-ROM drive.
3. In the boot options menu, select the option to boot from the CD-ROM.
4. As soon as the Welcome to XenServer setup screen loads, immediately press the F2 key to view the advanced setup options.
5. Now type shell and hit Enter.
6. When the system finishes booting, run the following command to create a temporary folder where you will mount the external USB drive:

mkdir /tmp/sda
7. You will now mount the USB drive to the temporary location. Note that I'm assuming the USB drive is the only drive attached to the system and therefore is mounted as /dev/sda. To mount the first partition of sda to the /tmp/sda folder, run this command:

mount -t ext3 /dev/sda1 /tmp/sda
8. You will now need to copy the sys/block drivers from the setup environment to the USB drive. However, you will first need to change the driver file permissions prior to the copy. To do this, run this command:

chmod -R 664 /sys/block
9. You can now copy the contents of /sys/block to the USB drive. To do this, run this command:

cp -R /sys/block/ /tmp/sda/sys/block/

Note: Disregard the resultant "Input/Output error" message. The file copy will complete successfully.
10. Next you need to change the root location to /tmp/sda. You can do this by running the command:

chroot /tmp/sda
11. Now let's change to the /boot folder on the USB drive. To do this, run the command:

cd /boot
12. Now we will rename the original primary initrd image file because the new image file will have the same name as the original file for ease of configuration. To rename the primary initrd image file, run this command:

mv initrd-2.6.18-53.1.13.el5.xs4.1.0.254.273xen.img initrd-2.6.18-53.1.13.el5.xs4.1.0.254.273xen.img.old
13. Next, we'll create a new initrd image that includes the USB driver. To do this, run this command:

mkinitrd --with-usb initrd-2.6.18-53.1.13.el5.xs4.1.0.254.273xen.img 2.6.18-53.1.13.el5.xs4.1.0.254.273xen
14. At this point, you will now be able to successfully boot XenServer from an external USB drive. To reboot, the server, type exit and hit Enter and then type reboot and press Enter. Remember to select the external USB drive from the boot options menu when the server boots.
When the XenServer system successfully boots, you should see that the post installation script that XenServer attempts to run will fail. The post install script will try and configure the third partition created during the XenServer installation as a data store for VM files, but will fail in the process. Since the script fails to add a local data store, you'll just need to do this manually. Note that this assumes that you have enough additional storage on the external USB drive for VM storage.
If you plan to use local storage for VMs, follow these steps:
1. Login to the XenServer console using the root account and the root account password you specified when you installed XenServer.
2. Run fdisk -l to view the available partitions on the attached USB drive. The command execution and output is shown below:
[root@xensrv1 ~]# fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
64 heads, 32 sectors/track, 38154 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot  Start   End   Blocks Id System
/dev/sda1    *      1  3907  4000752 83 Linux
/dev/sda2        3908  7814  4000768 83 Linux
/dev/sda3        7815 38154 31068160 83 Linux
3. As you can see, most of the drive's storage blocks are allocated to /dev/sda3. This is the partition you will configure as a local data store for VM files. Next, you need to query the host universal unique identifier (UUID) which is generated when XenServer is installed. To do this, run this command:

cat /etc/xensource-inventory

The command execution and its output is shown here:

[root@xensrv1 /]# cat /etc/xensource-inventory
PRODUCT_BRAND='XenServer'
PRODUCT_NAME='xenenterprise'
PRODUCT_VERSION='4.1.0'
BUILD_NUMBER='7843p'
KERNEL_VERSION='2.6.18-53.1.13.el5.xs4.1.0.254.273xen'
XEN_VERSION='3.1.0'
INSTALLATION_DATE='2008-05-05 17:44:15.745293'
PRIMARY_DISK='/dev/sda'
BACKUP_PARTITION='/dev/sda2'
INSTALLATION_UUID='d3e7e1e6-80f3-4241-a6cf-3bf83971c0e6'
CONTROL_DOMAIN_UUID='3e5b935a-c14e-4059-aae5-45bb87b8b864'
DEFAULT_SR_PHYSDEVS='/dev/sda3'
DOM0_MEM='752'
MANAGEMENT_INTERFACE='xenbr0'
4. Note the INSTALLATION_UUID value listed in the cat command's output. You will need it to create the new local storage repository. You can now add the local storage repository by using the xe sr-create command with the following syntax:

xe sr-create content-type="localSR" host-uuid=<INSTALLATION_UUID> type=ext device-config-device=<disk partition> shared=false name-label "<friendly label>"
On my test system, the following values were used:
INSTALLATION_UUID: d3e7e1e6-80f3-4241-a6cf-3bf83971c0e6
Disk partition: /dev/sda3
Friendly label: "Local USB Storage"
The full command used to configure the local storage repository in my test environment is shown below:
[root@xensrv1 /]# xe sr-create content-type="localSR" host-uuid=d3e7e1e6-80f3-4241-a6cf-3bf83971c0e6 type=ext device-config-device=/dev/sda3 shared=false name-label "Local USB Storage"
The remaining configuration can be performed with the XenCenter management server, which can be installed on any Windows system in your environment. XenCenter is the GUI-based central administration tool for XenServer environments. You can get more information on XenCenter on the Citrix XenServer page.
You should now be able to login to XenCenter and manage the new XenServer with its available local USB storage. At this point, you are ready to install a VM on the local storage. Of course, if you do not have additional room on the local disk, you can configure network storage (i.e. NFS, iSCSI, Fibre Channel) and store VM files on the network storage array.
Now you can create a new VM by clicking the "New VM" object in the XenCenter toolbar and entering the required information in the New VM wizard.
When you're done testing, just shut down any running VMs and shut down the XenServer. If you disabled any local hard disks in the system BIOS, just re-enable them and your test server is returned to its original configuration. "
May 9, 2008 - by Chris Wolf
Source: http://virtualizationreview.com/columns/article.aspx?editorialsid=2618

 

Subcategorías

Ud esta Aqui:
Citrix Technology Professionals