From d2cd775fe807a9eea50a9f68b06142ca541e1e64 Mon Sep 17 00:00:00 2001 From: Samuel Langlois Date: Tue, 30 Sep 2014 09:00:31 +0000 Subject: [PATCH] Integrate Bitrock delivery fixing various bugs/improvements in installer validation tool: - ACE-2940 installer validations are occurring too early in the flow - ACE-2941 installer error messages for failed environment validations should be localisable - ACE-2942 installer environment validation messages are displayed incorrectly (i.e. in popups) - ACE-2943 installer should not check CIFS ports on Windows - ACE-2944 on Unix-like OSes, the installer should not check ports < 1024 if not running as root git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85977 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../alfresco-customstack-validations.xml | 361 +++++++++--------- 1 file changed, 178 insertions(+), 183 deletions(-) diff --git a/src/main/resources/bitrock/alfresco-customstack-validations.xml b/src/main/resources/bitrock/alfresco-customstack-validations.xml index 033dfefd42..e63316198b 100644 --- a/src/main/resources/bitrock/alfresco-customstack-validations.xml +++ b/src/main/resources/bitrock/alfresco-customstack-validations.xml @@ -1,6 +1,6 @@ alfrescovalidations - + Alfresco Validations 1 0 @@ -21,6 +21,172 @@ + + + + + + + + + + + + + + This installer is for Windows 64 bit. Please download the Windows 32 bit version. + + + + + + + + + + + + + + + + + + + CPU clock speed of ${machine_cpu_speedGHz} GHz is slower than the minimum required by Alfresco (${minimum_cpu_speedGHz} GHz). Alfresco will not perform well. Upgrade the server to one with more modern CPUs (CPU clock speed of at least ${minimum_cpu_speedGHz} GHz, and preferably ${recommended_cpu_speedGHz} GHz or more). + + + less + ${machine_cpu_speed} + ${minimum_cpu_speed} + + + + + + + less + ${machine_cpu_speed} + ${recommended_cpu_speed} + + + greater_or_equal + ${machine_cpu_speed} + ${minimum_cpu_speed} + + + + + + + + less + ${machine_cpu_count} + ${minimum_core_count} + + + + + + + + + ${machine_total_memoryGB} GB of RAM is not enough to run Alfresco for test or production purposes. Alfresco may not function correctly and if it does, it will not perform well. Upgrade the server to have at least ${minimum_ramGB} GB of RAM (preferably at least ${recommended_ramGB} GB). + + + less + ${machine_total_memory} + ${minimum_ram} + + + + + + + less + ${machine_total_memory} + ${recommended_ram} + + + greater_or_equal + ${machine_total_memory} + ${minimum_ram} + + + + + + +      + + + + + + + + + + + ${netbd_port}, ${netbd_port_1} + + + + + + + + + + + + + + + + + ${netbd_port}, ${netbd_port_2}, ${smb_port} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -59,190 +225,19 @@ IMAP port + + alfresco_report + Warning! + This environment is not configured optimally for Alfresco - please carefully review this list before continuing. + +While these issues will not prevent Alfresco from functioning, some product features may be unavailable, or the system may not perform optimally. + + readytoinstall + - - - This installer is for Windows 64 bit. Please download the Windows 32 bit version. - - - - - - - - - - - ${netbd_port}, ${netbd_port_1}, ${netbd_port_2}, ${smb_port} - - - - - - - - - - CIFS protocol will be unavailable. Check for running processes that are using the following ports: ${portList} (eg. existing CIFS servers). - - - - - - - CIFS protocol will be unavailable. Cannot bind ports: ${portList}. Consider reconfiguring Alfresco to use a non-privileged port then use a port forwarding tool (such as iptables) to forward this port - - - - - - - - - SMTP protocol will be unavailable (note: not enabled by default). Check for running processes that are using ${smtp_port} (eg. existing SMTP servers) - - - - - - - SMTP protocol will be unavailable (note: not enabled by default). Cannot bind port ${smtp_port}. Consider reconfiguring Alfresco to use a non-privileged port then use a port forwarding tool (such as iptables) to forward this port. - - - - - - - - - IMAP protocol will be unavailable (note: not enabled by default). Check for running processes that are using ${imap_port} (eg. existing IMAP servers), on non-Windows OSes consider reconfiguring Alfresco to use a non-privileged port then use a port forwarding tool (such as iptables) to forward this port - - - - - - - - IMAP protocol will be unavailable (note: not enabled by default). Cannot bind port ${imap_port}. Consider reconfiguring Alfresco to use a non-privileged port then use a port forwarding tool (such as iptables) to forward this port - - - - - - - - - - - Alfresco requires at least ${minimum_file_descriptors} file descriptors. While Alfresco will start correctly, you will likely see errors during indexing of content into the search engine. Increase the number of file descriptors available to Alfresco. - -      - - - - - - - CPU clock speed of ${machine_cpu_speed} Mhz is slower than that recommended for test or production use (${recommended_cpu_speed} Mhz). Alfresco will perform well for development purposes but this server should not be used for other purposes. Upgrade the server to one with more modern CPUs (CPU clock speed of at least ${recommended_cpu_speed} Mhz). - - - less - ${machine_cpu_speed} - ${recommended_cpu_speed} - - - greater_or_equal - ${machine_cpu_speed} - ${minimum_cpu_speed} - - - - - CPU clock speed of ${machine_cpu_speed} Mhz is slower than the minimum required by Alfresco (${minimum_cpu_speed} Mhz). Alfresco will not perform well. Upgrade the server to one with more modern CPUs (CPU clock speed of at least ${minimum_cpu_speed} Mhz, and preferably ${recommended_cpu_speed} Mhz or more). - - - less - ${machine_cpu_speed} - ${minimum_cpu_speed} - - - - - Unable to determine CPU clock speed. This machine may not be fast enough to run Alfresco for test or production purposes. Manually validate that the CPU clock speed of this server is at least ${minimum_cpu_speed} Mhz. - - - equals - ${machine_cpu_speed} - 0 - - - - - - This machine does not have enough CPUs (cores) to run Alfresco for non-development purposes. Alfresco will function well for development purposes but this server should not be used for any other purpose. Upgrade the server to have at least ${minimum_core_count} CPUs (cores) - - - less - ${machine_cpu_count} - ${minimum_core_count} - - - - - Unable to determine CPU (core) count. This machine may not have enough CPUs (cores) to run Alfresco for non-development purposes. Manually validate that this machine has at least ${minimum_core_count} CPUs (cores) - - - equals - ${machine_cpu_count} - 0 - - - - - - ${machine_total_memory} MB of RAM is not enough to run Alfresco for test or production purposes. Alfresco may not function correctly and if it does, it will not perform well. Upgrade the server to have at least ${minimum_ram} MB of RAM (preferably at least ${recommended_ram} MB). - - - less - ${machine_total_memory} - ${minimum_ram} - - - - - ${machine_total_memory} MB of RAM is not enough to run Alfresco for test or production purposes. Alfresco will function well for development purposes but this server should not be used for other purposes. Upgrade the server to have at least ${recommended_ram} MB of RAM - - - less - ${machine_total_memory} - ${recommended_ram} - - - greater_or_equal - ${machine_total_memory} - ${minimum_ram} - - - - - - Unable to determine size of installed RAM. This machine may not have sufficient RAM to run Alfresco correctly. Manually validate that this server has at least ${minimum_ram} MB (preferably at least ${recommended_ram} MB) of RAM installed. - - - equals - ${machine_total_memory} - 0 - - - - + +