Home > ServerTemplates > Infinity > ST > Base ServerTemplate for Linux (RSB) (v13 Infinity)

MindTouch
Copyright (c) 2006-2014 MindTouch Inc.
http://mindtouch.com

This file and accompanying files are licensed under the MindTouch Master Subscription Agreement (MSA).

At any time, you shall not, directly or indirectly: (i) sublicense, resell, rent, lease, distribute, market, commercialize or otherwise transfer rights or usage to: (a) the Software, (b) any modified version or derivative work of the Software created by you or for you, or (c) MindTouch Open Source (which includes all non-supported versions of MindTouch-developed software), for any purpose including timesharing or service bureau purposes; (ii) remove or alter any copyright, trademark or proprietary notice in the Software; (iii) transfer, use or export the Software in violation of any applicable laws or regulations of any government or governmental agency; (iv) use or run on any of your hardware, or have deployed for use, any production version of MindTouch Open Source; (v) use any of the Support Services, Error corrections, Updates or Upgrades, for the MindTouch Open Source software or for any Server for which Support Services are not then purchased as provided hereunder; or (vi) reverse engineer, decompile or modify any encrypted or encoded portion of the Software.

A complete copy of the MSA is available at http://www.mindtouch.com/msa

Base ServerTemplate for Linux (RSB) (v13 Infinity)

Table of Contents    

Infinity

Leading edge features

   ►  Overview

Description

If you cannot find an existing ServerTemplate from the MultiCloud Marketplace that you can clone and modify to meet your own needs, it's strongly recommended that you start your custom ServerTemplate development with one of the "base" ServerTemplates that already contain the minimum set of scripts and alerts for optimized server management through the RightScale management platform. For example, the ServerTemplate contains scripts for setting up monitoring on the server so that you can view the real-time graphs in the Dashboard and create alert specifications for automation. It also contains a set of best practices alerts that are preconfigured under the Alerts tab.

 

Overview

Minimum Scripts for Best Practices

The "Base" ServerTemplate contains the minimum set of scripts that are required for optimal server management within the RightScale management platform. It's recommended that you do not delete any of these scripts from a ServerTemplate unless you are an advanced user and are aware of the ramifications.

screen-BaseLinuxScripts_RSB-v1.png

 

The minimum set of scripts in the "Base" ServerTemplate are found in most ServerTemplates published by RightScale and perform the following setup operations:

  • SYS setup security updates - Sets up package manager software so that security updates can be applied a running server. After booting and installing the packages, the relevant software repositories (e.g. Epel and Ubuntu Precise) are unfrozen so that security updates can be installed by the 'SYS install security updates' script. Once security updates are enabled (SECURITY_UPDATES = enable) they can not be disabled. By default, security updates are disabled at the ServerTemplate level. Set this input accordingly prior to launching the server. 
  • SYS Install RightImage Extras package - Installs the 'rightimage-extras' package required by many of our ServerTemplates and Images. DO NOT REMOVE
  • SYS Timezone set - Sets the system timezone on the instance.
  • SYS Logrotate configure - By default, logs are configured to be saved locally on the instance (/var/log/messages) however, you can configure the server to send its log data to a remote server by setting the "Logging" inputs appropriately at launch time.
  • MAIL Postfix local delivery - Configures postfix to deliver local mail by accepting SMTP connections on localhost.
  • SYS Monitoring install - Enables the instance for monitoring by RightScale's core servers so that real-time data can be collected from the instance and graphs can be displayed in the RightScale dashboard under the related Monitoring tabs. This script is also required for setting up alerts for alert escalations and autoscaling.
  • SYS Monitoring available updates - Configures a collectd plugin to monitor for available updates, and if updates are available it sets a tag on the server/instance and alerts the Rightscale account owner accordingly. See Apply System Security Updates from the Base ServerTemplate for Linux (Chef) runbook for more details.
  • SYS install security updates - This script is only run if security updates are enabled (SECURITY_UPDATES = enable). The latest security patches are downloaded and installed. Non-security related software updates are not installed. If a reboot of the instance is required to complete an update, the 'rs_monitoring:reboot_required=true' tag is added to the server as a reminder that you must manually reboot the instance to complete the update.


Important!
As a general best practice, any new scripts that you add to the ServerTemplate should be added to the bottom of the existing Boot Scripts runlist.

Logging

By default, the SYS Logrotate configure script configures a server to store log data locally (/var/log/messages). But when you terminate the instance, all of its logs will be lost. So, if it's necessary to preserve log data after an instance is terminated, you can easily configure the server to send its logs to a central logging server or service by setting a few required inputs. 

There are a few different types of logging configurations.

  • Logs stored locally on the instance (default)
  • Logs are sent to a remote server or service
    • Production: Use your own dedicated logging server or a third party logging service or application such as Loggly or Splunk.
    • Development & Test: If backups are not required and you simply want a centralized logging destination for all of your instances, you can use an rsyslog ServerTemplate published by RightScale. See Logging with rsyslog Beta (v13 Infinity).
You must to post a comment.
Last Modified
13:38, 29 Aug 2013

Tags

Classifications

This page has no classifications.

Announcements

None

Glossary | 用語용어 Site Map | Site Help Community Corporate Site Get Support Dashboard Login
Doc Feedback Product Feedback Resources MultiCloud Marketplace Forums

Dashboard Status


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.