Admin@trouble

daily experience

Archive for the ‘XENSERVER’ Category

Cloudplattform with Xenserver

Posted by mountainbrother - 1. November 2012

Deep Infos to setup your own CloudPortal:

https://citrix.sharefile.com/d/s9e2ddb153064db0b
https://www1.gotomeeting.com/register/742683809

http://blogs.citrix.com/product/cloud-solutions/
http://paper.li/citrixcloudeco/1319656038
https://twitter.com/CitrixCloud
http://www.facebook.com/CitrixCloudPlatform

All Credits goes to Citrx and Masterclass

Advertisements

Posted in XENSERVER | Leave a Comment »

Coming next: ISCSI Storage for Xenserver Pool at a Free NAS System

Posted by mountainbrother - 20. August 2012

under construction

Posted in XENSERVER | Leave a Comment »

Xenserver TAMPA

Posted by mountainbrother - 14. Juli 2012

This week was a very good Masterclass Webinar for the next Release of Xenserver:

here are the new features and links powered by Masterclass:

  • LACP Bonding Support: This feature preview includes support for Link Aggregation Control Protocol bonding, enabling you to use the same switch-based features to provide fault-tolerance and load balancing of network traffic for XenServer hosts as you do with other systems and devices.
  • NIC Support Improvements: Up to 4 NICs in a bond are now supported increasing the total bandwidth available and increases fault tolerance in the case of a hardware failure.
  • Multi-Tenancy Host Improvements: The new multi-tenancy extensions allow XenServer administrators to lock a virtual switch port to a MAC address and a list of IPv4 or IPv6 addresses. This means that when these extensions are deployed VMs cannot impersonate any other VM; or intercept traffic intended for any other VM.
  • Emergency Network Reset: Network Reset provides a simple mechanism to recover and reset a host’s networking configuration to its original state at fresh installation. This is also useful when you simply want to configure networking on a host from scratch, and helps to recover a host from an incorrectly configured state. Refer to the XenServer 2012FP Administrator’s Guide for detailed information.
  • Enhanced Guest OS Support: Support for CentOS 5.7 (32/64-bit), CentOS 6.0 (32/64-bit), CentOS 6.1, CentOS 6.2, Red Hat Enterprise Linux 5.7 (32/64-bit), Red Hat Enterprise Linux 6.1, Red Hat Enterprise Linux 6.2, Oracle Enterprise Linux 5.7 (32/64-bit), Oracle Enterprise Linux 6.1, and Oracle Enterprise Linux 6.2. Refer to the 2012 FP Virtual Machine User’s Guide for virtual memory and disk size limits for these new guests.
  • XenServer Tools Improvements: Guests running Windows operating systems, can now can make use of either .Net 3.5 or .Net 4.0 when installing XenServer Tools.
  • Integrated StorageLink SMI-S Support: SMI-S compatible storage arrays are now supported
  • IPv6 Guest Support: Full support for IPv6-enabled Guests.
  • Storage XenMotion: Storage XenMotion allows VMs to be moved from one host to another, where the VMs are not located on storage shared between the two hosts. This enables system administrators to rebalance VMs between XenServer pools (for example from a development environment to a production environment) upgrade and update standalone XenServer hosts without any VM downtime, and upgrade XenServer host hardware. For more information, refer to the XenServer 2012 FP Virtual Machine User’s Guide and the XenCenter online help.
  • Live VDI Migration: Live VDI migration allows the administrator to relocate the VMs Virtual Disk Image (VDI) without shutting down the VM. This enables you to move a VM from cheap local storage to fast, resilient, array-backed storage, move a VM from a development to production environment, move between tiers of storage when a VM is limited by storage capacity, and perform storage array upgrades.
  • New Installation Mechanism for XenServer Tools:The new installation mechanism enables future updates of the XenServer Tools to be delivered directly to the VM administrators via the standard Windows Update Service; the XS administrator no longer needs to be involved in the process. This new simplified delivery mechanism allows for true role separation, which is particularly useful in a IaaS environment.Previously the installation mechanism of XenServer Tools for Windows Virtual Machines assumed that the roles of a XenServer administrator and a Virtual Machine (VM) administrator were performed by the same person, and the delivery mechanism of updates to XenServer Tools matched this assumption. Following a XenServer upgrade, the administrator would have to manually update all Windows VMs and schedule downtime for VM reboots, or carry out a lengthy and complex migrate process.In this Feature Preview, the XenServer Tools are delivered as Windows Installer MSI files. This means that the same industry standard tools that are used to deliver other software and drivers can be used to manage installation and upgrade of the XenServer device drivers.

Ongoing Improvements

  • Disk usage for logging in dom0, logs now rotated hourly (CP-3137)
  • NFS stability (XOP-60)
  • VLAN performance improvements when using the OVS (CA-68226)
  • Default dom0 interrupt processing capabilities improvements (CA-70552)
  • VM-level UDP network performance improvements (CA-72746)
  • Xapi responsiveness increased during shutdown of large Virtual Machines (SCTX-507)

