Chapter 3 Setting up the Management Server
Total Page:16
File Type:pdf, Size:1020Kb
ChangeLog Edition Date of Chapter/Section New/ Changes Issue Change 1 March All New 2018 2 March 2.3. Preparation of the Change Download URL was changed. 2018 software packages to install for the SX-Aurora TSUBASA system 3.1. Installing software Change The reference URL was deleted in 3.1.1. programs Installing Cobbler and 3.1.2. Installing Ansible. 4.3.2.1. The configuration Change The reference URL was deleted. of a kickstart file 5.1.1. Files for Ansible Change vh-set-bmc.yml was deleted. 5.1.2. Tuning Ansible Change The reference URL was deleted. performance 6.1. Controlling power with Change The explanation of the BMC operation BMC user was added. 6.1.1.1. Checking BMC installation and 6.1.1.2. BIOS Configuration on VHs were deleted. A.3.1. VH power control Change Cause and Solution were changed. using the powerctrl commands fails. 3 May 2018 2.3. Preparation of the Change NEC MPI was excluded from the install software packages to target which Ansible is used. NEC install for the SX-Aurora Parallel Debugger was added. TSUBASA system 3.2. Creating a Yum Change "4. Update the group definition file." was repository for SX-Aurora deleted. TSUBASA 5.1.1. Files for Ansible Change roles/nec-mpi was deleted. roles/parallel- debugger was added. 5.2. Installing SX-Aurora Change NEC MPI was excluded from the install TSUBASA system software target which Ansible is used. 5.2.1. Editing Playbook Change nec-mpi was deleted. parallel-debugger was added. 4 May 2018 2.3. Preparation of the Change Description of RHEL7.4 support for software packages to ScaTeFS was added. install for the SX-Aurora NEC MPI was re-supported as install TSUBASA system target with Ansible. 2 Edition Date of Chapter/Section New/ Changes Issue Change 5.1.1. Files for Ansible Change roles/nec-mpi was re-supported. 5.2. Installing SX-Aurora Change NEC MPI was re-supported as install TSUBASA system software target with Ansible. 5.2.1. Editing Playbook Change nec-mpi was re-supported. 5 Jan 2019 1.1. Overview Change "Software installation and environment setup" functions by Ansible suspend support. Trademarks • Linux is a registered trademark of Linus Torvalds in the United States and other countries. • Red Hat and Red Hat Enterprise Linux are registered trademarks of Red Hat, Inc. in the United States and other countries. • Apache is a registered trademark of Apache Software Foundation. • InfiniBand is a trademark or service mark of InfiniBand Trade Association. • Mellanox is trademark or registered trademark of Mellanox Technologies in Israel and other countries. • Ansible is a registered trademark of Red Hat, Inc. in the United States and other countries. • Python is a registered trademark of the Python Software Foundation. • All other product, brand, or trade names used in this publication are the trademarks or registered trademarks of their respective trademark owners. Copyright No part of this document may be reproduced, in any form or by any means, without permission from NEC Corporation. The information in this document is subject to change at any time, without notice. 3 Contents ChangeLog.................................................................................................................................. 2 Trademarks.................................................................................................................................3 Copyright.................................................................................................................................... 3 List of Figures............................................................................................................................ 7 List of Tables..............................................................................................................................8 Chapter 1 Introduction....................................................................................... 9 1.1. Overview..................................................................................................................................9 1.2. Glossary................................................................................................................................... 9 1.3. System Architecture.............................................................................................................. 10 1.4. Operating Environment......................................................................................................... 11 1.5. Sequence of environment setup............................................................................................ 11 Chapter 2 Preparation...................................................................................... 12 2.1. BIOS settings of VHs........................................................................................................... 12 2.2. Preparation of the ISO file to install OS.............................................................................. 12 2.3. Preparation of the software packages to install for the SX-Aurora TSUBASA system........ 12 2.4. Preparing packages SX-Aurora TSUBASA system software programs depend on..............15 2.5. Preparing of the template package........................................................................................16 Chapter 3 Setting up the management server................................................17 3.1. Installing software programs.................................................................................................17 3.1.1. Installing Cobbler.................................................................................................... 17 3.1.2. Installing Ansible.....................................................................................................17 3.1.3. Installing Python......................................................................................................17 3.1.4. Installing Apache HTTP Server..............................................................................17 3.1.5. Installing createrepo................................................................................................ 17 3.2. Creating a Yum repository for SX-Aurora TSUBASA........................................................ 18 3.3. Setting up the Mellanox OFED Yum repository.................................................................. 18 3.4. Creating an administrative user............................................................................................ 19 3.5. Setting administrative user's SSH public and private keys...................................................19 3.6. Installing the template package.............................................................................................20 3.7. Creating the VH information file..........................................................................................20 3.8. Creating host list file.............................................................................................................21 Chapter 4 OS installation on VHs...................................................................22 4.1. Making preparations to use Cobbler.....................................................................................22 4.1.1. Configuration of xinetd server................................................................................ 22 4.1.2. Configuration of rsync server................................................................................. 22 4.1.3. Disabling SELinux and the firewall........................................................................23 4.2. Configuration of Cobbler...................................................................................................... 23 4.2.1. Editing the Cobbler configuration file.................................................................... 23 4.2.2. Configuration of DHCP server............................................................................... 24 4.2.2.1. Basic settings of dhcp.template.................................................................24 4 4.2.2.2. Installation in UEFI boot mode.................................................................24 4.2.2.3. The management server and VH machines on different subnets...............25 4.2.3. Starting the Cobbler server..................................................................................... 25 4.3. Preparation of OS installation...............................................................................................26 4.3.1. Obtaining and storing bootloaders.......................................................................... 26 4.3.2. Editing a kickstart file.............................................................................................26 4.3.2.1. The configuration of a kickstart file..........................................................26 4.3.2.2. Command section...................................................................................... 27 4.3.2.3. Package section..........................................................................................28 4.3.2.4. Script section............................................................................................. 29 4.3.3. Importing ISO image...............................................................................................30 4.3.4. Registration of system.............................................................................................30 4.4. Starting OS installation........................................................................................................