Skip to content

Instantly share code, notes, and snippets.

@kmizumar
Created June 26, 2017 08:09
Show Gist options
  • Select an option

  • Save kmizumar/866ae934a8aaf0a32f05ce997bf2d7de to your computer and use it in GitHub Desktop.

Select an option

Save kmizumar/866ae934a8aaf0a32f05ce997bf2d7de to your computer and use it in GitHub Desktop.
prereq-check.sh output on CentOS 7.3 and CentOS 6.8
Output of 453d0bbe62908bcf904b99520fdf7f390f445909
[root@maru-centos73 prereq-checks]# ./prereq-check.sh
Cloudera Manager & CDH Prerequisites Checks v1.2.1
System information
-------------------
FQDN: maru-centos73.gce.cloudera.com
Distro: CentOS Linux 7.3.1611 (Core)
Kernel: 3.10.0-514.21.1.el7.x86_64
CPUs: 1x Intel Xeon(R) @ 2.50GHz
RAM: 3 GB
Disks:
/dev/sda 107.4 GB
Data mounts: None found
Free space:
/opt
/var/log
Cloudera RPMs: None installed
Timezone: America/Los_Angeles
DateTime: Mon Jun 26 00:59:45 PDT 2017
nsswitch: files dns myhostname
DNS server: 10.17.181.104
Mount:
/dev/sda1 / xfs rw,relatime,attr2,inode64,noquota
Prerequisite checks
-------------------
FAIL System: /proc/sys/vm/swappiness should be 1. Actual: 0
PASS System: tuned is not running
PASS System: tuned does not auto-start on boot
PASS System: /sys/kernel/mm/transparent_hugepage/defrag should be disabled
PASS System: SELinux should be disabled
PASS System: ntpd is running
PASS System: ntpd auto-starts on boot
FAIL System: chronyd is not installed
FAIL System: chronyd does not auto-start on boot
PASS Network: Has Internet connection
PASS Network: FQDN looks okay
WARN Network: /etc/hosts entries should be <= 2 (use DNS). Actual: 4
FAIL Network: iptables is not installed
FAIL Network: iptables does not auto-start on boot
PASS Network: nscd is running
PASS Network: nscd auto-starts on boot
FAIL Network: sssd is not installed
FAIL Network: sssd does not auto-start on boot
FAIL Java: Oracle Java not installed
PASS Java: No other Java versions installed
WARN Database: MySQL server not installed, skipping version check
WARN Database: MySQL connector is not installed
[root@maru-centos73 prereq-checks]#
[root@maru-centos68 prereq-checks]# ./prereq-check.sh
Cloudera Manager & CDH Prerequisites Checks v1.2.1
System information
-------------------
FQDN: maru-centos68.gce.cloudera.com
Distro: CentOS 6.8
Kernel: 2.6.32-642.3.1.el6.x86_64
CPUs: 1x Intel Xeon(R) @ 2.50GHz
RAM: 3 GB
Disks:
/dev/sda 107.4 GB
Data mounts: None found
Free space:
/opt
/var/log
Cloudera RPMs: None installed
Timezone: America/Los_Angeles
DateTime: Mon Jun 26 01:01:11 PDT 2017
nsswitch: files dns
DNS server: 10.17.181.104
Mount:
/dev/sda1 / ext4 rw,relatime,barrier=1,data=ordered
Prerequisite checks
-------------------
FAIL System: /proc/sys/vm/swappiness should be 1. Actual: 0
PASS System: /sys/kernel/mm/redhat_transparent_hugepage/defrag should be disabled
PASS System: SELinux should be disabled
PASS System: ntpd is running
PASS System: ntpd auto-starts on boot
PASS Network: Has Internet connection
PASS Network: FQDN looks okay
WARN Network: /etc/hosts entries should be <= 2 (use DNS). Actual: 4
FAIL Network: iptables is not running
PASS Network: iptables does not auto-start on boot
PASS Network: nscd is running
PASS Network: nscd auto-starts on boot
FAIL Network: sssd is not installed
PASS Network: sssd does not auto-start on boot
FAIL Java: Oracle Java not installed
PASS Java: No other Java versions installed
WARN Database: MySQL server not installed, skipping version check
WARN Database: MySQL connector is not installed
[root@maru-centos68 prereq-checks]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment