FUJITSU Cloud IaaS Trusted Public S5 Setup and Configure yum Software Package Manager with CentOS 5.X/6.X VMs

Similar documents
Fujitsu Global Cloud Platform Basic System Setup Windows VM

FUJITSU Cloud IaaS Trusted Public S5 Connecting to a Virtual Machine (VM)

Zimbra :: The Leader in Open Source Collaboration. Administrator's PowerTip #3: June 21, 2007 Zimbra Forums - Zimbra wiki - Zimbra Blog

Configuring your network settings to use Google Public DNS

Installing and Configuring vcloud Connector

WHM Administrator s Guide

FUJITSU Cloud IaaS Trusted Public S5 Configuring a Server Load Balancer

Installing Booked scheduler on CentOS 6.5

Eucalyptus User Console Guide

Using Virtual Machines

SHAREPOINT 2013 IN INFRASTRUCTURE AS A SERVICE

Deploying the BIG-IP System v10 with Oracle Application Server 10g R2

Crystal Reports Installation Guide

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

freesshd SFTP Server on Windows

Biznet GIO Cloud Connecting VM via Windows Remote Desktop

BioWin Network Installation

Ajera 7 Installation Guide

IBM Endpoint Manager Version 9.1. Patch Management for Red Hat Enterprise Linux User's Guide

Provider's Guide to Integrating Parallels Presence Builder 12 with Parallels Automation

Using Webmin and Bind9 to Setup DNS Sever on Linux

XenClient Enterprise Synchronizer Installation Guide

Moxa Device Manager 2.3 User s Manual

Plesk 11 Manual. Fasthosts Customer Support

vcloud Air - Virtual Private Cloud OnDemand Networking Guide

AUTOMATED DISASTER RECOVERY SOLUTION USING AZURE SITE RECOVERY FOR FILE SHARES HOSTED ON STORSIMPLE

Active Directory Self-Service FAQ

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Transferring Your Hosting Account

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

Appendix D: Configuring Firewalls and Network Address Translation

DEPLOYMENT GUIDE Version 1.1. Deploying F5 with Oracle Application Server 10g

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Installing and Configuring vcloud Connector

RackConnect User Guide

How To Create A Virtual Private Cloud In A Lab On Ec2 (Vpn)

System Administration Training Guide. S100 Installation and Site Management

Device Integration: Checkpoint Firewall-1

OneLogin Integration User Guide

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

IIS, FTP Server and Windows

INSTALLING KAAZING WEBSOCKET GATEWAY - HTML5 EDITION ON AN AMAZON EC2 CLOUD SERVER

Apache CloudStack 4.x (incubating) Network Setup: excerpt from Installation Guide. Revised February 28, :32 pm Pacific

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Dell SupportAssist Version 2.0 for Dell OpenManage Essentials Quick Start Guide

Core Protection for Virtual Machines 1

CHARTER BUSINESS custom hosting faqs 2010 INTERNET. Q. How do I access my ? Q. How do I change or reset a password for an account?

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

vcloud Director User's Guide

Lab 1: Windows Azure Virtual Machines

Deploying Windows Streaming Media Servers NLB Cluster and metasan

REQUIREMENTS AND INSTALLATION OF THE NEFSIS DEDICATED SERVER

Semantic based Web Application Firewall (SWAF - V 1.6)

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

Recommended Browser Setting for MySBU Portal

Chapter 2 Preparing Your Network

Deploy the ExtraHop Discover Appliance with Hyper-V

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

AlienVault. Unified Security Management 5.x Configuring a VPN Environment

Configuring File Servers and Active Directory with Domain Services for Windows-Lab

5nine Security for Hyper-V Datacenter Edition. Version 3.0 Plugin for Microsoft System Center 2012 Virtual Machine Manager

This How To guide will take you through configuring Network Load Balancing and deploying MOSS 2007 in SharePoint Farm.

Virtual Data Centre. User Guide

The steps will take about 4 hours to fully execute, with only about 60 minutes of user intervention. Each of the steps is discussed below.

Basic Setup Guide. Remote Administrator 4 NOD32 Antivirus 4 Business Edition Smart Security 4 Business Edition

ProjectWise Mobile Access Server, Product Preview v1.1

Getting Started With Your Virtual Dedicated Server. Getting Started Guide

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Load Balancing Microsoft AD FS. Deployment Guide

Partek Flow Installation Guide

Setup a Virtual Host/Website

MGC WebCommander Web Server Manager

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

1.6 HOW-TO GUIDELINES

Deployment Guide A10 Networks/Infoblox Joint DNS64 and NAT64 Solution

Contents Notice to Users

SmartFiler Backup Appliance User Guide 2.0

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

Citrix Access Gateway Plug-in for Windows User Guide

Course 2277: Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure: Network Services

Getting Started Guide. Getting Started With Your Dedicated Server. Setting up and hosting a domain on your Linux Dedicated Server using Plesk 8.0.

XStream Remote Control: Configuring DCOM Connectivity

Synchronizer Installation

Browser Client 2.0 Admin Guide

Backup & Disaster Recovery Appliance User Guide

Presto User s Manual. Collobos Software Version Collobos Software, Inc

VMware vcenter Log Insight Getting Started Guide

LearningServer Portal Manager

NEFSIS DEDICATED SERVER

Moxa Device Manager 2.0 User s Guide

USER CONFERENCE 2011 SAN FRANCISCO APRIL Running MarkLogic in the Cloud DEVELOPER LOUNGE LAB

Transcription:

FUJITSU Cloud IaaS Trusted Public S5 Setup and Configure yum Software Package Manager with CentOS 5.X/6.X VMs This guide details the steps to setup and configure package installation, update, and removal using the yum software package manager with CentOS VMs on the London North Trusted Public S5 Platform Introduction The yum package supplied with CentOS is a software package manager that installs, updates, and removes packages on RPM-based systems. It can automatically perform system updates, including dependency analysis and obsolete processing based on "repository" metadata. It can also perform installation of new packages, removal of old packages and perform queries on the installed and/or available packages. Yum makes use of an external XML repository accessed via HTTP. In order to enable yum we first need to enable DNS and then allow HTTP access through the virtual system (v-sys) firewall. Several tasks are required to enable yum, Configure a Public IP Address: Setup a virtual system (v-sys) on the platform for Internet connectivity. Configure Firewall for DNS: Enable DNS services to the Internet through the firewall. Configure Network Address Translation (NAT): Create NAT between the Global IP Address and the Private IP Address in the DMZ zone. Configure Firewall Rules: Modify the firewall settings to allow DNS and HTTP traffic. Configure yum to use the platform yum repository. Configure VM to use DNS: Setup the local resolver on each VM requiring DNS services. Assumptions User Account, Certificate and connectivity to the platform. Familiarity with the platform portal basic configuration and administration tasks. Familiarity with the platform portal System Manager and Design Studio. Familiarity with Linux / CentOS configuration and administration tasks. At least one CentOS 5/6 Economy Server on the platform located in a DMZ zone. For VMs to communicate with the Internet, the following steps must be taken: Configure a Public IP Address Setup and configure the virtual system (v-sys) for Internet connectivity. 1. Using System Manager, select the v-sys and press the Reconfigure button. 2. Left click on the DMZ title bar to display the virtual system connectivity. 3. Enable Internet connectivity. 4. Left click on the firewall icon. 5. Press Add IP Address button to assign a Public IP Address to the virtual system. 6. Press the Next button, check I agree to Terms of Service check-box and press the Final Confirmation button to complete the change. 7. When the change has completed, go back to the v-sys in System Manager, select the firewall. On the Public IP Address tab, click the Enable button. NOTE: In this example Public IP Address: 62.60.19.225 is used. Date: 31/01/2015 Page 1 of 5

Configure Network Address Translation (NAT) Create NAT between the Global IP Address and the Private IP Address in the DMZ zone. 8. Using System Manager, select the v-sys and select the firewall icon, from the System Details window. 9. Press the NAT Settings button. 10. Specify NAT rules as follows, a. Under the DNAT section, select any VM from the Servers in the DMZ drop down list. In this example the Public IP Address 62.60.19.225 is translated to the VM with the IP Address 192.168.5.13. b. Under the SNAPT section, select the Public IP Address. In this example the Public IP address is 62.60.19.225. 11. Click OK to make the change and click OK again to confirm the update. NOTE: Irrespective of your choice of v-sys architecture e.g. 1, 2 or 3 tier skeletons, the DNAT must be mapped to any one of the VMs in the DMZ network zone. Configure Firewall Rules Add firewall rules to allow DNS and YUM traffic to pass. 12. Using System Manager select the v-sys, left click on the firewall icon and press the FW Settings button. 13. Select the network zone (e.g. DMZ etc.) containing the VM out of the options presented in the FROM drop-down list. 14. Select Internet out of the TO drop-down list. 15. Click the Refined Search button, and then press the Add button to create a new rule. Additional rules will be added for each zone: a. DNS from DMZ to Internet. i. ID: 101 iii. Select DNS from the Service (Source) drop-down list. b. YUM from DMZ: i. ID: 102 iii. Select YUM from the Service (Source) drop-down list. c. HTTP from DMZ: i. ID: 103 iii. Specify Target/Service as 62.60.19.30 iv. Select HTTP(80) from the Target Port drop-down list. 16. Press the Confirm button, answering Yes to confirm the change the firewall rules. Configure ARP notification setting CentOS 6.0/6.1 Only On a CentOS 6.0/6.1 VM, run the following command to insert the required line in the /etc/sysctl.conf file echo "net.ipv4.conf.eth0.arp_notify = 1" >>/etc/sysctl.conf Configure yum to use the platform yum repository It is recommended that yum is configured to use the local platform repository to locate packages. Packages on the default CentOS repository will not be supported and are installed at your own risk. Date: 31/01/2015 Page 2 of 5

1. For each VM requiring DNS services, create a remote SSH connection and perform the following steps: 2. Change to the /etc/yum.repos.d directory and verify whether a copy of the CentOS-Base.repo file already exists (if it does exist rename as CentOS-Base.repo.default). [root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost ~]# mv CentOS-Base.repo CentOS-Base.repo.default 3. Using an editor of your choice, create a new CentOS-Base.repo file. Then copy and paste the appropriate text from below, updating the version number in bold to reflect the correct minor version (i.e. 5.X to 5.9) and save. NOTE: It is important that the version number reflects to correct version of the VM. If any future updates to the template, change the minor version to a later version, then it will be necessary to update this file. Centos 5.X [base] name=centos-$releasever - Base baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/5.x/os/$basearch/ [addons] name=centos-$releasever - Addons baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/5.x/addons/$basearch/ #additional packages that may be useful [extras] name=centos-$releasever - Extras baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/5.x/extras/$basearch/ #additional packages that extend functionality of existing packages [centosplus] name=centos-$releasever - Plus #contrib - packages by Centos Users [contrib] name=centos-$releasever - Contrib baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/5.x/centosplus/$basearch/ Date: 31/01/2015 Page 3 of 5

Centos 6 [base] name=centos-$releasever - Base baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/6.x/os/$basearch/ [addons] name=centos-$releasever - Addons baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/6.x/addons/$basearch/ #additional packages that may be useful [extras] name=centos-$releasever - Extras baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/6.x/extras/$basearch/ #additional packages that extend functionality of existing packages [centosplus] name=centos-$releasever - Plus baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/6.x/centosplus/$basearch/ #contrib - packages by Centos Users [contrib] name=centos-$releasever - Contrib baseurl=http://yum.globalcloud.uk.fujitsu.com/centos/6.x/contrib/$basearch/ Configure VM to use primary DNS Setup the local resolver on each VM requiring DNS. Every VM in the v-sys requiring DNS services requires this change irrespective of the network zone they reside. 4. For each VM requiring DNS services, create a remote SSH connection and perform the following steps: Use a file editor of choice (vi is used in this example), edit the local resolver file, /etc/resolv.conf, Add the line nameserver <fcgp-dns-ip-address> to the bottom of the resolver file, nameserver 62.60.19.30 NOTE: 62.60.19.30 is the Primary DNS server on the platform. Save the changes and exit the editor. For Centos 5 only, perform the following : Reload the resolv.conf configuration using the command /etc/init.d/nscd restart [root@localhost ~]# /etc/init.d/nscd restart Date: 31/01/2015 Page 4 of 5

Stopping nscd: [ OK ] Starting nscd: [ OK ] For Centos 6 also perform the following : Using a file editor of choice edit the IP config file /etc/dhcp/dhclient-eth0.conf, and insert prepend domain-name-servers 62.60.19.30 after send vendor-class-identifier and save changes. E.g. vim /etc/dhcp/dhclient-eth0.conf send vendor-class-identifier "anaconda-linux 2.6.32-358.el6.x86_64 x86_64"; prepend domain-name-servers 62.60.19.30; 5. Test the ability of DNS to resolve a familiar domain name using the following nslookup syntax: [root@localhost sbin]# nslookup www.google.co.uk Server: 62.60.19.30 Address: 62.60.19.30#53 Non-authoritative answer: www.google.co.uk canonical name = www-cctld.l.google.com. Name: www-cctld.l.google.com Address: 173.194.67.94 6. YUM is now setup and configured. Update CentOS using YUM Service 1. To refresh the YUM service, run the command yum clean all [root@localhost ~]# yum clean all Loaded plugins: fastestmirror, refresh-packagekit Cleaning repos: base centosplus contrib extras Cleaning up Everything Cleaning up list of fastest mirrors 2. To update CentOS, run the command yum update [root@localhost ~]# yum update 3. During the update process (after the updates have been verified) you will be presented with the prompt: is this ok [y/n]: Enter y to complete the process Note: it may take sometime to perform the update. 4. Once complete, the OS version can be verified by running cat /etc/*release* [root@localhost ~]# cat /etc/*release* cpe:/o:centos:linux:6:ga Contact IaaS Trusted Public S5 Team FUJITSU E-mail: GlobalCloud@uk.fujitsu.com Website: uk.fujitsu.com All rights reserved, including intellectual property rights. Technical data subject to modifications and delivery subject to availability. Any liability that the data and illustrations are complete, actual or correct is excluded. Designations may be trademarks and/ or copyrights of the respective manufacturer, the use of which by third parties for their own purposes may infringe the rights of such owner. Copyright Fujitsu Services Limited 2015 Date: 31/01/2015 Page 5 of 5