# AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: Fedora Virtualization Guide\n" "POT-Creation-Date: 2011-03-02T01:07:51\n" "PO-Revision-Date: 2011-08-21 06:30+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: Polish (http://www.transifex.net/projects/p/fedora/team/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pl\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" #. Tag: title #, no-c-format msgid "KVM live migration" msgstr "" #. Tag: para #, no-c-format msgid "" "This chapter covers migrating guests running on a KVM hypervisor to another " "KVM host." msgstr "" #. Tag: para #, no-c-format msgid "" "Migration " "is name for the process of moving a virtualized guest from one host to " "another. Migration is a key feature of virtualization as software is " "completely separated from hardware. Migration is useful for:" msgstr "" #. Tag: para #, no-c-format msgid "" "Load balancing - guests can be moved to hosts with lower usage when a host " "becomes overloaded." msgstr "" #. Tag: para #, no-c-format msgid "" "Hardware failover - when hardware devices on the host start to fail, guests " "can be safely relocated so the host can be powered down and repaired." msgstr "" #. Tag: para #, no-c-format msgid "" "Energy saving - guests can be redistributed to other hosts and host systems " "powered off to save energy and cut costs in low usage periods." msgstr "" #. Tag: para #, no-c-format msgid "" "Geographic migration - guests can be moved to another location for lower " "latency or in serious circumstances." msgstr "" #. Tag: para #, no-c-format msgid "" "Migrations can be performed live or offline. To migrate guests the storage " "must be shared. Migration works by sending the guests memory to the " "destination host. The shared storage stores the guest's default file system." " The file system image is not sent over the network from the source host to " "the destination host." msgstr "" #. Tag: para #, no-c-format msgid "" "An offline migration suspends the guest then moves an image of the guests " "memory to the destination host. The guest is resumed on the destination host" " and the memory the guest used on the source host is freed." msgstr "" #. Tag: para #, no-c-format msgid "" "The time an offline migration takes depends network bandwidth and latency. A" " guest with 2GB of memory should take an average of ten or so seconds on a 1" " Gbit Ethernet link." msgstr "" #. Tag: para #, no-c-format msgid "" "A live migration keeps the guest running on the source host and begins " "moving the memory without stopping the guest. All modified memory pages are " "monitored for changes and sent to the destination while the image is sent. " "The memory is updated with the changed pages. The process continues until " "the amount of pause time allowed for the guest equals the predicted time for" " the final few pages to be transfer. KVM estimates the time remaining and " "attempts to transfer the maximum amount of page files from the source to the" " destination until KVM predicts the amount of remaining pages can be " "transferred during a very brief time while the virtualized guest is paused. " "The registers are loaded on the new host and the guest is then resumed on " "the destination host. If the guest cannot be merged (which happens when " "guests are under extreme loads) the guest is paused and then an offline " "migration is started instead." msgstr "" #. Tag: para #, no-c-format msgid "" "The time an offline migration takes depends network bandwidth and latency. " "If the network is in heavy use or a low bandwidth the migration will take " "much longer." msgstr "" #. Tag: title #, no-c-format msgid "Live migration requirements" msgstr "" #. Tag: para #, no-c-format msgid "Migrating guests requires the following:" msgstr "" #. Tag: title #, no-c-format msgid "Migration requirements" msgstr "" #. Tag: para #, no-c-format msgid "" "A virtualized guest installed on shared networked storage using one of the " "following protocols:" msgstr "" #. Tag: para #, no-c-format msgid "Fibre Channel" msgstr "" #. Tag: para #, no-c-format msgid "iSCSI" msgstr "" #. Tag: para #, no-c-format msgid "NFS" msgstr "" #. Tag: para #, no-c-format msgid "GFS2" msgstr "" #. Tag: para #, no-c-format msgid "Two or more Fedora systems of the same version with the same updates." msgstr "" #. Tag: para #, no-c-format msgid "Both system must have the appropriate ports open." msgstr "" #. Tag: para #, no-c-format msgid "" "Both systems must have identical network configurations. All bridging and " "network configurations must be exactly the same on both hosts." msgstr "" #. Tag: para #, no-c-format msgid "" "Shared storage must mount at the same location on source and destination " "systems. The mounted directory name must be identical." msgstr "" #. Tag: title #, no-c-format msgid "Configuring network storage" msgstr "" #. Tag: para #, no-c-format msgid "" "Configure shared storage and install a guest on the shared storage. For " "shared storage instructions, refer to ." msgstr "" #. Tag: para #, no-c-format msgid "" "Alternatively, use the NFS example in ." msgstr "" #. Tag: title #, no-c-format msgid "Share storage example: NFS for a simple migration" msgstr "" #. Tag: para #, no-c-format msgid "" "This example uses NFS to share guest images with other KVM hosts. This " "example is not practical for large installations, this example is only for " "demonstrating migration techniques and small deployments. Do not use this " "example for migrating or running more than a few virtualized guests." msgstr "" #. Tag: para #, no-c-format msgid "" "For advanced and more robust shared storage instructions, refer to " msgstr "" #. Tag: title #, no-c-format msgid "Export your libvirt image directory" msgstr "" #. Tag: para #, no-c-format msgid "" "Add the default image directory to the /etc/exports " "file:" msgstr "" #. Tag: screen #, no-c-format msgid "" "/var/lib/libvirt/images " "*.example.com(rw,no_root_squash,async)\n" msgstr "" #. Tag: para #, no-c-format msgid "Change the hosts parameter as required for your environment." msgstr "" #. Tag: title #, no-c-format msgid "Start NFS" msgstr "" #. Tag: para #, no-c-format msgid "Install the NFS packages if they are not yet installed:" msgstr "" #. Tag: screen #, no-c-format msgid "# yum install nfs\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Open the ports for NFS in iptables and add NFS to the " "/etc/hosts.allow file." msgstr "" #. Tag: para #, no-c-format msgid "Start the NFS service:" msgstr "" #. Tag: screen #, no-c-format msgid "# service nfs start\n" msgstr "" #. Tag: title #, no-c-format msgid "Mount the shared storage on the destination" msgstr "" #. Tag: para #, no-c-format msgid "" "On the destination system, mount the " "/var/lib/libvirt/images directory:" msgstr "" #. Tag: screen #, no-c-format msgid "" "# mount sourceURL:/var/lib/libvirt/images " "/var/lib/libvirt/images\n" msgstr "" #. Tag: title #, no-c-format msgid "Locations must be the same on source and destination" msgstr "" #. Tag: para #, no-c-format msgid "" "Whichever directory is chosen for the guests must exactly the same on host " "and guest. This applies to all types of shared storage. The directory must " "be the same or the migration will fail." msgstr "" #. Tag: title #, no-c-format msgid "Live KVM migration with virsh" msgstr "" #. Tag: para #, no-c-format msgid "" "A guest can be migrated to another host with the virsh " "command. The migrate command accepts parameters in the " "following format:" msgstr "" #. Tag: screen #, no-c-format msgid "# virsh migrate --live GuestName DestinationURL\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The GuestName parameter represents the name of the " "guest which you want to migrate." msgstr "" #. Tag: para #, no-c-format msgid "" "The DestinationURL parameter is the URL or hostname " "of the destination system. The destination system must run the same version " "of Fedora, be using the same hypervisor and have libvirt " "running." msgstr "" #. Tag: para #, no-c-format msgid "" "Once the command is entered you will be prompted for the root password of " "the destination system." msgstr "" #. Tag: title #, no-c-format msgid "Example: live migration with virsh" msgstr "" #. Tag: para #, no-c-format msgid "" "This example migrates from test1.example.com to " "test2.example.com. Change the host names for your " "environment. This example migrates a virtual machine named " "RHEL4test." msgstr "" #. Tag: para #, no-c-format msgid "" "This example assumes you have fully configured shared storage and meet all " "the prerequisites (listed here: )." msgstr "" #. Tag: title #, no-c-format msgid "Verify the guest is running" msgstr "" #. Tag: para #, no-c-format msgid "" "From the source system, test1.example.com, verify " "RHEL4test is running:" msgstr "" #. Tag: screen #, no-c-format msgid "" "[root@test1 ~]# virsh list\n" "Id Name State\n" "----------------------------------\n" " 10 RHEL4 running\n" msgstr "" #. Tag: title #, no-c-format msgid "Migrate the guest" msgstr "" #. Tag: para #, no-c-format msgid "" "Execute the following command to live migrate the guest to the destination, " "test2.example.com. Append " "/system to the end of the destination URL to tell " "libvirt that you need full access." msgstr "" #. Tag: screen #, no-c-format msgid "" "# virsh migrate --live RHEL4test " "qemu+ssh://test2.example.com/system\n" msgstr "" #. Tag: title #, no-c-format msgid "Wait" msgstr "" #. Tag: para #, no-c-format msgid "" "The migration may take some time depending on load and the size of the " "guest. virsh only reports errors. The guest continues to " "run on the source host until fully migrated." msgstr "" #. Tag: title #, no-c-format msgid "Verify the guest has arrived at the destination host" msgstr "" #. Tag: para #, no-c-format msgid "" "From the destination system, test2.example.com, " "verify RHEL4test is running:" msgstr "" #. Tag: screen #, no-c-format msgid "" "[root@test2 ~]# virsh list\n" "Id Name State\n" "----------------------------------\n" " 10 RHEL4 running\n" msgstr "" #. Tag: para #, no-c-format msgid "The live migration is now complete." msgstr "" #. Tag: title #, no-c-format msgid "Other networking methods" msgstr "" #. Tag: para #, no-c-format msgid "" "libvirt supports a variety of networking methods including TLS/SSL, unix " "sockets, SSH, and unencrypted TCP. Refer to for more " "information on using other methods." msgstr "" #. Tag: title #, no-c-format msgid "Migrating with virt-manager" msgstr "" #. Tag: para #, no-c-format msgid "" "This section covers migrating KVM based guests with virt-" "manager." msgstr "" #. Tag: para #, no-c-format msgid "" "Connect to the source and target hosts. On the File menu," " click Add Connection, the Add " "Connection window appears." msgstr "" #. Tag: para #, no-c-format msgid "Enter the following details:" msgstr "" #. Tag: para #, no-c-format msgid "" "Hypervisor: Select QEMU." msgstr "" #. Tag: para #, no-c-format msgid "Connection: Select the connection type." msgstr "" #. Tag: para #, no-c-format msgid "Hostname: Enter the hostname." msgstr "" #. Tag: para #, no-c-format msgid "Click Connect." msgstr "" #. Tag: para #, no-c-format msgid "The Virtual Machine Manager displays a list of connected hosts." msgstr "" #. Tag: para #, no-c-format msgid "Add a storage pool with the same NFS to the source and target hosts." msgstr "" #. Tag: para #, no-c-format msgid "" "On the Edit menu, click Host " "Details, the Host Details window appears." msgstr "" #. Tag: para #, no-c-format msgid "Click the Storage tab." msgstr "" #. Tag: para #, no-c-format msgid "" "Add a new storage pool. In the lower left corner of the window, click the " "+ button. The Add a New Storage " "Pool window appears." msgstr "" #. Tag: para #, no-c-format msgid "Name: Enter the name of the storage pool." msgstr "" #. Tag: para #, no-c-format msgid "" "Type: Select netfs: Network Exported " "Directory." msgstr "" #. Tag: para #, no-c-format msgid "Click Forward." msgstr "" #. Tag: para #, no-c-format msgid "" "Format: Select the storage type. This must be NFS or " "iSCSI for live migrations." msgstr "" #. Tag: para #, no-c-format msgid "" "Host Name: Enter the IP address or fully-qualified " "domain name of the storage server." msgstr "" #. Tag: para #, no-c-format msgid "Click Finish." msgstr "" #. Tag: para #, no-c-format msgid "" "Create a new volume in the shared storage pool, click New " "Volume." msgstr "" #. Tag: para #, no-c-format msgid "Enter the details, then click Create Volume." msgstr "" #. Tag: para #, no-c-format msgid "" "Create a virtual machine with the new volume, then run the virtual machine." msgstr "" #. Tag: para #, no-c-format msgid "The Virtual Machine window appears." msgstr "" #. Tag: para #, no-c-format msgid "" "In the Virtual Machine Manager window, right-click on the virtual machine, " "select Migrate, then click the migration " "location." msgstr "" #. Tag: para #, no-c-format msgid "Click Yes to confirm migration." msgstr "" #. Tag: para #, no-c-format msgid "" "The Virtual Machine Manger displays the virtual machine in its new location." msgstr "" #. Tag: para #, no-c-format msgid "" "The VNC connection displays the remote host's address in its title bar." msgstr ""