Biz ホスティング Enterprise Cloud サービス 機能説明書 ver2.211

advertisement

Enterprise Cloud

OS License

Red Hat Enterprise Linux

License Activation Procedure

≪Singapore Serangoon Data Center≫

≪Thailand Bangkok 1 Data Center≫

≪Hong Kong Tai Po Data Center≫

≪Australia Sydney 1 Data Center≫

≪Malaysia Cyberjaya 3 Data Center≫

NTT Communications

Ver.1.00

(July 14

th

,2015 Edition)

1

About This Document

[Structure of This Document]

The document is composed of three parts

1.

The Preconditons

2.

The way to judge whether Work is needed

3.

Installation of Client RPM package

[Purpose of This Document/How to Use This Document]

This document explains about Red Hat Enterprise Linux template in the Enterprise

Cloud. Please note that the information in this document is for users who have signed contracts.

 If anything in the document is unclear, please contact an NTT sales representative or Support.

Contents

About This Document ......................................................... 2

Contents .................................................................... 3

1 The Preconditons ......................................................... 4

1.1

The condition that work is necessary .................................. 4

1.2

The Preconditons for Work ............................................. 4

1.3

Package update after Activation ....................................... 4

1.4

License Activation Server List ........................................ 5

2 The way to judge whether Work is needed .................................. 6

2.1

Judgement procedure ................................................... 6

3 Installation of Client RPM package ....................................... 7

3.1

File download using Wget Command ...................................... 7

3.2

Installation .......................................................... 9

Revision History ........................................................... 14

1 The Preconditons

1.1 The condition that work is necessary

If the templates of private catalog are under the following conditions, OS license of the virtual machine which deploy from them are not activated.

The work is necessary in case of the virtual machines are deployed after B from the templates of private catalog which you made before A .

Country

Thai

Singapore

Hong Kong

Australia

Malaysia

A.Template was made before

July.27

th 2015

July.13

th 2015

July.27

th 2015

July.27

th 2015

July.27

th 2015

B.Virtual Machine was made after

August 13 th 2015

August 16 th 2015

August 20 th 2015

August 24 th 2015

September 10 th 2015

1.2 The Preconditons for Work

The preconditions listed below areneeded for license activation on Virtual Machine.

1) To be able to do the internet communication for which TCP443 is permited.

(NAT/NAPT setting in vFirewall or Integrated Network Appliance is needed.)

When restricting outgoing access, please refer “1.3 License Activation Server list” for filter setting.

2) DNS settings for name resolution of external domain on Virtual Machine.

3) To be able to use Console with root permission.

4) Security settings (Anti-Virus Software and so on) by which Customer introduced is made invalid. When it isn't so, activation isn't guaranteed.

1.3 Package update after Activation

After license activation operation, it is necessary to meet the following condition to update package.

1) To be able to do the internet communication for which TCP443 is permited.

(NAT/NAPT setting in vFirewall or Integrated Network Appliance is needed.)

When restricting outgoing access, please refer “1.3 Outgoing access list” for filter setting.

2) DNS settings for name resolution of external domain on Virtual Machine.

3) Customer's security software setting is made valid to update package.

1.4 License Activation Server List

License acitivation server information is listed below.

There is a possibility that the global IP address which corresponds to FQDN will be changed.

Data Center Server Name (FQDN)

Hong Kong Tai Po Data Center

Singapore Serangoon Data Center

Thailand Bangkok 1 Data Center

Australia Sydney 1 Data Center

Malaysia Cyberjaya 3 Data Center rhcds1.serangoon.dc.sg.access-cloud.net or rhcds1.sydney1.dc.au.access-cloud.net

5

2 The way to judge whether Work is needed

2.1 Judgement procedure

In this procedure it's possible to confirm whether work is needed. When there is also incompleteness by one of one, please work.

1) Confirmation of the repository server setting which yum uses

”rhui-load-balancers” file be under the “/etc/yum.repos.d/” directry.

2) FQDN listed in “ 1.4 License Activation Server List ” is written in ” rhui-load-balancers” file.

The example when operation is complete.

[root@svxXXXXXXX ~]# ls /etc/yum.repos.d/ redhat.repo rh-cloud.repo rhel-source.repo rhui-load-balancers

[root@svxXXXXXXX ~]# cat /etc/yum.repos.d/rhui-load-balancers rhcds1.serangoon.dc.sg.access-cloud.net rhcds1.sydney1.dc.au.access-cloud.net

[root@svxXXXXXXX~]#

6

3 Installation of Client RPM package

3.1 File download using Wget Command

Downloading file using Wget is explained at this chapter.

1) Please download files listed below using wget command。

<Server Name> is written in”1.3 License Server List” section as FQDN. Command execution is needed once in each server. Although command is executed in root home directry in this example, directory can be changed for customer environment.

 Command in Red Hat Enterprise Linux 6

#wget https://<Server Name>/pub/rhui-client-packages/ec-rhel6-normal-00-1.0-1.noarch.rpm

--no-check-certificate

#wget https://<Server Name>/pub/rhui-gpg-key/RPM-GPG-KEY-rhui-custom --no-check-certificate

(Example)

[root@xxxx~]#wget https://xxxx/pub/rhui-client-packages/ec-rhel6-normal-00-1.0-1.noarch.rpm

--no-check-certificate

--2015-xx-xx xx:xx:xx— https://xxxx/pub/rhui-client-packages/ec-rhel6-normal-00-1.0-1.noarch.rpm

Connecting to xxxx:443... connected.

WARNING: cannot verify xxxx 's certificate, issued by `/C=xx/ST=xxxxx/O=xxxxxx/CN=xxxx CA':

Self-signed certificate encountered.

WARNING: certificate common name ` xxxx ' doesn't match requested host name ` xxxx '.

HTTP request sent, awaiting response... 200 OK

Length: 11632 (11K) [application/x-rpm]

Saving to: `ec-rhel6-normal-00-1.0-1.noarch.rpm'

100%[=============================================>] 11,632 --.-K/s in 0.003s

2015-XX-XX XX:XX:XX(x.xx MB/s) - `ec-rhel6-normal-00-1.0-1.noarch.rpm' saved [11632/11632]

[root@xxxx~]#wgethttps://xxx//pub/rhui-gpg-key/RPM-GPG-KEY-rhui-custom --no-check-certificate

--2015-xx-xx xx:xx:xx— https://xxxx/pub/rhui-gpg-key/RPM-GPG-KEY-rhui-custom

Connecting to xxxxxxxx:443... connected.

WARNING: cannot verify xxxx 's certificate, issued by `/C=xx/ST=xxxxx/O=xxxxxx/CN=xxxx CA':

Self-signed certificate encountered.

WARNING: certificate common name ` xxxx ' doesn't match requested host name ` xxxx '.

HTTP request sent, awaiting response... 200 OK

Length: 11632 (11K) [application/x-rpm]

Saving to: `RPM-GPG-KEY-rhui-custom'

100%[=============================================>] 11,632 --.-K/s in 0.003s

2015-XX-XX XX:XX:XX(x.xx MB/s) - ` RPM-GPG-KEY-rhui-custom ' saved [11632/11632]

[root@xxxx ~]# ls ec-rhel6-normal-00-1.0-1.noarch.rpm

RPM-GPG-KEY-rhui-custom

7

 Command in Red Hat Enterprise Linux 5

#wget https://<Server Name>/pub/rhui-client-packages/ec-rhel5-normal-00-1.0-1.noarch.rpm

--no-check-certificate

#wget https://<Server Name>/pub//pub/rhui-gpg-key/RPM-GPG-KEY-rhui-custom

(example)

[root@xxxx~]#wget https://xxxx/pub/rhui-client-packages/ec-rhel5-normal-00-1.0-1.noarch.rpm

--no-check-certificate

--2015-xx-xx xx:xx:xx— https://xxxx/pub/rhui-client-packages/ec-rhel5-normal-00-1.0-1.noarch.rpm

Connecting to xxxx:443... connected.

WARNING: cannot verify xxxx 's certificate, issued by `/C=xx/ST=xxxxx/O=xxxxxx/CN=xxxx CA':

Self-signed certificate encountered.

WARNING: certificate common name ` xxxx ' doesn't match requested host name ` xxxx '.

HTTP request sent, awaiting response... 200 OK

Length: 11632 (11K) [application/x-rpm]

Saving to: `ec-rhel5-normal-00-1.0-1.noarch.rpm'

100%[=============================================>] 11,632 --.-K/s in 0.003s

2015-XX-XX XX:XX:XX(x.xx MB/s) - `ec-rhel5-normal-00-1.0-1.noarch.rpm' saved [11632/11632]

[root@xxxx~]#wgethttps://xxx//pub/rhui-gpg-key/RPM-GPG-KEY-rhui-custom --no-check-certificate

--2015-xx-xx xx:xx:xx— https://xxxx/pub/ rhui-gpg-key/RPM-GPG-KEY-rhui-custom

Connecting to xxxxxxxx:443... connected.

WARNING: cannot verify xxxx 's certificate, issued by `/C=xx/ST=xxxxx/O=xxxxxx/CN=xxxx CA':

Self-signed certificate encountered.

WARNING: certificate common name ` xxxx ' doesn't match requested host name ` xxxx '.

HTTP request sent, awaiting response... 200 OK

Length: 11632 (11K) [application/x-rpm]

Saving to: `RPM-GPG-KEY-rhui-custom'

100%[=============================================>] 11,632 --.-K/s in 0.003s

2015-XX-XX XX:XX:XX(x.xx MB/s) - ` RPM-GPG-KEY-rhui-custom ' saved [11632/11632]

[root@xxxx ~]# ls ec-rhel5-normal-00-1.0-1.noarch.rpm

RPM-GPG-KEY-rhui-custom

8

3.2 Installation

Installation of package is explained at this chapter.

1) Changing permission

 Command in Red Hat Enterprise Linux 6

#chown root:root ~/ec-rhel6-normal-00-1.0-1.noarch.rpm

#chown root:root ~/ RPM-GPG-KEY-rhui-custom

#chmod u+x ~/ec-rhel6-normal-00-1.0-1.noarch.rpm

#chmod u+x ~/ RPM-GPG-KEY-rhui-custom

(Example)

[root@xxxx~]#chown root:root ~/ec-rhel6-normal-00-1.0-1.noarch.rpm

[root@xxxx~]#chown root:root ~/RPM-GPG-KEY-rhui-custom

[root@xxxx~]#chmod u+x ~/ec-rhel6-normal-00-1.0-1.noarch.rpm

[root@xxxx~]#chmod u+x ~/RPM-GPG-KEY-rhui-custom

[root@xxxx~]# ls -la | grep -e GPG -e rpm

-rwxr--r-- 1 root root 11632 xxx xx xx:xx ec-rhel6-normal-00-1.0-1.noarch.rpm

-rwxr--r-- 1 root root 1670 xxx xx xx:xx RPM-GPG-KEY-rhui-custom

[root@xxxx~]#

 Command in Red Hat Enterprise Linux 5

#chown root:root ~/ec-rhel5-normal-00-1.0-1.noarch.rpm

#chown root:root ~/ RPM-GPG-KEY-rhui-custom

#chmod u+x ~/ec-rhel5-normal-00-1.0-1.noarch.rpm

#chmod u+x ~/ RPM-GPG-KEY-rhui-custom

(Example)

[root@xxxx~]#chown root:root ~/ec-rhel5-normal-00-1.0-1.noarch.rpm

[root@xxxx~]#chown root:root ~/RPM-GPG-KEY-rhui-custom

[root@xxxx~]#chmod u+x ~/ec-rhel5-normal-00-1.0-1.noarch.rpm

[root@xxxx~]#chmod u+x ~/RPM-GPG-KEY-rhui-custom

[root@xxxx~]# ls -la | grep -e GPG -e rpm

-rwxr--r-- 1 root root 11632 xxx xx xx:xx ec-rhel5-normal-00-1.0-1.noarch.rpm

-rwxr--r-- 1 root root 1670 xxx xx xx:xx RPM-GPG-KEY-rhui-custom

[root@xxxx~]#

9

2) Importing GPG Key

 Command in Red Hat Enterprise Linux 6

# rpm – import ~/ RPM-GPG-KEY-rhui-custom

Command in Red Hat Enterprise Linux 5

# rpm – import ~/ RPM-GPG-KEY-rhui-custom

10

3) Installation package

 Command in Red Hat Enterprise Linux 6

# yum install -y ~/ec-rhel6-normal-00-1.0-1.noarch.rpm

(Example)

# yum install -y ~/ec-rhel6-normal-00-1.0-1.noarch.rpm

Loaded plugins: katello, product-id, rhnplugin, security,

: subscription-manager

Updating certificate-based repositories.

Unable to read consumer identity rhel-x86_64-server-6 | 1.4 kB 00:00

Excluding Packages in global exclude list

Finished

Setting up Install Process

Examining ~/ec-rhel6-normal-00-1.0-1.noarch.rpm:

Marking ~/ec-rhel6-normal-00-1.0-1.noarch.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package ec-rhel6-normal-00-1.0-1.noarch 0:1.0-1 set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

================================================================

Package

