Citrix Systems Server 6 Manuale Utente

Navigare online o scaricare Manuale Utente per Software Citrix Systems Server 6. Citrix Systems Server 6 User's Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - 1.1 Edition

Citrix XenServer ® 6.0 Administrator's GuidePublished Friday, 02 March 20121.1 Edition

Pagina 2

xAlerts ... 106Customizing

Pagina 3 - Contents

82If you want to use a storage interface that can be routed from the primary management interface also (bearingin mind that this configuration is not

Pagina 4

83The QoS value limits the rate of transmission from the VM. The QoS setting does not limit the amount of datathe VM can receive. If such a limit is d

Pagina 5

84HostnameThe system hostname, also known as the domain or DNS name, is defined in the pool-wide database and modifiedusing the xe host-set-hostname-l

Pagina 6

85To change the IP address of the pool master1. Use the pif-reconfigure-ip CLI command to set the IP address as desired. See Appendix A, Command LineI

Pagina 7

86Diagnosing network corruptionSome network card models require firmware upgrades from the vendor to work reliably under load, or whencertain optimiza

Pagina 8

87Disaster Recovery and BackupThe XenServer Disaster Recovery (DR) feature is designed to allow you to recover virtual machines (VMs) andvApps from a

Pagina 9

88and Universal Unique Identifier (UUID), and its memory, virtual CPU and networking and storage configuration.It also includes the VM startup options

Pagina 10

89Deployment ConsiderationsPlease review the following steps before enabling Disaster Recovery.Steps to Take Before a DisasterThe following section de

Pagina 11

90Information for all VMs in the pool is stored, VMs do not need to be independently selectedfor protection.3. Click OK. Your pool is now protected.Re

Pagina 12

911. In XenCenter select the secondary pool, and on the Pool menu, click Disaster Recovery to open the DisasterRecovery wizard.This wizard gives three

Pagina 13

xiBond Parameters ... 118bond-create ...

Pagina 14

92If you use Fibre Channel shared storage with LUN mirroring to replicate the data to thesecondary site, before you attempt to recover

Pagina 15

93useful in the Disaster Recovery situation where an Administrator may choose to group all VMs which reside onthe same Storage Repository, or which re

Pagina 16

94Citrix recommends that you frequently perform as many of the following backup procedures as possible torecover from possible server a

Pagina 17

95Backing up single host installationsUse the CLI to backup the pool database. To obtain a consistent pool metadata backup file, run pool-dump-da

Pagina 18

96section called “Backing up Virtual Machine metadata”). This backup method should alwaysbe considered complementary to backing up the pool metadata.U

Pagina 19 - Document Overview

97VM SnapshotsXenServer provides a convenient snapshotting mechanism that can take a snapshot of a VM storage and metadataat a given time. Where neces

Pagina 20 - New Features in XenServer 6.0

98 xe vm-snapshot vm=<vm uuid> new-name-label=<vm_snapshot_name> xe vm-snapshot-with-quiesce vm=<vm uuid> new-name-lab

Pagina 21

99For example, specifying power-state=halted will select all VMs whose power-state field is equal to 'halted'. Wheremultiple VMs are matchin

Pagina 22 - XenServer Documentation

1002. Note the UUID of the snapshot, and then run the snapshot-uninstall command to remove it:xe snapshot-uninstall snapshot-uuid=<snapshot-uuid>

Pagina 23 - Managing Users

1011. Use the command snapshot-export-to-template to create a new template file:xe snapshot-export-to template snapshot-uuid=<snapshot-uuid> \

Pagina 24 - Upgrading XenServer

xiihost-bugreport-upload ... 129host-crashdump-destroy ...

Pagina 25

102VSS snap of volumes hosted on dynamic disks in the Windows Guest : The vm-snapshot-with-quiesce CLI and theXenServer VSS hardware provider do not

Pagina 26 - User Authentication

103Member failuresIn the absence of HA, master nodes detect the failures of members by receiving regular heartbeat messages. Ifno heartbeat has been r

Pagina 27 - Removing Access for a User

104If the master is really dead, choose one of the members and run the command xe pool-emergency-transition-to-master on it. Once it has become the ma

Pagina 28 - Role Based Access Control

105 xe pool-emergency-transition-to-master xe pool-recover-slaves 2. If the commands succeed, restart the VMs.To restor

Pagina 29 - RBAC process

106Monitoring and Managing XenServerXenServer and XenCenter provide access to alerts that are generated when noteworthy things happen. XenCenterprovid

Pagina 30

107The following alerts appear on the performance graphs in XenCenter. See the XenCenter online help for moreinformation:• vm_cloned• vm_crashed• vm_r

Pagina 31

108alarm_trigger_periodnumber of seconds that values above or below the alarm threshold can be received before an alarm is sent(default 60)alarm_auto_

Pagina 32 - Definitions of Permissions

109The default priority level is 5.Note:Some SMTP servers only forward mails with addresses that use FQDNs. If you find that emailsare not being fo

Pagina 33

110TroubleshootingCitrix provides two forms of support: free, self-help support on the Citrix Support website and paid-for SupportServices, which you

Pagina 34

111xe host-param-set uuid=<xenserver_host_uuid> logging:syslog_destination=<hostname>2. Issue the command:xe host-syslog-reconfigure uuid=

Pagina 35 - Using RBAC with the CLI

xiiiLog Commands ... 136log-set-output ...

Pagina 36

112Appendix A. Command Line InterfaceThis chapter describes the XenServer command line interface (CLI). The xe CLI enables the writing of scripts fora

Pagina 37 - To Add a Subject to RBAC

113-u username-pw password-pwf password file-p port-s serverExample: On a remote XenServer host:xe vm-list -u <myuser> -pw <mypassword> -s

Pagina 38 - Auditing

114• <class>-param-get• <class>-param-set• <class>-param-list• <class>-param-add• <class>-param-remove• <class>-pa

Pagina 39

115platform (MRW): acpi: true; apic: true; pae: true; nx: falseallowed-operations (SRO): pause; clean_shutdown; clean_reboot; \hard_shutdown; hard_reb

Pagina 40

116xe vm-list params=allNote that some parameters that are expensive to calculate will not be shown by the list command. Theseparamet

Pagina 41 - Creating a Resource Pool

117Creates an appliance/vApp. For example:xe appliance-create name-label=my_applianceAdd VMs to the appliance:xe vm-param-set uuid=<VM-UUID> app

Pagina 42 - Adding Shared Storage

118xe audit-log-get since=2009-09-24T17:56:20.530Z \filename=/tmp/auditlog-pool-actions.outBonding CommandsCommands for working with network bonds, fo

Pagina 43

119Parameter Name Description Typesr-uuid The unique identifier/object reference forthe SR this CD is part ofread onlysr-name-label The name for t

Pagina 44 - High Availability

120List the CDs and ISOs (CD image files) on the XenServer host or pool, filtering on the optional argument params.If the optional argument params is

Pagina 45 - Configuration Requirements

121sr-whitelist lists SR UUIDs, drtask-create will only introduce and connect to an SR which hasone of the whitelisted UUIDsdrtask-destroydrtask-destr

Pagina 46 - Restart Priorities

xivpif-unplug ... 144Pool Commands ...

Pagina 47 - Enabling HA Using the CLI

122On the primary site, enable database replication:xe sr-database-replication uuid=<sr=uuid> In the event of disaster, on the

Pagina 48 - Host Power On

