IBM. Linux. Configuring IBM PowerKVM on Power systems

Size: px
Start display at page:

Download "IBM. Linux. Configuring IBM PowerKVM on Power systems"

Transcription

1 IBM Linux Configuring IBM PowerKVM on Power systems

2

3 IBM Linux Configuring IBM PowerKVM on Power systems

4 Note Before using this information and the product it supports, read the information in Notices on page 69. Third Edition (November 2015) Copyright IBM Corporation 2014, US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

5 Contents Configuring IBM PowerKVM on Power Systems Creating guests Creating a guest with Kimchi Setting up a template using Kimchi Creating a guest with the virsh command... 2 Creating guests with the virt-install command 3 Common virsh command options PowerKVM storage Common virsh command options - Storage... 4 Find storage pool sources with virsh Valid storage pools types Storage pool Setting up a storage pool with Kimchi Creating storage pool with virsh PowerKVM Logical Volume Manager Logical Volume Manager components Logical Volume Manager commands Setting up the Logical Volume Manager logical volumes Creating physical volumes Replacing physical volumes that are missing Removing lost physical volumes from a volume group Creating volume groups Creating logical volumes Logical Volume Manager troubleshooting.. 16 Displaying information on failed devices 17 Recovering metadata of physical volumes 17 Handling errors that indicate insufficient free extents Handling warnings that indicate duplicate PV for multipathed devices Networking on PowerKVM Common virsh command options - Networking 21 Setting up a network connection with Kimchi.. 22 Creating a network bridge with the ibm-configure-system utility Verifying the default virtual network Configuring KVM guests to use bridge Adding guest para-virtualized network devices with libvirt Using vhost-net for high-bandwidth applications 24 Hot-plugging a network connection VLAN segmentation Configuring VLAN segmentation Configuring 802.1q VLANs in Kimchi PowerKVM and Quality of Service Remote management of PowerKVM with libvirt.. 29 Overview of PowerKVM remote management.. 29 Remote management with SSH tunnels Managing PowerKVM guests remotely with the virsh command Displaying the remote PowerKVM VNC console with any VNC client Remote management with SASL authentication and encryption Remote management with TLS Step 1. Creating a CA key and certificate in your PowerKVM host Step 2. Creating the client and server keys and certificates in your PowerKVM host Step 3. Distributing keys and certificates to the PowerKVM host server Step 4. Distributing keys and certificates to clients or management stations Step 5. Editing the libvirtd daemon configuration Step 6. Changing the firewall configuration.. 40 Step 7. Verifying that remote management is working User management KVM guest migration Common virsh command options: Migrate Migrating live with virsh command Migrating a KVM guest offline with migrate option Migrating a KVM guest offline with dumpxml.. 44 The svirt service Overview of the svirt service Creating static svirt labels Verifying svirt labeling by examining the labels 46 Verifying svirt labeling by viewing the domain.xml file Manage PowerKVM resources Common virsh command options - Resources.. 48 Manage processors and memory Simultaneous Multi-Threading (SMT) Dynamic micro-threading Enabling micro-threading Processor pinning Over-committing processor and memory resources Configuring huge pages Memory ballooning Enabling Kernel Same-page Merge (KSM).. 54 Enabling PCI pass-through Memory and CPU hot plug Hot plugging CPUs in a PowerKVM guest.. 59 CPU hot plugging and NUMA guests Hot plugging memory in PowerKVM guest. 62 Developing software for the PowerKVM host Update PowerKVM Updating PowerKVM with Kimchi Updating PowerKVM with yum Updating PowerKVM with the ibm-update-system utility Updating the firmware Monitor and debug information Copyright IBM Corp. 2014, 2015 iii

6 Install and update packages Migrating to IBM PowerKVM from IBM PowerVM 66 Migrating to IBM PowerVM from IBM PowerKVM 67 Trademarks Notices Privacy policy considerations iv Linux: Configuring IBM PowerKVM on Power systems

7 Configuring IBM PowerKVM on Power Systems Use these instructions for installing and configuring PowerKVM on Power Systems. Creating guests You can create guests by using Kimchi or by using the command line interfaces. Creating a guest with Kimchi Use Kimchi to create virtual machines, or guests. Procedure 1. Open a browser and go to where ip_address is the IP address of your KVM system. 2. Select the Guests page. 3. Click the green plus sign (+) to create a guest. 4. On the Guests page, enter a name for the virtual machine guest. Select a template from the list. If no templates exist, click Create a template. If you want a different template from the ones that are displayed, select the Templates page and create or edit one. 5. Select the source media for the template. 6. Select an ISO image. 7. Click Create. The guest is created but not started. 8. Start the guest by clicking the red power button or by selecting Start from the Actions menu. The button changes to green as the guest starts. 9. To connect to the remote console (Livetile), select Connect from the Action menu Results Note: v If you create a non-persistent guest outside of Kimchi and then use Kimchi to stop it, the guest is deleted. In Kimchi, the Stop option calls the virsh destroy command, which deletes non-persistent guests. To avoid this issue, either use the virsh shutdown guest command where guest is the name of your virtual machine or the Kimchi console to shut down the guest within the guest operating system. v If you are using a logical storage pool for storage, creating a guest disk with the same capacity as the remaining pool capacity can fail. Libvirt does not report the exact number of extents that are required for a disk. Consider creating a guest that uses 1G less than what Kimchi and libvirt report as available. If you have trouble starting a guest that has storage that is allocated in a logical storage pool, check your system or Kimchi log files for the error libvirterror: internal error: Child process (/usr/sbin/lvcreate --name some_image.img -L [X]K some_pool_name) unexpected exit status 5: Volume group "some_pool_name" has insufficient free space ([X] extents): [X] required. v Guests that are create by Kimchi from a template have a maximum memory parameter (maxmemory) set to the lesser value of one of the following values: The host physical memory The value indicated in the template, multiplied by four After the guest is created, the maxmemory parameter will only change if, during a guest memory update, the host physical memory has decreased to a value that is lesser than what was previously configured as the maxmemory value. In this case, maxmemory becomes the host physical memory value for the guest. Copyright IBM Corp. 2014,

8 Setting up a template using Kimchi You can use Kimchi to define templates for your guests. About this task To view the current templates available, start Kimchi and select Templates. From this page, you can perform the following actions: v Select Edit to edit the template. v Select Delete to delete the template. You can also add a template by following these steps: Procedure 1. On the Templates tab, click the plus (+) icon. 2. Select the location of the source media from the following options: Local ISO image Select to scan storage pools for installation ISO images available on the system. Remote ISO image Select to specify a remote location for an installation ISO image. If you selected Remote ISO image, the image is retrieved and loaded onto the system. If you selected Local ISO image, all ISO images available on the system are displayed. 3. To create a template from an ISO image, choose from the following options: v v Select an ISO image from which to create a template, then click Create Templates from Selected ISO. Select All to create a template from each listed ISO image, then click Create Templates from Selected ISO. If the ISO image that you want to use does not appear in the scan results, you can select from the following options: v v Select I want to use a specific ISO file to specify a path to the ISO image. Click Search more ISOs to search for more ISO images. 4. Click Create. Creating a guest with the virsh command The virsh command is a common command-line utility that can be used to create KVM guests. Run the virsh command as a single command or as a shell program. Most virsh commands require root privileges, although unprivileged users can use the virsh command for read-only operations. The virsh command uses the libvirt API. PowerKVM includes the libvirt package, but you can ensure that the libvirt daemon is running before you run virsh commands. To check the libvirt daemon status, run the following command: # systemctl status libvirtd If the service is running, output similar to this example is shown: libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled) Active: active (running) since Fri :32:43 GMT; 4 days ago Main PID: 3517 (libvirtd) If the output displays inactive, then start the libvirt daemon by running this command: # systemctl start libvirtd 2 Linux: Configuring IBM PowerKVM on Power systems

9 You can use the virsh command to create a virtual machine by creating a libvirt XML file that describes the virtual machine and then running the virsh create command. To create a libvirt XML file, you can create the xml file or else export an existing one and edit it to the parameters that you want. You can find more information about libvirt at Creating guests with the virt-install command The virt-install command is used to create new KVM guests. The virt-install command is useful for when you do not have access to a graphical desktop and, when given the necessary options, can run unattended. If some of the required options are omitted, the virt-install command runs interactively, prompting you for input when required. You must run the virt-install command as root. For more information about the options that you can use with the virt-install command, see In this example, create a guest with name test, using two virtual processors and 4 GB of RAM, connecting to default network, and using an ISO file as installation source. virt-install --machine=pseries --name=test --virt-type=kvm --boot cdrom,hd --network=default,model=virtio --disk path=/var/lib/libvirt/images/test.qcow2,size=10,format=qcow2,bus=virtio,cache=none --memory= vcpu=2 --cdrom=/var/lib/libvirt/images/rhel server-ppc64-dvd1.iso Common virsh command options You can use the virsh command to manage several tasks for your KVM system. Note: As a rule, do not run any virsh commands as a background process as timeouts and errors can occur at unpredictable times. Table 1. Common virsh command options. Command option virsh connect virsh create xmlfile.xml virsh list --all virsh dumpxml guest_name virsh start guest_name virsh destroy guest_name virsh define xmlfile.xml virsh reboot guest_name virsh restore filename virsh resume guest_name virsh save guest_name filename Description Connect to the KVM hypervisor Creates and starts a guest from an XML configuration file. Lists all the guests on a host. Creates an XML configuration file of the guest as an output file. Starts an inactive guest. Immediately stops the guest. Creates a guest from an XML configuration file. The guest is not started. Restarts the guest Restores a guest from a saved file Resumes a guest that was paused Save the state of the guest to a file Configuring IBM PowerKVM on Power Systems 3

