CN106648808A - OpenPower architecture server system automatic installation method - Google Patents
OpenPower architecture server system automatic installation method Download PDFInfo
- Publication number
- CN106648808A CN106648808A CN201710016072.9A CN201710016072A CN106648808A CN 106648808 A CN106648808 A CN 106648808A CN 201710016072 A CN201710016072 A CN 201710016072A CN 106648808 A CN106648808 A CN 106648808A
- Authority
- CN
- China
- Prior art keywords
- environment
- kickstart
- pxe
- openpower
- scripts
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009434 installation Methods 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000013515 script Methods 0.000 claims abstract description 38
- 239000002609 medium Substances 0.000 claims description 11
- 238000005192 partition Methods 0.000 claims description 4
- 239000012120 mounting media Substances 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000011161 development Methods 0.000 description 4
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses an OpenPower architecture server system automatic installation method and relates to the field of system installation. Specifically, the kickstart script is packaged in an application environment catalog; an installation medium of the script is edited according to application environment; when the application environment refers to the PXE startup project, the kickstart script is added to PXE startup options, and automatic installation is carried out by starting the PXE environment and connecting a server; when the application environment refers to CD-ROM environment, the kickstart script is utilized for making a mirror file, and an operation system is installed automatically by means of the installation medium. The method is adaptable to the PXE environment, the operation system can be installed rapidly and easily by the kickstart technology based write and installation script, and unmanned installation of the operation system in the local CD-ROM environment is also supported by the method.
Description
Technical field
The present invention discloses a kind of system automatic installation method, is related to system installing area, specifically a kind of
The system automatic installation method of OpenPower IA frame serverPCs.
Background technology
With the market development of the high performance requirement such as cloud computing, big data, domestic server market certainly will require independently to grind
Send out, it is ensured that safely controllable.OpenPower is Google, NVIDIA and company of Botong, and many other foundational development business compositions
Alliance's joint development chip architecture, different from the framework of the exclusive x86 of Intel company, IBM Corporation will license to those
It is desirable for OpenPower frameworks to build other companies of chip, and the OpenPower services that IBM Corporation is also proposed
Device.But OpenPower frameworks are young after all, also not by big well known, therefore manually go out unavoidably in installation operation system
The time-consuming consumption energy of mistake, and the present invention provides a kind of system automatic installation method of OpenPower IA frame serverPCs, it is adaptable to PXE
Environment, the installation script of writing based on kickstart technologies can be quick, simple installation operation system, while also supporting this
Unmanned installation operation system is carried out during ground CD-ROM installation operation systems.
(preboot execute environment, Pre-boot Execution Environment works in Client/Server's to PXE
Network schemer, supports that work station downloads image by network from far-end server, and thus support is by network startup operation
System, in start-up course, demanding terminal server-assignment IP address, then with TFTP (trivial file transfer
Protocol) or MTFTP (multicast trivial file transfer protocol) agreement download a startup it is soft
Part bag is performed in local memory, is completed terminal basic software by this startup software kit and is arranged, and is pre-installed in so as to guide
Terminal operating system in server.PXE can guide several operation systems.
Kickstart files can be deposited on single server, read by independent machine in installation process.
Kickstart files typically include a bulleted list, and each project is recognized by keyword." Kickstart can be used
Application program creates it or from the beginning oneself write for configuration ", can be with any text that file can be saved as ASCII texts
Editing machine or word processing device are editing it therefore very convenient.
The content of the invention
Demand and weak point of the present invention for the development of current technology, there is provided a kind of OpenPower IA frame serverPCs
System automatic installation method.
A kind of system automatic installation method of OpenPower IA frame serverPCs:
Kickstart scripts are encapsulated in applied environment catalogue, according to the install medium in applied environment edit script,
When applied environment is PXE startup items, kickstart scripts are added in PXE startupoptions, start PXE environment, connection clothes
Business device is installed automatically;
When applied environment is CD-ROM environment, image file is made using kickstart scripts, installed automatically by install medium
Operating system.
When the applied environment is PXE startup items, kickstart scripts are encapsulated in into the storage server in PXE environment
Catalogue.
The applied environment be CD-ROM environment, by kickstart scripts be encapsulated in CD-ROM /ppc/ppc64/ mesh
Under record.
In change CD-ROM environment /boot/grub/grub.cfg, make kickstart script image files.
Kickstart scripts elder generation designated mounting medium, then vnc is set shows, check the progress of installation;Then arrange
The password of root user, then carry out disk partition.
The present invention has an advantageous effect in that compared with prior art:
The inventive method is encapsulated in kickstart scripts in applied environment catalogue, according to the peace in applied environment edit script
Dress medium, when applied environment is PXE startup items, adds kickstart scripts in PXE startupoptions, starts PXE environment, even
Connect server to be installed automatically;When applied environment is CD-ROM environment, image file is made using kickstart scripts, led to
Cross install medium automatic installing operating system;Can be quick based on the installation script that kickstart technologies are write using the present invention,
Simple installation operation system, it is time saving and energy saving without the need for knowing well OpenPower, so that it may installation operation system, it is to avoid human error.
Description of the drawings
Fig. 1 the inventive method schematic flow sheets.
Specific embodiment
The present invention provides a kind of system automatic installation method of OpenPower IA frame serverPCs:
Kickstart scripts are encapsulated in applied environment catalogue, according to the install medium in applied environment edit script,
When applied environment is PXE startup items, kickstart scripts are added in PXE startupoptions, start PXE environment, connection clothes
Business device is installed automatically;
When applied environment is CD-ROM environment, image file is made using kickstart scripts, installed automatically by install medium
Operating system.
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific embodiment, to this
Bright further description.
When applied environment is PXE startup items, storage server catalogue kickstart scripts being encapsulated in PXE environment
In such as NFS service/http service etc., can according to itself environment change script in install medium position, PXE start
Add kickstart scripts in option, start PXE environment, connection server can be installed automatically;
Applied environment be CD-ROM environment, by script be encapsulated in CD-ROM /ppc/ppc64/ catalogues under, change/boot/
Grub/grub.cfg, it is as follows:
menuentry“Install Red Hat Enterprise Linux 7.2(64-bit kernel)”--class
fedora--class gnu-linux--class gnu--class os{
linux/ ppc/ppc64/vmlinuz ro
initrd/ ppc/ppc64/ initrd.img ks= /ppc/ppc64/RHRL.cfg
}
Kickstart script image files are made, CD automatic installing operating system can have been passed through.
Wherein above-mentioned kickstart scripts main code is as follows:
#platform=IBM pSeries
#version=DEVEL
# System authorization information
auth --useshadow --passalgo=sha512
# Install OS instead of upgrade
install
# Use graphical install
graphical
# Use NFS installation media
nfs --server=192.168.1.11 --dir=/nfs/RHELPPC7.2
Here install medium is specified, install medium can be changed according to different demands, such as if CD is installed, then
For:
cdrom
# Firewall configuration
firewall --disabled
firstboot --disable
ignoredisk --only-use=sda
# Keyboard layouts
# old format: keyboard us
# new format:
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Installation logging level
logging --level=info
# Network information
network --bootproto=dhcp --device=enP1p4s0f3 --onboot=on
# Reboot after installation
reboot
Arrange vnc to show, check the progress of installation;Because current operating system does not support that graphical interfaces is installed on power, is led to
Vnc is crossed it may be seen that the progress installed;
vnc --password=111111
Then the password of root user is set, it is shown that the character string after encryption:
# Root password
rootpw --iscrypted $1$mZgtu7ul$Agif3KBoyriFf5DAR7mJL0
Disk partition is carried out again:
# SELinux configuration
selinux --disabled
# System services
services --enabled="chronyd"
# System timezone
timezone Asia/Shanghai
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part prepboot --fstype="PPC PReP Boot" --size=10
part /boot --fstype="xfs" --size=1000
part / --fstype="xfs" --size=100000
part swap --fstype="swap" --size=1000
Check installation progress and result:
%packages
@^graphical-server-environment
@backup-server
@base
@compat-libraries
@core
@desktop-debugging
@development
@dial-up
@dns-server
@file-server
@fonts
@ftp-server
@gnome-desktop
@guest-agents
@guest-desktop-agents
@hardware-monitoring
@identity-management-server
@infiniband
@input-methods
@internet-browser
@java-platform
@kde-desktop
@large-systems
@load-balancer
@mail-server
@mainframe-access
@mariadb
@multimedia
@network-file-system-client
@performance
@postgresql
@print-client
@print-server
@remote-system-management
@security-tools
@smart-card
@x11
chrony
kexec-tools
%end
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
Can be quick based on the installation script that kickstart technologies are write using the present invention, simple installation operation system, without the need for
Know well OpenPower, so that it may installation operation system, it is to avoid human error, it is time saving and energy saving.
It is above the one kind during the present invention is embodied as, under the premise of without departing from technical solution of the present invention, to the present invention
The improvement made is all comprising within the scope of the present invention.
Claims (5)
1. a kind of system automatic installation method of OpenPower IA frame serverPCs, it is characterised in that
Kickstart scripts are encapsulated in applied environment catalogue, according to the install medium in applied environment edit script,
When applied environment is PXE startup items, kickstart scripts are added in PXE startupoptions, start PXE environment, connection clothes
Business device is installed automatically;
When applied environment is CD-ROM environment, image file is made using kickstart scripts, installed automatically by install medium
Operating system.
2. a kind of system automatic installation method of OpenPower IA frame serverPCs according to claim 1, it is characterised in that should
When with environment being PXE startup items, storage server catalogue kickstart scripts being encapsulated in PXE environment.
3. a kind of system automatic installation method of OpenPower IA frame serverPCs according to claim 1, it is characterised in that should
Be CD-ROM environment with environment, by kickstart scripts be encapsulated in CD-ROM /ppc/ppc64/ catalogues under.
4. a kind of system automatic installation method of OpenPower IA frame serverPCs according to claim 3, it is characterised in that more
Change in CD-ROM environment /boot/grub/grub.cfg, make kickstart script image files.
5. a kind of system automatic installation method of OpenPower IA frame serverPCs according to any one of claim 1-4, it is special
It is kickstart scripts elder generation designated mounting medium to levy, then arranges vnc and show, checks the progress of installation;Then arrange
The password of root user, then carry out disk partition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710016072.9A CN106648808A (en) | 2017-01-10 | 2017-01-10 | OpenPower architecture server system automatic installation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710016072.9A CN106648808A (en) | 2017-01-10 | 2017-01-10 | OpenPower architecture server system automatic installation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106648808A true CN106648808A (en) | 2017-05-10 |
Family
ID=58843432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710016072.9A Pending CN106648808A (en) | 2017-01-10 | 2017-01-10 | OpenPower architecture server system automatic installation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648808A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107741848A (en) * | 2017-10-13 | 2018-02-27 | 郑州云海信息技术有限公司 | A kind of pxe method for managing system based on python |
CN109977083A (en) * | 2019-03-27 | 2019-07-05 | 深圳市云语科技有限公司 | A kind of document transmission system based on file system mounted disk technology |
-
2017
- 2017-01-10 CN CN201710016072.9A patent/CN106648808A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107741848A (en) * | 2017-10-13 | 2018-02-27 | 郑州云海信息技术有限公司 | A kind of pxe method for managing system based on python |
CN107741848B (en) * | 2017-10-13 | 2020-09-22 | 苏州浪潮智能科技有限公司 | Pxe system management method based on python |
CN109977083A (en) * | 2019-03-27 | 2019-07-05 | 深圳市云语科技有限公司 | A kind of document transmission system based on file system mounted disk technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9465625B2 (en) | Provisioning of operating environments on a server in a networked environment | |
US9292312B2 (en) | Simulated network boot environment for bootstrap redirection | |
US20140380312A1 (en) | System and method for on-demand cloning of virtual machines | |
WO2017054573A1 (en) | Configuration method and device | |
CN100451981C (en) | Method for modifying configuration information of computer | |
US7499991B2 (en) | Autonomic application server unneeded process disablement | |
CN103297504A (en) | Method for quickly deploying operating systems in physical bare computers in cloud data center | |
CN105007290B (en) | It is a kind of to be directed to the linux system Remote Installation configuring management method without disk server | |
CN109144607A (en) | A kind of large-scale server automatic deployment and configuration method | |
JPH04263349A (en) | Apparatus and method for loading bios into computer from remote memory position | |
CN105242875A (en) | Server raid batch configuration method | |
CN104932919A (en) | Implementation method of Linux unattended setup | |
KR20130098775A (en) | Client terminal and method for supporting multiple operating system | |
US11418566B2 (en) | Adding and removing virtual disks remotely to a streaming machine | |
CN103200271A (en) | Advanced Risc machine (ARM) server and method of automatic installation system thereof | |
US9654599B1 (en) | Automatic concurrent installation refresh of a large number of distributed heterogeneous reconfigurable computing devices upon a booting event | |
CN107608681A (en) | Installation method of operating system, device and server | |
CN105183529A (en) | Method for refreshing server firmware, target server, source server and system | |
CN107463388A (en) | A kind of UEFI non-disk startups method | |
CN113741914B (en) | Operating system installation mechanism | |
CN104113430A (en) | Cloud computing data center automatic deployment software framework design | |
CN107566518A (en) | The method and apparatus of management equipment information during installation file | |
CN109522028A (en) | A kind of installation method and system of operating system | |
CN108052332A (en) | A kind of method of batch installation node operating system | |
CN105183528A (en) | Server bios upgrading method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |