LPIC-3 304v1 Flashcards

1
Q

what’a an alias for hypervisor?

A

virtual machine monitor (VMM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what’s the difference between a hypervisor and hardware emulation?

A

In hardware emulation, a piece of hardware imitates another, while in hardware virtualization, a hypervisor (a piece of software) imitates a particular piece of computer hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what’s the name of the cli tool for OpenVZ?

A

vzctl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

which cpu flag provides a intel VT cpu for full virtualisation?

A

vmx (virtual machine extensions)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

which cpu flag provides a amd-v cpu for full virtualisation?

A

svm (secure virtual machine)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

where can you see, if xen supports HVM?

A

/sys/hypervisor/properties/capabilities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

LVS: what’s the VIP (Virtual IP Address)?

A

The IP address used by the director to provide services to client computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

LVS: what’s the RIP (Real IP address)?

A

The IP address used to connect to the cluster nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

LVS: what’s the DIP (Directors IP address)?

A

The IP address used by the director to connect to network of real IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

LVS: what’s the CIP (Client IP address)?

A

The IP address assigned to a client computer, that it uses as the source IP address for requests being sent to the cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

which sysctl settings need to be adjusted in order to prevent the loopback device from responding to ARP?

A

net. ipv4.conf.lo.rp_filter = 0
net. ipv4.conf.all.arp_announce = 2
net. ipv4.conf.all.arp_ignore = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

define the main syntax of genhash

A

genhash -s -p -u

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how can genhash use SSL and what’s the option to define a virtual Host?

A

SSL= -S, virtualHost= -u

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ipvsadm: add a new service

A

-A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ipvsadm: define a tcp service address

A

-t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ipvsadm: define the scheduler

A

-s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

ipvsadm: add a new server

A

-a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

ipvsadm: add a real server

A

-r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

ipvsadm: use masquerading

A

-m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

ipvsadm: save rules to stdout

A

-S

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

ipvsadm: read rules from stdin

A

-R

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

ipvsadm: name the scheduling methods and declare each

A
rr - round robin
wrr - weighted RR
lc - least connection
lblc - locality based least connection
lblcr - locality based least connection with replication
dh - destination hashing
sh - source hashing
sed - shortest expected delay
nq - never queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

which option of keepalived defines the LVS syncd interface?

A

lvs_sync_daemon_interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

VRRP? What’s it doing?

A

Virtual Router Redundancy Protocol, used to communicate between routers/loadbalancers to define a master holding an IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
IPVS?
IP Virtual Server
26
what is LVS Localnode and what purpose can it serve?
use the local node (loadbalancer) as a real server, can be good for a sorry server
27
what is LVS IP Tunneling?
packets are encapsulated and answered directly by the real server
28
what is LVS NAT?
the loadbalancer translates external IP to internal and vice versa
29
what is LVS DR?
the packets are forwarded by the loadbalancer directly to the real server and is also answered by the real server
30
what's SSI related to LinuxPMI?
single system image
31
what's the directory LPI is asking for but nobody knows of?
/usr/lib/heartbeat/ResourceManager
32
where's the cluster config file of red hats cluster suite located?
/etc/cluster/cluster.conf
33
how can you create a skelton config for red hats cluster suite?
ccs_tool create
34
deploy cluster.conf to all nodes in red hats cluster suite
ccs_tool update /etc/cluster/cluster.conf
35
rhcs: show cluster status
clustat
36
rhcs: start/enable a service
clusvcadm -e
37
rhcs: stop/disable a service
clusvcadm -d
38
definition of cman?
"cluster manager" - decides if cluster has quorum
39
what is rgmanager?
counterpart of pacemaker
40
CCS?
Cluster Configuration System
41
rgmanager?
resource group manager
42
OCF?
Open Cluster Framework
43
where are red hats RA located?
/usr/share/cluster
44
which variable determines if ocfs can start?
O2CB_ENABLED
45
config file of OCFS?
/etc/ocfs2/cluster.conf
46
name the typical options for a ocfs node in cluster.conf
name, cluster, number, ip_address, ip_port
47
name the typical options for a ocfs cluster in cluster.conf
name, node_count
48
DLM (filesystem)?
Distributed Lock Manager
49
which options defines the name of the locking protocol for gfs2?
-p
50
which option defines the name of the lock table for gfs2?
-t
51
where's the haproxy config located?
/etc/haproxy/haproxy.cfg
52
name haproxy's 5 config sections
``` global defaults listen frontend backend ```
53
are haproxy acl's case sensitive?
yes
54
which chars are allowed for haproxy acl's?
``` upper and lower case digits _ . : - ```
55
which acl flags are supported by haproxy?
- i - f - -
56
haproxy acl's can match on which tcp layers?
4 and 7
57
which option of haproxy sets the loadbalancing algorithm?
balance
58
which loadbalancing algorithms are available for haproxy?
``` roundrobin static-rr leastconn source uri uril_param hdr rdp-cookie ```
59
which binary creates the qdiskd filesystem?
mkqdisk
60
how many nodes can be in an qdisk managed cluster?
16
61
what's the name of the KVM kernel module?
kvm.ko
62
KVM loads a processor specific module, which two exist?
kvm-intel.ko and kvm-amd.ko
63
what's the name of the kvm daemon?
libvirt-bin
64
which cli tool can create VMs?
virtinst
65
which cli tool can start/stop VMs?
virsh
66
which command lists KVMs virtual machines?
virsh -c qemu:///system list
67
which file is read by kvm_stat?
/sys/kernel/debug/kvm
68
which binary can specify disk images for guests?
qemu-kvm
69
create a 10G disk image called file.img with qemu in qcow format
qemu-img create -f qcow file.img 10G
70
which storage interface of qemu is faster than IDE?
virtio