39 lines
1.8 KiB
Diff
39 lines
1.8 KiB
Diff
--- a/sapconf 2014-04-17 17:28:04.000000000 +0200
|
|
+++ b/sapconf 2014-10-29 11:33:57.555316594 +0100
|
|
@@ -16,7 +16,7 @@
|
|
#
|
|
#---------------------------------------------------------------------------
|
|
#
|
|
-# requires: tuned with SAP profile
|
|
+# requires: tuned-profiles-sap
|
|
#
|
|
# options:
|
|
# -f <file> : uses the given file instead of /etc/sysconfig/sap (FUTURE USE)
|
|
@@ -51,7 +51,7 @@
|
|
# rec_count counts the number of lines of variable array REC[] that contains recommendations to be put at the end of the $LOGFILE
|
|
rec_count=0
|
|
|
|
-TUNED_SAP_PROFILE=sap
|
|
+TUNED_SAP_PROFILE=sap-netweaver
|
|
|
|
#####################################
|
|
#
|
|
@@ -89,7 +89,7 @@
|
|
|
|
# Define required RPMs
|
|
# RPMS contains rpms recommended by SAP Note
|
|
-RPMS="@compat-libraries @debugging @directory-client @hardware-monitoring @large-systems @network-file-system-client @perl-runtime @storage-client-multipath @x11 uuidd tuned"
|
|
+RPMS="@compat-libraries @debugging @directory-client @hardware-monitoring @large-systems @network-file-system-client @perl-runtime @storage-client-multipath @x11 uuidd tuned-profiles-sap"
|
|
# VIRTRPMS is a variable used by function virtrpms and check_rpms. In virtrpms the rpms that are required by SAP on virtual guests will be set in VIRTRPMS, and installed by check_rpms. Currently vm-dump-metrics is installed on KVM/RHEV based guests. XEN and VMware are not implemented.
|
|
VIRTRPMS=""
|
|
|
|
@@ -353,7 +353,7 @@
|
|
fi
|
|
|
|
out "Activating tuned '$TUNED_SAP_PROFILE' profile"
|
|
- tuned-adm profile $TUNED_SAP_PROFILE || error "Unable to activate tuned '$TUNED_SAP_RROFILE' profile." 3
|
|
+ tuned-adm profile $TUNED_SAP_PROFILE || error "Unable to activate tuned '$TUNED_SAP_PROFILE' profile." 3
|
|
fi # [ $CHECK_ONLY == 0 ]
|
|
fi #[ $ec -eq 0 ]
|
|
}
|