Scratch Pad

From MyWiki
Revision as of 17:04, 26 April 2019 by George2 (Talk | contribs)

Jump to: navigation, search
https://www.ebay.co.uk/b/yama-buggy-parts/bn_7024825240
https://www.ebay.co.uk/itm/Yama-2-stroke-1-5-scale-Petrol-RC-buggy-front-wheel-1-pair-/163665921047
https://www.youtube.com/watch?v=A1zmhxcUOxw
 
[‎21/‎06/‎2018 15:36] Olly Bellamy: 
What Ports are Connected to What?
 
172.16.112.232		2306		Te 1/53/1
172.16.112.233		2306		Te 1/53/2
172.16.112.234		2306		Te 1/53/1
172.16.112.235		2306		Te 1/53/2
172.16.112.236		-		-
172.16.112.237		-		-
 
 
Does SO-4048 serve data AND iscsi?
 
No, just iscsi.
 
 
Does the SAN management network run through the SO-4048?
 
Yes. 
 
 
 
This may help
https://community.jisc.ac.uk/library/janet-services-documentation/payments-and-charges
Red Hat Certification.


Chapters


1. Installation

2 [[#chap2essentialtools|]]Using essential tools

3. Essential File Management Tools

4. Working with Text Files

5. Connecting to Red Hat Linux 7

6. User and Group Management

7. Permissions Management

8. Configuring Networking

9. Process Management

10. Working with Virtual Machines

11. Installing Software Packages

12. Scheduling Tasks

13. Configuring Logging

14. Managing Partitions

15. Managing LVM Logical Volumes

16. Basic Kernel Management

17. Configuring a Basic Apache Server








1. Red Hat Installation






2. Using Essential Toosl




3. Essentila File Management Tools




4. Working with text files




5. Connecting to Red Hat Linux 7





6. User and Group Management




7. Permissions Management





8. Configuring Networking




9. Process Management





10. Working with Virtual Machines


QEMU (Quick Emulator) this does the disk format of image files.


It offers an infrastructural server that consists of multiple hypervisor nodes

that are managed from a central RHEV Manager node, on which a web user interface

makes managing a complex environment easy.


To access VMs that are offered through KVM, you use libvirtd. Libvirtd is a process

that sits between the virtualization layer and the application that an administrator

is using to access the VMs. Without libvirtd, you cannot manage VMs. Virtual

machine management options also are configured through the libvirtd configuration

file /etc/libvirt/libvirtd.conf.


Although the method to connect remotely directly to libvirtd works well and is convenient

for hypervisors that have a minimal number of software packages installed,

alternatively you can use Secure Shell (SSH) from virt-manager to connect to

remote libvirtd processes.

If you are experiencing problems accessing VMs, libvirtd is the primary suspect,

and you should at least ensure that it is running, by using the systemctl status -l

libvirtd command. In Listing 10.1 , you can see how this command shows that libvirtd

is running; the command also shows information about recent activity on the

process .


systemctl status -l libvirtd


Making your server a KVM host.


cat /proc/cpuinfo - vmx on an intel CPU, and svm on an AMD CPU.


cat /proc/cpuinfo | egrep ‘svm|vmx’


yum groupinstall “Virtualization Host ”.

/var/lib/libvirt/images. - check space


NOTE As an alternative to working with disk image files, you may prefer working

with LVM logical volumes as the storage backend. This offers some advantages,

such as the possibility to easily create backups by using the LVM snapshot feature.

For this reason, LVM is often used as a storage backend in production KVM

servers.


KVM Host networking


brctl show


Accessing virtual machines

â–  SSH into the VM

â–  Through Virtual Machine Manager

â–  Through GNOME Boxes

â–  Using virt-viewer

â–  Optionally, through third-party utilities.



Accessing virtual Machines from a text only console.

This is from the KVM host

grubby --update-kernel=ALL --args=“console=ttyS0”

reboot the vm

virsh console samder-vm1


Managing virtual machines from the command line

virsh commands

list = active vms

list -all = all, including non active

help

shutdown <vmname> shuts down properly

destroy <vmname> pulls the power plug

edit <vmname> edit the xml config file.txt

console <vmname> connects from KVM host console

start <vmname> Starts a VM

reboot <vmname> reboots a vm


Google

virsh list [ --inactive | --all]


From Red Hat Portal - managing guests

help Prints basic help information. list Lists all guests. dumpxml Outputs the XML configuration file for the guest. create Creates a guest from an XML configuration file and starts the new guest. start Starts an inactive guest. destroy Forces a guest to stop. define Outputs an XML configuration file for a guest. domid Displays the guest's ID. domuuid Displays the guest's UUID. dominfo Displays guest information. domname Displays the guest's name. domstate Displays the state of a guest. quit Quits the interactive terminal. reboot Reboots a guest. restore Restores a previously saved guest stored in a file. resume Resumes a paused guest. save Save the present state of a guest to a file. shutdown Gracefully shuts down a guest. suspend Pauses a guest. undefine Deletes all files associated with a guest. migrate Migrates a guest to another host.

Misc : version Displays the version of virsh nodeinfo Outputs information about the hypervisor



Reset root password

append the following to the linux16 line at grub - init=bin/sh then control-x

mount -o remount, rw /
( reset the password )
touch /.autorelabel
/sbin/init this didnt work, couldnt connect to init daemon


or /sbin/reboot





11. Installing Software Packages





12. Scheduling Tasks




13. Configuring Logging






14. Managing Partitions





15. Managing LVM Logical Volumes






16. Basic Kernel Management






17. Configuring a Basic Apache Server