본문 바로가기

Linux

Configuring Device Mapper Multipath (DMMP) tool for hosts running the Linux operating system Configuring Device Mapper Multipath (DMMP) tool for hosts running the Linux operating systemBefore configuring the Linux operating system for a host that attaches to the Storwize® V3700, you should ensure that the correct Device Mapper Multipath Tool (DMMP) has been installed and configured correctly for the Linux hosts which use DMMP as a multipath driver.Currently Red Hat Enterprise Linux 5 an.. 더보기
Settings for Linux hosts on V3700 storage Settings for Linux hostsTo ensure path recovery in failover scenarios, certain Device Mapper Multipath (DMMP) settings and udev rules for the attachment of Linux hosts to Storwize® V3700 are recommended. These settings are valid for IBM® System x®, all Intel or AMD-based servers, and Power® platforms.You must restart your host after you complete the following two steps:Editing the multipath sett.. 더보기
Red Hat Enterprise Linux 6 DM Multipath Red Hat Enterprise Linux 6DM MultipathDM Multipath Configuration and AdministrationEdition 1Legal NoticeCopyright © 2014 Red Hat, Inc. and others.This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original... 더보기
Virtual Machines 1. Download and install the proper packages in order to manage virtual machines on a Red Hat 7 machine. Ensure you install the GUI as well as the command line interface.[root@localhost]# yum install virt-manager qemu-kvm qemu-img libvirt libvirt-python python-virtinst libvirt-client OR Note: This is a neat trick [root@localhost]# yum grouplist hidden // This will show virtualization packages [ro.. 더보기
Working with top 1. On a LinuxAcademy.com lab server start the top program.[root@localhost]# top2. The top program shows all running processes on the system but sorts them. Using your keyboard, browse up and down to view the processes.Use the keyboard up and down arrows to navigate3. Sort all processes by memory percentage.shift + m4. Sort all processes by CPU usage.shift + p5. Renice the process for the script .. 더보기
Monitoring and calculating CPU load averages 1. View the system uptime and load average.[root@localhost ~]# uptime 09:53:07 up 16:32, 3 users, load average: 1.02, 1.00, 0.69 [root@localhost ~]# 2. View the system uptime and load average that also shows what users are logged into the system and what the user is doing.[root@localhost ~]# w 09:53:37 up 16:33, 3 users, load average: 1.01, 1.00, 0.70 USER TTY LOGIN@ IDLE JCPU PCPU WHAT user pts.. 더보기
nice, renice, and ps 1. Ensure that you have the httpd package installed on the system.[root@localhost]# yum install httpd2. Ensure the httpd service is NOT RUNNING.[root@localhost]# systemctl stop httpd3. Start the httpd service with the most favorable nice possible.[root@localhost]# nice -n -20 httpd4. View the current nice of the httpd service using the ps command and pgrep command together.[root@localhost]# ps a.. 더보기
pgrep, pkill, kill, and jobs 1. As the root user, create a job running in the background of your current terminal. Execute this following script for that program process to be created.[root@localhost]# (while true; do echo -n "My program" >> ~/output.file; done) &2. View the current jobs running in the background of your terminal.[root@localhost ~]# jobs [1]- Running ( while true; do> ~/output.file; .. 더보기
Powering Off Systems 1. Using the shutudown command, schedule a shutdown for five minutes from now and notify all users on the system of the shutdown.[root@localhost]# shutdown +5 shutdown messages goes here2. Using the shutdown command, reboot the machine immediately without delay.[root@localhost]# shutdown -r now [root@localhost]# shutdown -r 3. Using systemctl, shutdown the system.[root@localhost]# shutdown now o.. 더보기
Interrupt The Boot Process To Change The Boot Target 1. Start or reboot a system to get to the boot menu.2. Press any key to stop the auto selection of a grub item.3. Ensure the kernel you intend to boot into is highlighted and press the “e” key to edit the entry.4. Navigate to the linux16 kernel line and hit the “end” key to go to the end of the line.5. Append the new target to the linux16 kernel line.systemd.unit=rescue.target 6. Continue bootin.. 더보기