Before you install the PAK file, or upgrade your vRealize Operations Manager instance, clone any customized content to preserve it. Customized content can include alert definitions, symptom definitions, recommendations, and views. Then, during the software update, you select the options named Install the PAK file even if it is already installed and Reset out-of-the-box content.
The version 6.2.1 vRealize Operations Manager update operation has a validation process that identifies issues before you start to update your software. Although it is good practice to run the pre-update check and resolve any issues found, users who have environmental constraints can disable this validation check.
To disable the pre-update validation check, perform the following steps:
Edit the update file to/storage/db/pakRepoLocal/bypass_prechecks_vRealizeOperationsManagerEnterprise-buildnumberofupdate.json.
Change the value to TRUE and run the update.
Note:
If you disable the validation, you might encounter blocking failures during the update itself.
Procedure
Log into the master node vRealize Operations Manager Administrator interface of your cluster at https://master-node-FQDN-or-IP-address/admin.
Click Software Update in the left panel.
Click Install a Software Update in the main panel.
Follow the steps in the wizard to locate and install your PAK file.
If you are updating a Virtual Appliance deployment, perform the OS update. This updates the OS on the virtual appliance and restarts each virtual machine.
Install the product update PAK file. Wait for the software update to complete. When it does, the Administrator interface logs you out.
Read the End User License Agreement and Update Information, and click Next.
Click Install to complete the installation of software update.
Log back into the master node Administrator interface.
The main Cluster Status page appears and cluster goes online automatically. The status page also displays the Bring Online button, but do not click it.
Clear the browser caches and if the browser page does not refresh automatically, refresh the page.
The cluster status changes to Going Online. When the cluster status changes to Online, the upgrade is complete.
Note:
If a cluster fails and the status changes to offline during the installation process of a PAK file update then some nodes become unavailable. To fix this, you can access the Administrator interface and manually take the cluster offline and click Finish Installation to continue the installation process.
Click Software Update to check that the update is done.
A message indicating that the update completed successfully appears in the main pane.
What to do next
Delete the snapshots you made before the software update.
Note:
Multiple snapshots can degrade performance, so delete your pre-update snapshots after the software update completes.
AWStats - это инструмент для создания отчетов по веб-аналитике с открытым исходным кодом, который графически генерирует расширенные веб-статистические данные, потоковую передачу, данные FTP или почтового сервера. Этот анализатор журналов работает как CGI или из командной строки и показывает всю возможную информацию, которую ваш журнал содержит на нескольких графических веб-страницах. Он использует частичный информационный файл, чтобы иметь возможность обрабатывать большие файлы журнала часто и быстро. Он поддерживает большинство форматов файлов журналов веб-сервера, включая Apache, IIS и многие другие форматы журналов веб-сервера.
Install AWStats Package
By default, AWStats package is available in the Ubuntu repository. You can install it by running:
По умолчанию пакет AWStats доступен в репозитории Ubuntu. Вы можете установить его, запустив:
sudo apt-get install awstats
Next you will need to enable the CGI module in Apache. You can do this by running:
Далее вам нужно будет включить модуль CGI в Apache. Вы можете сделать это, запустив:
sudo a2enmod cgi
Now, restart Apache to reflect the changes.
Теперь перезапустите Apache, чтобы отразить изменения.
sudo /etc/init.d/apache2 restart
Configure AWStats
You need to create a configuration file for each domain or website you wish to view statistics for. In this example we will create a configuration file for “test.com“. You can do this by duplicating the AWStats default configuration file to one with your domain name.
Вам необходимо создать файл конфигурации для каждого домена или веб-сайта, для которого вы хотите просмотреть статистику. В этом примере мы создадим файл конфигурации для «test.com». Вы можете сделать это, дублируя файл конфигурации AWStats по умолчанию на файл с вашим доменным именем.
Now, you need to make some changes in the config file:
Теперь вам нужно внести некоторые изменения в конфигурационный файл:
sudo nano /etc/awstats/awstats.test.com.conf
Update the settings shown below:
Обновите настройки, показанные ниже:
# Change to Apache log file, by default it's /var/log/apache2/access.log
LogFile="/var/log/apache2/access.log"
# Change to the website domain name
SiteDomain="test.com"
HostAliases="www.test.com localhost 127.0.0.1"
# When this parameter is set to 1, AWStats adds a button on report page to allow to "update" statistics from a web browser
AllowToUpdateStatsFromBrowser=1
Save and close the file. After these changes, you need to build your initial statistics which will be generated from the current logs on your server. You can do this using:
Сохраните и закройте файл. После этих изменений вам необходимо создать исходную статистику, которая будет сгенерирована из текущих журналов на вашем сервере. Вы можете сделать это используя:
Next, you need to configure Apache2 to show these stats. Now copy the content of the “cgi-bin” folder to the default document root directory of your Apache installation. By default, this is in the “/usr/lib/cgi-bin” folder. You can do this by running:
Далее вам нужно настроить Apache2 для отображения этой статистики. Теперь скопируйте содержимое папки «cgi-bin» в корневой каталог документов по умолчанию вашей установки Apache. По умолчанию это находится в папке «/ usr / lib / cgi-bin». Вы можете сделать это, запустив
Now you can access your AWStats by visiting the url “http://your-server-ip/cgi-bin/awstats.pl?config=test.com.” It will show you a results page like this:
Теперь вы можете получить доступ к своим AWStats, посетив ссылку «http: //your-server-ip/cgi-bin/awstats.pl? Config = test.com». Он покажет вам страницу результатов, как это:
Set Up Cron to Update Logs
Настройка Cron для обновления журналов
It is recommended to schedule a cron job to regularly update the AWStats database using newly created log entries, so the stats get updated on a regular basis. This will also save your time. To do this you need to edit the “/etc/crontab” file:
Рекомендуется запланировать задание cron на регулярное обновление базы данных AWStats с использованием вновь созданных записей журнала, чтобы статистика регулярно обновлялась. Это также сэкономит ваше время. Для этого вам нужно отредактировать файл «/ etc / crontab»
sudo nano /etc/crontab
Add the following line that tells AWStats to update every ten minutes.
Добавьте следующую строку, которая сообщает AWStats обновлять каждые десять минут.
AWStats is a very useful tool that can give you an overview of what is happening on your website and assist with site analysis. It is very easy to install and configure. Feel free to comment below if you have any questions.
AWStats - это очень полезный инструмент, который может дать вам представление о том, что происходит на вашем сайте, и помочь с анализом сайта. Это очень легко установить и настроить. Не стесняйтесь комментировать ниже, если у вас есть какие-либо вопросы.