10 Table 1. Common virsh command options. (continued) Command option virsh suspend guest_name virsh undefine guest_name virsh undefine guest_name --remove-all-storage virsh nodeinfo virsh dominfo guest_name Description Pauses the guest Deletes the guest, but not the image file Deletes the guest and all the associated storage Displays information about the host Displays information about a guest PowerKVM storage Storage for PowerKVM consists of storage volumes and storage pools. A storage pool is file, directory, or storage device that is available to the guests. Storage pools are divided into volumes that are then assigned to guests. Common virsh command options - Storage You can use the virsh command to manage your storage in PowerKVM. Note: As a rule, do not run any virsh commands as a background process as timeouts and errors can occur at unpredictable times. Table 2. Common virsh command options: storage Command option virsh find-storage-pool-sources virsh pool-define-as pool_name path mountpoint virsh pool-list virsh pool-build pool_name virsh pool-start pool_name virsh pool-autostart pool_name virsh pool-info pool_name virsh vol-create-as pool_name vol_name size --format format_type virsh vol-list pool_name virsh vol-clone existing_vol_name new_vol_name --pool pool_name virsh vol-delete --pool pool_name vol_name virsh pool-destroy pool_name virsh pool-delete pool_name virsh pool-undefine pool_name Description Creates an XML definition file for all storage pools of a specific type. Create a storage pool. Provide the name, the path to the storage, and a mount point on the local system. Lists all storage pools. To include inactive storage pools, add --all. Creates a mount point for the storage pool. Starts the storage pool Causes the pool to be started every time that libvirt is started. To disable this option, run virsh pool-autostart pool_name --disable. Displays information about the pool. Creates a volume. Specify the pool where the volume is located, the name of the volume, size of the image (in K, M, G, T), and the format of the volume. Lists the volumes in a pool. To include inactive volumes, add --details. Copies and creates a volume in a storage pool. Deletes a volume from a storage pool. Stops a pool. Deletes a pool directory from the host. Removes the pool definition. 4 Linux: Configuring IBM PowerKVM on Power systems

11 Find storage pool sources with virsh Use the virsh command to discover storage pool sources on your system. Discovery of storage pool sources is supported for the following pool types: v logical v netfs (requires NFS server IP address or hostname) v iscsi (requires iscsi server details) find-storage-pool-sources type [srcspec] Returns XML describing all storage pools of a given type that could be found. For netfs and iscsi types, provide an XML containing the required details (srcspec). In this example, create a query to find NFS storage pool sources on server Create an XML similar to the following: <source> <host name= /> <dir path= /> <format type= nfs /> </source> Provide the XML as an argument in the command: virsh find-storage-pool-sources netfs nfs.xml This command returns output similar to the following example: <sources> <source> <host name= /> <dir path= /nim/build_net /> <format type= nfs /> </source> <source> <host name= /> <dir path= /kvm_lpm /> <format type= nfs /> </source> </sources> find-storage-pool-sources-as type [host] [port] [initiator] Returns XML describing all storage pools of a given type that could be found. For netfs and iscsi type, provide the host or other details as appropriate In this example, create a query to find NFS storage pool sources on server virsh find-storage-pool-sources-as netfs This command returns output similar to the following example: <sources> <source> <host name= /> <dir path= /nim/build_net /> <format type= nfs /> </source> <source> <host name= /> Configuring IBM PowerKVM on Power Systems 5

12 <dir path= /kvm_lpm /> <format type= nfs /> </source> </sources> Valid storage pools types You can create and use several types of storage pools with PowerKVM. Directory pool (DIR) Specifies a directory pool. When you use a directory pool, the file must exist and you must provide the path to the volume within that pool. Specify directory in the XML format looks similar to this format: <pool type="dir"> <name>kvmstorageimage</name> <target> <path>/var/lib/virt/images</path> </target> </pool> Network file system pool (NFS) Specifies an NFS file system pool as a type of exported storage. When you specify NFS, the file system is mounted and files are managed from its mount point. To use NFS file system pool, you need the host name and path of the exported directory. PowerKVM attempts to mount the network file system. Specify NFS in the XML format looks similar to this format: <pool type="netfs"> <name>kvmstorageimage</name> <source> <host name="nfs.example.com"/> <dir path="/var/lib/virt/images"/> <format type= nfs /> </source> <target> <path>/var/lib/virt/images</path> </target>; </pool> iscsi server (iscsi) Specifies a pool that is based on a target that is allocated on an iscsi server. A iscsi volume pool must exist.. Consider configuring the pool to use /dev/disk/by-path or /dev/disk/by-id for the target path. These provide persistent stable naming for LUNs. You can also add iscsi authentication. The iscsi authentication uses CHAP protocol. Specify the user name and password when you define the pool. Specify iscsi in the XML format looks similar to this format: <pool type="iscsi"> <name>kvmstorageimage</name> <source> <host name="isci.example.com"/> <device path="path2target" /> <auth type= chap username= userid > <secret usage= mypassword /> </auth> </source> <target> <path>/var/lib/virt/images</path> </target> </pool> 6 Linux: Configuring IBM PowerKVM on Power systems

13 Logical volume storage pool (Logical) Specifies a logical volume (LVM) storage pool. For an existing LVM group, use the group name to identify it. If you are creating a new LVM group, specify the source devices to use. You must also provide a path to the LVM pool. Specifying logical in the XML format looks similar to this format: <pool type="logical"> <name>volgroup</name> <source> <device path="/dev/sda1"/> <device path="/dev/sdb1"/> <device path="/dev/sdc1"/> </source> <target> <path>/dev/volgroup</path> </target> </pool> SCSI Fibre Channel Specifies a pool that is based on a SCSI Fibre Channel. The SCSI Fibre Channel volume pool must exist. Consider configure the pool to use /dev/disk/by-path or /dev/disk/by-id for the target path. These provide persistent stable naming for LUNs. Specifying SCSI in the XML format looks similar to this format: <pool type="scsi"> <name>kvmstorageimage</name> <source> <adapter name="host0"/> </source> <target> <path>/dev/disk/by-path</path> </target> </pool> Storage pool Create a storage pool with the Kimchi interface or the virsh command. Setting up a storage pool with Kimchi You can use Kimchi to define storage pools for your guests. About this task To view the current storage pools available, start Kimchi and select Storage. From this page, you can perform the following actions: v Select Activate to activate the storage pool so that it can be used. v Select Deactivate to deactivate an active storage pool. v Select Undefine to remove an inactive storage pool. v Select the arrow at the end of a row to view details about a storage pool You can also define a storage pool by following these steps: Procedure 1. On the Storage tab, click the plus (+) icon. 2. In the Storage pool name field, type the name to be used to identify the storage pool. 3. In the Storage pool type list, select the type. You can choose: DIR Specifies a directory pool. When you select DIR, type the Storage path (file path to the storage pool). Configuring IBM PowerKVM on Power Systems 7

14 NFS iscsi Specifies a network file system pool. When you select NFS, type the NFS server IP address and NFS path (path of the exported directory). Specifies a pool that is based on a target that is allocated on an iscsi server. When you select iscsi, type the iscsi server IP address and Target on the iscsi server. You can optionally select to add iscsi authentication. Logical Specifies a logical volume storage pool. Select the location to the device in Device path. 4. Click Create. Note: You must create the storage pool using a partition. At this time, you cannot create a logical pool from an existing volume using Kimchi. Creating storage pool with virsh Create a storage pool with the virsh command and a temporary XML configuration file About this task To create a storage pool by defining a temporary XML configuration file and then using the virsh command to add it, follow these steps: Procedure 1. Create an XML file for the storage device. In this example, define an iscsi device with authentication. <pool type="iscsi"> <name>storage_image</name> <source> <host name="isci.example.com"/> <device path="path2target" /> <auth type= chap username= userid > <secret usage= mypassword /> </auth> </source> <target> <path>/dev/disk/by-path</path> </target> </pool> 2. Add the XML file to the storage definition: virsh pool-define ~/storage_image.xml 3. Verify that the pool was created: virsh pool-list -all Name State Autostart default active yes storage_images inactive no 4. Start the storage pool: virsh pool-start storage_images Pool storage-images started 5. Verify that the pool started: virsh pool-list --all Pool storage-images started Name State Autostart default active yes storage_images active no 6. Optional: Turn on autostart for the storage pool: 8 Linux: Configuring IBM PowerKVM on Power systems

15 virsh pool-autostart storage_images Pool storage-images marked as autostarted. 7. Verify that the storage pool was created correctly and is running: virsh pool-info storage_images Name: storage_images UUID: afcc e151-bcb3-847bc76c5e28 State: running Persistent: unknown Autostart: yes Capacity: GB Allocation: 0.00 Available: GB PowerKVM Logical Volume Manager The Logical Volume Manager (LVM) is a tool that groups physical storage into chunks of logical storage. Grouping physical storage into chunks of logical storage provides much greater flexibility than using physical storage directly. With a logical volume, you are not restricted to physical disk sizes. In addition, the hardware storage configuration is hidden from the software so it can be resized and moved without stopping applications or unmounting file systems. This can reduce operational costs. To create an LVM logical volume, you must combine the physical volumes into a volume group (VG). This creates a pool of disk space out of which you can allocate LVM logical volumes (LVs). This process is analogous to how disks are divided into partitions. A logical volume is used by file systems and applications such as databases. Logical Volume Manager components This section describes the components of the Logical Volume Manager (LVM) logical volumes (LVs). Physical Volumes The underlying physical storage unit of an LVM logical volume is a block device such as a partition or whole disk. To use the device for an LVM logical volume, you must initialize the device as a physical volume (PV). A label is then placed near the start of the device. An LVM label provides correct identification and ordering for a physical device, since devices can come up in any order when the system is starting. An LVM label remains persistent across restarts and throughout a cluster. Volume Groups Physical volumes are combined into volume groups (VGs) to create a pool of disk space out of which you can allocate logical volumes. Within a volume group, the disk space that is available for allocation is divided into units of a fixed-size called extents. Within a physical volume, extents are referred to as physical extents. A logical volume is allocated into logical extents of the same size as the physical extents. The volume group maps the logical extents to physical extents. LVM Logical Volumes In LVM, a volume group is divided up into logical volumes. The following list describes the different types of logical volumes. Configuring IBM PowerKVM on Power Systems 9

16 Linear Volumes A linear volume aggregates space from one or more physical volumes into one logical volume. For example, if you have two 70 GB disks, you can create a 140 GB logical volume. Striped Logical Volumes When you write data to an LVM logical volume, the file system lays out the data across the underlying physical volumes. You can control the way that the data is written to the physical volumes by creating a striped logical volume. RAID Logical Volumes LVM supports RAID 1/4/5/6/10. RAID logical volumes are not cluster-aware. While RAID logical volumes can be created and activated exclusively on one machine, they cannot be activated simultaneously on more than one machine. Thinly Provisioned Logical Volumes (Thin Volumes) Logical volumes can be thinly provisioned to create logical volumes that are larger than the available extents. Using thin provisioning, you can allocate the storage pool of free space to an arbitrary number of devices when needed by applications. You can then create devices that can be bound to the thin pool for later allocation when an application writes to the logical volume. Snapshot Volumes The LVM snapshot feature creates virtual images of a device at a particular instant without causing a service interruption. When a change is made to the original device after a snapshot is taken, the snapshot feature makes a copy of the changed data area as it was before the change so that it can reconstruct the state of the device. Thinly Provisioned Snapshot Volumes Thin snapshot volumes allow many virtual devices to be stored on the same data volume. This simplifies administration and allows for the sharing of data between snapshot volumes. Logical Volume Manager commands This section describes the commands and examples that you can use for the Logical Volume Manager (LVM). Table 3. LVM commands. Command name lvcreate lvchange lvconvert lvmdiskscan Description Creates a logical volume. For example, the following command creates a 10 GB logical volume in the volume group vg1. lvcreate -L 10G vg1 Modifies logical volume parameters. For example, the following command changes the permission for volume lvol1 in volume group vg00 to be read-only. lvchange -pr vg00/lvol1 Converts an existing linear logical volume to a RAID device. For example, the following command converts the linear logical volume my_lv in volume group my_vg to a 2-way RAID 1 array. lvconvert --type raid1 -m 1 my_vg/my_lv Scans for block devices that might be used as physical volumes. For example, when you run the lvmdiskscan command, output similar to the following is displayed. /dev/ram0 [ MB] /dev/sda [ GB] /dev/root [ GB] /dev/ram [ MB] /dev/sda1 [ GB] LVM physical volume 10 Linux: Configuring IBM PowerKVM on Power systems

17 Table 3. LVM commands. (continued) Command name lvdisplay lvextend lvreduce lvremove Description Displays properties of LVM logical volumes. This command displays logical volume properties such as size, layout, and mapping in a fixed format. For example, the following command displays the attributes of lvol5 in vg3. If snapshot logical volumes have been created for this original logical volume, this command displays a list of all snapshot logical volumes and their status (active or inactive). lvdisplay -v /dev/vg3/lvol5 Extends the size of a thin volume. For example, the following command extends the logical volume /dev/myvg/vol2 to 12 GB. lvextend -L12G /dev/myvg/vol2 Reduces the size of a logical volume. For example, the following example reduces the size of logical volume lvol4 in volume group vg1 by 3 logical extents. lvreduce -l -3 vg1/lvol4 Removes a logical volume. For example, when you run the lvremove /dev/vgex/lvex command, the logical volume /dev/testvg/lvex is removed from the volume group vgex. The logical volume has not been deactivated. lvs lvscan pvchange pvcreate Output similar to the following is displayed. Do you really want to remove active logical volume "lvex"? [y/n]: y Logical volume "lvex" successfully removed Displays properties of LVM logical volumes. This command provides logical volume information in a configurable form, displaying one line per logical volume. For example, when you run the lvs command, output similar to the following is displayed. LV VG Attr LSize Origin Snap% Move Log Copy% Convert lvol1 vg1 owi-a M newvg1 vg1 swi-a- 3.00M lvol Displays properties of LVM logical volumes. This command scans for all logical volumes in the system and lists them. For example, when you run the lvscan, output similar to the following is displayed. ACTIVE /dev/vg2/lv2 [1.45 GB] inherit Modifies physical volume properties. For example, the following command does not allow the allocation of physical extents on /dev/sdk4. pvchange -x n /dev/sdk4 Initializes a block device to be used as a physical volume. For example, the following command initializes /dev/sda, /dev/sdb, and /dev/sdc as LVM physical volumes. pvcreate /dev/sda /dev/sdb /dev/sdc Configuring IBM PowerKVM on Power Systems 11

18 Table 3. LVM commands. (continued) Command name pvdisplay pvmove pvremove pvresize pvs pvscan vgcfgrestore vgchange Description Displays properties of LVM physical volumes. This command provides a verbose multi-line output for each physical volume. It displays physical properties such as size, extents, and volume group in a fixed format. For example, the following example shows the output of the pvdisplay command for a single physical volume. --- Physical volume --- PV Name /dev/sdc2 VG Name vg1 PV Size GB / not usable 2.40 MB Allocatable yes PE Size (KByte) 4095 Total PE 4386 Free PE 4376 Allocated PE 13 PV UUID Joqsdh-yRDj-kuFn-RdwM-01R9-XO8B-mcpcFe Migrates the data of one physical volume to another physical volume. For example, the following command moves all allocated space off the physical volume /dev/sda1 to other free physical volumes in the volume group. pvmove /dev/sda1 Removes the LVM label if a device is no longer required. For example, when you run the pvremove /dev/ram16 command, output similar to the following is displayed. Labels on physical volume "/dev/ram16" successfully wiped Changes the size of an underlying block device. You can run this command when the LVM is using the physical volume. Displays properties of LVM physical volumes in a configurable form, displaying one line per physical volume. For example, the following output is the displayed by default when you run the pvs command. PV VG Fmt Attr PSize PFree /dev/sda1 vg1 lvm2 a G 12.14G /dev/sdb1 vg1 lvm2 a G 12.09G /dev/sdc1 vg1 lvm2 a G 12.14G Displays properties of LVM physical volumes. This command scans all supported LVM block devices in the system for physical volumes. For example, when you run the pvscan command, all physical devices that are found are displayed. PV /dev/sda2 VG vg1 lvm2 [ MB / 0 free] PV /dev/sdb1 VG vg1 lvm2 [ MB / MB free] PV /dev/sdc2 lvm3 [ MB] Total: 3 [2.83 GB] / in use: 2 [1.88 GB] / in no VG: 1 [ MB] Restores the metadata of a volume group from the archive to all the physical volumes in the volume groups. For example, when you run the vgcfgrestore VG command, output similar to the following is displayed. Restored volume group VG Changes volume group properties. For example, checks whether an existing volume group is local or clustered. For example, the following example deactivates the volume group my_volume_group1. vgchange -a n my_volume_group1 12 Linux: Configuring IBM PowerKVM on Power systems

19 Table 3. LVM commands. (continued) Command name vgcreate vgdisplay vgexport vgimport vgextend vgmerge vgmknodes vgreduce vgremove Description Creates a volume group from one or more physical volumes. This command creates a new volume group by name and adds at least one physical volume to it. You can also create volume groups in a cluster environment with this command, just as you create them on a single node. For example, the following command creates a volume group named vg1 that contains physical volumes /dev/sda1 and /dev/sdb1. vgcreate vg1 /dev/sda1 /dev/sdb1 Displays properties of LVM volume groups. This command displays volume group properties such as size, extents, and number of physical volumes in a fixed form. For example, the following example shows the output when you run the vgdisplay new_vg1 command. --- Volume group --- VG Name new_vg1 System ID Format lvm2 Metadata Areas 3 Metadata Sequence No 11 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 0 Max PV 0 Cur PV 3 Act PV 3 VG Size GB PE Size 4.00 MB Total PE Alloc PE / Size 13 / MB Free PE / Size / GB VG UUID jxdj0a-xkk0-opvo-0118-nlwo-wwqd-fe5d32 Makes an inactive volume group inaccessible to the system, which allows you to detach its physical volumes. Makes a volume group accessible to a system again after you run the vgexport command to made it inactive. Adds more physical volumes to an existing volume group. For example, the following command adds the physical volume /dev/sda1 to the volume group vg2. vgextend vg2 /dev/sda1 Combines two volume groups into a single volume group. For example, the following command merges the inactive volume group my_vg1 into the active or inactive volume group databases1 giving verbose runtime information. vgmerge -v databases1 my_vg1 Re-creates a volume group directory and logical volume special files. Removes unused physical volumes from a volume group. For example, the following command removes the physical volume /dev/hdb1 from the volume group my_volume_group1. # vgreduce my_volume_group1 /dev/hdb1 Removes a volume group that contains no logical volumes. For example, when you run the vgremove vg1 command, output similar to the following is displayed. Volume group "vg1" successfully removed Configuring IBM PowerKVM on Power Systems 13

20 Table 3. LVM commands. (continued) Command name vgrename vgs vgscan vgsplit Description Renames an existing volume group. For example, the following command renames the existing volume group vg3 to my_volume_group1. vgrename /dev/vg3 /dev/my_volume_group1 Provides volume group information in a configurable form, displaying one line per volume group. For example, when you run the vgs command, the attributes of the volume groups VolGroup01 and vg1 are displayed. VG #PV #LV #SN Attr VSize VFree VolGroup wz--n G 0 vg wz--nc 46.00G 8.00M Scans all the disks for volume groups and rebuilds the LVM cache file, also displays the volume groups. For example, when you run the vgscan command., output similar to the following is displayed. Reading all physical volumes. This may take a while... Found volume group "new_vg1" using metadata type lvm3 Found volume group "vg1" using metadata type lvm3 Splits the physical volumes of a volume group and creates a new volume group. For example, when you run the vgsplit minivg microvg /dev/ram15 command, the new volume group microvg is split from the original volume group minivg. Output similar to the following is displayed. Volume group "microvg" successfully split from "minivg" Setting up the Logical Volume Manager logical volumes This section describes how you can set up the Logical Volume Manager (LVM) logical volumes by using the LVM command line interface. To set up the LVM logical volumes, you must first create physical volumes, volume groups, and then create logical volumes. For more information about other administrative tasks for physical volumes, volume groups, and logical volumes, see LVM Administration With CLI Commands. Creating physical volumes: You can create physical volumes by using the LVM command line interface. Procedure 1. If you are using a whole disk device for your physical volume, ensure that the disk has no partition table. For DOS disk partitions, set the partition ID to 0x8e by running the fdisk or cfdisk command. For whole disk devices only, erase the partition table to remove all data on that disk. You can remove an existing partition table by zeroing the first sector with the following command. dd if=/dev/zero of=physicalvolume bs=512 count=1 2. Run the pvcreate command to initialize a block device to be used as a physical volume. Initialization is analogous to formatting a file system. For example, the following command initializes /dev/sdd, /dev/sde, and /dev/sdf as LVM physical volumes for use as part of the LVM logical volumes. # pvcreate /dev/sdd /dev/sde /dev/sdf 3. Optional: To initialize partitions rather than whole disks, run the pvcreate command on the partition. The following example initializes the partition /dev/hdb1 as an LVM physical volume for use as part of an LVM logical volume. # pvcreate /dev/hdb1 14 Linux: Configuring IBM PowerKVM on Power systems

21 Replacing physical volumes that are missing: Sometimes, a physical volume might fail or might need to be replaced. You can label a new physical volume to replace it. Procedure If a physical volume fails or needs to be replaced, you can label a new physical volume to replace the lost physical volume in the existing volume group. To perform this action. perform the procedure to recover physical volume metadata that is described in Recovering metadata of physical volumes on page 17 Note: v To display the UUIDs and sizes of the missing physical volumes, use the --partial and --verbose arguments with the vgdisplay command. v You can replace another physical volume of the same size by running the pvcreate command with the --restorefile and --uuid arguments and initializing a new device with the same UUID as the missing physical volume. Then, run the vgcfgrestore command to restore the metadata of the volume group. Removing lost physical volumes from a volume group: When physical volumes are lost, you can remove them from the volume group. About this task If you lose a physical volume, you can remove all the logical volumes that used that physical volume from the volume group. Procedure 1. If you lose a physical volume, you can activate the remaining physical volumes in the volume group with the --partial argument of the vgchange command. You can remove all the logical volumes that used that physical volume from the volume group with the --removemissing argument of the vgreduce command. 2. Run the vgreduce command with the --test argument to ensure that you can verify what you are deleting. Note: The results of running the vgreduce command are reversible. This means that if you use the vgcfgrestore command immediately, you can restore the metadata of the volume group to its previous state. Creating volume groups: You can create volume groups by using the LVM command line interface. About this task To create a volume group from one or more physical volumes, run the vgcreate command. The vgcreate command creates a new volume group by name and adds at least one physical volume to it. The following command creates a volume group vg1 that contains physical volumes /dev/sdd1 and /dev/sde1. vgcreate vg1 /dev/sdd1 /dev/sde1 When physical volumes are used to create a volume group, its disk space is divided into 4MB extents. This extent is the minimum amount by which size of the logical volume may be increased or decreased. Configuring IBM PowerKVM on Power Systems 15

22 You can specify the extent size with the -s option to the vgcreate command. You can also specify limits on the number of physical or logical volumes the volume group can have by using the -p and -l arguments of the vgcreate command. You can also create volume groups in a cluster environment with the vgcreate command, just as you create them on a single node. When you run the following command in a cluster environment, a volume group that is local to the node from which the command was run is created. The command creates a local volume vg1 that contains physical volumes /dev/sdd1 and /dev/sde1. vgcreate -c n vg1 /dev/sdd1 /dev/sde1 Creating logical volumes: You can create logical volumes by using the LVM command line interface. About this task To create a logical volume, use the lvcreate command. If you do not specify a name for the logical volume, the default name lvol# is used where # is the internal number of the logical volume. When you create a logical volume, the logical volume is carved from a volume group by using the free extents on the physical volumes that make up the volume group. Logical volumes use up any space available on the underlying physical volumes on a next-free basis. Modifying the logical volume frees and reallocates space in the physical volumes. The following command creates a logical volume 10 gigabyte in size in the volume group vg1. lvcreate -L 10G vg1 The following command creates a 1500 MB linear logical volume named testlv in the volume group testvg, creating the block device/dev/testvg/testlv. lvcreate -L n testlv testvg Logical Volume Manager troubleshooting This section describes how to troubleshoot the Logical Volume Manager (LVM) issues. When a command is not executing as you expect, obtain diagnostics in the following ways: v You can use the -v, -vv, -vvv, or -vvvv argument of any command for increasing the verbose levels of output. v If the issue is related to the logical volume activation, set activation = 1 in the log section of the configuration file. Then, run the command with the -vvvv argument. After you check this output, ensure to reset this parameter to 0 to avoid possible system locking issues when memory is low. v Run the lvmdump command to display information memory dump for diagnostic purposes. v Run the lvs -v, pvs -a, or dmsetup info -c command for more system information. v Check the last backup of the metadata in the /etc/lvm/backup file and archived versions in the /etc/lvm/archive file. v Run the lvmconfig command to verify the current configuration information. v Check the.cache file in the /etc/lvm directory for information about devices that contain physical volumes. 16 Linux: Configuring IBM PowerKVM on Power systems

23 Displaying information on failed devices: When devices fail, you can display information about the problem. Symptoms Sometimes, a volume might fail. However, the issue is not displayed in the output. Resolving the problem Use the -P argument with the lvs or vgs command to display information that is related to the failed volume. For example, if one of the devices in the volume group vg1 fails, running the vgs command might display the following output. For example, vgs -o +devices Volume group "vg1" not found When you specify the -P argument when you run the vgs command, even though you cannot use the volume group, you can still see more information about the failed device. vgs -P -o +devices Partial mode. Incomplete volume groups will be activated read-only. VG #PV #LV #SN Attr VSize VFree Devices vg rz-pn- 3.11T 3.07T unknown device(0) vg rz-pn- 3.11T 3.07T unknown device(5130),/dev/sda1(0) In this example, the failed device caused both a linear and a striped logical volume in the volume group to fail. When you use the -P argument, the logical volumes that have failed are also displayed. lvs -P -a -o +devices Partial mode. Incomplete volume groups will be activated read-only. LV VG Attr LSize Origin Snap% Move Log Copy% Devices linear vg1 -wi-a G unknown device(0) stripe vg1 -wi-a G unknown device(5130),/dev/sda1(0) Recovering metadata of physical volumes: Sometimes, the volume group metadata area of a physical volume could be overwritten or deleted. An error message indicating that the metadata area is incorrect, or that the system was unable to find a physical volume with a particular UUID is displayed. Symptoms The following example shows the kind of output that might be displayed if the metadata area is missing or corrupted. # lvs -a -o +devices Couldn t find device with uuid FdfDh3-zhog-iVI8-7qTD-S5BI-HSURYYM5Sk. Couldn t find all physical volumes for volume group VG. Couldn t find device with uuid FdfDh3-zhog-iVI8-7qTD-S5BI-HSURYYM5Sk. Couldn t find all physical volumes for volume group VG. Resolving the problem You can recover the data from the physical volume by writing a new metadata area on the physical volume and specifying the same UUID as the lost metadata. Note: Do not attempt this procedure with a working Logical Volume Manager (LVM) logical volume. Data would be lost if you specify the incorrect UUID. Configuring IBM PowerKVM on Power Systems 17

24 1. You can find the UUID of the physical volume that was overwritten in the /etc/lvm/archive directory. Check the VolumeGroupName_xxxx.vg file for the last known valid archived LVM metadata for that volume group. Alternately, you can deactivate the volume and set the partial (-P) argument to obtain the UUID of the physical volume that is missing or corrupted. # vgchange -an --partial Partial mode. Incomplete volume groups will be activated read-only. Couldn t find device with uuid FdfDh3-zhog-iVI8-7qTD-S5BI-HSURYYM5Sk. Couldn t find device with uuid FdfDh3-zhog-iVI8-7qTD-S5BI-HSURYYM5Sk Use the --uuid and --restorefile arguments with the pvcreate command to restore the physical volume. The pvcreate command overwrites only the LVM metadata areas and does not affect the existing data areas. # pvcreate --uuid "FmGRh3-zhok-iVI8-7qTD-S5BI-MAEN-NYM5Sk" -- restorefile /etc/lvm/archive/vg_00050.vg /dev/sdh1 Physical volume "/dev/sdh1" successfully created Where, /dev/sdh1 is the physical volume with the UUID FdfDh3-zhog-iVI8-7qTD-S5BI-HSURYYM5Sk VG_00050.vg is used to take the most recent good archived metadata 3. Run the vgcfgrestore command to restore the metadata of the volume group. vgcfgrestore VG Restored volume group VG 4. Display the logical volumes. # lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Devices stripe VG -wi G /dev/sdh1 (0),/dev/sda1(0) stripe VG -wi G /dev/sdh1 (34728),/dev/sdb1(0) 5. Activate the volumes and display the active volumes. # lvchange -ay /dev/vg/stripe [root@ link-07 backup]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Devices stripe VG -wi-a G /dev/sdh1 (0),/dev/sda1(0) stripe VG -wi-a G /dev/sdh1 (34728),/dev/sdb1(0) If the on-disk LVM metadata used at least as much space as the metadata that overrode it, this command can recover the physical volume. If the overriding metadata used more space than the metadata area, the data on the volume might be affected. You can run the fsck command to recover that data. Handling errors that indicate insufficient free extents: When you create a logical volume, you get an error that indicates insufficient free extents. Symptoms You might get an error that indicates insufficient free extents when you create a logical volume though enough extents exist when you run the vgdisplay or vgs commands. Resolving the problem This error might occur because the vgdisplay or vgs commands round figures to two decimal places to provide human-readable output. 1. To determine the size of the logical volume, specify the exact size by using free physical extent count instead of multiples of bytes. Run one of the following commands: 18 Linux: Configuring IBM PowerKVM on Power systems

25 v v Run the vgdisplay command and check the output for the free physical extents. For example, vgdisplay --- Volume group Free PE / Size 8790 / GB Run the vgs command with the vg_free_count and vg_extent_count arguments to display the free extents and the total number of extents. vgs -o + vg_free_count,vg_extent_count VG #PV #LV #SN Attr VSize VFree Free #Ext testvg wz--n G 34.30G Run the following command by using the l argument to use extents instead of bytes: lvcreate -l n testlv1 testvg1 This command uses the free extents in the volume group. vgs -o + vg_free_count,vg_extent_count VG #PV #LV #SN Attr VSize VFree Free #Ext testvg wz--n G Handling warnings that indicate duplicate PV for multipathed devices: When you list a volume group or a logical volume with the Logical Volume Manager (LVM) having multipathed storage, you might receive duplicate PV warnings. Symptoms When you use LVM with multipathed storage, and run commands such as vgs or lvchange to list a volume group or logical volume, messages similar to the following might be displayed: Found duplicate PV GDjTZf7Y03GJHjteqOwrye2dcSCjdaUi: using /dev/dm-5 not /dev/sdd Found duplicate PV GDjTZf7Y03GJHjteqOwrye2dcSCjdaUi: using /dev/emcpowerb not /dev/sde Found duplicate PV GDjTZf7Y03GJHjteqOwrye2dcSCjdaUi: using /dev/sddlmab not /dev/sdf Causes The logical unit numbers might have multiple device nodes that point to the same underlying data. When you run the LVM commands, the same metadata is found multiple times and reported as duplicates. These duplicate messages might be warnings and do not mean that the LVM operation has failed. Only one of the devices might be used as a physical volume and the others might be ignored. Resolving the problem The following are the scenarios where you might face this problem. The subsequent topics describe how you can resolve the problem for these scenarios. v The two devices that are displayed in the output are both single paths to the same device v The two devices that are displayed in the output are both multipath maps Handling duplicate PV warnings for single paths: When you list a volume group or a logical volume with the Logical Volume Manager (LVM) having multipathed storage, you might receive a duplicate PV warning where the duplicate devices are both single paths to the same device. Symptoms The following example shows a duplicate PV warning where the duplicate devices are both single paths to the same device. Both /dev/sdd and /dev/sdf are displayed under the same multipath map when you run the multipath -ll command. Configuring IBM PowerKVM on Power Systems 19

Linux. Configuring IBM PowerKVM on Power systems

Linux. Configuring IBM PowerKVM on Power systems Linux Configuring IBM PowerKVM on Power systems Linux Configuring IBM PowerKVM on Power systems Note Before using this information and the product it supports, read the information in Notices on page

More information

LVM Administrator's Guide. Configuration and Administration 5.2

LVM Administrator's Guide. Configuration and Administration 5.2 LVM Administrator's Guide Configuration and Administration 5.2 Cluster_Logical_Volume_Manager ISBN: N/A Publication date: May 2008 LVM Administrator's Guide This book describes the LVM logical volume manager

More information

Red Hat Enterprise Linux 5 Logical Volume Manager Administration. LVM Administrator's Guide Edition 1

Red Hat Enterprise Linux 5 Logical Volume Manager Administration. LVM Administrator's Guide Edition 1 Red Hat Enterprise Linux 5 Logical Volume Manager Administration LVM Administrator's Guide Edition 1 Red Hat Enterprise Linux 5 Logical Volume Manager Administration LVM Administrator's Guide Edition

More information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 Logical Volume Manager Administration LVM Administrator Guide Last Updated: 2017-11-15 Red Hat Enterprise Linux 7 Logical Volume Manager Administration LVM Administrator Guide

More information

Changing user login password on templates

Changing user login password on templates Changing user login password on templates 1. Attach an ISO via the cloudstack interface and boot the VM to rescue mode. Click on attach iso icon highlighted below: A popup window appears from which select

More information

Red Hat Enterprise Linux 4 Cluster Logical Volume Manager. LVM Administrator's Guide

Red Hat Enterprise Linux 4 Cluster Logical Volume Manager. LVM Administrator's Guide Red Hat Enterprise Linux 4 Cluster Logical Volume Manager LVM Administrator's Guide Cluster Logical Volume Manager Red Hat Enterprise Linux 4 Cluster Logical Volume Manager LVM Administrator's Guide Edition

