BeegFr

BeegFr




🔞 TOUTES LES INFORMATIONS CLIQUEZ ICI 👈🏻👈🏻👈🏻

































BeegFr
Доступ к информационному ресурсу ограничен на основании Федерального закона от 27 июля 2006 г. № 149-ФЗ «Об информации, информационных технологиях и о защите информации».

Доступ к информационному ресурсу ограничен на основании Федерального закона от 27 июля 2006 г. № 149-ФЗ «Об информации, информационных технологиях и о защите информации».

The invention discloses a BeeGFS service starting method and a device, wherein the method comprises the following steps: deploying and testing BeeGFS service on a server and a client so that the BeeGFS service can normally operate; mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end; configuring a boot BeeGFS service in a boot self-starting file of a server; copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory; and restarting BeeGFS service at the client and configuring boot startup BeeGFS service through a system command of the client. The invention can use the correct starting sequence to start the BeeGFS service, saves time and labor cost and improves the stability of the service system.
The present invention relates to the field of file service systems, and in particular, to a method and an apparatus for launching a beegfr service.
BeeGFS is the leading parallel cluster file system whose development focus is performance and is designed for ease of installation and management. BeeGFS is a solution for I/O intensive workloads, and a distributed metadata architecture is implemented for improving the expansion performance and flexibility of applications. The beegfr file system is more concerned with the performance of the file system than other parallel file systems. However, in the prior art, when the beegfr file system is deployed, especially for a cluster system, the begfs file system does not deploy a server service and a client service together, and also does not deploy one or two services. This results in a disorderly boot sequence and an inability to boot from boot for the beegfr file service. Both of which cause waste of labor and time and reduce the stability of the service system.
Aiming at the problems that the start sequence of the BeeGFS file service is disordered and the BeeGFS file service cannot be started and automatically started in the prior art, manpower and time are wasted, and the stability of a service system is reduced, no effective solution is available at present.
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for booting a beegfr service, which can use a correct boot sequence to boot the beegfr service, save time and labor cost, and improve stability of a service system.
Based on the above object, a first aspect of the embodiments of the present invention provides a method for initiating a beegfr s service, including the following steps:
deploying and testing BeeGFS service on a server and a client so that the BeeGFS service can normally operate;
mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end;
configuring a boot BeeGFS service in a boot self-starting file of a server;
copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory;
and restarting BeeGFS service at the client and configuring boot startup BeeGFS service through a system command of the client.
In some embodiments, the beegfr services of the service end include a management service, a post-emission service, and a storage service;
configuring a boot BeeGFS service in a boot self-starting file of a server side comprises the following steps: and configuring the BeeGFS service in turn according to the sequence of the management service, the post-emission service and the storage service in the starting self-starting file of the server.
In some embodiments, the server is a plurality of servers; and the physical logic volumes storing the management service, the post-emission service and the storage service file are respectively mounted to service directories of a plurality of different service ends.
In some embodiments, the client is a plurality of clients;
copying the BeeGFS service file from the server to a specific directory of the client, and editing the BeeGFS service file at the client to relocate to the specific directory comprises the following steps: and copying the BeeGFS service file from the server to a specific directory of each client, and editing the BeeGFS service file at each client respectively to relocate to the specific directory of each client.
In some embodiments, further comprising: and restarting the server and the client after the server and the client are configured with the boot start BeeGFS service.
A second aspect of the embodiments of the present invention provides a beegfr service starting apparatus, including:
a memory storing program code executable by the processor, the program code when executed sequentially performing the steps of:
deploying and testing BeeGFS service on a server and a client so that the BeeGFS service can normally operate;
mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end;
configuring a boot BeeGFS service in a boot self-starting file of a server;
copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory;
and restarting BeeGFS service at the client and configuring boot startup BeeGFS service through a system command of the client.
In some embodiments, the beegfr services of the service end include a management service, a post-emission service, and a storage service; configuring a boot BeeGFS service in a boot self-starting file of a server side comprises the following steps: and configuring the BeeGFS service in turn according to the sequence of the management service, the post-emission service and the storage service in the starting self-starting file of the server.
In some embodiments, the server is a plurality of servers; and the physical logic volumes storing the management service, the post-emission service and the storage service file are respectively mounted to service directories of a plurality of different service ends.
In some embodiments, the client is a plurality of clients;
copying the BeeGFS service file from the server to a specific directory of the client, and editing the BeeGFS service file at the client to relocate to the specific directory comprises the following steps: and copying the BeeGFS service file from the server to a specific directory of each client, and editing the BeeGFS service file at each client respectively to relocate to the specific directory of each client.
In some embodiments, the steps further comprise: and restarting the server and the client after the server and the client are configured with the boot start BeeGFS service.
The invention has the following beneficial technical effects: the BeeGFS service starting method and the BeeGFS service starting device provided by the embodiment of the invention have the advantages that BeeGFS service is deployed and tested on the service end and the client end so as to enable the BeeGFS service to normally run; mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end; configuring a boot BeeGFS service in a boot self-starting file of a server; copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory; the BeeGFS service is restarted at the client and the technical scheme of starting the BeeGFS service is configured through the system command of the client, so that the BeeGFS service can be started and automatically started by using the correct starting sequence, the time and the labor cost are saved, and the stability of the service system is improved.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a beegfr service boot method provided by the present invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above, a first aspect of the embodiments of the present invention provides an embodiment of a method for booting a self-boot beegfr s service using a correct boot sequence. Fig. 1 is a schematic flowchart illustrating a beegfr service boot method provided by the present invention.
The method for starting the BeeGFS service, as shown in FIG. 1, includes the following steps:
step S101: deploying and testing BeeGFS service on a server and a client so that the BeeGFS service can normally operate;
step S103: mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end;
step S105: configuring a boot BeeGFS service in a boot self-starting file of a server;
step S107: copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory;
step S109: and restarting BeeGFS service at the client and configuring boot startup BeeGFS service through a system command of the client.
The invention provides a method for setting the boot self-starting of a BeeGFS service of a cluster. According to the method, after the deployment of the BeeGFS file system of the cluster is completed, how to set the starting self-starting of the server-side service and the client-side service is achieved, and manual intervention of the starting service is not needed. Especially for a large cluster, once the cluster is booted, a large number of servers are involved to start service, and manual execution wastes a large amount of time and other resources. The setting of the service startup self-starting saves a large amount of manpower resources, time resources and the like, and can ensure the normal startup use of the cluster file system.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In some embodiments, the beegfr services of the service end include a management service, a post-emission service, and a storage service; configuring a boot BeeGFS service in a boot self-starting file of a server side comprises the following steps: and configuring the BeeGFS service in turn according to the sequence of the management service, the post-emission service and the storage service in the starting self-starting file of the server.
In some embodiments, the server is a plurality of servers; and the physical logic volumes storing the management service, the post-emission service and the storage service file are respectively mounted to service directories of a plurality of different service ends.
In some implementations, the client is a plurality of clients. Copying the BeeGFS service file from the server to a specific directory of the client, and editing the BeeGFS service file at the client to relocate to the specific directory comprises: and copying the BeeGFS service file from the server to a specific directory of each client, and editing the BeeGFS service file at each client respectively to relocate to the specific directory of each client.
In some embodiments, the method further comprises: and restarting the server and the client after the server and the client are configured with the boot start BeeGFS service.
The method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU (central processing unit), and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention. The above-described method steps and system elements may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements.
The following further illustrates embodiments of the invention in terms of specific examples. Firstly, after the BeeGFS server and the client are deployed, whether the service is normally started is tested, and then starting self-starting setting of the service is carried out.
For the set startup self-starting of the BeeGFS file system server, the BeeGFS file system server includes Management, Meta and Storage services, and the three services may be deployed on the same server or separately. As long as the startup self-starting is configured, the startup sequence can be noticed (servers where Management-Meta-Storage is located are started in sequence) during startup. And setting the service starting self-starting according to the self-contained command line of the operating system, otherwise, setting the starting service in the starting self-starting file of the operating system, wherein the problem exists in the service starting. Firstly configuring a server side mounting directory, mounting a physical logic volume to a corresponding service directory, closing a cluster server after configuration is completed, sequentially starting servers where Management-Meta-Storage is located, and normally starting a BeeGFS file system server after checking.
And after the BeeGFS server is configured, the client is configured. Because the beegfr file system is configured for a cluster, programs are often deployed in a shared directory, so that when a client server is started, the shared directory needs to be mounted first, and then a file system client is started. However, there is a problem when the system is booted, so that the client cannot set boot self-booting as the server does. The method comprises the steps of firstly, setting starting self-starting according to a self-carried command of an operating system, copying services under a shared directory to a local directory, copying client services under the shared directory to a local private specific directory, then editing a service file corresponding to a client, and redirecting a client service execution path (namely, a path copied to the local private directory in the last step). Reloading the service, setting starting self-starting through a system command, restarting a server where the client is located, checking through the command after restarting, finding that the client successfully mounts the beegfs file system and can be normally used.
Therefore, the BeeGFS file system server and the client service are started and set to be started automatically. The test can be started through the whole cluster.
It can be seen from the foregoing embodiments that, in the beegfr service starting method provided in the embodiments of the present invention, the beegfr service is deployed and tested on the service end and the client end, so that the beegfr service operates normally; mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end; configuring a boot BeeGFS service in a boot self-starting file of a server; copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory; the BeeGFS service is restarted at the client and the technical scheme of starting the BeeGFS service is configured through the system command of the client, so that the BeeGFS service can be started and automatically started by using the correct starting sequence, the time and the labor cost are saved, and the stability of the service system is improved.
It should be particularly noted that, the steps in the foregoing embodiments of the beegfr service boot method may be intersected, replaced, added, or deleted, and therefore, these reasonable permutation and combination transformations should also fall within the scope of the present invention, and should not limit the scope of the present invention to the above embodiments.
In view of the above, a second aspect of the embodiments of the present invention provides an embodiment of an apparatus capable of booting a self-boot beegfr s service using a correct boot sequence. The BeeGFS service starting device comprises:
a memory storing program code executable by the processor, the program code when executed sequentially performing the steps of:
deploying and testing BeeGFS service on a server and a client so that the BeeGFS service can normally operate;
mounting the physical logic volume stored with the BeeGFS service file to a service directory of a service end;
configuring a boot BeeGFS service in a boot self-starting file of a server;
copying the BeeGFS service file from a server to a specific directory of a client, and editing the BeeGFS service file at the client to relocate to the specific directory;
and restarting BeeGFS service at the client and configuring boot startup BeeGFS service through a system command of the client.
In some embodiments, the beegfr services of the service end include a management service, a post-emission service, and a storage service; configuring a boot BeeGFS service in a boot self-starting file of a server side comprises the following steps: and configuring the BeeGFS service in turn according to the sequence of the management service, the post-emission service and the storage service in the starting self-starting file of the server.
In some embodiments, the server is a plurality of servers; and the physical logic volumes storing the management service, the post-emission service and the storage service file are respectively mounted to service directories of a plurality of different service ends.
In some implementations, the client is a plurality of clients. Copying the BeeGFS service file from the server to a specific directory of the client, and editing the BeeGFS service file at the client to relocate to the specific directory comprises: and copying the BeeGFS service file from the server to a specific directory of each client, and editing the BeeGFS service file at each client respectively to reloc
Filmes Porno Francais
Fessée Sexy
Baise Sa Belle Fille

Report Page