Citrix Systems Server 6 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software Citrix Systems Server 6. Citrix Systems Server 6 User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 207
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - 1.1 Edition

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

Strany 2

xAlerts ... 106Customizing

Strany 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

Strany 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

Strany 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

Strany 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

Strany 7

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

Strany 8

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

Strany 9

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

Strany 10

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

Strany 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

Strany 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

Strany 13

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

Strany 14

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

Strany 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

Strany 16

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

Strany 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

Strany 18

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

Strany 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

Strany 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

Strany 21

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

Strany 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>

Strany 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> \

Strany 24 - Upgrading XenServer

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 29 - RBAC process

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

Strany 30

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

Strany 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_

Strany 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

Strany 33

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

Strany 34

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

Strany 35 - Using RBAC with the CLI

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

Strany 36

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

Strany 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

Strany 38 - Auditing

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

Strany 39

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

Strany 40

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 46 - Restart Priorities

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

Strany 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

Strany 48 - Host Power On

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

Strany 49

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

Strany 50 - Sample Script

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

Strany 51

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

Strany 52 - Storage Overview

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

Strany 53 - Summary of Storage objects

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

Strany 54 - LUN-based VDIs

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

Strany 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

Strany 56 - Local EXT3 VHD

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

Strany 57 - Citrix StorageLink SRs

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

Strany 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

Strany 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

Strany 60 - For example:

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

Strany 61

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

Strany 62 - Sample QLogic iSCSI HBA setup

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

Strany 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

Strany 64

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

Strany 65

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

Strany 66

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

Strany 67 - Storage Configuration

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

Strany 68 - VDI Types

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

Strany 69 - Probing an SR

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

Strany 70

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

Strany 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

Strany 72 - Storage Multipathing

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

Strany 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

Strany 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

Strany 75

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

Strany 76

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

Strany 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

Strany 78

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

Strany 79 - Configuring VM Memory

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

Strany 80 - How Does DMC Work?

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

Strany 81 - Supported Operating Systems

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

Strany 82

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

Strany 83 - Updating Memory Properties

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

Strany 84 - Upgrade Issues

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

Strany 85 - Xen Memory Usage

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

Strany 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

Strany 87 - Networking

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

Strany 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

Strany 89 - NIC Bonds

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

Strany 90

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

Strany 91 - Switch Configuration

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

Strany 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

Strany 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

Strany 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

Strany 95

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

Strany 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

Strany 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

Strany 98 - Reverting NIC bonds

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

Strany 99

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

Strany 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

Strany 101

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

Strany 102 - DNS servers

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

Strany 103 - Networking Troubleshooting

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

Strany 104 - Diagnosing network corruption

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

Strany 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).

Strany 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

Strany 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

Strany 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

Strany 109 - Test Failover

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

Strany 110

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

Strany 111 - Creating vApps

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

Strany 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

Strany 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

Strany 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

Strany 115 - VM Snapshots

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

Strany 116

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

Strany 117 - Deleting a snapshot

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

Strany 118 - Snapshot Templates

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

Strany 119

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

Strany 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

Strany 121 - Master failures

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

Strany 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

Strany 123

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

Strany 124

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

Strany 125 - Customizing Alerts

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 130 - Basic xe Syntax

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

Strany 131 - Command Types

iiiContentsDocument Overview ... 1Introducing XenServer ...

Strany 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

Strany 133 - Low-level List Commands

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

Strany 134 - Appliance Commands

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

Strany 135 - Audit Commands

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

Strany 136 - CD Commands

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

Strany 137

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

Strany 138 - Console Commands

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

Strany 139

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

Strany 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

Strany 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

Strany 142 - Virtual GPU (vGPU) Parameters

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

Strany 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

Strany 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

Strany 145

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

Strany 146

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

Strany 147

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 153

vStorage Overview ... 34Storage Repositorie

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 161

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

Strany 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

Strany 163

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

Strany 164

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

Strany 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

Strany 166

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

Strany 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

Strany 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

Strany 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

Strany 170

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 175 - Update Commands

viixe CLI Commands ... 64Display the Static

Strany 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

Strany 177

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

Strany 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

Strany 179 - VDI Parameters

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 186

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

Strany 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

Strany 188

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

Strany 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≥

Strany 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

Strany 191

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

Strany 192

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

Strany 193

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

Strany 194

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

Strany 195

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

Strany 196

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

Strany 197

ixvApps ... 92Using the M

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 203

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

Strany 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

Strany 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

Strany 206

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

Strany 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

Komentáře k této Příručce

Žádné komentáře