Arch Version Repository Size

================================================================

Installing:

ec-rhel5-normal-00

noarch 1.0-1 ec-rhel6-normal-00-1.0-1.noarch 12 k

Transaction Summary

================================================================

Install 1 Package(s)

Upgrade 0 Package(s)

Total size: 12 k

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : ec-rhel6-normal-00-1.0-1 1/1

Installed products updated.

Installed:

ec-rhel6-normal-00-1.0-1.noarch 0:1.0-1

Complete!

11

 Command in Red Hat Enterprise Linux 5

# yum install -y ~/ec-rhel5-normal-00-1.0-1.noarch.rpm

(Example)

# yum install -y ~/ec-rhel5-normal-00-1.0-1.noarch.rpm

Loaded plugins: katello, product-id, rhnplugin, security,

: subscription-manager

Updating certificate-based repositories.

Unable to read consumer identity rhel-x86_64-server-5 | 1.4 kB 00:00

Excluding Packages in global exclude list

Finished

Setting up Install Process

Examining ~/ec-rhel5-normal-00-1.0-1.noarch.rpm:

Marking ~/ec-rhel5-normal-00-1.0-1.noarch.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package ec-rhel5-normal-00-1.0-1.noarch 0:1.0-1 set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

================================================================

Package

Arch Version Repository Size

================================================================

Installing:

ec-rhel5-normal-00

noarch 1.0-1 ec-rhel5-normal-00-1.0-1.noarch 12 k

Transaction Summary

================================================================

Install 1 Package(s)

Upgrade 0 Package(s)

Total size: 12 k

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : ec-rhel5-normal-00-1.0-1 1/1

Installed products updated.

Installed:

ec-rhel5-normal-00-1.0-1.noarch 0:1.0-1

Complete!

4) Confirming Repositry

 Command in Red Hat Enterprise Linux 6

Please confirm that Repository listed below is displayed. rhui-rhel-6-server-rhui-debug-rpms rhui-rhel-6-server-rhui-optional-debug-rpms rhui-rhel-6-server-rhui-optional-rpms rhui-rhel-6-server-rhui-rh-common-debug-rpms rhui-rhel-6-server-rhui-rh-common-rpms rhui-rhel-6-server-rhui-rpms

#yum repolist

(Example)

[root@xxxxxx ~]# yum repolist

Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, rhui-lb,security, subscription-manager,

: tmprepo, verify, versionlock

Loading support for Red Hat kernel ABI repo repo name status rhui-rhel-6-server-rhui-debug-rpms Red Hat Enterprise Linux 6 Server from RHUI(Debug RPMs) 6,041 rhui-rhel-6-server-rhui-optional-debug-rpms Red Hat Enterprise Linux 6 Server - Optional fromRHUI (Debug RPMs) 3,636 rhui-rhel-6-server-rhui-optional-rpms Red Hat Enterprise Linux 6 Server - Optional fromRHUI (RPMs) 8,344 rhui-rhel-6-server-rhui-rh-common-debug-rpms Red Hat Enterprise Linux 6 Server - RHCommon from RHUI (Debug RPMs) 12 rhui-rhel-6-server-rhui-rh-common-rpms Red Hat Enterprise Linux 6 Server - RHCommon from RHUI (RPMs) 105 rhui-rhel-6-server-rhui-rpms Red Hat Enterprise Linux 6 Server from RHUI(RPMs) 14,980 repolist: 33,118

[root@xxxxxxx ~]#

 Command in Red Hat Enterprise Linux 5

Please confirm that Repository listed below is displayed. rhui-rhel-5-server-rhui-rh-common-debug-rpms rhui-rhel-5-server-rhui-rh-common-rpms rhui-rhel-5-server-rhui-rpms

#yum repolist

(Example)

# yum repolist

Loaded plugins: product-id, rhui-lb, security, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager toregister. repo id repo name status rhui-rhel-5-server-rhui-rh-common-debug-rpms Red Hat Enterprise Linux 5Server - RH Common from RHUI (Debug RPMs) 7 rhui-rhel-5-server-rhui-rh-common-rpms Red Hat Enterprise Linux 5Server - RH Common from RHUI (RPMs) 24 rhui-rhel-5-server-rhui-rpms Red Hat Enterprise Linux 5Server from RHUI (RPMs) 16,794 repolist: 16,825

[root@svx4701478 ~]#

13

That's it and work is an end.

Revision History

Date

2015/07/14

Version

Ver.1.00 Ver.1.00 is released

Content

Download