Red Hat APPLICATION STACK 2.0 RELEASE Bedienungsanleitung Seite 10

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 22
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 9
A Principled Technologies test report 10
Red Hat Enterprise Linux 6: Performance advantages with an
open source software stack
25. Configure network adapter connected to the DVD Store clients, for example eth1, to listen on three IP addresses
(aliases). Create the files /etc/sysconfig/network-scripts/ifcfg-eth1 and /etc/sysconfig/network-scripts/ifcfg-
eth1-range0 with this content:
ifcfg-eth1:
DEVICE=em2
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
ifcfg-eth1-range0:
IPADDR_START=192.168.30.21
IPADDR_END=192.168.30.23
CLONENUM_START=0
26. Increase the amount of SysV shared-memory available to MySQL by modifying the parameters, kernel.shmmax,
and kernel.shmall, in the file /etc/sysctl.conf:
# Controls the maximum shared segment size, in bytes
#kernel.shmmax = 68719476736
kernel.shmmax = 85983232000
# Controls the maximum number of shared memory segments, in pages
#kernel.shmall = 4294967296
kernel.shmall = 83968000
27. Allocate 21000 (about 41GB) standard Hugepages for MySQL by modifying the parameter, vm.nr_hugepages, in
the file /etc/sysctl.conf:
vm.nr_hugepages=21000
28. Reboot the server:
shutdown r now
29. After the system reboots, log in as root.
30. Create three pairs of disk partitions (one set for each instance of MySQL) for the MySQL data and log files, using,
for example, the disk /dev/sdd, whose contents will be destroyed, and is at least 130GB in size. The size of the
partitions is 20GB for the data files, and 5GB for the log files. Run this command-line script:
parted /dev/sdd mklabel gpt
parted /dev/sdd mkpart dat01 ext4 1 20GB
parted /dev/sdd mkpart dat02 ext4 20GB 40GB
parted /dev/sdd mkpart dat03 ext4 40GB 60GB
parted /dev/sdd mkpart log01 ext4 60GB 65GB
parted /dev/sdd mkpart log02 ext4 65GB 70GB
parted /dev/sdd mkpart log03 ext4 70GB 75GB
31. Create one more 50GB disk partition to hold the master DVD Store data, used to reset the system before each
benchmark run:
Seitenansicht 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 21 22

Kommentare zu diesen Handbüchern

Keine Kommentare