CN112835595B - Method, device, equipment and medium for running AIX system on small core architecture - Google Patents

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

Info

Publication number
CN112835595B
CN112835595B CN202110147714.5A CN202110147714A CN112835595B CN 112835595 B CN112835595 B CN 112835595B CN 202110147714 A CN202110147714 A CN 202110147714A CN 112835595 B CN112835595 B CN 112835595B
Authority
CN
China
Prior art keywords
server
starting
target
aix
power9
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.)
Active
Application number
CN202110147714.5A
Other languages
Chinese (zh)
Other versions
CN112835595A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for operating an AIX system on a small core architecture. The method comprises the following steps: building a hardware layer based on a Power9 server containing a small core processor; installing a baseboard 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; configuring a starting item based on a preset command field so that the operating system can adjust a default memory management mode of the Power9 server into a hash page table by running the starting item; and installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system. The method has the advantages that the starting item of the kernel layer system is configured based on the preset command field, the limit of kernel parameters is broken through, and the AIX operating system can be operated on the Power9 server of the small-core architecture.

Description

Method, device, equipment and medium for running AIX system on small core architecture
Technical Field
The present invention relates to the field of computers, and in particular, to a method, apparatus, device, and medium for operating an AIX system on a small core architecture.
Background
AIX (Advanced Interactive eXecutive) the operating system is a three-major mainstream commercial Unix operating system, which has significant advantageous features, and the AIX operating system can provide excellent functions such as high performance, high reliability, high security, and the like required for mission-critical data. AIX depth combines the Power treater can provide the infrastructure of safety, high availability and strong adaptability for the enterprise, satisfies the business demand that constantly changes. But currently the AIX operating system can only run on Power9 processors of big cores (BigCore) such as E980, E950, S924, etc. Thus, there is a need to address the problem of how to implement the AIX operating system running on a Small core (SmallCore) processor.
Disclosure of Invention
In view of the foregoing, an object of the present invention is to provide a method, apparatus, device and medium for operating an AIX system on a small core architecture, which can enable the AIX system to operate on a server of the small core architecture. The specific scheme is as follows:
in a first aspect, the present application discloses 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 baseboard 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;
configuring a starting item based on a preset command field so that the operating system can adjust a default memory management mode of the Power9 server into a hash page table by running the starting item;
and installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system.
Optionally, the building a 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 comprises at least 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;
the basic information of the server is checked by a 1shw command to check whether the server meets the target configuration standard.
Optionally, the configuring the startup item based on the preset command field, so that the operating system adjusts the default memory management mode of the Power9 server to be a hash page table by running the startup item, includes:
adding a read-only command to a system starting parameter, and adding the preset command field after the read-only command, so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the system starting parameter; wherein, the preset command field is disable_radix.
Optionally, the configuring the startup item based on the preset command field, so that the operating system adjusts the default memory management mode of the Power9 server to be a hash page table by running the startup item, includes:
looking up the starting configuration file to determine a first target field and a second target field;
respectively adding the preset command field after the first target field and the second target 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 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 to implement the operation of the AIX system by using the target virtualization software and the optical disc image file of the AIX system includes:
acquiring a QEMU source file, and generating a corresponding QEMU binary file under a designated 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 utilizing the modified QEMU binary file and the optical disk image file of the AIX system 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 at an application layer, and performing system operation test on the AIX system by using a 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 baseboard 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 a 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 target virtualization software and an optical disc image file of the AIX system so as to realize the operation of the AIX system.
Optionally, the start configuration module includes:
the parameter modification unit is used for adding a read-only command to a system starting parameter 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 running the system starting parameter; wherein, the preset command field is disable_radix;
and/or a file modification unit, which is used for checking the starting configuration file to determine a first target field and a second target field; respectively adding the preset command field after the first target field and the second target 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 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;
and a processor for executing the computer program to implement the method of running the AIX system on the small core 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 method of operating an AIX system on a small core architecture as described above.
In the application, a hardware layer is built based on a Power9 server containing a small core processor; installing a baseboard 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; configuring a starting item based on a preset command field so that the operating system can adjust a default memory management mode of the Power9 server into a hash page table by running the starting item; and installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system. Therefore, the default memory management mode of the Power9 server is adjusted to be the hash page table by configuring the starting item based on the preset command field in the kernel layer, then the virtual machine is installed and started 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 operation of the AIX system, the limit of kernel parameters is broken through, and the AIX operating system can be operated on the Power9 server of the small-kernel architecture.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for operating an AIX system on a corelet architecture provided herein;
FIG. 2 is a diagram of an AIX system operating architecture provided herein;
FIG. 3 is a flow chart of a method of operating an AIX system on a particular corelet architecture provided herein;
FIG. 4 is a flowchart of a method of operating an AIX system on a particular corelet architecture provided herein;
FIG. 5 is a schematic diagram of a device architecture for running AIX systems on a corelet architecture provided herein;
fig. 6 is a block diagram of an electronic device provided in the present application.
Detailed Description
In the prior art, the AIX operating system can only run on the big core Power9 processors such as E980, E950, S924, etc., which limits the application scope of the AIX operating system.
The embodiment of the application discloses a method for operating an AIX system on a small core architecture, referring to FIG. 1, the method may include the following steps:
step S11: the hardware layer is built based on a Power9 server containing a corelet processor.
In this embodiment, a hardware layer is first built by using a Power9 server including a small core processor, and it can be understood that a server of a small core architecture processor, for example, a K1 PowerLinux server, is selected in the hardware layer.
In this embodiment, the building a 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 comprises at least 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; the basic information of the server is checked by a 1shw command to check whether the server meets the target configuration standard. It will be appreciated that, to meet the requirement of installing an operating system on a host in a subsequent boot, the Power9 server may be configured to be at or above a target configuration standard, that is, the Power9 server may 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 configuration of the hardware device is completed, the basic information of the Power9 server may be checked by the command 1shw to check whether the Power9 server meets the target configuration standard, specifically, the command 1shw 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 baseboard 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.
In this embodiment, a target version of baseboard management controller (BMC, baseboard Management Controller) is installed on the basis of the hardware layer to build a firmware layer, where the target version of baseboard management controller may be a high version of BMC supporting an os8.0 and above, such as a 4.22.0 version of BMC; then installing a target version of operating system on the basis of the baseboard management controller, wherein the target version of operating system can be CentrOS8.0 or more.
Step S13: and 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.
In this embodiment, after the installation of the operating system is completed, a startup item is configured based on a preset command field, so that the operating system adjusts a default memory management mode of the Power9 server into a Hash (Hash) page table by running the startup item; it can be understood that the memory management modes of the Power9 server include two modes of a Radix page table and a Hash page table, the Open Power9 chip introduces the Radix page table on the memory page, especially the TLB (Translation Lookaside Buffer, translation look-aside buffer) management, and the conventional Hash page table, so that the AIX system virtualized by the Power vm follows the default memory management mode of the host, and therefore, in order for the AIX operating system to 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. After the configuration of the startup 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/cpu info path, and whether the preset command field exists or not can be checked through a cat/etc/grub2.Cfg path, so that the completion of the installation and the successful configuration 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 target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system.
In this embodiment, after the installation of the operating system is completed, 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 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 on the basis of the operating system to implement the operation of the AIX 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 a designated 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 utilizing the modified QEMU binary file and the optical disk image file of the AIX system to realize the operation of the AIX system.
It can be understood that in this embodiment, the QEMU source file may be obtained through the gilthub platform, and then the foregoing QEMU source file may be detected, compiled and installed through configure, make and make install commands by using a compiling tool such as gcchmake, which is installed in advance. After successful installation, a binary file of the QEMU, QEMU-system-ppc64, is generated under the specified directory. At this time, in order to ensure the normal start of the AIX system, patches of the loopholes mesdown and specrum need to be closed, so that the QEMU binary file is modified based on a preset configuration parameter to configure virtual machine start parameters, where the preset configuration parameter includes a parameter field for closing the target type patch, specifically, after the field "mainnesubs", a parameter field "cap-ccf-assist= off" for closing the target type patch is added to close the patches of the mesdown and specrum. Then, a virtual machine is installed and started to realize the operation of the AIX system by using the modified QEMU binary file and an optical disc image file of the AIX system, wherein the AIX system can be an AIX7.2 version system. The AIX system is restarted after being installed, the read-only optical disc is removed, the AIX virtual machine is started, and the version of the AIX system can be checked through an oslevel-r command. For example, as shown in fig. 2, through the above system configuration steps, the AIX system may be implemented to run on a server of the small core processor structure, so that not only a Linux system or the like, but also the AIX system may be run on the server of the small core processor structure, and the runnable environment of the AIX system and the system carrying capacity of the server of the small core processor structure are enlarged.
After the QEMU binary file is obtained, loading tun, tap and macvtap modules can be further set through the system to establish a bridging network card, namely, establish connection between a virtual machine network card and a physical machine network card, and 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 at an application layer, and performing system operation test on the AIX system by using a TPCCRunner. It can be appreciated that the Power server runs the Oracle database, DB2 database in conjunction with the AIX operating system, which is a classical combination of IBM minicomputer, oracle database, and EMC storage. In this embodiment, in order to verify the availability of the AIX system at the application layer part, a system operation test may be performed by 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).
From the above, in this embodiment, a hardware layer is built based on a Power9 server including a small core processor; installing a baseboard 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; configuring a starting item based on a preset command field so that the operating system can adjust a default memory management mode of the Power9 server into a hash page table by running the starting item; and installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system. Therefore, the default memory management mode of the Power9 server is adjusted to be the hash page table by configuring the starting item based on the preset command field in the kernel layer, then the virtual machine is installed and started 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 operation of the AIX system, the limit of kernel parameters is broken through, and the AIX operating system can be operated on the Power9 server of the small-kernel architecture.
The embodiment of the application discloses a method for running an AIX system on a specific small core architecture, referring to FIG. 3, the method may include the following steps:
step S21: the hardware layer is built based on a Power9 server containing a corelet processor.
Step S22: and installing a baseboard 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.
Step S23: and adding a read-only command to a system starting parameter, 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 running the system starting parameter.
In this embodiment, after the operating system is installed successfully, a read-only command, namely "ro", is added to the system start-up 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 be the hash page table by running the system start-up parameter.
Step S24: and installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system.
For the specific processes of step S21, step S22 and step S24, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
As can be seen from the above, in this embodiment, by adding a read-only command to the system start-up parameter and adding a preset command field after the read-only command, the operating system adjusts the default memory management mode of the Power9 server to be the hash page table through running the system start-up parameter, thereby breaking through the limitation of kernel parameters, so that the AIX operating system can be run on the Power9 server of the small-core architecture, and an easy-to-obtain experimental environment is provided for the developer.
The embodiment of the application discloses a method for running an AIX system on a specific small core architecture, referring to FIG. 4, the method may include the following steps:
step S31: the hardware layer is built based on a Power9 server containing a corelet processor.
Step S32: and installing a baseboard 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.
Step S33: looking at the startup configuration file determines a first target field and a second target field.
In this embodiment, after the operating system is installed successfully, a boot configuration file (GRUB. Cfg) is checked to determine a first target field and a second target field, where the first target field is '/vmlinuz-/, and the second target field is'/grub_cmdline_linux/.
Step S34: and respectively adding the preset command field after the first target field and the second target field, so that the operating system adjusts the default memory management mode of the Power9 server into a hash page table by running the starting configuration file.
In this embodiment, after the first target field and the second target field are determined, a preset command field is added after the first target field and the second target field, and then the system is restarted, so that the operating system adjusts the default memory management mode of the Power9 server to be a hash page table through running the startup configuration file. Wherein, the preset command field is disable_radix; the corresponding fields after the modification of the starting configuration file are 'sed-i-e'/vmlinuz-/s# (.\) 1 disable_radix#/boot/GRUB 2/GRUB. Cfg 'and' sed-i-e '/grub_cmdline_linux/s# (,'), $ # \1disable_radix '/etc/default/GRUB'.
Step S35: and installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of the AIX system so as to realize the operation of the AIX system.
The specific processes of the steps S31, S32 and S35 may refer to the corresponding contents disclosed in the foregoing embodiments, and will not be described herein.
In the embodiment, the default memory management mode of the Power9 server is adjusted to be the hash page table by the operating system running the startup configuration file by adding the preset command fields after the first target field and the second target field of the startup configuration file. Therefore, the limitation of kernel parameters is broken through, the AIX operating system can be operated on the Power9 server of the small-kernel architecture, an easily-obtained experimental environment is provided for a developer, and resources are better widened.
Correspondingly, the embodiment of the application also discloses a device for running the AIX system on the small core architecture, and referring to FIG. 5, the device comprises:
a server installation module 11, configured to build a hardware layer based on a Power9 server including a small core processor;
a firmware installation module 12, configured to install a baseboard management controller of a target version on the basis of the hardware layer to build a firmware layer, and install an operating system of the target version on the basis of the firmware layer;
the starting configuration module 13 is configured to configure a starting 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 starting item;
and the virtualization module 14 is used for installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disc image file of the AIX system so as to realize 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 comprises at least 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 1shw command so as to check whether the server meets the target configuration standard.
In some specific embodiments, the start configuration module 13 may specifically include:
the parameter modification unit is used for adding a read-only command to a system starting parameter 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 running the system starting parameter; wherein, the preset command field is disable_radix;
and/or a file modification unit, which is used for checking the starting configuration file to determine a first target field and a second target field; respectively adding the preset command field after the first target field and the second target 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 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 the QEMU source file and generating a corresponding QEMU binary file under the appointed directory through detection, compiling 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 small core architecture may specifically include:
and the system operation test unit is used for installing an Oracle database on an application layer and carrying out system operation test on the AIX system by utilizing the TPCCRunner.
Further, the embodiment of the application further discloses an electronic device, and referring to fig. 6, the content in the drawing should not be considered as any limitation on the scope of use of the application.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. 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 configured to store a computer program that is loaded and executed by the processor 21 to implement the relevant steps in the method of operating an AIX system on a corelet architecture as disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating 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 the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
The memory 22 may be a carrier for storing resources such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored therein include an operating system 221, a computer program 222, and data 223 including an optical disk image file of the AIX system, and the storage may be a temporary storage or a permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows Server, netware, unix, linux, etc. The computer program 222 may further comprise a computer program capable of performing other specific tasks in addition to the computer program capable of performing the method of operating an AIX system on a small core architecture executed by the electronic device 20 as disclosed in any of the previous embodiments.
Further, the embodiment of the application also discloses a computer storage medium, in which computer executable instructions are stored, and when the computer executable instructions are loaded and executed by a processor, the method steps of running the AIX system on the small core architecture disclosed in any of the foregoing embodiments are implemented.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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. The software modules may be disposed 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 is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above detailed description of the method, apparatus, device and medium for operating AIX system on small core architecture provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above examples are only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (8)

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 baseboard 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;
configuring a starting item based on a preset command field so that the operating system can adjust a default memory management mode of the Power9 server into a hash page table by running the starting item;
installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disk image file of an AIX system so as to realize the operation of the AIX system;
the method for constructing 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 comprises at least 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 basic information of the server through a 1shw command to check whether the server meets the target configuration standard;
the method for installing and starting the 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 to realize the operation of the AIX system comprises the following steps:
acquiring a QEMU source file, and generating a corresponding QEMU binary file under a designated 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 utilizing the modified QEMU binary file and the optical disk image file of the AIX system to realize the operation of the AIX system.
2. The method of claim 1, wherein configuring the boot item based on the 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 boot item, comprises:
adding a read-only command to a system starting parameter, and adding the preset command field after the read-only command, so that the operating system adjusts a default memory management mode of the Power9 server into a hash page table by running the system starting parameter; wherein, the preset command field is disable_radix.
3. The method of claim 1, wherein configuring the boot item based on the 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 boot item, comprises:
looking up the starting configuration file to determine a first target field and a second target field;
respectively adding the preset command field after the first target field and the second target 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 configuration file; wherein, the preset command field is disable_radix.
4. The method of operating an AIX system on a small core architecture of claim 1, wherein after said installing and starting a virtual machine to enable operation of said AIX system, further comprising:
and installing an Oracle database at an application layer, and performing system operation test on the AIX system by using a TPCCRunner.
5. 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 baseboard 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 a default memory management mode of the Power9 server into a hash page table by running the starting item;
the virtualization module is used for installing and starting a virtual machine on the basis of the operating system by utilizing target virtualization software and an optical disc image file of the AIX system so as to realize the operation of the AIX system;
wherein, the server installation module includes:
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 comprises at least 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;
a configuration checking unit for checking basic information of the server through a 1shw command to check whether the server meets the target configuration standard;
the virtualization module comprises:
the file acquisition unit is used for acquiring the QEMU source file and generating a corresponding QEMU binary file under the appointed directory through detection, compiling 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.
6. The apparatus for running an AIX system on a small core architecture of claim 5, wherein the boot configuration module comprises:
the parameter modification unit is used for adding a read-only command to a system starting parameter 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 running the system starting parameter; wherein, the preset command field is disable_radix;
and/or a file modification unit, which is used for checking the starting configuration file to determine a first target field and a second target field; respectively adding the preset command field after the first target field and the second target 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 configuration file; wherein, the preset command field is disable_radix.
7. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the method of operating an AIX system on a small core architecture as claimed in any one of claims 1 to 4.
8. A computer-readable storage medium storing a computer program; a method of operating an AIX system on a small core architecture as claimed in any one of claims 1 to 4, wherein the computer program when executed by a processor.
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 CN112835595A (en) 2021-05-25
CN112835595B true 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)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8793686B2 (en) * 2011-06-08 2014-07-29 Microsoft Corporation Operating system decoupled heterogeneous computing
CN104503772B (en) * 2014-11-21 2018-10-12 北京奇虎科技有限公司 The method and apparatus that operating system installation based on virtual machine, test environment are built
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
CN112835595A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
US20180150306A1 (en) Systems and methods for eliminating reboot during initial machine configuration of operating systems
KR101574366B1 (en) Synchronizing virtual machine and application life cycles
US8924703B2 (en) Secure virtualization environment bootable from an external media device
KR100965706B1 (en) Computer apparatus capable of code rewriting and method for code rewriting
US10303458B2 (en) Multi-platform installer
US11281768B1 (en) Firmware security vulnerability verification service
CN103714287B (en) Method and device for obtaining temporary Root authority
US8910155B1 (en) Methods and systems for injecting endpoint management agents into virtual machines
US20130067600A1 (en) Selective file access for applications
US20120011503A1 (en) Managing loading and unloading of shared kernel extensions in isolated virtual space
US20120011501A1 (en) Tracking loading and unloading of kernel extensions in isolated virtual space
US11762987B2 (en) Systems and methods for hardening security systems using data randomization
US9417886B2 (en) System and method for dynamically changing system behavior by modifying boot configuration data and registry entries
US10817319B1 (en) Compatibility-based configuration of hardware with virtualization software
US10185548B2 (en) Configuring dependent services associated with a software package on a host system
CN114222975A (en) Data preservation using memory aperture flush sequence
CN107766084A (en) Bootload and installation method and its computing system
US9535713B2 (en) Manipulating rules for adding new devices
CN111683091A (en) Method, device, equipment and storage medium for accessing cloud host console
CN112835595B (en) Method, device, equipment and medium for running AIX system on small core architecture
US11281774B2 (en) System and method of optimizing antivirus scanning of files on virtual machines
US10877771B2 (en) Virtual machine booting using disk metadata
US20150379039A1 (en) Integrating virtual machine file system into a native file explorer
US20240143780A1 (en) Supporting secure workspaces in heterogenous environments
CN116484360B (en) RASP-based injection method, RASP-based injection device, RASP-based injection medium and RASP-based injection equipment

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