More information

Commands LVM information can be created, displayed, and manipulated with the following commands:

Commands LVM information can be created, displayed, and manipulated with the following commands: NAME lvm - Logical Volume Manager (LVM) DESCRIPTION The Logical Volume Manager (LVM) is a subsystem for managing disk space. The HP LVM subsystem offers value-added features, such as mirroring (with the

More information

Red Hat Enterprise Linux 6

Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6 Logical Volume Manager Administration LVM Administrator Guide Last Updated: 2018-02-08 Red Hat Enterprise Linux 6 Logical Volume Manager Administration LVM Administrator Guide

More information

7. Try shrinking / -- what happens? Why? Cannot shrink the volume since we can not umount the / logical volume.

7. Try shrinking / -- what happens? Why? Cannot shrink the volume since we can not umount the / logical volume. OPS235 Lab 4 [1101] Sample/suggested Answers/notes (Please ask your professor if you need any clarification or more explanation on concepts you don't understand.) Investigation 1: How are LVMs managed

More information

BT Cloud Compute. Adding a Volume to an existing VM running Linux. The power to build your own cloud solutions to serve your specific business needs

BT Cloud Compute. Adding a Volume to an existing VM running Linux. The power to build your own cloud solutions to serve your specific business needs Adding a Volume to an existing VM running Linux BT Cloud Compute The power to build your own cloud solutions to serve your specific business needs Issue 3 Introduction This guide has been designed to walk

More information

Adding a block devices and extending file systems in Linux environments

Adding a block devices and extending file systems in Linux environments Adding a block devices and extending file systems in Linux environments In this exercise we simulate situation where user files partition /home fills up and needs to be extended. Also we migrate from static

More information

CIS UNIX System Administration

CIS UNIX System Administration Lab 11: Lab notes: - Lab 10 successful completion is a prerequisite for this lab - The sda8, sda9 partitions below may change based on current disk partition. See instructor for current # s. - After the

More information

Red Hat Enterprise Linux 4 Cluster Logical Volume Manager

Red Hat Enterprise Linux 4 Cluster Logical Volume Manager Red Hat Enterprise Linux 4 Cluster Logical Volume Manager LVM Administrator's Guide Edition 1.0 Landmann Red Hat Enterprise Linux 4 Cluster Logical Volume Manager LVM Administrator's Guide Edition 1.0

More information

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command. How to Increase the size of a Linux LVM by adding a new disk This post will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager (LVM). First

More information

Virtualization Provisioning & Centralized Management with iscsi. RACF Brookhaven National Laboratory James Pryor CHEP 2010

Virtualization Provisioning & Centralized Management with iscsi. RACF Brookhaven National Laboratory James Pryor CHEP 2010 RACF Brookhaven National Laboratory James Pryor CHEP 2010 Who we are & What we support Virtualization Provisioning & Management Past Present Future This is not about VM worker nodes or VM batch processing

More information

An introduction to Logical Volume Management

An introduction to Logical Volume Management An introduction to Logical Volume Management http://distrowatch.com/weekly.php?issue=20090309 For users new to Linux, the task of switching operating systems can be quite daunting. While it is quite similar

More information

Getting Started with Pentaho and Cloudera QuickStart VM

Getting Started with Pentaho and Cloudera QuickStart VM Getting Started with Pentaho and Cloudera QuickStart VM This page intentionally left blank. Contents Overview... 1 Before You Begin... 1 Prerequisites... 1 Use Case: Development Sandbox for Pentaho and

More information

The Contents and Structure of this Manual. This document is composed of the following ten chapters.

The Contents and Structure of this Manual. This document is composed of the following ten chapters. Preface This document briefly explains the operations that need to be performed by the user in order to connect an ETERNUS2000 model 100 or 200, ETERNUS4000 model 300, 400, 500, or 600, or ETERNUS8000

More information

This section describes the procedures needed to add a new disk to a VM. vmkfstools -c 4g /vmfs/volumes/datastore_name/vmname/xxxx.

This section describes the procedures needed to add a new disk to a VM. vmkfstools -c 4g /vmfs/volumes/datastore_name/vmname/xxxx. Adding a New Disk, page 1 Mounting the Replication Set from Disk to tmpfs After Deployment, page 3 Manage Disks to Accommodate Increased Subscriber Load, page 5 Adding a New Disk This section describes

More information

Cloning and Repartitioning sessionmgr Disks

Cloning and Repartitioning sessionmgr Disks This chapter describes the steps needed to repartition the sessionmgr disks so that the increased number of subscribers (> 10 million) can be accommodated. Cloning and Disk Repartitioning of Sessionmgr01

More information

System p. Partitioning with the Integrated Virtualization Manager

System p. Partitioning with the Integrated Virtualization Manager System p Partitioning with the Integrated Virtualization Manager System p Partitioning with the Integrated Virtualization Manager Note Before using this information and the product it supports, read the

More information

Virtual Server Management

Virtual Server Management Virtual Server Management with KVM for IBM z Systems Viktor Mihajlovski 1 Agenda KVM virtualization components Managing virtual servers Managing virtual resources Migrating running

More information

LVM Migration from Legacy to Agile Naming Model HP-UX 11i v3

LVM Migration from Legacy to Agile Naming Model HP-UX 11i v3 LVM Migration from Legacy to Agile Naming Model HP-UX 11i v3 Abstract...2 Legacy and Agile Naming Models...3 LVM support for Dual Naming Models...3 Naming Model specific Commands/Options...3 Disabling

More information

Enterprise Linux System Administration

Enterprise Linux System Administration Enterprise Linux System Administration Course GL250, 5 Days, Hands-On, Instructor-Led Introduction The GL250 is an in-depth course that explores installation, configuration and maintenance of Linux systems.

More information

Back Up (And Restore) LVM Partitions With LVM Snapshots

Back Up (And Restore) LVM Partitions With LVM Snapshots By Falko Timme Published: 2007-04-15 13:24 Back Up (And Restore) LVM Partitions With LVM Snapshots Version 1.0 Author: Falko Timme Last edited 04/11/2007 This tutorial shows

More information

1 LINUX KERNEL & DEVICES

1 LINUX KERNEL & DEVICES GL-250: Red Hat Linux Systems Administration Course Length: 5 days Course Description: The GL250 is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course

More information

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck

More information

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 8.1

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 8.1 vsphere Replication for Disaster Recovery to Cloud vsphere Replication 8.1 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

Installation and Cluster Deployment Guide for KVM

Installation and Cluster Deployment Guide for KVM ONTAP Select 9 Installation and Cluster Deployment Guide for KVM Using ONTAP Select Deploy 2.6 November 2017 215-12637_B0 doccomments@netapp.com Updated for ONTAP Select 9.3 Table of Contents 3 Contents

More information

Red Hat Enterprise Linux 5 Logical Volume Manager Administration. LVM Administrator's Guide

Red Hat Enterprise Linux 5 Logical Volume Manager Administration. LVM Administrator's Guide Red Hat Enterprise Linux 5 Logical Volume Manager Administration LVM Administrator's Guide Logical Volume Manager Administration Red Hat Enterprise Linux 5 Logical Volume Manager Administration LVM Administrator's

More information

Linux System Administration, level 1. Lecture 4: Partitioning and Filesystems Part II: Tools & Methods

Linux System Administration, level 1. Lecture 4: Partitioning and Filesystems Part II: Tools & Methods Linux System Administration, level 1 Lecture 4: Partitioning and Filesystems Part II: Tools & Methods The sequence 1. Create one or more empty partitions 1a. (optional) Arrange them into a RAID or LVM

More information

Controller Installation

Controller Installation The following describes the controller installation process. Installing the Controller, page 1 Controller Deployment, page 2 Controller Virtual Hard Disk Storage, page 4 Custom Controller Web UI Certificates,

More information

"Charting the Course... Enterprise Linux System Administration Course Summary

Charting the Course... Enterprise Linux System Administration Course Summary Course Summary Description This is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal to every workstation and server.

More information

HP integrated Citrix XenServer 5.0 Release Notes

HP integrated Citrix XenServer 5.0 Release Notes HP integrated Citrix XenServer 5.0 Release Notes Part Number 488554-003 March 2009 (Third Edition) Copyright 2009 Hewlett-Packard Development Company, L.P. The information contained herein is subject to

More information

MFT / Linux Setup Documentation May 25, 2008

MFT / Linux Setup Documentation May 25, 2008 MFT / Linux Setup Documentation May 25, 2008 1. Loading the MFT software. The MFT software actually uses a driver called Fast Block Device or fbd. The MFT software is designed to run from /usr/local/fbd.

More information

Design of a Cluster Logical Volume Manager Abhinay Ramesh Kampasi Pune Institute of Computer Technology, University of Pune.

Design of a Cluster Logical Volume Manager Abhinay Ramesh Kampasi Pune Institute of Computer Technology, University of Pune. Design of a Cluster Logical Volume Manager Abhinay Ramesh Kampasi Pune Institute of Computer Technology, University of Pune. Email: abhinaykampasi@hotmail.com WWW: http://abhinaykampasi.tripod.com 1 CERTIFICATE

More information

Citrix 1Y0-A26. Citrix XenServer 6.0 Administration. Download Full Version :

Citrix 1Y0-A26. Citrix XenServer 6.0 Administration. Download Full Version : Citrix 1Y0-A26 Citrix XenServer 6.0 Administration Download Full Version : https://killexams.com/pass4sure/exam-detail/1y0-a26 QUESTION: 107 Scenario: An administrator built four new hosts in an existing

More information

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials Red Hat Enterprise Linux 5 Essentials 2 Red Hat Enterprise Linux 5 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution

More information

How to increase XenServer virtual machine root or swap partition

How to increase XenServer virtual machine root or swap partition How to increase XenServer virtual machine root or swap partition When doing a standard Linux installation on a XenServer virtual machine, installation process typically allocates all of available virtual

More information

NSFOCUS WAF (VM) User Guide

NSFOCUS WAF (VM) User Guide NSFOCUS WAF (VM) User Guide Version: V6.0R05F01 (2016-03-30) 2016 NSFOCUS Copyright 2016 NSFOCUS Technologies, Inc. All rights reserved. Unless otherwise stated, NSFOCUS Technologies, Inc. holds the copyright

More information

System Administration. Storage Systems

System Administration. Storage Systems System Administration Storage Systems Agenda Storage Devices Partitioning LVM File Systems STORAGE DEVICES Single Disk RAID? RAID Redundant Array of Independent Disks Software vs. Hardware RAID 0, 1,

More information

Red Hat Enterprise Linux 6 Logical Volume Manager Administration. LVM Administrator Guide

Red Hat Enterprise Linux 6 Logical Volume Manager Administration. LVM Administrator Guide Red Hat Enterprise Linux 6 Logical Volume Manager Administration LVM Administrator Guide Logical Volume Manager Administration Red Hat Enterprise Linux 6 Logical Volume Manager Administration LVM Administrator

More information

Availability Implementing High Availability with the solution-based approach Operator's guide

Availability Implementing High Availability with the solution-based approach Operator's guide System i Availability Implementing High Availability with the solution-based approach Operator's guide Version 6 Release 1 System i Availability Implementing High Availability with the solution-based

More information

HP-UX System Administrator's Guide: Logical Volume Management

HP-UX System Administrator's Guide: Logical Volume Management HP-UX System Administrator's Guide: Logical Volume Management HP-UX 11i Version 3 Abstract This document describes how to configure, administer, and troubleshoot the Logical Volume Manager (LVM) product

More information

vsphere Replication for Disaster Recovery to Cloud

vsphere Replication for Disaster Recovery to Cloud vsphere Replication for Disaster Recovery to Cloud vsphere Replication 6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced

More information

Using the VMware vrealize Orchestrator Client

Using the VMware vrealize Orchestrator Client Using the VMware vrealize Orchestrator Client vrealize Orchestrator 7.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by

More information

Data Protection Guide

Data Protection Guide SnapCenter Software 4.0 Data Protection Guide For Oracle Databases May 2018 215-12930_D0 doccomments@netapp.com Table of Contents 3 Contents Deciding whether to read the SnapCenter Data Protection Guide

More information

"Charting the Course... Enterprise Linux System Administration. Course Summary

Charting the Course... Enterprise Linux System Administration. Course Summary Course Summary Description This is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal to every workstation and server.

More information

CXS Citrix XenServer 6.0 Administration

CXS Citrix XenServer 6.0 Administration Course Overview View Course Dates & Register Today Students will learn to effectively install, configure, administer, and troubleshoot XenServer 6.0. Students will also learn how to configure a Provisioning

More information

Fedora 12 Essentials

Fedora 12 Essentials Fedora 12 Essentials 2 Fedora 12 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights

More information

Dell License Manager Version 1.2 User s Guide

Dell License Manager Version 1.2 User s Guide Dell License Manager Version 1.2 User s Guide Notes, Cautions, and Warnings NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates either

More information

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 6.5

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 6.5 vsphere Replication for Disaster Recovery to Cloud vsphere Replication 6.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

10 Having Hot Spare disks available in the system is strongly recommended. There are two types of Hot Spare disks:

10 Having Hot Spare disks available in the system is strongly recommended. There are two types of Hot Spare disks: 0 This Web Based Training module provides support and maintenance related information for the ETERNUS DX S2 family. This module provides an introduction to a number of ETERNUS Web GUI functions, for a

More information

Configuring and Managing Virtual Storage

Configuring and Managing Virtual Storage Configuring and Managing Virtual Storage Module 6 You Are Here Course Introduction Introduction to Virtualization Creating Virtual Machines VMware vcenter Server Configuring and Managing Virtual Networks

More information

vsphere Host Profiles Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

vsphere Host Profiles Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5 Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this

More information

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine Supported VMware Versions, page 1 Support for VMware vmotion, page 1 Support for Open Virtualization Format, page 2 Virtual Machine Requirements, page 3 Virtual Machine Resource and Performance Checks,

More information

Disaster Recovery Workflow

Disaster Recovery Workflow CHAPTER 4 InMage CDP starts with the FX/VX agent, also known as "DataTap," which is used to monitor all writes to disk. A small amount of memory on the source machine is reserved by the DataTap (250MB).

More information

Installation and Cluster Deployment Guide for KVM

Installation and Cluster Deployment Guide for KVM ONTAP Select 9 Installation and Cluster Deployment Guide for KVM Using ONTAP Select Deploy 2.5 August 2017 215-12375_A0 doccomments@netapp.com Updated for ONTAP Select 9.2 Table of Contents 3 Contents

More information

Control Center Planning Guide

Control Center Planning Guide Control Center Planning Guide Release 1.4.2 Zenoss, Inc. www.zenoss.com Control Center Planning Guide Copyright 2017 Zenoss, Inc. All rights reserved. Zenoss, Own IT, and the Zenoss logo are trademarks

More information

Installing the Cisco CSR 1000v in VMware ESXi Environments

Installing the Cisco CSR 1000v in VMware ESXi Environments Installing the Cisco CSR 1000v in VMware ESXi Environments VMware ESXi Support Information, page 1 VMware Requirements Cisco IOS XE Fuji 16.7, page 2 Supported VMware Features and Operations, page 3 Deploying

More information

How to add additional disks to XenServer host

How to add additional disks to XenServer host How to add additional disks to XenServer host This article explains how to add physical disk drives to a XenServer host, so that more capacity is available for the XenServer guests. Create Linux LVM partition

More information

Manage your disk space... for free :)

Manage your disk space... for free :) Manage your disk space... for free :) Julien Wallior Plug Central Agenda Background RAID LVM Some basics Practice Booting on a raid device What is that? How it works Hardware raid... if you really want

