CN112835595A - Method, device, equipment and medium for running AIX system on corelet architecture - Google Patents

Method, device, equipment and medium for running AIX system on corelet architecture Download PDF

Info

Publication number
CN112835595A
CN112835595A CN202110147714.5A CN202110147714A CN112835595A CN 112835595 A CN112835595 A CN 112835595A CN 202110147714 A CN202110147714 A CN 202110147714A CN 112835595 A CN112835595 A CN 112835595A
Authority
CN
China
Prior art keywords
aix
server
target
power9
running
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.)
Granted
Application number
CN202110147714.5A
Other languages
Chinese (zh)
Other versions
CN112835595B (en
Inventor
孙建
张军利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN202110147714.5A priority Critical patent/CN112835595B/en
Publication of CN112835595A publication Critical patent/CN112835595A/en
Application granted granted Critical
Publication of CN112835595B publication Critical patent/CN112835595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a method, a device, equipment and a medium for operating an AIX system on a corelet architecture. The method comprises the following steps: building a hardware layer based on a Power9 server containing a small-core processor; installing a target version of a substrate management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of an operating system on the basis of the firmware layer; configuring a start item based on a preset command field so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the start item; and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system. The starting item of the kernel layer system is configured based on the preset command field, the limitation of kernel parameters is broken through, and the Power9 server of the corelet architecture can run the AIX operating system.

Description

Method, device, equipment and medium for running AIX system on corelet architecture
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, a device, and a medium for operating an AIX system on a corelet architecture.
Background
The AIX (advanced Interactive element) operating system has significant advantageous features as three mainstream commercial Unix operating systems, and can provide excellent functions such as high performance, high reliability, high security and the like required by task-critical data. The AIX deep combined with the Power processor can provide a safe, high-availability and strong-adaptability infrastructure for enterprises, and meet the changing business requirements. However, currently, the AIX operating system can only run on Power9 processors of big cores (BigCore) such as E980, E950, S924 and the like. Therefore, how to realize the running of the AIX operating system on a small core (SmallCore) processor is a problem which needs to be solved at present.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a device and a medium for running an AIX system on a small core architecture, which enable the AIX system to run on a server of the small core architecture. The specific scheme is as follows:
in a first aspect, the present application discloses a method for running an AIX system on a corelet architecture, comprising:
building a hardware layer based on a Power9 server containing a small-core processor;
installing a target version of a substrate management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of an operating system on the basis of the firmware layer;
configuring a start item based on a preset command field so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the start item;
and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system.
Optionally, the building hardware layer based on the Power9 server with the small core processor includes:
configuring the Power9 server containing the small-core processor according to a target configuration standard to build the hardware layer; the target configuration standard at least comprises two OpenPower9 CPUs, two 16GB memory banks, a disk with a memory larger than 240GB, a RAID card, a network card and a group of 550W power supplies;
checking the basic information of the server by a command of 1shw to check whether the server meets the target configuration standard.
Optionally, configuring a start item based on a preset command field, so that the operating system adjusts the default memory management manner of the Power9 server into a hash page table by running the start item, including:
adding a read-only command into system starting parameters, and adding the preset command field after the read-only command so that the operating system adjusts the default memory management mode of the Power9 server into a Hash page table by operating the system starting parameters; wherein the preset command field is disable _ radix.
Optionally, configuring a start item based on a preset command field, so that the operating system adjusts the default memory management manner of the Power9 server into a hash page table by running the start item, including:
checking the starting configuration file to determine a first target field and a second target field;
adding the preset command field after the first target field and the second target field respectively, so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the start configuration file; wherein the preset command field is disable _ radix.
Optionally, the installing and starting a virtual machine on the basis of the operating system by using the target virtualization software and the optical disc image file of the AIX system to implement the operation of the AIX system includes:
acquiring a QEMU source file, and generating a corresponding QEMU binary file under an appointed directory through detection, compiling and installation operations;
modifying the QEMU binary file based on preset configuration parameters to configure virtual machine starting parameters; the preset configuration parameters comprise parameter fields for closing the target type patches;
and installing and starting a virtual machine by using the modified QEMU binary file and the optical disc image file of the AIX system so as to realize the operation of the AIX system.
Optionally, after the installing and starting the virtual machine to implement the operation of the AIX system, the method further includes:
and installing an Oracle database in an application layer, and carrying out system operation test on the AIX system by utilizing TPCCRunner.
In a second aspect, the present application discloses an apparatus for running an AIX system on a corelet architecture, comprising:
the server installation module is used for building a hardware layer based on a Power9 server containing a small-core processor;
the firmware installation module is used for installing a substrate management controller of a target version on the basis of the hardware layer to build a firmware layer and installing an operating system of the target version on the basis of the firmware layer;
the starting configuration module is used for configuring a starting item based on a preset command field so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the starting item;
and the virtualization module is used for installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disc image file of the AIX system so as to realize the running of the AIX system.
Optionally, the starting configuration module includes:
the parameter modification unit is used for adding a read-only command into system starting parameters and adding the preset command field after the read-only command so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by operating the system starting parameters; wherein the preset command field is disable _ radix;
and/or the file modification unit is used for checking the starting configuration file to determine a first target field and a second target field; adding the preset command field after the first target field and the second target field respectively, so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the start configuration file; wherein the preset command field is disable _ radix.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the aforementioned method of running the AIX system on the corelet architecture.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program, when executed by the processor, implements the aforementioned method of operating an AIX system on a corelet architecture.
In the application, a hardware layer is built on the basis of a Power9 server containing a small-core processor; installing a target version of a substrate management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of an operating system on the basis of the firmware layer; configuring a start item based on a preset command field so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the start item; and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system. Therefore, the kernel layer configures boot items based on preset command fields, the default memory management mode of the Power9 server is adjusted to be a Hash page table, then the target virtualization software and the optical disc image file of the AIX system are utilized, a virtual machine is installed and started on the basis of the operating system to realize the operation of the AIX system, the limitation of kernel parameters is broken through, and the Power9 server of the corelet architecture can run the AIX operating system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for operating an AIX system on a corelet architecture according to the present application;
FIG. 2 is a diagram of an AIX system operating architecture provided herein;
FIG. 3 is a flowchart of a method for operating an AIX system on a particular corelet architecture provided herein;
FIG. 4 is a flowchart of a method for operating an AIX system on a particular corelet architecture provided herein;
FIG. 5 is a schematic diagram of an apparatus for operating an AIX system on a corelet architecture according to the present application;
fig. 6 is a block diagram of an electronic device provided in the present application.
Detailed Description
In the prior art, an AIX operating system can only run on large-core Power9 processors such as E980, E950, and S924, which limits the application range of the AIX operating system.
The embodiment of the application discloses a method for operating an AIX system on a corelet architecture, and referring to fig. 1, the method may include the following steps:
step S11: the hardware layer is built based on a Power9 server with a small core processor.
In this embodiment, a Power9 server including a small core processor is used to build a hardware layer, and it can be understood that a server of a small core architecture processor, for example, a K1 PowerLinux server, is used in the hardware layer.
In this embodiment, the building of the hardware layer based on the Power9 server including the small-core processor may include: configuring the Power9 server containing the small-core processor according to a target configuration standard to build the hardware layer; the target configuration standard at least comprises two OpenPower9 CPUs, two 16GB memory banks, a disk with a memory larger than 240GB, a RAID card, a network card and a group of 550W power supplies; checking the basic information of the server by a command of 1shw to check whether the server meets the target configuration standard. It is understood that, in order to meet the requirement of installing the operating system in the subsequent boot hosts, the Power9 server may be configured at or above the target configuration standard, that is, the Power9 server is configured to include at least two OpenPower9 CPUs, two 16GB memory banks, a disk with a memory greater than 240GB, a RAID card, a network card, a set of 550W Power supplies, and some required peripheral accessories. After the hardware device configuration is completed, the basic information of the Power9 server may be checked through a 1shw command to check whether the Power9 server meets the target configuration standard, specifically, the 1shw command includes, but is not limited to, lshw-class processor, lshw-class memory, lshw-class storage, lshw-class disk, and lshw-class network, so that the hardware configuration information may be checked.
Step S12: and installing a target version of the baseboard management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of the operating system on the basis of the firmware layer.
In this embodiment, a Baseboard Management Controller (BMC) of a target version is installed on the basis of the hardware layer to build a firmware layer, wherein the Baseboard Management Controller of the target version may be a high-version BMC supporting a centos8.0 or more operating systems, such as a BMC of version 4.22.0; and then installing a target version of the operating system on the basis of the baseboard management controller, wherein the target version of the operating system can be CentOS8.0 or above.
Step S13: and configuring a start item based on a preset command field so that the operating system adjusts the default memory management mode of the Power9 server into a hash page table by running the start item.
In this embodiment, after the operating system is installed, a boot entry is configured based on a preset command field, so that the operating system adjusts a default memory management manner of the Power9 server to a Hash (Hash) page table by running the boot entry; it can be understood that the memory management mode of the Power9 server includes two modes, namely a Radix page table and a Hash page table, the Open Power9 chip introduces the Radix page table on the management of the memory pages, especially TLB (Translation Lookaside Buffer), and the traditional Hash page table, and the AIX system virtualized by the PowerVM follows the default memory management mode of the host, so in order to make the AIX operating system run on the Power9 server of the corelet architecture, the default memory management mode of the host needs to be adjusted to the Hash page table. And after the configuration of the starting item is completed, whether the memory management mode of the server is a hash page table or not can be checked through a tail/proc/cpuinfo path, and whether the preset command field exists or not can be checked through a cat/etc/grub2.cfg path, so that the installation completion and the configuration success of the operating system can be verified.
Step S14: and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system.
In this embodiment, after the operating system is installed, the virtual machine is installed and started on the basis of the operating system by using the target virtualization software and the optical disc image file of the AIX system, so as to implement the operation of the AIX system. The target virtualization software may be QEMU (virtual operating system simulator).
In this embodiment, the installing and starting a virtual machine to implement the running of the AIX system based on the operating system by using the target virtualization software and the optical disc image file of the AIX system may include: acquiring a QEMU source file, and generating a corresponding QEMU binary file under an appointed directory through detection, compiling and installation operations; modifying the QEMU binary file based on preset configuration parameters to configure virtual machine starting parameters; the preset configuration parameters comprise parameter fields for closing the target type patches; and installing and starting a virtual machine by using the modified QEMU binary file and the optical disc image file of the AIX system so as to realize the operation of the AIX system.
It can be understood that, in this embodiment, the QEMU source file may be obtained through a gitubb platform, and then, by using a pre-installed gccmake or other compiling tool, the detection, compilation and installation operations are performed on the QEMU source file through configure, make and make install commands. After the installation is successful, a QEMU binary file, namely QEMU-system-ppc64, is generated under the specified directory. At this time, in order to ensure normal startup of the AIX system, patches of holes meltdown and spectra need to be closed, so that the QEMU binary file is modified based on a preset configuration parameter to configure a virtual machine startup parameter, where the preset configuration parameter includes a parameter field for closing a target type patch, and specifically, after the field "machinepseries", a parameter field "cap-ccf-assist" for closing the target type patch is added to close the patches of holes and spectra. And then, using the modified QEMU binary file and the disk image file of the AIX system, installing and starting a virtual machine to realize the operation of the AIX system, wherein the AIX system can be an AIX7.2 version system. And after the AIX system is installed, restarting the system, removing the read-only optical disc, starting to enter the AIX virtual machine, and checking the version of the AIX system through an oslevel-r command. For example, as shown in fig. 2, through the above system configuration steps, the operation of the AIX system on the server with the small-core processor structure can be realized, so that not only systems such as Linux can be operated on the server with the small-core processor structure, but also the AIX system can be operated, and the operable environment of the AIX system and the system carrying capacity of the server with the small-core processor structure are expanded.
After the QEMU binary file is obtained, tun, tap and macvtap modules can be further loaded through system setting to establish a bridging network card, that is, to establish a connection between a virtual machine network card and a physical machine network card, and to set an access range of a network IP address through a Dynamic Host Configuration Protocol (DHCP).
In this embodiment, after the installing and starting the virtual machine to implement the operation of the AIX system, the method may further include: and installing an Oracle database in an application layer, and carrying out system operation test on the AIX system by utilizing TPCCRunner. It will be appreciated that the Power Server runs the Oracle database, DB2 database, in conjunction with the AIX operating system, which is a classic combination of IBM minicomputers, Oracle database, and EMC storage. In this embodiment, in order to verify the availability of the AIX system, the application layer part may perform a system operation test through TPCCRunner. Through testing, when the Power9 server in the embodiment uses only one side resource when NUMA is not bound, the AIX system can reach 2.3 ten thousand TPS (system throughput).
As can be seen from the above, in this embodiment, a hardware layer is built based on a Power9 server including a small-core processor; installing a target version of a substrate management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of an operating system on the basis of the firmware layer; configuring a start item based on a preset command field so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the start item; and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system. Therefore, the kernel layer configures boot items based on preset command fields, the default memory management mode of the Power9 server is adjusted to be a Hash page table, then the target virtualization software and the optical disc image file of the AIX system are utilized, a virtual machine is installed and started on the basis of the operating system to realize the operation of the AIX system, the limitation of kernel parameters is broken through, and the Power9 server of the corelet architecture can run the AIX operating system.
The embodiment of the present application discloses a method for running an AIX system on a specific corelet architecture, and as shown in fig. 3, the method may include the following steps:
step S21: the hardware layer is built based on a Power9 server with a small core processor.
Step S22: and installing a target version of the baseboard management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of the operating system on the basis of the firmware layer.
Step S23: and adding a read-only command into system starting parameters, and adding the preset command field after the read-only command so that the operating system adjusts the default memory management mode of the Power9 server into a Hash page table by operating the system starting parameters.
In this embodiment, after the operating system is successfully installed, a read-only command, that is, "ro", is added to the system boot parameter, and a preset command field is added after the read-only command, where the preset command field may be "disable _ radix", so that the operating system adjusts the default memory management mode of the Power9 server to the hash page table by running the system boot parameter.
Step S24: and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system.
The specific processes of step S21, step S22 and step S24 may refer to the corresponding contents disclosed in the foregoing embodiments, and are not repeated herein.
Therefore, in the embodiment, the read-only command is added to the system boot parameters, and the preset command field is added after the read-only command, so that the operating system can adjust the default memory management mode of the Power9 server to the hash page table by running the system boot parameters, thereby breaking through the limitation of kernel parameters, enabling the Power9 server of the corelet architecture to run the AIX operating system, and providing an easy-to-obtain experimental environment for developers.
The embodiment of the present application discloses a method for operating an AIX system on a specific corelet architecture, and as shown in fig. 4, the method may include the following steps:
step S31: the hardware layer is built based on a Power9 server with a small core processor.
Step S32: and installing a target version of the baseboard management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of the operating system on the basis of the firmware layer.
Step S33: and viewing the starting configuration file to determine the first target field and the second target field.
In this embodiment, after the operating system is successfully installed, the boot configuration file (grub.cfg) is checked to determine a first target field and a second target field, where the first target field is '/vmlinux-/, and the second target field is'/GRUB _ cmline _ LINUX/.
Step S34: and adding the preset command field after the first target field and the second target field respectively, so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the start configuration file.
In this embodiment, after the first target field and the second target field are determined, a preset command field is added to the first target field and the second target field, respectively, and then the system is restarted, so that the operating system adjusts the default memory management mode of the Power9 server to the hash page table by running the boot configuration file. Wherein, the preset command field is disable _ radix; the corresponding fields after the modification of the startup configuration file are "sed-i-e '/vmlinux-/s # \ (. \) # - \1disable _ radix # g'/boot/GRUB 2/grub.cfg" and "sed-i-e '/GRUB _ CMDLINE _ LINUX/s # \\\\\ 1disable _ radix _" # g'/etc/default/GRUB ".
Step S35: and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system.
The specific processes of step S31, step S32 and step S35 may refer to the corresponding contents disclosed in the foregoing embodiments, and are not repeated herein.
As can be seen from the above, in this embodiment, the preset command fields are added after the first target field and the second target field of the boot configuration file, so that the operating system adjusts the default memory management manner of the Power9 server to the hash page table by running the boot configuration file. Therefore, the method breaks through the limitation of kernel parameters, enables the Power9 server of the corelet architecture to run the AIX operating system, provides an easily available experimental environment for developers, and better widens resources.
Correspondingly, an embodiment of the present application further discloses an apparatus for running an AIX system on a corelet architecture, and as shown in fig. 5, the apparatus includes:
the server installation module 11 is used for building a hardware layer based on a Power9 server containing a small-core processor;
a firmware installation module 12, configured to install a target version of the baseboard management controller on the basis of the hardware layer to build a firmware layer, and install a target version of the operating system on the basis of the firmware layer;
a start configuration module 13, configured to configure a start item based on a preset command field, so that the operating system adjusts the default memory management manner of the Power9 server to be a hash page table by running the start item;
and the virtualization module 14 is configured to install and start a virtual machine on the basis of the operating system by using the target virtualization software and the optical disc image file of the AIX system to implement the operation of the AIX system.
In some specific embodiments, the server installation module 11 may specifically include:
the hardware configuration unit is used for configuring the Power9 server containing the small-core processor according to a target configuration standard so as to build the hardware layer; the target configuration standard at least comprises two OpenPower9 CPUs, two 16GB memory banks, a disk with a memory larger than 240GB, a RAID card, a network card and a group of 550W power supplies;
and the configuration checking unit is used for checking the basic information of the server through a command of 1shw to check whether the server meets the target configuration standard.
In some specific embodiments, the starting configuration module 13 may specifically include:
the parameter modification unit is used for adding a read-only command into system starting parameters and adding the preset command field after the read-only command so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by operating the system starting parameters; wherein the preset command field is disable _ radix;
and/or the file modification unit is used for checking the starting configuration file to determine a first target field and a second target field; adding the preset command field after the first target field and the second target field respectively, so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the start configuration file; wherein the preset command field is disable _ radix.
In some specific embodiments, the server installation module 11 may specifically include:
the file acquisition unit is used for acquiring a QEMU source file and generating a corresponding QEMU binary file under a specified directory through detection, compilation and installation operations;
the virtual machine parameter configuration unit is used for modifying the QEMU binary file based on preset configuration parameters so as to configure virtual machine starting parameters; the preset configuration parameters comprise parameter fields for closing the target type patches;
and the virtual machine installation unit is used for installing and starting a virtual machine by utilizing the modified QEMU binary file and the optical disk image file of the AIX system so as to realize the operation of the AIX system.
In some embodiments, the apparatus for running the AIX system on the corelet architecture may specifically include:
and the system operation testing unit is used for installing an Oracle database in an application layer and carrying out system operation testing on the AIX system by utilizing TPCCRunner.
Further, the embodiment of the present application also discloses an electronic device, which is shown in fig. 6, and the content in the drawing cannot be considered as any limitation to the application scope.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the method for running the AIX system on the corelet architecture disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon include an operating system 221, a computer program 222, data 223 including an optical disk image file of the AIX system, etc., and the storage mode may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer programs 222 may further include computer programs that can be used to perform other specific tasks in addition to the computer programs that can be used to perform the method of operating the AIX system on the corelet architecture executed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, an embodiment of the present application also discloses a computer storage medium, where computer-executable instructions are stored, and when the computer-executable instructions are loaded and executed by a processor, the method steps for running the AIX system on the corelet architecture disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method, apparatus, device and medium for operating the AIX system on the corelet architecture provided by the present invention are introduced in detail, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of operating an AIX system on a corelet architecture, comprising:
building a hardware layer based on a Power9 server containing a small-core processor;
installing a target version of a substrate management controller on the basis of the hardware layer to build a firmware layer, and installing a target version of an operating system on the basis of the firmware layer;
configuring a start item based on a preset command field so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the start item;
and installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disk image file of the AIX system so as to realize the running of the AIX system.
2. The method for operating the AIX system on the small core architecture according to claim 1, wherein the building of the hardware layer based on the Power9 server with the small core processor comprises the following steps:
configuring the Power9 server containing the small-core processor according to a target configuration standard to build the hardware layer; the target configuration standard at least comprises two OpenPower9 CPUs, two 16GB memory banks, a disk with a memory larger than 240GB, a RAID card, a network card and a group of 550W power supplies;
checking the basic information of the server by a command of 1shw to check whether the server meets the target configuration standard.
3. The method for operating the AIX system on the corelet architecture of claim 1, wherein the configuring a boot entry based on a preset command field so that the operating system adjusts the default memory management mode of the Power9 server into a hash page table by operating the boot entry comprises:
adding a read-only command into system starting parameters, and adding the preset command field after the read-only command so that the operating system adjusts the default memory management mode of the Power9 server into a Hash page table by operating the system starting parameters; wherein the preset command field is disable _ radix.
4. The method for operating the AIX system on the corelet architecture of claim 1, wherein the configuring a boot entry based on a preset command field so that the operating system adjusts the default memory management mode of the Power9 server into a hash page table by operating the boot entry comprises:
checking the starting configuration file to determine a first target field and a second target field;
adding the preset command field after the first target field and the second target field respectively, so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the start configuration file; wherein the preset command field is disable _ radix.
5. The method for running the AIX system on the corelet architecture according to any of claims 1 to 4, wherein the installing and starting a virtual machine on the basis of the operating system to realize the running of the AIX system by using the target virtualization software and the optical disc image file of the AIX system comprises:
acquiring a QEMU source file, and generating a corresponding QEMU binary file under an appointed directory through detection, compiling and installation operations;
modifying the QEMU binary file based on preset configuration parameters to configure virtual machine starting parameters; the preset configuration parameters comprise parameter fields for closing the target type patches;
and installing and starting a virtual machine by using the modified QEMU binary file and the optical disc image file of the AIX system so as to realize the operation of the AIX system.
6. The method for running the AIX system on the corelet architecture of claim 1, wherein after installing and starting the virtual machine to implement the running of the AIX system, further comprising:
and installing an Oracle database in an application layer, and carrying out system operation test on the AIX system by utilizing TPCCRunner.
7. An apparatus for operating an AIX system on a corelet architecture, comprising:
the server installation module is used for building a hardware layer based on a Power9 server containing a small-core processor;
the firmware installation module is used for installing a substrate management controller of a target version on the basis of the hardware layer to build a firmware layer and installing an operating system of the target version on the basis of the firmware layer;
the starting configuration module is used for configuring a starting item based on a preset command field so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the starting item;
and the virtualization module is used for installing and starting a virtual machine on the basis of the operating system by utilizing the target virtualization software and the optical disc image file of the AIX system so as to realize the running of the AIX system.
8. The apparatus for running an AIX system on a corelet architecture of claim 7, wherein the boot configuration module comprises:
the parameter modification unit is used for adding a read-only command into system starting parameters and adding the preset command field after the read-only command so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by operating the system starting parameters; wherein the preset command field is disable _ radix;
and/or the file modification unit is used for checking the starting configuration file to determine a first target field and a second target field; adding the preset command field after the first target field and the second target field respectively, so that the operating system can adjust the default memory management mode of the Power9 server into a hash page table by running the start configuration file; wherein the preset command field is disable _ radix.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program for implementing a method of running an AIX system on a corelet architecture according to any of claims 1 to 6.
10. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by the processor, implements a method of running an AIX system on the corelet architecture of any of claims 1 to 6.
CN202110147714.5A 2021-02-03 2021-02-03 Method, device, equipment and medium for running AIX system on small core architecture Active CN112835595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110147714.5A CN112835595B (en) 2021-02-03 2021-02-03 Method, device, equipment and medium for running AIX system on small core architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110147714.5A CN112835595B (en) 2021-02-03 2021-02-03 Method, device, equipment and medium for running AIX system on small core architecture

Publications (2)

Publication Number Publication Date
CN112835595A true CN112835595A (en) 2021-05-25
CN112835595B CN112835595B (en) 2023-06-30

Family

ID=75931663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110147714.5A Active CN112835595B (en) 2021-02-03 2021-02-03 Method, device, equipment and medium for running AIX system on small core architecture

Country Status (1)

Country Link
CN (1) CN112835595B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317568A1 (en) * 2011-06-08 2012-12-13 Microsoft Corporation Operating system decoupled heterogeneous computing
CN104503772A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Operating system installation and test environment establishment method and device based on virtual machine
CN107463427A (en) * 2017-06-29 2017-12-12 北京北信源软件股份有限公司 The acquisition methods and device of a kind of VME operating system type and version
CN109284111A (en) * 2018-09-11 2019-01-29 郑州云海信息技术有限公司 A kind of installation method of AIX operating system, device, equipment and medium
CN110489170A (en) * 2019-09-06 2019-11-22 北京中亦安图科技股份有限公司 A kind of AIX system installation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317568A1 (en) * 2011-06-08 2012-12-13 Microsoft Corporation Operating system decoupled heterogeneous computing
CN104503772A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Operating system installation and test environment establishment method and device based on virtual machine
CN107463427A (en) * 2017-06-29 2017-12-12 北京北信源软件股份有限公司 The acquisition methods and device of a kind of VME operating system type and version
CN109284111A (en) * 2018-09-11 2019-01-29 郑州云海信息技术有限公司 A kind of installation method of AIX operating system, device, equipment and medium
CN110489170A (en) * 2019-09-06 2019-11-22 北京中亦安图科技股份有限公司 A kind of AIX system installation method and device

Also Published As

Publication number Publication date
CN112835595B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
EP3128421B1 (en) Method, device, and system for achieving java application installation by cloud compilation
US8924703B2 (en) Secure virtualization environment bootable from an external media device
CN107534571B (en) Method, system and computer readable medium for managing virtual network functions
US8924954B2 (en) Application software installation method and application software installation apparatus
US7451443B2 (en) Online computer maintenance utilizing a virtual machine monitor
US10303458B2 (en) Multi-platform installer
US8910155B1 (en) Methods and systems for injecting endpoint management agents into virtual machines
US11281768B1 (en) Firmware security vulnerability verification service
US9417886B2 (en) System and method for dynamically changing system behavior by modifying boot configuration data and registry entries
WO2020123213A1 (en) Container migration in computing systems
US10817319B1 (en) Compatibility-based configuration of hardware with virtualization software
CN103714287A (en) Method and device for obtaining temporary Root authority
US10025587B2 (en) Method of bootup and installation, and computer system thereof
CN113741914B (en) Operating system installation mechanism
US9513762B1 (en) Static content updates
US11182346B2 (en) File sharing among virtual containers with fast recovery and self-consistency
US9535713B2 (en) Manipulating rules for adding new devices
CN112835595B (en) Method, device, equipment and medium for running AIX system on small core architecture
CN106557354B (en) Method for setting attribute parameters of private image and computer equipment
US10877771B2 (en) Virtual machine booting using disk metadata
US11281774B2 (en) System and method of optimizing antivirus scanning of files on virtual machines
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN114443582B (en) File system mounting method, device, equipment and medium on operating system
CN110197067B (en) File searching and killing method, device and storage medium
CN114816454A (en) PXE server deployment method, device and medium

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
GR01 Patent grant
GR01 Patent grant