Home > Clouds > IDC Frontier > Runbooks > SSH Storage Server for IDC Frontier Runbook

SSH Storage Server for IDC Frontier Runbook

Table of Contents

Overview

This ServerTemplate provides the function of 1) a file server where you can store the Web application codes and database dump files. 2) an internal Dynamic DNS server which resolves names of other instances in the same deployment. You have to add the RightScripts DNS Set Resolv.conf for IDC Frontier as a boot script and replace DNS Tools install with DNS Tools install for IDC Frontier for each server which uses internal Dynamic DNS server.

Description and Inputs

Boot Scripts

The following Boot scripts are listed in order.

RightScript:  MISC API Access Tool install for IDC Frontier

Description:  This script installs a command-line tool which operates CloudStack API of IDC Frontier cloud.
Required Inputs and Default Settings: None

RightScript:  MISC Create & Attach Volume for IDC Frontier

Description:  This script creates and attaches additional volumes (like EBS volume of AWS) to the instance.

Required Inputs and Default Settings:

CLOUD Category

IDCF_COMPUTE_API_KEY The API key of your account on IDC Frontier cloud. 
Default Value:  Cred:IDCF_COMPUTE_API_KEY.
Required.
IDCF_COMPUTE_HOST API endpoint URL of IDC Frontier cloud.
Default Value: Cred:IDCF_COMPUTE_HOST. 
You have to set the following URL to the Credential: https://api.noahcloud.jp/portal/client/api
Required.
IDCF_COMPUTE_SECRET_KEY The secret key of your account on IDC Frontier cloud. Default Value: Cred:IDCF_COMPUTE_SECRET_KEY.
Required.

 

UNCATEGORIZED Category

CREATE_PART Flag whether create partition.
Default Value: True
Required.
EXISTING_VOL_MOUNT Flag whether to mount the volume which has the same name as defined in $VOL_NAME.
Default Value: False
Required.
MOUNTPOINT Where the additional volume mounts. You should not change it because many RightScripts published from IDC Frontier depend on this.
Default Value: /home/data
Required.
SUBDIR Sub directory will be created under the $MOUNTPOINT. You can add subdirectory separated by space.
Default Value: webapps dump
Required.
VOL_COUNT The number of disks to construct a stripe. You can choose 1 – 3.
Default Value: 1
Required.
VOL_NAME The name of the additional disks.
Default Value: (None)
Required.
VOL_TOTAL_SIZE Total size in GB of additional disks. The size of each disk will become VOL_TOTAL_SIZE/VOL_COUNT.
Default Value:50
Required.
RightScript:  DNS BIND Dynamic DNS for IDC Frontier

Description:  This script installs BIND name server from CentOS repository and configures the instance as a dynamic DNS server. Zone name of this DNS server is cloud.local.

Required Inputs and Default Settings: None

RightScript:  DNS Set Resolv.conf for IDC Frontier

Description:  This script edits /etc/resolv.conf and /etc/sysconfig/network-script/ifcfg-eth0 to use internal dynamic DNS server when you select DNS_PROVIDER as “NSUpdate”. If you choose DNS_PROVIDER other than NSUpdate, this script executes nothing.

Required Inputs and Default Settings:

DNS Category

DNS_PROVIDER DNS provider you choose to use.
Default Value: NSUpdate
Required.
DNS_SERVER_IP_ADDRESS IP address of internal DNS server. You don’t need to change it.
Default Value: 127.0.0.1
Required.
RightScript:  DNS Tools install for IDC Frontier

Description:  This script installs RightScale’s DNS tools. If you choose NSUpdate as DNS_PROVIDER, the DNS tools created by IDC Frontier will be installed.

Required Inputs and Default Settings:

DNS Category

DNS_PROVIDER DNS provider you choose to use.
Default Value: NSUpdate
Required.
RightScript:  DNS ID register Public/Private IP

Description:  This script is published by RightScale Open Source. This script registers the IP address of the instance to dynamic DNS service.

Required Inputs and Default Settings:

DNS Category

DNS_PASSWORD Password of $DNS_PROVIDER service. You can write any value when DNS_PROVIDER = “NSUpdate”.
Default Value: Cred:DNS_PASSWORD
Required.
DNS_USER User name of $DNS_PROVIDER service.You can write any value when DNS_PROVIDER = “NSUpdate”.
Default Value: Cred:DNS_USER
Required.
EXTERNAL_DNS_ID DNS ID of DNS_PROVIDER to register the contents store. If DNS_PROVIDER=“NSUpdate”, you can enter “(hostname).cloud.local”.
Required.
 

 

UNCATEGORIZED Category

DNS_RECORD_IP Register whether “Private” IP or “Public” IP to DNS.
Default Value: Private
Required.
 

Operational Scripts

The following script is an optional script that is designed to be executed on-demand for the purpose of backup.

RightScript:  MISC Create Snapshot for IDC Frontier

Description:  This script takes a snapshot of the volume.

Required Inputs and Default Settings:

CLOUD Category

IDCF_COMPUTE_API_KEY The API key of your account on IDC Frontier cloud. 
Default Value:  Cred:IDCF_COMPUTE_API_KEY.
Required.
IDCF_COMPUTE_HOST API endpoint URL of IDC Frontier cloud.
Default Value: Cred:IDCF_COMPUTE_HOST. 
You have to set the following URL to the Credential: https://api.noahcloud.jp/portal/client/api
Required.
IDCF_COMPUTE_SECRET_KEY The secret key of your account on IDC Frontier cloud.
Default Value: Cred:IDCF_COMPUTE_SECRET_KEY.
Required.
 

 

UNCATEGORIZED Category

VOL_NAME The name of additional disks of which you want to take a snapshot.
Default Value: (None)
Required.
 

Decommission Scripts

This ServerTemplate does not contain Decommission Scripts.

Requirements and Restrictions

Requirements

After the server becomes operational, you have to configure “Port Forwarding Rules” so that you can access from outside of the cloud via SSH.

Restrictions

  1. Internal dynamic DNS service included in this ServerTemplate is only able to resolve “cloud.local” domain.
  2. You have to change /etc/resolv.conf of all instances which use internal dynamic DNS by executing the RightScript DNS Set Resolv.conf for IDC Frontier.
  3. DNS records are erased when you relaunch the server. So you have to re-register DNS records of all instances by executing the RightScripts DNS External id register - 11H1 or DNS ID register Public/Private IP.

Common Runbook Operations

 This runbook is not meant to provide detailed information about the usage of this ServerTemplate. Further information can be found in the 3 Tier Setup with IDC Frontier.

You must to post a comment.
Last Modified
22:49, 16 May 2013

Page Rating

Was this article helpful?

Tags

This page has no custom tags set.

Glossary | 用語용어

Site Map Community Training Corporate Site Get Support Dashboard Login

Doc Feedback

Product Feedback Resources Forums MultiCloud Marketplace Support Tickets

Dashboard Status


© 2006-2013 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.