Webinar Recording: https://www1.gotomeeting.com/register/313194169

Product Features Survey: https://citrix.qualtrics.com/SE/?SID=SV_1Nf4UEAztjDF8SU

Licensing and Packaging Survey: https://citrix.qualtrics.com/SE/?SID=SV_d6dZh4n6gk85q2U

Posted in XENSERVER | Leave a Comment »

Add local Storage to Xenserver

Posted by mountainbrother - 11. Oktober 2011

enable SSh in XS console or you have account over Xencenter

xe sr-list

show you active SR

fdisk -l

show your HHD /dev/sda .. /dev/sdb here is sdb the new one ( RAID 1 )

pvcreate /dev/sdb

prequistes your HHD for LVM

ll /dev/disk/ by-id

you need the disk-id to bound the HHD

i call the new storage “ DAS  “ so the now the important one:

xe sr-create content-type=user device-config:device=/dev/disk/by-id/<iscsi-xxxxxxxxxxxxxxxxxxxxxxxxx> name-label=”DAS ” shared=false type=lvm

READY

the new local storage popsup in your Xencenter and in XSconsole

Posted in XENSERVER | Leave a Comment »

Mount or built SR with an USB Stick in Xenserver

Posted by mountainbrother - 4. August 2011

If you need the metadata from a Pool , or you want archive some VM´s you can put it on a usbdrive.

Here we go:

1. Open Console
open on xensever the CLI

2. Open Protocoll
tail -f /var/log/messages you can read whats happen in the system

3. Detect USB-Stick
Put in the usbdrive. Look at the log , memorize (for example : /dev/sdc )

4. Check the Partion of the stick
fdisk /dev/<SCSI-Name>

5. mount the drive

mount /dev/sdc /mnt

or

6. USB Stick as Storage Repository

xe sr-create type=lvm name-label=<SR-Name> device-config:device=/dev/<SCSI-Name>

Posted in XENSERVER | Leave a Comment »

Config a new Nic in Xenserver or rebuilt the CX4 adapter after Crash

Posted by mountainbrother - 1. August 2011

1.UUID from the Host

First we need the UUID from Host.

xe host-list 0r

xe host-list host-name=<hostname>

Notice the UUID

2. Scan the new NICs

xe pif-scan host-uuid=<Host-UUID>

3. Rename the Network

xe network-param-set uuid=<UUID of Network> name-label=<New NetworkName>

alternative (eth1)

xe pif-list device=eth1

4. Set IP Configuration

xe pif-reconfigure-ip uuid=<UUID of NIC> IP=<IP Adresse> netmask=<Netmask> gateway=<Gateway-Adress> mode=static

5.Active the NIC

xe pif-plug uuid=<UUID of NIC>

ready

Posted in XENSERVER | Leave a Comment »

Create XenServer Templates with Sysprep and Server 2008 R2 Sp1

Posted by mountainbrother - 5. Juli 2011

First you create a VM with Server R2 Sp1 and all your Apps you want to run on it.

This i skip you know who that works.

After installing your Apps test all of function if it work right.

Know we come to produce sysprep and create from shutdown VM a Xenserver Template


after MiniSetup you see under Computer Poperties a new Name / SID / and SP1

PS : you can check new Sid with

C:\>dsquery * -filter „&(objectcategory=computer)(samaccountname=servername$)“ -attr objectsid objectsid

or:

PSGETSID from Mark Russinovich

http://technet.microsoft.com/en-us/sysinternals/bb897417

Posted in XENSERVER | Leave a Comment »

Communication in Provisioning Infrastructur

Posted by mountainbrother - 19. März 2011

Based on CTX117874

 

 

 

FROM TO PORT(S) USED
XenCenter XenServer 443/22
XenCenter VMs 3389
XenServer XenServer 443/22
VMs DHCP Server 67/68
VMs PXE Server 67/4011
VMs TFTP Server 69
VMs Provisioning Server 6910-6930
Provisioning Server Provisioning Server 6905-6909
Provisioning Server Shared Storage CIFS/NFS
Provisioning Server License Server 27000
Provisioning Server Active Directory 389

Posted in XENSERVER | Leave a Comment »

Resources for Xenserver

Posted by mountainbrother - 18. März 2011

Citrix XenServer 5.6 Administrator’s Guide
http://support.citrix.com/article/CTX124887.

Citrix XenServer 5.6 Installation Guide
http://support.citrix.com/article/CTX124889.

Citrix XenServer 5.6 Virtual Machine Installation Guide
http://support.citrix.com/article/CTX124888.

Citrix StorageLink Installation Guide Version 2.2
http://support.citrix.com/article/CTX125238.

Citrix StorageLink User Guide Version 2.2
http://support.citrix.com/article/CTX124986.

XenServer System Recovery Guide
https://support.citrix.com/servlet/KbServlet/download/17140-102-18520/XenServer%20System%20Recovery%20Guide.pdf.

Citrix Knowledge Center Article (CTX115813)
http://support.citrix.com/article/CTX115813.
Citrix Knowledge Center Article (CTX115212)
http://support.citrix.com/article/CTX115212.
Citrix Knowledge Center Article (CTX120619)
Citrix Knowledge Center Article (CTX121099)
http://support.citrix.com/article/CTX121099.
Citrix Knowledge Center Article (CTX118791)
http://support.citrix.com/article/CTX118791.
Citrix Knowledge Center Article (CTX125372)
http://support.citrix.com/article/CTX125372.
Citrix Knowledge Center Article (CTX121615)
http://support.citrix.com/article/CTX121615.
Citrix Knowledge Center Article (CTX116439)
http://support.citrix.com/article/CTX116439.
Citrix Knowledge Center Article (CTX118457)
http://support.citrix.com/article/CTX118457
Configuring XenServer Enterprise Edition

Citrix XenServer 5.6 Installation Guide
Citrix Knowledge Center Article (CTX115813)

Working with Virtual Machines

Citrix XenServer 5.6 Virtual Machine Installation Guide
Citrix Knowledge Center Article (CTX115212)

Citrix Knowledge Center Article (CTX125372)

Managing and Maintaining XenServer Hosts

CXS-202-1 Citrix XenServer 5.6 Administration
Citrix XenServer 5.6 Administrator’s Guide

Citrix Knowledge Center Article (CTX120619)
Citrix Knowledge Center Article (CTX120619)

Enable multipathing.
Center Article (CTX118791)

• Citrix Knowledge Center Article (CTX121615)

Managing and Maintaining XenServer Hosts

Creating and Managing Storage

Citrix Knowledge Center Article (CTX116439)

Citrix StorageLink User Guide Version 2.2

Citrix StorageLink Installation Guide Version 2.2

Working with Pools

CXS-202-1 Citrix XenServer 5.6 Administration

• Citrix XenServer 5.6 Administrator’s Guide

• XenServer System Recovery Guide

• Citrix Knowledge Center Article (CTX118457 )

Posted in XENSERVER | Leave a Comment »

Troubleshooting Xenserver

Posted by mountainbrother - 17. März 2011

• xe help –all|more Show a list of XenServer CLI commands
• xsconsole Runs up the XenServer text based console
• xe-toolstack-restart Restarts the XenServer management tools
• ls –l List files in a Directory
• less /var/log/dmesg Display Boot Messages from Linux
• xe host-dmesg Xen Hypervisor Boot messages
• tail –f /var/log/xensource.log Look at xapi messages as they happen
• tail –f /var/log/xensource.log | grep xxx Look at xapi messages only for vm uuid xxx
• tail –f [log name] > [target filename] Send output to a file for analysis later
• cat /etc/xensource-inventory Display XenSource Inventory info
• xen-bugtool –yes Build a status report when xapi is down
• xe-backup-metadata -d –u [uuid of SR] Back up Pool metadata for all VMs
• tcpdump –i [inf] –vvv –w [filename] Get a Packet trace from [inf]. E.g. Inf=eth0, xenbr0, vif2.0 etc.
• top List the top processes running in Dom0
• xentop List top Xen processes
• mpstat 5 Processor stats in Dom0
• vmstat 2 Virtual memory in Dom0
• netstat –s Networking statistics
• iostat -d 2 6 Storage traffic stats
• list_domains Lists VMs that are running
• fdisk –l List the disk partitions
• hdparm –t /dev/sda3 Device read times for sda3 (normally local SR)
• pvs Show local and remote LVHD SRs
• ll /dev/disks/by-id Look at disk partitions
• lvs List logical volumes (virtual disks)
• vgs List LVM volume groups
• cd /var/run/sr-mount Look at NFS SRs
• df -h Shows how much disk space you have left
• dd if=/dev/sdb of=/dev/null iflag=direct bs=1M count=512 Read data performance from sdb.
• dd if=/dev/zero of=/dev/sdb oflag=direct bs=1M count=4096 Write performance on sdb. * Don’t use on disks with VMs on them!
• ifconfig Show info on NICs, virtual switches and vNICs
• brctl show Show info on virtual switches
• ethtool eth0 Info for NIC eth0
• mii-tool Info on NIC bonding
• iscsiadm -m discovery –type sendtargets –port 192.168.250.14 Discover iSCSI targets available to this server
• iscsiadm –m session Open iscsi sessions
• history Lists the history of commands you’ve used
• !136 Executes command #136 in the history
• history -w history-list.txt Writes the history info to a text file

Posted in XENSERVER | 1 Comment »