123Class name Descriptionpbd The physical block devices through which hosts access SRsevent-waitevent-wait class=<class_name> [<param-name>

Pagina 49

124Parameter Name Description Typegpu-group-name-label The name of the GPU group towhich the pGPU is assignedRead onlyhost-uuid The unique identifie

Pagina 50 - Sample Script

125Parameter Name Description Typevm-uuid The unique identifier/objectreference for the VM to whichthe vGPU is assignedRead onlyvm-name-label T

Pagina 51

126Host ParametersXenServer hosts have the following parameters:Parameter Name Description Typeuuid The unique identifier/objectreference for the

Pagina 52 - Storage Overview

127Parameter Name Description Typelicense-server • A list of key/value pairs thatspecify information about thelicense server• The default port

Pagina 53 - Summary of Storage objects

128Parameter Name Description Typeexternal-auth-type Type of external authentication,for example, Active Directory.read onlyexternal-auth-service-name

Pagina 54 - LUN-based VDIs

129Parameter Name Description Typesize size of the crashdump, in bytes read onlyhost-backuphost-backup file-name=<backup_filename> host=<host

Pagina 55 - Storage Repository Types

130Get a Xen dmesg (the output of the kernel ring buffer) from specified XenServer hosts.The host(s) on which this operation should be performed are s

Pagina 56 - Local EXT3 VHD

131Download system status information into the specified file. The optional parameter entries is a comma-separated list of system st

Pagina 57 - Citrix StorageLink SRs

xvtemplate-export ... 157Update Commands ...

Pagina 58

132The host(s) on which this operation should be performed are selected using the standard selection mechanism(see host selectors above).host-is-in-em

Pagina 59

133Warning:Be extremely careful when using this CLI command off-host, since once it is run it will not bepossible to connect to the control domain rem

Pagina 60 - For example:

134Reboot the specified XenServer hosts. The specified hosts must be disabled first using the xe host-disablecommand, otherwise a HOST_

Pagina 61

135The host(s) on which this operation should be performed are selected using the standard selection mechanism(see host selectors above). Optional arg

Pagina 62 - Sample QLogic iSCSI HBA setup

136Log CommandsCommands for working with logs.log-set-outputlog-set-output output=nil | stderr | file:<filename> | syslog:<sysloglocation>

Pagina 63 - LVM over iSCSI

137message-destroymessage-destroy {uuid=<message_uuid>}Destroys an existing message. You can build a script to destroy all messages. For example

Pagina 64

138Parameter Name Description Typeother-config:ethtool-autonegset to no to disable autonegotiation of thephysical interface or bridge. Default is yes.

Pagina 65

139Parameter Name Description Typename-label The name of the patch read onlyname-description The description string of the patch read onlyapplied Whet

Pagina 66

140Parameter Name Description Typeuuid The unique identifier/object reference forthe PBD.read onlysr-uuid the storage repository that the PBD poin

Pagina 67 - Storage Configuration

141PIF ParametersPIFs have the following parameters:Parameter Name Description Typeuuid the unique identifier/object reference forthe PIFread only

Pagina 68 - VDI Types

xviVLAN Commands ... 166vlan-create ...

Pagina 69 - Probing an SR

142Parameter Name Description Typenetmask Netmask of the PIF, defined here if IP-configuration-mode is static; undefined ifsupplied by DHCP

Pagina 70

143Parameter Name Description Typeother-config:ethtool-gso set to on to enable generic segmentationoffload, off to disableread writeother-config

Pagina 71 - SR is created

144Using static IP addresses on physical network interfaces connected to a port on a switch usingSpanning Tree Protocol with STP Fast Link turned of

Pagina 72 - Storage Multipathing

145Parameter Name Description Typeother-config a list of key/value pairs thatspecify additional configurationparameters for the poolread/write ma

Pagina 73 - Managing Storage Repositories

146pool-ejectpool-eject host-uuid=<UUID of XenServer host to eject>Instruct the specified XenServer host to leave an existing pool.pool-emergenc

Pagina 74 - Resizing an SR

147Force the pool database to be synchronized across all hosts in the resource pool. This is not necessary in normaloperation since the database is re

Pagina 75

148Parameter Name Description Typeallowed-operations list of the operations allowed on the SR inthis stateread only set parametercurrent-operat

Pagina 76

149The exact device-config parameters differ depending on the device type. See Storage for details of theseparameters across the different storage bac

Pagina 77 - Virtual Disk QoS Settings

150Force an SR scan, syncing the xapi database with VDIs present in the underlying storage substrate.Task CommandsCommands for working with long-runni

Pagina 78

151Parameter Name Description Typesubtasks contains the UUID(s) of all the subtasks ofthis taskread onlytask-canceltask-cancel [uuid=<task_uui

Pagina 79 - Configuring VM Memory

xviivm-recover ... 179vm-reset-powerstate ...

Pagina 80 - How Does DMC Work?

152Parameter Name Description Typememory-dynamic-max dynamic maximum memoryin bytes. Currently unused,but if changed the followingconstraint

Pagina 81 - Supported Operating Systems

153Parameter Name Description TypeVCPUs-params configuration parameters forthe selected VCPU policy.You can tune a VCPU's pinningwithxe tem

Pagina 82

154Parameter Name Description Typeallowed-operations list of the operations allowed inthis stateread only set parametercurrent-operations list of th

Pagina 83 - Updating Memory Properties

155Parameter Name Description Typeresident-on the XenServer host on which aVM based on this template iscurrently resident; appears as<not

Pagina 84 - Upgrade Issues

156Parameter Name Description TypePV-drivers-version the versions of theparavirtualized drivers for a VMbased on this template; appearsas <not i

Pagina 85 - Xen Memory Usage

157Parameter Name Description Typerecommendations XML specification ofrecommended values andranges for properties of this VMread onlyxenstore-data

Pagina 86

158update-uploadupdate-upload file-name=<name_of_upload_file>Streams a new software image to a OEM edition XenServer host. You must then restart

Pagina 87 - Networking

159Parameter Name Description Typemode the mode the VBD should bemounted withread/writetype how the VBD appears to theVM, for example disk o

Pagina 88 - XenServer Networking Overview

160vdi-uuid=<uuid_of_the_vdi_the_vbd_will_connect_to> [bootable=true] [type=<Disk | CD>] [mode=<RW | RO>]Create a new VBD on a VM.Ap

Pagina 89 - NIC Bonds

161The VDI objects can be listed with the standard object listing command (xe vdi-list), and the parametersmanipulated with the standa

Pagina 90

xviiiModifying the Workload Balancing configuration options ... 187Editing the Workload Balancing configuratio

Pagina 91 - Switch Configuration

162Parameter Name Description Typexenstore-data data to be inserted into the xenstoretree (/local/domain/0/backend/vbd/<domid>/<device

Pagina 92 - Active-Active Bonding

163SR types that support sparse allocation of disks (such as Local VHD and NFS) do not enforcevirtual allocation of disks. Users should therefore take

Pagina 93 - Active-Passive Bonding

164vdi-snapshotvdi-snapshot uuid=<uuid_of_the_vdi> [driver-params=<params>]Produces a read-write version of a VDI that can be used as a

Pagina 94 - Cross-Server Private networks

165Parameter Name Description TypeMTU Maximum Transmission Unitof the VIF in bytes. Thisparameter is read-only, but youcan override the MTU

Pagina 95

166Parameter Name Description Typeother-config:promiscuous true to a VIF to bepromiscuous on the bridge, sothat it sees all traffic over

Pagina 96 - Creating VLANs

167vlan-createvlan-create pif-uuid=<uuid_of_pif> vlan=<vlan_number> network-uuid=<uuid_of_network>Create a new VLAN on a XenServer h

Pagina 97 - Creating a NIC bond

168Parameter Name Description Typeversion the number of times this VMhas been recovered - if a userwishes to over write a new VMwith an old

Pagina 98 - Reverting NIC bonds

169Parameter Name Description TypeVCPUs-params configuration parameters forthe selected VCPU policy.You can tune a VCPU's pinningwithxe vm-

Pagina 99

170Parameter Name Description Typeactions-after-crash action to take if the VM crashes.For PV guests, valid parametersare: preserve (for analysis only

Pagina 100 - Using SR-IOV Enabled NICs

171Parameter Name Description TypePV-kernel path to the kernel read/writePV-ramdisk path to the initrd read/writePV-args string of kernel command

Pagina 101

1Document OverviewThis document is a system administrator's guide for Citrix XenServer®, the complete server virtualization platformfrom Citrix®.

Pagina 102 - DNS servers

172Parameter Name Description TypeVCPUs-number the number of virtual CPUsassigned to the VMFor a paravirtualized LinuxVM, this number can d

Pagina 103 - Networking Troubleshooting

173Parameter Name Description Typeactions-after-shutdown action to take after the VM hasshutdownread/writeactions-after-reboot action to take after th

Pagina 104 - Diagnosing network corruption

174vm-assert-can-be-recoveredvm-assert-can-be-recovered <uuid> [<database>] <vdi-uuid>Tests whether storage is available to recover

Pagina 105 - Disaster Recovery and Backup

175The VM or VMs on which this operation should be performed are selected using the standard selectionmechanism (see VM selectors).

Pagina 106

176List crashdumps associated with the specified VMs.If the optional argument params is used, the value of params is a string containing a list of par

Pagina 107 - Deployment Considerations

177Display the specified data source for a VM.Select the VM(s) on which to perform this operation by using the standard selection mechan

Pagina 108 - (Failback)

178If the metadata parameter is true, then the disks are not exported, and only the VM metadata is written tothe output file. This is intended to be u

Pagina 109 - Test Failover

179vm-memory-shadow-multiplier-setvm-memory-shadow-multiplier-set [<vm-selector>=<vm_selector_value>...][multiplier=<float_memory_multi

Pagina 110

180The VM or VMs on which this operation should be performed are selected using the standard selectionmechanism (see VM selectors).

Pagina 111 - Creating vApps

181vm-uninstallvm-uninstall [<vm-selector>=<vm_selector_value>...] [force=<true | false>]Uninstall a VM, destroying its disks (those

Pagina 112 - To backup VM metadata only

Citrix XenServer ® 6.0 Administrator's GuideCopyright © 2012 Citrix Systems. Inc. All Rights Reserved.Version: 6.0Citrix, Inc.851 West Cypress Cr

Pagina 113 - Backing up XenServer hosts

2• Increasing portability of VM images, as one VM image will work on a range of deployment infrastructuresAdministering XenServerThere are two methods

Pagina 114 - Backing up VMs

182pool-retrieve-wlb-diagnosticsUse the pool-retrieve-wlb-diagnostics command to return the full contents of the Workload Balancing Log filefor the W

Pagina 115 - VM Snapshots

183pool-deconfigure-wlbPermanently deletes all workload balancing configuration.pool-retrieve-wlb-configurationPrints all Workload Balancing configura

Pagina 116

184xe pool-retrieve-wlb-report report=pool_health_history \LocaleCode=<en> \Start=<-3> \End=<0> \PoolID=<c75f9ee9-422f-9cde-4781-

Pagina 117 - Deleting a snapshot

185config:HostPifReadThresholdCritical=<HostPifReadThresholdCritical=value>\config:HostPifReadThresholdHigh=<HostPifReadThresholdHigh=value&g

Pagina 118 - Snapshot Templates

186Appendix B. Workload Balancing ServiceCommandsService CommandsRun the following service commands on the Workload Balancing appliance. To do s

Pagina 119

187Modifying the Workload Balancing configuration options Many Workload Balancing configurations, such as the database and web-service configur

Pagina 120 - Coping with machine failures

188Double-check any values you enter in the wlb.conf file: Workload Balancing does not validatevalues in the wlb.conf file. Consequently, if the confi

Pagina 121 - Master failures

189LoggingOptionTrace Flag Benefit or PurposeData SaveTraceDataSaveTrace Logs details about the pool being saved to the database.Score HostTraceScor

Pagina 122 - Physical Machine failure

3Rolling Pool Upgrade Wizard:• Simplify upgrades (automated or semi-automated) to XenServer 6.0 with a wizard that performs pre-checkswith a step-by-s

Pagina 123

4VM Protection and Recovery:• Now available for Advanced, Enterprise and Platinum Edition customers.NFS Support for High Availability:• HA Heartbeat d

Pagina 124

5Managing UsersDefining users, groups, roles and permissions allows you to control who has access to your XenServer hosts andpools and what actions th

Pagina 125 - Customizing Alerts

6Understanding Active Directory Authentication in the XenServer EnvironmentEven though XenServers are Linux-based, XenServer lets you use Active Direc

Pagina 126 - Configuring Email Alerts

7Note the following:• XenServer labels its AD entry on the AD database using its hostname. Therefore, if two XenServer hosts havethe same hostname and

Pagina 127 - Custom Searches

8Note:XenServer uses Likewise (Likewise uses Kerberos) to authenticate the AD user in the AD server,and to encrypt communications with the AD server.H

Pagina 128 - Troubleshooting

9you wish to manage user permissions in Active Directory, you could create a single group that you then add andremove users to/from; alternatively, yo

Pagina 129 - XenServer host

10they may be able to continue to access the pool using XenCenter or other API sessions that they have alreadycreated. In order to terminate these se

Pagina 130 - Basic xe Syntax

11RBAC depends on Active Directory for authentication services. Specifically, XenServer keeps a list of authorizedusers based on Active Directory user

Pagina 131 - Command Types

iiiContentsDocument Overview ... 1Introducing XenServer ...

Pagina 132 - Parameter Types

12Note:You cannot add, remove or modify roles in this version of XenServer.Warning:You can not assign the role of pool-admin to an AD group which has

Pagina 133 - Low-level List Commands

13RolepermissionsPool Admin PoolOperatorVM PowerAdminVM Admin VM Operator Read OnlyCancel taskof any userX XPoolmanagementX XVMadvancedoperationsX X

Pagina 134 - Appliance Commands

14RolepermissionsPool Admin PoolOperatorVM PowerAdminVM Admin VM Operator Read OnlyConnect topool andread all poolmetadataX X X X X XDefinitions

Pagina 135 - Audit Commands

15Permission Allows Assignee To Rationale/CommentsPool management • Set pool properties (naming,default SRs)• Enable, disable, and configureHA•

Pagina 136 - CD Commands

16Permission Allows Assignee To Rationale/CommentsVM advanced operations • Adjust VM memory (throughDynamic Memory Control)• Create a VM snapsho

Pagina 137

17Permission Allows Assignee To Rationale/CommentsAccept WLB PlacementRecommendations• Select one of theservers Workload Balancingrecommends f

Pagina 138 - Console Commands

18uuid( RO): 0165f154-ba3e-034e-6b27-5d271af109baname ( RO): pool-admindescription ( RO): The Pool Administrator role can do anything uu

Pagina 139

19uuid ( RO): bb6dd239-1fa9-a06b-a497-3be28b8dca44subject-identifier ( RO): S-1-5-21-1539997073-1618981536-2562117463-2244other-config (MRO): subject-

Pagina 140 - Event Commands

201. Run the commands:xe subject-role-remove uuid=<subject uuid> role-name= \ <role_name_to_remove>xe subject-role-add uuid=<subject

Pagina 141 - GPU Commands

21In this illustration, since Subject 2 (Group 2) is the Pool Operator and User 1 is a memberof Group 2, when Subject 3 (User 1) tries to log in, he o

Pagina 142 - Virtual GPU (vGPU) Parameters

ivHosts and Resource Pools Overview ... 22Requirements for Creating Re

Pagina 143 - Host Commands

22XenServer Hosts and Resource PoolsThis chapter describes how resource pools can be created through a series of examples using the xe commandline int

Pagina 144 - Host Parameters

23The requirement for a XenServer host to have a static IP address to be part of a resource poolalso applies to servers providing shared NFS or iSCSI

Pagina 145

24XenServer 6.0 simplifies expanding deployments over time by allowing disparate host hardware to be joined intoa resource pool, known as heterogeneou

Pagina 146

25subsequently join will also be connected to the storage. The Universally Unique Identifier (UUID) of thecreated storage repository will be prin

Pagina 147

26Warning:Citrix highly recommends rebooting all XenServers prior to installing an update and thenverifying their configuration. This

Pagina 148

27Block Devices (VBDs) and networks can affect which VMs may be restarted on which hosts. Currently it is notpossible for XenServer to check all actio

Pagina 149

28• it must have its virtual disks on shared storage (any type of shared storage may be used; the iSCSI, NFS or FibreChannel LUN is only required for

Pagina 150

29best-effort priority setting are not part of the failover plan and are not guaranteed to be kept running, sincecapacity is not reserved for them. If

Pagina 151

30Recovering an Unreachable HostIf for some reason a host cannot access the HA statefile, it is possible that a host may become unreachable.To recove

Pagina 152

31• Hewlett-Packard Integrated Lights-Out (iLO). To use XenServer with iLO, you must enable iLO on the host andconnect interface to the network. For m

Pagina 153

vStorage Overview ... 34Storage Repositorie

Pagina 154 - Message Commands

32When you create a custom script, run it from the command line each time you want to control power remotelyon XenServer. Alternatively, you can speci

Pagina 155 - Network Commands

33The result is only displayed when the script is unsuccessful.import XenAPI def custom(session,remote_host,power_on_config):result="Power On Not

Pagina 156 - Patch (Update) Commands

34StorageThis chapter discusses the framework for storage abstractions. It describes the way physical storage hardware ofvarious kinds is mapped to VM

Pagina 157 - PBD Commands

35Virtual Block Devices (VBDs)Virtual Block Devices are connector objects (similar to the PBD described above) that allows mappings betweenVDIs and VM

Pagina 158 - PIF Commands

36unused space on the underlying CoW instance disk is reclaimed when a snapshot or clone occurs. The differencebetween the two behaviors can be charac

Pagina 159 - PIF Parameters

37operations are mapped directly onto the array APIs using a LUN per VDI representation. This includes activatingthe data path on demand such as when

Pagina 160

38By default, XenServer uses the local disk on the physical host on which it is installed. The Linux Logical VolumeManager (LVM) is used to manage VM

Pagina 161

39xe sr-create host-uuid=<valid_uuid> content-type=iso \ type=iso name-label=<"Example ISO SR"> \ device_config:location=<n

Pagina 162 - Pool Commands

40For more information on using CSL SR types with XenCenter, see the XenCenter online help.Because the CSL SR can be used to access different storage

Pagina 163

41Parameter name Description Optional?target The server name or IP address ofthe array management consoleNostorageSystemId The storage system

Pagina 164

viLVM over Hardware HBA ... 49Storage Configuration ...

Pagina 165 - SR Commands

42To Create a CSL SR Using the CLI1. Use the sr-probe command with the device-config:target parameter and username and passwordcredentials to identify

Pagina 166

43xe sr-probe type=cslg device-config:adapterid=NETAPP \ device-config:username=**** device-config:password=**** \ device-config:target=****<

Pagina 167

44You can use grep to filter the sr-probe output to just display the storage system IDs:xe sr-probe type=cslg device-config:adapterid=NETAPP \ device

Pagina 168 - Task Commands

45/opt/QLogic_Corporation/SANsurferiCLI/iscli -ipdhcp 02. Add a persistent iSCSI target to port 0 of the HBA./opt/QLogic_Corporation/SANsurferiCLI/isc

Pagina 169 - Template Commands

46Parameter Name Description Required?port the network port number on which to query the target nousediscoverynumber the specific iSCSI record index t

Pagina 170

47xe sr-probe type=lvmohba \host-uuid=1212c7b3-f333-4a8d-a6fb-80c5b79b5b31Error code: SR_BACKEND_FAILURE_90Error parameters: , The request is missing

Pagina 171

48the zoning for the affected hosts and use the Repair Storage Repository function instead ofremoving and re-creating the SR.NFS VHDThe NFS VHD type s

Pagina 172

49Creating a Shared NFS SR (NFS)Device-config parameters for NFS SRs:Parameter Name Description Required?server IP address or hostname of the NFSserve

Pagina 173

50There are two basic steps involved in creating a new storage repository for use on a XenServer host using the CLI:1. Probe the SR type to determine

Pagina 174

51To check if an SR has been upgraded, verify that its sm-config:use_vhd key is true. To check if a VDI wascreated with type=raw, check its sm-config

Pagina 175 - Update Commands

viixe CLI Commands ... 64Display the Static

Pagina 176 - VBD Commands

52xe sr-probe type=lvmoiscsi device-config:target=192.168.1.10 \ device-config:targetIQN=iqn.192.168.1.10:filer1Error code: SR_BACKEND_FAILURE_107Err

Pagina 177

53SR type device-config parameter, in order ofdependencyCan beprobed?Required for sr-create?chapuser No Nochappassword No Noaggregate No*YesFlexV

Pagina 178 - VDI Commands

54†Storage pool probing is only possible at sr-create time. It needs to be done there so that the aggregate can be specified at the point that theSR i

Pagina 179 - VDI Parameters

55Multipath support in EqualLogic arrays does not encompass Storage IO multipathing in thetraditional sense of the term. Multipathing must be handled

Pagina 180

56The following example introduces a SR of type lvmoiscsi.1. Probe the existing SR to determine its UUID:xe sr-probe type=lvmoiscsi device-config:targ

Pagina 181

576. Click Repair to create and plug a PBD for each host in the pool.Moving Virtual Disk Images (VDIs) Between SRsThe set of VDIs associated with

Pagina 182 - VIF Commands

58to the SR. The corresponding PBD must be unplugged and re-plugged for the scheduler parameter to take effect.The disk scheduler can be adjusted usin

Pagina 183 -

592. This command suspends the VM (unless it is already powered down), initiates the space reclamation process,and then resumes the VM.Note:Citrix rec

Pagina 184 - VLAN Commands

60xe vbd-param-set uuid=<vbd_uuid> qos_algorithm_type=ionicexe vbd-param-set uuid=<vbd_uuid> qos_algorithm_params:sched=rtxe vbd-param-set

Pagina 185 - VM Commands

61Configuring VM MemoryWhen a VM is first created, it is allocated a fixed amount of memory. To improve the utilisation of physical memoryin your XenS

Pagina 186

viiiCreating a NIC bond ... 79Controlling the MAC Address of th

Pagina 187

62For example, if the Dynamic Minimum Memory was set at 512 MB and the Dynamic Maximum Memory was setat 1024 MB this would give the VM a Dynamic Memor

Pagina 188

63XenServer to repartition host memory dynamically in response to changing numbers of guests, or changinghost memory pressure. XenServer chooses a tar

Pagina 189

64Operating System Supported Memory Limits4.5 - 4.8 x86≥ 256 MB ≤ 16 GB5.0 - 5.6 x86 x64≥ 512 MB ≤ 16 GBx86≥512 MB ≤8 GBRedHat EnterpriseLinux6.0x64≥

Pagina 190

65xe vm-param-get uuid=<uuid> param-name=memory-static-{min,max}For example, the following displays the static maximum memory properties for the

Pagina 191

66xe vm-memory-limits-set \ uuid=<uuid> \ static-min=<value> \ dynamic-min=<value> \ dynamic-max=<value> static-max=<v

Pagina 192

67Xen Memory UsageWhen calculating the memory footprint of a Xen host there are two components that must be taken intoconsideration.

Pagina 193

68name default descriptionmemory-overhead 1048576 (for example) The memory overhead due tovirtualizationDynamic memory values must be within the b

Pagina 194

69NetworkingThis chapter provides an overview of XenServer networking, including networks, VLANs, and NIC bonds. It alsodiscusses how to manage your n

Pagina 195

70• Provides detailed visibility into the behavior and performance of all traffic sent in the virtual networkenvironment.A vSwitch grea

Pagina 196

71• A network, which is a virtual Ethernet switch on a XenServer host. Network objects have a name anddescription, a globally unique

Pagina 197

ixvApps ... 92Using the M

Pagina 198

72together so they logically function as one network card. Both NICs have the same MAC address and, in the caseof management interfaces, have one IP a

Pagina 199

73When bonded NICs are used for VM (guest) traffic, you do not need to configure an IP address for the bond. Thisis because the bond operates at Layer

Pagina 200

74This illustration shows how two NICs in a bonded pair use the same network settings, as representedby the networks in each host. The NICs in the bon

Pagina 201

75This illustration shows how, when configured in Active-active mode, the links that are active in bonds varyaccording to traffic type. In the top pic

Pagina 202

76Tip:Configuring active-passive mode in XenCenter is easy. You simply select Active-passive as thebond mode when you create the bond.Important:After

Pagina 203

77Creating cross-server private networks requires Citrix XenServer Advanced editions or higher.To learn more about XenServer editions, and to

Pagina 204 - Commands

78To add or remove networks using XenCenter, refer to the XenCenter online Help.To add a new network using the CLI1. Open the XenServer host text cons

Pagina 205 - To edit the wlb.conf file

79This section describes how to use the xe CLI to bond NIC interfaces on a XenServer host that is not in a pool. Seethe section called “Creating NIC b

Pagina 206

80Reverting NIC bondsIf reverting a XenServer host to a non-bonded configuration, be aware that the bond-destroy commandautomatically co

Pagina 207

81• Use the host-list command to find the UUID of the host being configured:xe host-listAdding NIC bonds to an existing poolWarning:Do not attempt to

Commenti su questo manuale

Nessun commento