More information

Data Protection Guide

Data Protection Guide SnapCenter Software 4.1 Data Protection Guide For VMs and Datastores using the SnapCenter Plug-in for VMware vsphere September 2018 215-13399_B0 doccomments@netapp.com Table of Contents 3 Contents Deciding

More information

Virtual Storage Console 6.1 for VMware vsphere

Virtual Storage Console 6.1 for VMware vsphere Virtual Storage Console 6.1 for VMware vsphere Installation and Administration Guide NetApp, Inc. 495 East Java Drive Sunnyvale, CA 94089 U.S. Telephone: +1 (408) 822-6000 Fax: +1 (408) 822-4501 Support

More information

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine Supported VMware Versions, page 1 Support for VMware vmotion, page 1 Support for Open Virtualization Format, page 2 Virtual Machine Requirements, page 3 Virtual Machine Resource and Performance Checks,

More information

JSA KVM SUPPORT. Theodore Jencks, CSE Juniper Networks

JSA KVM SUPPORT. Theodore Jencks, CSE Juniper Networks JSA KVM SUPPORT Theodore Jencks, CSE KVM IMAGE SPECIFICATIONS Image is a compressed qcow2 image 16.5G in size when compressed Md5sum: Uncompressed the image is a 512G QCOW2 Ubuntu 18.04 LTS w/ KVM and

More information

Archiware Pure User Manual

Archiware Pure User Manual Archiware Pure User Manual Content 1 Preface... 3 1.1 About This Manual... 3 1.2 Who Should Read This Document?...3 1.3 Software Description... 3 1.4 Software Licensing... 3 1.5 Registration... 3 1.6 Technical

More information

Replication is the process of creating an

Replication is the process of creating an Chapter 13 Local tion tion is the process of creating an exact copy of data. Creating one or more replicas of the production data is one of the ways to provide Business Continuity (BC). These replicas

More information

Data Protection Guide

Data Protection Guide SnapCenter Software 4.0 Data Protection Guide For VMs and Datastores using the SnapCenter Plug-in for VMware vsphere March 2018 215-12931_C0 doccomments@netapp.com Table of Contents 3 Contents Deciding

More information

Virtualization with VMware ESX and VirtualCenter SMB to Enterprise

Virtualization with VMware ESX and VirtualCenter SMB to Enterprise Virtualization with VMware ESX and VirtualCenter SMB to Enterprise This class is an intense, five-day introduction to virtualization using VMware s immensely popular Virtual Infrastructure suite including

More information

Virtual Services Container

Virtual Services Container , page 1 Prerequisites for a You must have a Cisco device installed with an operating system release that supports virtual services and has the needed system infrastructure required for specific applications

More information

Using the vgmove command to perform LVM Volume Group migration

Using the vgmove command to perform LVM Volume Group migration Using the vgmove command to perform LVM Volume Group migration Abstract... 2 Overview... 2 When do you use vgmove?... 2 Prerequisites... 2 How to use vgmove... 2 Volume group migration flow... 3 How to

More information

Managing RAID. Entering the RAID Management Command Environment CHAPTER

Managing RAID. Entering the RAID Management Command Environment CHAPTER CHAPTER 7 Last Updated: September 17, 2012 Entering the RAID Management Command Environment, page 7-1 Hot-Swapping the Faulty RAID 1 Disk Drive, page 7-2 Commands for, page 7-4 Troubleshooting RAID, page

More information

Course CXS-203 Citrix XenServer 6.0 Administration

Course CXS-203 Citrix XenServer 6.0 Administration Course CXS-203 Citrix XenServer 6.0 Administration Overview In the Citrix XenServer 6.0 classroom training course, students are provided the foundation necessary to effectively install, configure, administer,

More information

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine Supported VMware Versions, page 1 Support for VMware vmotion, page 1 Support for Open Virtualization Format, page 2 Virtual Machine Requirements, page 2 Virtual Machine Resource and Performance Checks,

More information

Troubleshooting Cisco APIC-EM Single and Multi-Host

Troubleshooting Cisco APIC-EM Single and Multi-Host Troubleshooting Cisco APIC-EM Single and Multi-Host The following information may be used to troubleshoot Cisco APIC-EM single and multi-host: Recovery Procedures for Cisco APIC-EM Node Failures, page

More information

Cluster Management Workflows for OnCommand System Manager

Cluster Management Workflows for OnCommand System Manager ONTAP 9 Cluster Management Workflows for OnCommand System Manager June 2017 215-11440-C0 doccomments@netapp.com Updated for ONTAP 9.2 Table of Contents 3 Contents OnCommand System Manager workflows...

More information

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security SA3 E7 Advanced Linux System Administration III Internet Network Services and Security Synopsis: This is a fast paced, level 3, advanced class for experienced administrators of Linux based hosts on a network

More information

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1 Using the VMware vcenter Orchestrator Client vrealize Orchestrator 5.5.1 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

KVM Guest Management With Virt-Manager On Ubuntu 8.10

KVM Guest Management With Virt-Manager On Ubuntu 8.10 By Falko Timme Published: 2009-02-08 18:56 Version 1.0 Author: Falko Timme Last edited 02/05/2009 Virt-Manager (Virtual Machine Manager) is a graphical interface for managing

More information

Client Installation and User's Guide

Client Installation and User's Guide IBM Tivoli Storage Manager FastBack for Workstations Version 7.1.1 Client Installation and User's Guide SC27-2809-04 IBM Tivoli Storage Manager FastBack for Workstations Version 7.1.1 Client Installation

More information

Zadara Enterprise Storage in

Zadara Enterprise Storage in Zadara Enterprise Storage in Google Cloud Platform (GCP) Deployment Guide March 2017 Revision A 2011 2017 ZADARA Storage, Inc. All rights reserved. Zadara Storage / GCP - Deployment Guide Page 1 Contents

More information

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine ISE Features Not Supported in a Virtual Machine, page 1 Supported VMware Versions, page 1 Support for VMware vmotion, page 2 Support for Open Virtualization Format, page 2 Virtual Machine Requirements,

More information

XenServer Release Notes

XenServer Release Notes Version 5.5.0 Published June 2009 1.0 Edition About this document XenServer Release Notes This document provides important information about the XenServer 5.5.0 Release. Release notes specific to the supported

More information

Entering the RAID Management Command Environment

Entering the RAID Management Command Environment CHAPTER 7 Last Updated: June 27, 2011 This chapter provides information about managing Redundant Array of Inexpensive Disks (RAID). It contains the following sections: Entering the RAID Management Command

More information

exacqvision Virtual Appliance User Manual

exacqvision Virtual Appliance User Manual exacqvision Virtual Appliance User Manual Contents 1 Introduction... 2 2 Requirements... 2 3 Additional exacqvision Virtual Servers... 3 4 Installation... 3 5 exacqvision Web Service... 5 6 Upgrading Hardware...

More information

VMware vsphere 5.5 Professional Bootcamp

VMware vsphere 5.5 Professional Bootcamp VMware vsphere 5.5 Professional Bootcamp Course Overview Course Objectives Cont. VMware vsphere 5.5 Professional Bootcamp is our most popular proprietary 5 Day course with more hands-on labs (100+) and

More information

Getting Started with ovirt 3.3

Getting Started with ovirt 3.3 Getting Started with ovirt 3.3 Alexey Lesovsky Chapter No. 3 "Configuring ovirt" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter NO.3 "Configuring

More information

AMD RAID Installation Guide

AMD RAID Installation Guide AMD RAID Installation Guide 1. AMD BIOS RAID Installation Guide.. 3 1.1 Introduction to RAID.. 3 1.2 RAID Configurations Precautions 4 1.3 Installing Windows 8 / 8 64-bit / 7 / 7 64-bit / Vista / Vista

More information

IBM. Systems management Disk management. IBM i 7.1

IBM. Systems management Disk management. IBM i 7.1 IBM IBM i Systems management Disk management 7.1 IBM IBM i Systems management Disk management 7.1 Note Before using this information and the product it supports, read the information in Notices, on page

More information

KVM Forum Vancouver, Daniel P. Berrangé

KVM Forum Vancouver, Daniel P. Berrangé KVM Forum Vancouver, 2011 Daniel P. Berrangé libvirt: Why it exists Stable: isolation from HV API changes Standard: portable across HV Simple: rapid application development Portable:

More information

vsphere Storage Update 1 Modified 16 JAN 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

vsphere Storage Update 1 Modified 16 JAN 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5 Update 1 Modified 16 JAN 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have

More information

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine ISE Features Not Supported in a Virtual Machine, page 1 Supported VMware Versions, page 1 Support for VMware vmotion, page 2 Support for Open Virtualization Format, page 2 Virtual Machine Requirements,

More information

HiveManager Virtual Appliance QuickStart

HiveManager Virtual Appliance QuickStart This QuickStart describes the installation of a HiveManager Virtual Appliance. Introduction to HiveManager Virtual Appliance Before you can install the HiveManager Virtual Appliance, you must first install

More information

VMware VMFS Volume Management VMware Infrastructure 3

VMware VMFS Volume Management VMware Infrastructure 3 Information Guide VMware VMFS Volume Management VMware Infrastructure 3 The VMware Virtual Machine File System (VMFS) is a powerful automated file system that simplifies storage management for virtual

More information

American Dynamics RAID Storage System iscsi Software User s Manual

American Dynamics RAID Storage System iscsi Software User s Manual American Dynamics RAID Storage System iscsi Software User s Manual Release v2.0 April 2006 # /tmp/hello Hello, World! 3 + 4 = 7 How to Contact American Dynamics American Dynamics (800) 507-6268 or (561)

More information

Control Center Planning Guide

Control Center Planning Guide Release 1.2.0 Zenoss, Inc. www.zenoss.com Copyright 2016 Zenoss, Inc. All rights reserved. Zenoss and the Zenoss logo are trademarks or registered trademarks of Zenoss, Inc., in the United States and other

More information

Web Self Service Administrator Guide. Version 1.1.2

Web Self Service Administrator Guide. Version 1.1.2 Version 1.1.2 Web Self Service Administrator Guide Version 1.1.2 Copyright and Trademark Notice Use of the product documented in this guide is subject to your prior acceptance of the End User License Agreement.

More information

XenServer Demo/Evaluation System

XenServer Demo/Evaluation System 1 XenServer Demo/Evaluation System Technical Setup Guide December 2009 2 Overview This document describes the implementation of a simple demonstration and evaluation environment for Citrix XenServer. The

More information

Virtualization Management the ovirt way

Virtualization Management the ovirt way Virtualization Management the ovirt way Alan Pevec Red Hat devconf.cz February 2012 1 Agenda 2 What is ovirt? Where did it come from? What does it do? Architecture Roadmap What's next? What is ovirt? Large

More information