WO2014180207A1 - Metadata server migration processing method and device - Google Patents

Metadata server migration processing method and device Download PDF

Info

Publication number
WO2014180207A1
WO2014180207A1 PCT/CN2014/074849 CN2014074849W WO2014180207A1 WO 2014180207 A1 WO2014180207 A1 WO 2014180207A1 CN 2014074849 W CN2014074849 W CN 2014074849W WO 2014180207 A1 WO2014180207 A1 WO 2014180207A1
Authority
WO
WIPO (PCT)
Prior art keywords
migration
server
file
target server
configuration
Prior art date
Application number
PCT/CN2014/074849
Other languages
French (fr)
Chinese (zh)
Inventor
董晓国
刘洋
蔡浩
陈辉
刘彦秋
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014180207A1 publication Critical patent/WO2014180207A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present invention relates to the field of data storage, and more particularly to a migration processing method and apparatus for a metadata server.
  • BACKGROUND OF THE INVENTION With the explosion of unstructured data, distributed file systems have entered a golden age of development. From high-performance computers to data centers, from data sharing to Internet applications, distributed file systems have penetrated into every aspect of data applications. For most distributed file systems, however, metadata and data are usually separated, that is, control flow and data flow are separated, resulting in higher system scalability. Therefore, metadata management is crucial.
  • the distributed file system includes the following types of servers: Directory Tree Server (DTS), File Locate Register (FLR), File Access Client (FAC), and File Access Server (referred to as FAS;).
  • DTS Directory Tree Server
  • FLR File Locate Register
  • FAC File Access Client
  • FAS File Access Server
  • DTS is primarily responsible for data configuration and management and managing file namespaces.
  • FLR is primarily responsible for the data block distribution and management of files.
  • the FAC is the agent that the application accesses the file system and is primarily responsible for providing a common file manipulation interface to the application.
  • FAS is where the user data is actually stored in the file system.
  • the system architecture of the distributed file system includes two cases (1) as shown in Figure 1, DTS and FLR are combined on one server; (2) As shown in Figure 2, DTS and FLR are located on different servers.
  • the above-mentioned metadata server generates faults or changes in the equipment room for various reasons. If the metadata cannot be efficiently migrated to other servers, the smooth operation of the service will be affected.
  • the embodiments of the present invention provide a migration processing method and apparatus for a metadata server, so as to at least solve the related art, after the metadata server is damaged or the server location is changed, the metadata cannot be efficiently migrated to other servers, and the service is not normal. Running problems.
  • a migration processing method of a metadata server including: acquiring configuration information of a target server that the original server needs to move in; writing the configuration information to an in-memory database of the target server, and Generating a configuration file of the target server according to the configuration information; uploading the memory database and the configuration file to the target server for distribution and deployment.
  • obtaining the configuration information of the target server that the original server needs to move in including: obtaining, from the foregoing original server, the original system information of the distributed file system where the original server is located, and the user configuration migration information determined according to the migration scenario, where Different migration scenarios correspond to different user configuration migration information; the configuration information is determined according to the original system information and the user configuration migration information.
  • the foregoing migration scenario includes at least one of the following: the active and standby DTSs are all migrated, only the standby DTS is migrated, the active and standby FLRs are all migrated, and only the standby FLR is migrated.
  • the method before the foregoing in-memory database and the foregoing configuration file are uploaded to the target server for distribution and deployment, the method further includes: acquiring an operation state of the original server; and constructing a DTS version file when the running state is offline; Uploaded to the target server, where the target server performs subsequent operations by using the DTS version file.
  • the method further includes: when the operating state is online, if the target server IP address changes, the communication process associated with the target server is dynamically switched to the changed IP address.
  • the method includes: when the running state is offline, first starting the primary DTS version file in the target server, and waiting for the primary DTS version file.
  • At least one of the following version files is started: an alternate DTS version file, a primary standby FLR version file, a file access client FAC version file, and a file access server FAS version file; when the above running state is online, at the above target At least one of the following is started in the server: the above-mentioned standby DTS version file, the above-mentioned primary and backup FLR version files, and the above-mentioned standby FLR version file.
  • the method further includes: verifying whether the migration is successful; when the migration fails, performing a rollback operation, and clearing the intermediate file of the migration process.
  • a migration processing apparatus for a metadata server including: an obtaining module configured to acquire configuration information of a target server that the original server needs to move in; a writing module configured to The configuration information is written into the in-memory database of the target server; the generating module is configured to generate a configuration file of the target server according to the configuration information; and the uploading module is configured to upload the in-memory database and the configuration file to the target server for distribution and deployment.
  • the obtaining module includes: an obtaining unit, configured to acquire, from the original server, original system information of the distributed file system where the original server is located, and user configuration migration information determined according to the migration scenario, where different migration scenarios Corresponding to different user configuration migration information; the determining unit is configured to determine the configuration information according to the original system information and the user configuration migration information.
  • the acquiring unit is configured to acquire the user configuration migration information when the migration scenario includes at least one of the following: the primary and backup DTSs are migrated, only the standby DTS, the primary and secondary file location registers FLR are migrated, and only the standby is migrated. FLR.
  • the configuration information of the target server that the original server needs to be moved is obtained; the configuration information is written into the in-memory database of the target server, and the configuration file of the target server is generated according to the configuration information.
  • FIG. 1 is a system architecture diagram of a distributed file system DTS and FLR according to the related art
  • FIG. 2 is another system architecture diagram of a distributed file system DTS and FLR according to the related art
  • 3 is a flowchart of a migration processing method of a metadata server according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a migration processing apparatus of a metadata server according to an embodiment of the present invention
  • FIG. FIG. 6 is a schematic structural diagram of a migration system of a metadata server according to a preferred embodiment of the present invention
  • FIG. 7 is a metadata server migration of an offline system according to a preferred embodiment of the present invention
  • Figure 8 is a flow diagram of an online system migration standby DTS in accordance with a preferred embodiment of the present invention
  • Figure 9 is a flow diagram of an online system migration primary standby FLR in accordance with a preferred embodiment of the present invention
  • 10 is a flow diagram of an online system migration standby FLR in accordance with a preferred embodiment of the present invention.
  • FIG. 3 is a flowchart of a migration processing method of a metadata server according to an embodiment of the present invention. As shown in FIG. 3, the method includes: Step S302 to Step S306,
  • S302 Obtain configuration information of the target server that the original server needs to move in; in this step, the source of the configuration information includes two ways: the original system information of the distributed file system of the original server obtained from the foregoing original server; User configuration migration information determined by the migration scenario. The user selects different migration scenarios and corresponds to different user configuration migration information. After obtaining the original system information and the user configuration migration information, the client determines the configuration information that needs to be migrated to the target server according to the obtained original system information and the user configuration migration information.
  • the in-memory database may be: an in-memory database configured by the enterprise for the server, but is not limited thereto.
  • S306 Upload the foregoing in-memory database and the foregoing configuration file to a target server for distribution deployment.
  • the client Before the step, the client also needs to obtain the running state of the original server, and according to the obtained running state, the following operations are performed: When the obtained running state is offline, the DTS version file is constructed; the DTS version file is Uploaded to the target server, where the target server performs subsequent operations by using the DTS version file. That is, when the above-mentioned operating state is offline, it is finally necessary to upload the above-mentioned in-memory database, the above-mentioned configuration file, and the above-configured DTS version file to the target server.
  • the client When the obtained running state is the online state, if the target server IP address changes, the communication process associated with the target server is dynamically switched to the changed IP address. Otherwise it will affect the subsequent target server configuration process.
  • the client first obtains the configuration information of the target server that needs to be moved in two ways, one of which is the distributed file system of the original server obtained from the original server.
  • the original system information; the other is the user configuration migration information determined according to the migration scenario.
  • the configuration information is written into the in-memory database of the target server, and then the configuration file required for the subsequent target server configuration is generated according to the written configuration information, and finally the above-mentioned in-memory database and configuration file are uploaded to In the target server (if the running status of the original server is offline, the DTS version file needs to be uploaded), and the target server distributes and distributes according to the received content, thus completing the process of migrating metadata from the original server to the target server.
  • the automatic migration of the DTS server or the FLR server metadata to other servers can well solve the problems of metadata server damage or server location changes, and ensure the normal operation of the service.
  • the DTS and the FLR can be combined on one server or on different servers.
  • the migration scenario includes: the active and standby DTSs are all migrated, only the standby DTS is migrated, the active and standby FLRs are all migrated, and only the standby FLR is migrated.
  • the present invention further improves the foregoing technical solution, after the migration process is finished, after the foregoing in-memory database and the foregoing configuration file are uploaded to the target server for distribution and deployment, the operation state of the original server needs to be acquired, and then the following two operation processes are performed. When the running status is offline, first start the main DTS version file in the target server.
  • main DTS version file After the above-mentioned main DTS version file is successfully started, start at least one of the following version files: Alternate DTS version file, main standby FLR version File, file access client FAC version file and file access server FAS version file; when the above running state is online, start at least one of the following in the target server: the above standby DTS version file, the above-mentioned primary standby FLR version file, the above standby FLR version file.
  • a further improvement of the foregoing technical solution is that after the migration process is completed, after the foregoing in-memory database and the configuration file are uploaded to the target server for distribution and deployment, it is also required to verify whether the migration is successful, and if not, the metadata migration process is successful.
  • FIG. 4 is a structural block diagram of a migration processing apparatus of a metadata server according to an embodiment of the present invention.
  • the device includes: an obtaining module 40, configured to acquire configuration information of a target server that the original server needs to move in; In the operation performed by the module, the obtained configuration information is derived from two paths, and is implemented by two modules.
  • the obtaining module 40 includes: an obtaining unit 400, configured to acquire the original server.
  • the migration scenario is as follows:
  • the migration scenario includes at least one of the following: the active and standby DTSs are migrated, only the standby DTS is migrated, the active and standby file location registers FLR are migrated, and only the standby FLR is migrated. It is configured to determine the configuration information according to the original system information and the user configuration migration information.
  • the writing module 42 is connected to the obtaining module 40, and is configured to write the configuration information into the in-memory database of the target server; the generating module 44 is connected to the writing module 42 and configured to generate a configuration file of the target server according to the configuration information.
  • the uploading module 46 is connected to the generating module 44, and is configured to upload the above-mentioned in-memory database and the above-mentioned configuration file to the target server for distribution and deployment.
  • the configuration file required for the subsequent target server configuration is generated, and finally the above-mentioned in-memory database and configuration file are uploaded to the target server, and the target server is distributed and deployed according to the received content, thereby completing the migration of the metadata from the original server to the target server. the process of.
  • the automatic migration of the DTS server or the FLR server metadata to other servers can well solve the problems of metadata server damage or server location changes, and ensure the normal operation of the service.
  • the above various modules involved in this embodiment may be implemented by software or by corresponding hardware.
  • each of the above modules may be in the processor, or at least two of the modules may be located in the same processor, but are not limited thereto, and are determined according to actual conditions.
  • FIG. 6 is a schematic structural diagram of a migration system of a metadata server according to a preferred embodiment of the present invention.
  • the migration systems applicable to this architecture include: DTS and FLR Combined system and DTS and FLR separation system.
  • the migration scenarios of the solution include: migration of the active and standby DTSs, migration of only the standby DTS, migration of the active and standby FLRs, and migration of only the standby FLR. After the migration, DTS and FLR can be combined on one server or on different servers.
  • the client batch monitors and manages the entire migration process. The specific steps are as follows: 1: The client monitors and manages the batch metadata server migration process.
  • Step A Automatically analyze and extract the original system information from the metadata storage file
  • Step B Connect the migration target server , Socket build chain
  • Step c Select the migration scenario, enter the migration target server information, and automatically construct the migrated metadata storage file and configuration file.
  • Step D Automatically construct the DTS version file
  • Step E Automatically distribute the deployed DTS version file, and construct the completed element Data save file and configuration file
  • Step F Automatically stop FLR, FAC, FAS version
  • Step G Automatically start the main DTS version, and start the DTS version successfully, automatically start all other server versions
  • Step H Login to the main use Port 1502 of DTS, check data table, basic read and write function is normal. If it is not normal, perform a rollback operation.
  • Step A Automatically analyze and extract the original system information from the metadata storage file
  • Step B Connect the migration target server to perform Socket chain establishment
  • Step C Select the migration scenario, enter the migration target server information, and automatically construct the configuration.
  • Step D Automatically distribute the deployment configuration file, Boot file, and file system metadata file
  • Step E If the migration target server IP changes, the server-to-server communication is dynamically switched
  • Step F Automatically start the server version
  • Step G Log in to port 1502 of the main DTS to check whether the data table and basic read/write functions are normal. If it is not normal, perform a rollback operation. Since the types of servers migrated by the online system and the offline system are different, the execution steps are also slightly different. The following is described in detail in conjunction with the following preferred embodiments: For the offline system, the primary standby DTS is migrated. 7 is a flow diagram of a metadata server migration of an offline system in accordance with a preferred embodiment of the present invention. As shown in Figure 7, the process includes the following processing steps:
  • S700 extracting original system data from the main DTS data storage file: information of DTS, FLR, FAC, FAS;
  • S702 Write configuration information of the migration target server, including module IP information, version table information, and the like, to the metadata storage file on the client offline;
  • S706 Using a script to implement a Secure Shell (SSH) protocol, automatically log in to the original FLR, FAC, FAS server, and modify the configuration file;
  • SSH Secure Shell
  • S708 Upload the constructed DTS version and configuration file from the client to the migration target active and standby DTS servers respectively.
  • S710 uploading the modified metadata storage file from the client to the migration target DTS, and synchronizing to the standby DTS by using the data synchronization;
  • S712 automatically uploading and uploading the uploaded file on the migration target primary standby DTS server by using a script;
  • S714 automatically stop all versions of FLR, FAC, and FAS by using a script
  • S716 automatically enable the active DTS version by using a script
  • S718 Whether the primary DTS version is successfully started, if yes, go to step S720, otherwise go to step S714;
  • S720 After the primary DTS version is successfully started, the standby DTS and the FLR, FAC, and FAS versions are automatically started.
  • S722 After all the versions are successfully started, log in to the port 1502 of the active DTS; S724: check whether the data table is normal, if yes, go to step S726, otherwise go to step S730; S726: check whether the basic read/write function is normal. If not, go to step S730, if it is normal, go to step S728; S728: the migration is successful;
  • FIG. 8 is a flow diagram of an online system migration standby DTS in accordance with a preferred embodiment of the present invention.
  • S800 offline extraction of DTS, FLR, FAC, FAS information from the main DTS data file
  • S802 using the man-machine command to write configuration information of the migration target server, such as IP configuration, to the metadata storage file online
  • configuration information of the migration target server such as IP configuration
  • S806 uploading the DTS standby configuration file and the BOOT version startup file to the migration target server;
  • S808 using a script to implement SSH automatic login target migration system, modifying the configuration files of the main DTS, FLR, FAC, and FAS;
  • S810 determining whether the original standby DTS is online, if yes, proceeding to step S812, otherwise proceeding to step S814; S812: automatically stopping the original standby DTS version;
  • S816 Notifying the main DTS, using the man-machine command to realize dynamic communication with the main DTS, FLR, FAC, FAS, and switching to a new IP;
  • S820 After all the versions are successfully started, log in to the port 1502 of the active DTS; S822: Check whether the data table is normal. If it is normal, proceed to step S824, otherwise proceed to step S828;
  • step S824 Verify that the basic read/write function is normal, if it is normal, proceed to step S826, otherwise, go to step S828;
  • FIG. 9 is a flow diagram of an online system migration primary standby FLR in accordance with a preferred embodiment of the present invention. As shown in Figure 9:
  • S900 offlinely export DTS, FLR, FAC, and FAS related information from the metadata storage file;
  • S902 Modify the FLR module information to the metadata storage file of the primary DTS by using the man-machine command, and synchronize the data to the metadata storage file of the standby DTS;
  • S904 automatically construct an FLR configuration file according to the target migration system information;
  • S906 Using a script to implement SSH to automatically log in to the migration target system, and automatically modify the DTS, FAC, and FAS configuration files;
  • S908 upload the file system metadata file to the FLR host, upload the BOOT version startup file and configuration file to the active and standby FLR, and perform automatic distribution and deployment;
  • step S910 Determine whether the IP of the active or standby FLR changes. If yes, go to step S912; otherwise, go to step S914.
  • S912 Notifying the main DTS, using the man-machine command to realize dynamic communication with the DTS, the FAC, and the FAS, and switching to the new IP address;
  • S914 The script automatically starts the BOOT file of the main FLR, after the main FLR is successfully started. , then automatically start the standby FLR BOOT file;
  • step S918 Check if the data table is normal. If yes, go to step S920, otherwise go to step S924;
  • step S920 Verify that the basic read/write function is normal, if yes, proceed to step S922, otherwise proceed to step S924;
  • FIG. 10 is a flow diagram of an online system migration standby FLR in accordance with a preferred embodiment of the present invention. As shown in Figure 10: S1002: Offline DTS, FLR, FAC, FAS related information is exported from the metadata storage file;
  • S1004 Using the man-machine command to modify the FLR module information online to the metadata storage file of the main DTS, and the data is synchronized to the metadata storage file of the standby DTS;
  • S1006 automatically construct an alternate FLR configuration file according to the target migration system information
  • S1008 Using the script to implement SSH automatic login to the migration target system, automatically modifying the DTS, the main FLR, FAC, and FAS configuration files; S1010: Upload the BOOT startup file and configuration file to the FLR standby machine, and perform automatic deployment;
  • step S1010 determining whether the IP of the standby FLR changes, if yes, proceeding to step S1014, if no, proceed to step S1016;
  • S1014 Notifying the main DTS, using the man-machine command to dynamically communicate with the DTS, the primary FLR, the FAC, and the FAS, and switching to the new IP address;
  • step S1020 Check if the data table is normal. If yes, go to step S1022, otherwise go to step S1026;
  • step S1022 Verify that the basic read/write function is normal, if yes, proceed to step S1024, otherwise proceed to step S1026;

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

Provided are a metadata server migration processing method and device, the method comprising: obtaining the configuration information of a target server that an original server is to be migrated to; writing the configuration information into an in-memory database of the target server, and generating a configuration file of the target server according to the configuration information; uploading the in-memory database and the configuration file to the target server for distributed deployment. The technical solution of the present invention prevents abnormal service operation caused by the damage to or the location change of the metadata server, significantly reduces manual operation errors and decreases the time for migration, thus improving migration efficiency.

Description

元数据服务器的迁移处理方法及装置 技术领域 本发明涉及数据存储领域, 更具体地说, 涉及一种元数据服务器的迁移处理方法 及装置。 背景技术 随着非结构化数据的大爆炸, 分布式文件系统进入了发展的黄金时期。 从高性能 计算机到数据中心, 从数据共享到互联网应用, 分布式文件系统已经渗透到数据应用 的各个方面。 然而对于大多数分布式文件系统, 通常将元数据和数据两者独立开来, 即控制流和数据流进行分离, 从而获得更高的系统扩展性。 因此, 元数据管理就显得 至关重要。 分布式文件系统包括以下几种服务器: 目录树服务器 (Directory Tree Server, 简 称为 DTS )、文件位置寄存器(File Locate Register,简称为 FLR)、文件访问客户端 (File Access Client, 简称为 FAC)和文件访问服务器 (File Access Server, 简称为 FAS;)。 DTS 主要负责数据配置和管理以及管理文件的命名空间。 FLR主要负责文件的数据块分布 和管理。 FAC是应用程序访问文件系统的代理, 主要负责提供给应用程序通用的文件 操作接口。 FAS是文件系统中实际存储用户数据的地方。 分布式文件系统的系统架构包括两种情况 (1 ) 如图 1所示, DTS和 FLR合设在 一个服务器上; (2) 如图 2所示, DTS和 FLR分设在不同服务器上。 在实际应用中, 上述元数据服务器由于种种原因产生故障或者机房变动, 如果元 数据不能高效的迁移到其他服务器上, 那么就会影响到业务顺利运行。 目前针对相关技术中元数据服务器损坏或服务器位置变动后, 元数据不能高效的 迁移到其他服务器导致业务不能正常运行的问题, 目前尚未提出有效的解决方案。 发明内容 本发明实施例提供了一种元数据服务器的迁移处理方法及装置, 以至少解决相关 技术中, 元数据服务器损坏或服务器位置变动后, 元数据不能高效的迁移到其他服务 器导致业务不能正常运行的问题。 根据本发明的一个实施例, 提供了一种元数据服务器的迁移处理方法, 包括: 获 取原服务器需要迁入的目标服务器的配置信息; 将上述配置信息写入上述目标服务器 的内存数据库中, 并根据上述配置信息生成上述目标服务器的配置文件; 将上述内存 数据库以及上述配置文件上传到上述目标服务器进行分发部署。 优选地, 获取原服务器需要迁入的目标服务器的配置信息, 包括: 从上述原服务 器中获取该原服务器所在分布式文件系统的原系统信息, 以及根据迁移场景确定的用 户配置迁移信息, 其中, 不同的迁移场景对应于不同的用户配置迁移信息; 根据上述 原系统信息和上述用户配置迁移信息确定上述配置信息。 优选地, 上述迁移场景包括以下至少之一: 主备 DTS 都进行迁移、 只迁移备用 DTS、 主备 FLR都进行迁移、 只迁移备用 FLR。 优选地, 将上述内存数据库以及上述配置文件上传到上述目标服务器进行分发部 署之前,还包括:获取上述原服务器的运行状态;在上述运行状态为离线时,构造 DTS 版本文件; 将上述 DTS版本文件上传至上述目标服务器中, 其中, 上述目标服务器利 用上述 DTS版本文件执行后续操作。 优选地, 还包括: 在上述运行状态为在线时, 如果上述目标服务器 IP地址发生变 化, 将与上述目标服务器相关联的通信进程动态切换至变化后的 IP地址。 优选地, 将上述内存数据库以及上述配置文件上传到上述目标服务器进行分发部 署之后包括: 在上述运行状态为离线时, 首先在上述目标服务器中启动主用 DTS版本 文件, 待上述主用 DTS 版本文件启动成功后, 再启动以下至少之一版本文件: 备用 DTS版本文件、 主备用 FLR版本文件、 文件访问客户端 FAC版本文件和文件访问服 务器 FAS版本文件; 在上述运行状态为在线时, 在上述目标服务器中启动以下至少之 一: 上述备用 DTS版本文件、 上述主备用 FLR版本文件、 上述备用 FLR版本文件。 优选地, 将上述内存数据库以及上述配置文件上传到目标服务器进行分发部署之 后, 上述方法还包括: 校验迁移是否成功; 在迁移失败时, 进行回退操作, 并清除迁 移过程中间文件。 根据本发明的另一实施例, 还提供了一种元数据服务器的迁移处理装置, 包括: 获取模块, 设置为获取原服务器需要迁入的目标服务器的配置信息; 写入模块, 设置 为将上述配置信息写入上述目标服务器的内存数据库中; 生成模块, 设置为根据上述 配置信息生成目标服务器的配置文件; 上传模块, 设置为将上述内存数据库以及上述 配置文件上传到目标服务器进行分发部署。 优选地, 上述获取模块, 包括: 获取单元, 设置为从上述原服务器中获取该原服 务器所在分布式文件系统的原系统信息,以及根据迁移场景确定的用户配置迁移信息, 其中, 不同的迁移场景对应于不同的用户配置迁移信息; 确定单元, 设置为根据上述 原系统信息和上述用户配置迁移信息确定上述配置信息。 优选地, 上述获取单元, 设置为在上述迁移场景包括以下至少之一时获取上述用 户配置迁移信息: 主备 DTS都进行迁移、只迁移备用 DTS、主备文件位置寄存器 FLR 都进行迁移、 只迁移备用 FLR。 通过本发明实施例, 采用获取原服务器需要迁入的目标服务器的配置信息; 将所 述配置信息写入所述目标服务器的内存数据库中, 并根据所述配置信息生成所述目标 服务器的配置文件; 将所述内存数据库以及所述配置文件上传到所述目标服务器进行 分发部署的技术方案, 解决了相关技术中, 元数据服务器损坏或服务器位置变动导致 业务不能正常运行的问题, 能够很好的减少人为操作的失误, 缩短了迁移所需要的时 间, 提高了迁移效率。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1为根据相关技术的分布式文件系统 DTS与 FLR合设时的系统架构图; 图 2为根据相关技术的分布式文件系统 DTS与 FLR分设时的另一系统架构图; 图 3为根据本发明实施例的元数据服务器的迁移处理方法的流程图; 图 4为根据本发明实施例的元数据服务器的迁移处理装置的结构框图; 图 5为根据本发明实施例的元数据服务器的迁移处理装置的另一结构框图; 图 6为根据本发明优选实施例的元数据服务器的迁移系统的架构示意图; 图 7为根据本发明优选实施例的离线系统的元数据服务器迁移的流程图; 图 8为根据本发明优选实施例的在线系统迁移备用 DTS的流程图; 图 9为根据本发明优选实施例的在线系统迁移主备用 FLR的流程图; 以及 图 10为根据本发明优选实施例的在线系统迁移备用 FLR的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 3为根据本发明实施例的元数据服务器的迁移处理方法的流程图。如图 3所示, 该方法包括: 步骤 S302至步骤 S306, The present invention relates to the field of data storage, and more particularly to a migration processing method and apparatus for a metadata server. BACKGROUND OF THE INVENTION With the explosion of unstructured data, distributed file systems have entered a golden age of development. From high-performance computers to data centers, from data sharing to Internet applications, distributed file systems have penetrated into every aspect of data applications. For most distributed file systems, however, metadata and data are usually separated, that is, control flow and data flow are separated, resulting in higher system scalability. Therefore, metadata management is crucial. The distributed file system includes the following types of servers: Directory Tree Server (DTS), File Locate Register (FLR), File Access Client (FAC), and File Access Server (referred to as FAS;). DTS is primarily responsible for data configuration and management and managing file namespaces. FLR is primarily responsible for the data block distribution and management of files. The FAC is the agent that the application accesses the file system and is primarily responsible for providing a common file manipulation interface to the application. FAS is where the user data is actually stored in the file system. The system architecture of the distributed file system includes two cases (1) as shown in Figure 1, DTS and FLR are combined on one server; (2) As shown in Figure 2, DTS and FLR are located on different servers. In actual applications, the above-mentioned metadata server generates faults or changes in the equipment room for various reasons. If the metadata cannot be efficiently migrated to other servers, the smooth operation of the service will be affected. At present, for the problem that the metadata server is damaged or the server location is changed in the related technology, the metadata cannot be efficiently migrated to other servers, and the service cannot be operated normally. Currently, an effective solution has not been proposed. SUMMARY OF THE INVENTION The embodiments of the present invention provide a migration processing method and apparatus for a metadata server, so as to at least solve the related art, after the metadata server is damaged or the server location is changed, the metadata cannot be efficiently migrated to other servers, and the service is not normal. Running problems. According to an embodiment of the present invention, a migration processing method of a metadata server is provided, including: acquiring configuration information of a target server that the original server needs to move in; writing the configuration information to an in-memory database of the target server, and Generating a configuration file of the target server according to the configuration information; uploading the memory database and the configuration file to the target server for distribution and deployment. Preferably, obtaining the configuration information of the target server that the original server needs to move in, including: obtaining, from the foregoing original server, the original system information of the distributed file system where the original server is located, and the user configuration migration information determined according to the migration scenario, where Different migration scenarios correspond to different user configuration migration information; the configuration information is determined according to the original system information and the user configuration migration information. Preferably, the foregoing migration scenario includes at least one of the following: the active and standby DTSs are all migrated, only the standby DTS is migrated, the active and standby FLRs are all migrated, and only the standby FLR is migrated. Preferably, before the foregoing in-memory database and the foregoing configuration file are uploaded to the target server for distribution and deployment, the method further includes: acquiring an operation state of the original server; and constructing a DTS version file when the running state is offline; Uploaded to the target server, where the target server performs subsequent operations by using the DTS version file. Preferably, the method further includes: when the operating state is online, if the target server IP address changes, the communication process associated with the target server is dynamically switched to the changed IP address. Preferably, after the foregoing in-memory database and the foregoing configuration file are uploaded to the target server for distribution and deployment, the method includes: when the running state is offline, first starting the primary DTS version file in the target server, and waiting for the primary DTS version file. After the startup is successful, at least one of the following version files is started: an alternate DTS version file, a primary standby FLR version file, a file access client FAC version file, and a file access server FAS version file; when the above running state is online, at the above target At least one of the following is started in the server: the above-mentioned standby DTS version file, the above-mentioned primary and backup FLR version files, and the above-mentioned standby FLR version file. Preferably, after the foregoing in-memory database and the foregoing configuration file are uploaded to the target server for distribution and deployment, the method further includes: verifying whether the migration is successful; when the migration fails, performing a rollback operation, and clearing the intermediate file of the migration process. According to another embodiment of the present invention, a migration processing apparatus for a metadata server is provided, including: an obtaining module configured to acquire configuration information of a target server that the original server needs to move in; a writing module configured to The configuration information is written into the in-memory database of the target server; the generating module is configured to generate a configuration file of the target server according to the configuration information; and the uploading module is configured to upload the in-memory database and the configuration file to the target server for distribution and deployment. Preferably, the obtaining module includes: an obtaining unit, configured to acquire, from the original server, original system information of the distributed file system where the original server is located, and user configuration migration information determined according to the migration scenario, where different migration scenarios Corresponding to different user configuration migration information; the determining unit is configured to determine the configuration information according to the original system information and the user configuration migration information. Preferably, the acquiring unit is configured to acquire the user configuration migration information when the migration scenario includes at least one of the following: the primary and backup DTSs are migrated, only the standby DTS, the primary and secondary file location registers FLR are migrated, and only the standby is migrated. FLR. According to the embodiment of the present invention, the configuration information of the target server that the original server needs to be moved is obtained; the configuration information is written into the in-memory database of the target server, and the configuration file of the target server is generated according to the configuration information. And the technical solution for uploading the in-memory database and the configuration file to the target server for distribution and deployment, and solving the problem that the metadata server is damaged or the server location is changed, causing the service to fail to operate normally, and the problem is good. Reducing human error, shortening the time required for migration and improving migration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system architecture diagram of a distributed file system DTS and FLR according to the related art; FIG. 2 is another system architecture diagram of a distributed file system DTS and FLR according to the related art; 3 is a flowchart of a migration processing method of a metadata server according to an embodiment of the present invention; FIG. 4 is a structural block diagram of a migration processing apparatus of a metadata server according to an embodiment of the present invention; FIG. FIG. 6 is a schematic structural diagram of a migration system of a metadata server according to a preferred embodiment of the present invention; FIG. 7 is a metadata server migration of an offline system according to a preferred embodiment of the present invention; Figure 8 is a flow diagram of an online system migration standby DTS in accordance with a preferred embodiment of the present invention; Figure 9 is a flow diagram of an online system migration primary standby FLR in accordance with a preferred embodiment of the present invention; 10 is a flow diagram of an online system migration standby FLR in accordance with a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. FIG. 3 is a flowchart of a migration processing method of a metadata server according to an embodiment of the present invention. As shown in FIG. 3, the method includes: Step S302 to Step S306,
S302: 获取原服务器需要迁入的目标服务器的配置信息; 在此步骤中, 配置信息的来源包含两个途径: 从上述原服务器中获取的该原服务 器所在分布式文件系统的原系统信息; 根据迁移场景确定的用户配置迁移信息。其中, 用户选择不同的迁移场景, 就对应着不同的用户配置迁移信息。 在获得上述原系统信 息和用户配置迁移信息后, 客户端根据获得的该原系统信息和用户配置迁移信息来确 定最终需要迁移到目标服务器中的配置信息。 S302: Obtain configuration information of the target server that the original server needs to move in; in this step, the source of the configuration information includes two ways: the original system information of the distributed file system of the original server obtained from the foregoing original server; User configuration migration information determined by the migration scenario. The user selects different migration scenarios and corresponds to different user configuration migration information. After obtaining the original system information and the user configuration migration information, the client determines the configuration information that needs to be migrated to the target server according to the obtained original system information and the user configuration migration information.
S304: 将上述配置信息写入目标服务器的内存数据库中, 并根据上述配置信息生 成上述目标服务器的配置文件; 该内存数据库可以为: 企业为服务器配置的内存数据 库, 但不限于此。 S304: Write the foregoing configuration information to the in-memory database of the target server, and generate a configuration file of the target server according to the configuration information. The in-memory database may be: an in-memory database configured by the enterprise for the server, but is not limited thereto.
S306: 将上述内存数据库以及上述配置文件上传到目标服务器进行分发部署。 在该步骤之前, 客户端还需要获取上述原服务器的运行状态, 根据获得的运行状 态, 继而执行下面的操作: 当上述获取的运行状态为离线状态时, 构造 DTS版本文件; 将上述 DTS版本文 件上传至上述目标服务器中, 其中, 上述目标服务器利用上述 DTS版本文件执行后续 操作。 即当上述运行状态时离线状态时, 最终是需要将上述内存数据库、 上述配置文 件以及上述构造成功的 DTS版本文件都上传到目标服务器。 当获取的上述运行状态为在线状态时, 如果上述目标服务器 IP地址发生变化, 将 与上述目标服务器相关联的通信进程动态切换至变化后的 IP地址。否则将影响后续的 目标服务器的配置过程。 在上述各个步骤中, 客户端首先通过两个途径获得需要迁入的目标服务器的配置 信息, 这两个途径, 一个是从上述原服务器中获取的该原服务器所在分布式文件系统 的原系统信息; 另一个是根据迁移场景确定的用户配置迁移信息。 在获取完上述配置 信息后, 将上述配置信息写入到目标服务器的内存数据库中, 继而根据写入的配置信 息生成后续目标服务器配置所需的配置文件, 最后将上述内存数据库和配置文件上传 到目标服务器中(如果原服务器的运行状态为离线状态的话, 还需要上传 DTS版本文 件), 目标服务器根据上述接收到的内容进行分发部署,这样就完成了元数据从原服务 器迁移到目标服务器的过程。 采用这样的技术方案, 自动化迁移 DTS服务器或 FLR 服务器元数据到其他服务器, 能够很好的解决元数据服务器损坏或服务器位置变动等 问题, 保证业务的正常运行。 需要说明的是, 在迁移前后, DTS与 FLR可以合设在一个服务器上, 也可以分设 在不同服务器上。 在本实施例中, 迁移场景包括: 主备 DTS都进行迁移、 只迁移备用 DTS、 主备 FLR都进行迁移、 只迁移备用 FLR。 本发明对上述技术方案的进一步改进在于, 迁移过程结束后, 即将上述内存数据 库以及上述配置文件上传到上述目标服务器进行分发部署之后, 还需要获取原服务器 的运行状态, 继而执行如下两个操作过程: 在上述运行状态为离线时, 首先在目标服务器中启动主用 DTS版本文件, 待上述 主用 DTS版本文件启动成功后, 再启动以下至少之一版本文件: 备用 DTS版本文件、 主备用 FLR版本文件、 文件访问客户端 FAC版本文件和文件访问服务器 FAS版本文 件; 在上述运行状态为在线时, 在目标服务器中启动以下至少之一: 上述备用 DTS版 本文件、 上述主备用 FLR版本文件、 上述备用 FLR版本文件。 本发明对上述技术方案的进一步改进在于, 迁移过程结束后, 即将上述内存数据 库以及上述配置文件上传到上述目标服务器进行分发部署之后, 还需要校验迁移是否 成功, 如果不成功即元数据迁移过程失败时, 则需要进行回退操作, 并清除迁移过程 中的中间文件。 图 4为根据本发明实施例的元数据服务器的迁移处理装置的结构框图。 如图 4所 示, 该装置包括: 获取模块 40, 设置为获取原服务器需要迁入的目标服务器的配置信息; 在该模块执行的操作中, 获取的配置信息来源于两个途径, 靠两个模块来实现, 如图 5所示, 即获取模块 40包括: 获取单元 400, 设置为从上述原服务器中获取该原服务器所在分布式文件系统的 原系统信息, 以及根据迁移场景确定的用户配置迁移信息, 其中, 不同的迁移场景对 应于不同的用户配置迁移信息, 其中, 获取单元 400获取的上述用户配置信息, 是需 要用户事先选择迁移场景的, 上述迁移场景主要包括以下至少之一: 主备 DTS都进行 迁移、 只迁移备用 DTS、 主备文件位置寄存器 FLR都进行迁移、 只迁移备用 FLR; 确定单元 402, 设置为根据上述原系统信息和上述用户配置迁移信息确定上述配 置信息。 写入模块 42,连接至获取模块 40,设置为将上述配置信息写入上述目标服务器的 内存数据库中; 生成模块 44,连接至写入模块 42,设置为根据上述配置信息生成目标服务器的配 置文件; 上传模块 46,连接至生成模块 44,设置为将上述内存数据库以及上述配置文件上 传到目标服务器进行分发部署。 通过上述各个模块的作用, 客户端首先获得需要迁入的目标服务器的配置信息, 在获取完上述配置信息后, 将上述配置信息写入到目标服务器的内存数据库中, 继而 根据写入的配置信息生成后续目标服务器配置所需的配置文件, 最后将上述内存数据 库和配置文件上传到目标服务器中,目标服务器根据上述接收到的内容进行分发部署, 这样就完成了元数据从原服务器迁移到目标服务器的过程。 采用这样的技术方案, 自 动化迁移 DTS服务器或 FLR服务器元数据到其他服务器, 能够很好的解决元数据服 务器损坏或服务器位置变动等问题, 保证业务的正常运行。 本实施例中涉及到的上述各个模块既可以通过软件来实现, 也可以通过相应地硬 件来实现。 例如, 上述各个模块均可以处在处理器中, 也可以是其中的至少两个模块 位于同一处理器中, 但不限于此, 具体根据实际情况确定。 为了更好地理解上述实施例中的服务器迁移的工作过程, 以下结合优选实施例详 细说明。 需要说明的是, 以下优选实施例的方案并不构成对本发明的限定。 具体地: 图 6为根据本发明优选实施例的元数据服务器的迁移系统的架构示意图。 如图 6 所示的客户端,批量监控管理整个迁移过程。本架构适用的迁移系统包括: DTS与 FLR 合设系统和 DTS与 FLR分设系统。 该方案适用的迁移场景包括: 主备 DTS都进行迁 移、只迁移备用 DTS、主备 FLR都进行迁移、只迁移备用 FLR。迁移后, DTS与 FLR 可以合设在一个服务器上, 也可以分设在不同服务器上。 客户端批量监控管理整个迁移过程, 具体步骤如下: 1: 客户端监控管理批量元数据服务器迁移过程; S306: Upload the foregoing in-memory database and the foregoing configuration file to a target server for distribution deployment. Before the step, the client also needs to obtain the running state of the original server, and according to the obtained running state, the following operations are performed: When the obtained running state is offline, the DTS version file is constructed; the DTS version file is Uploaded to the target server, where the target server performs subsequent operations by using the DTS version file. That is, when the above-mentioned operating state is offline, it is finally necessary to upload the above-mentioned in-memory database, the above-mentioned configuration file, and the above-configured DTS version file to the target server. When the obtained running state is the online state, if the target server IP address changes, the communication process associated with the target server is dynamically switched to the changed IP address. Otherwise it will affect the subsequent target server configuration process. In the above steps, the client first obtains the configuration information of the target server that needs to be moved in two ways, one of which is the distributed file system of the original server obtained from the original server. The original system information; the other is the user configuration migration information determined according to the migration scenario. After obtaining the above configuration information, the configuration information is written into the in-memory database of the target server, and then the configuration file required for the subsequent target server configuration is generated according to the written configuration information, and finally the above-mentioned in-memory database and configuration file are uploaded to In the target server (if the running status of the original server is offline, the DTS version file needs to be uploaded), and the target server distributes and distributes according to the received content, thus completing the process of migrating metadata from the original server to the target server. . With such a technical solution, the automatic migration of the DTS server or the FLR server metadata to other servers can well solve the problems of metadata server damage or server location changes, and ensure the normal operation of the service. It should be noted that before and after the migration, the DTS and the FLR can be combined on one server or on different servers. In this embodiment, the migration scenario includes: the active and standby DTSs are all migrated, only the standby DTS is migrated, the active and standby FLRs are all migrated, and only the standby FLR is migrated. The present invention further improves the foregoing technical solution, after the migration process is finished, after the foregoing in-memory database and the foregoing configuration file are uploaded to the target server for distribution and deployment, the operation state of the original server needs to be acquired, and then the following two operation processes are performed. When the running status is offline, first start the main DTS version file in the target server. After the above-mentioned main DTS version file is successfully started, start at least one of the following version files: Alternate DTS version file, main standby FLR version File, file access client FAC version file and file access server FAS version file; when the above running state is online, start at least one of the following in the target server: the above standby DTS version file, the above-mentioned primary standby FLR version file, the above standby FLR version file. A further improvement of the foregoing technical solution is that after the migration process is completed, after the foregoing in-memory database and the configuration file are uploaded to the target server for distribution and deployment, it is also required to verify whether the migration is successful, and if not, the metadata migration process is successful. In case of failure, a rollback operation is required and the intermediate files in the migration process are cleared. FIG. 4 is a structural block diagram of a migration processing apparatus of a metadata server according to an embodiment of the present invention. As shown in FIG. 4, the device includes: an obtaining module 40, configured to acquire configuration information of a target server that the original server needs to move in; In the operation performed by the module, the obtained configuration information is derived from two paths, and is implemented by two modules. As shown in FIG. 5, the obtaining module 40 includes: an obtaining unit 400, configured to acquire the original server. The original system information of the distributed file system where the original server is located, and the user configuration migration information determined according to the migration scenario, where different migration scenarios correspond to different user configuration migration information, where the user configuration information acquired by the obtaining unit 400 is The migration scenario is as follows: The migration scenario includes at least one of the following: the active and standby DTSs are migrated, only the standby DTS is migrated, the active and standby file location registers FLR are migrated, and only the standby FLR is migrated. It is configured to determine the configuration information according to the original system information and the user configuration migration information. The writing module 42 is connected to the obtaining module 40, and is configured to write the configuration information into the in-memory database of the target server; the generating module 44 is connected to the writing module 42 and configured to generate a configuration file of the target server according to the configuration information. The uploading module 46 is connected to the generating module 44, and is configured to upload the above-mentioned in-memory database and the above-mentioned configuration file to the target server for distribution and deployment. Through the functions of the above modules, the client first obtains the configuration information of the target server that needs to be moved in. After obtaining the configuration information, the configuration information is written into the in-memory database of the target server, and then according to the written configuration information. The configuration file required for the subsequent target server configuration is generated, and finally the above-mentioned in-memory database and configuration file are uploaded to the target server, and the target server is distributed and deployed according to the received content, thereby completing the migration of the metadata from the original server to the target server. the process of. With such a technical solution, the automatic migration of the DTS server or the FLR server metadata to other servers can well solve the problems of metadata server damage or server location changes, and ensure the normal operation of the service. The above various modules involved in this embodiment may be implemented by software or by corresponding hardware. For example, each of the above modules may be in the processor, or at least two of the modules may be located in the same processor, but are not limited thereto, and are determined according to actual conditions. In order to better understand the working process of the server migration in the above embodiment, the following detailed description will be given in conjunction with the preferred embodiments. It should be noted that the following preferred embodiments do not constitute a limitation of the present invention. Specifically, FIG. 6 is a schematic structural diagram of a migration system of a metadata server according to a preferred embodiment of the present invention. As shown in Figure 6, the client monitors the entire migration process in batches. The migration systems applicable to this architecture include: DTS and FLR Combined system and DTS and FLR separation system. The migration scenarios of the solution include: migration of the active and standby DTSs, migration of only the standby DTS, migration of the active and standby FLRs, and migration of only the standby FLR. After the migration, DTS and FLR can be combined on one server or on different servers. The client batch monitors and manages the entire migration process. The specific steps are as follows: 1: The client monitors and manages the batch metadata server migration process.
2: 从迁移服务器下拉元数据存盘文件(内存数据库中的文件)进行离线分析提取 数据; 2: Extracting data from the migration server by dropping the metadata storage file (the file in the in-memory database) for offline analysis;
3: 连接迁移目标服务器, 进行 socket建链; 3: Connect to the migration target server, and build the socket;
4: 用户选择迁移的场景, 同时配置目标服务器信息; 5: 在客户端向元数据存盘文件中写入目标服务器配置数据和生成配置文件; 4: The user selects the migrated scenario and configures the target server information at the same time; 5: Writes the target server configuration data and generates the configuration file to the metadata storage file on the client;
6: 从客户端向目标服务器上传构造完成的 DTS版本、 元数据存盘文件和配置文 件, 并进行自动分发部署; 6: Upload the constructed DTS version, metadata file and configuration file from the client to the target server, and perform automatic distribution and deployment;
7: 自动启动 DTS版本, 并进行人机命令脚本下载; 7: Automatically start the DTS version, and download the man-machine command script;
8: 升级元数据存盘文件, 将原元数据服务器中数据转换成目标服务器中元数据; 9: 自动设置服务器间通信进行动态切换; 8: Upgrade the metadata storage file, convert the data in the original metadata server into the metadata in the target server; 9: Automatically set the communication between the servers to dynamically switch;
10: 自动启动其它所有服务器版本; 10: Automatically launch all other server versions;
11: 迁移完成后, 查看客户端显示的机架图, 查看所有服务器是否在线; 12: 登入主用 DTS的 1502端口, 检测数据表、 基本读写功能是否正常; 13: 如果迁移失败, 则进行回退操作, 同时清除迁移过程中间文件。 在上述实施例中,服务器的迁移过程适用于离线系统和在线系统,下面详细说明: 对于离线系统: 步骤 A: 从元数据存盘文件中自动分析提取原有系统信息; 步骤 B: 连接迁移目标服务器, 进行 Socket建链; 步骤 c: 选择迁移场景, 输入迁移目标服务器信息, 自动构造迁移后的元数据存 盘文件和配置文件; 步骤 D: 自动构造 DTS版本文件; 步骤 E: 自动分发部署 DTS版本文件、构造完成后的元数据存盘文件和配置文件; 步骤 F: 自动停止 FLR、 FAC、 FAS版本; 步骤 G: 自动启动主用 DTS版本, 待主用 DTS版本启动成功, 自动启动其它所 有服务器版本; 步骤 H: 登入主用 DTS的 1502端口, 检测数据表、 基本读写功能是否正常。 若 不正常, 则进行回退操作。 对于在线系统: 步骤 A: 从元数据存盘文件中自动分析提取原有系统信息; 步骤 B: 连接迁移目标服务器, 进行 Socket建链; 步骤 C: 选择迁移场景, 输入迁移目标服务器信息, 自动构造配置文件; 步骤 D: 自动分发部署配置文件、 Boot文件和文件系统元数据存盘文件; 步骤 E: 如果迁移目标服务器 IP发生变动, 服务器间通信进行动态切换; 步骤 F: 自动启动服务器版本; 步骤 G: 登入主用 DTS的 1502端口, 检测数据表、 基本读写功能是否正常。 若 不正常, 则进行回退操作。 由于在线系统和离线系统各自迁移的服务器的类型有所不同, 执行步骤也会稍有 区别, 以下结合下面的优选实施例进行详细说明: 对于在离线系统中, 主备用 DTS都进行迁移。 图 7为根据本发明优选实施例的离 线系统的元数据服务器迁移的流程图。 如图 7所示, 该流程包括以下处理步骤: 11: After the migration is complete, check the rack diagram displayed by the client to see if all the servers are online. 12: Log in to port 1502 of the active DTS, check whether the data table and basic read/write functions are normal. 13: If the migration fails, proceed Roll back the operation and clear the middle file of the migration process. In the above embodiment, the migration process of the server is applicable to the offline system and the online system. The following details: For the offline system: Step A: Automatically analyze and extract the original system information from the metadata storage file; Step B: Connect the migration target server , Socket build chain; Step c: Select the migration scenario, enter the migration target server information, and automatically construct the migrated metadata storage file and configuration file. Step D: Automatically construct the DTS version file; Step E: Automatically distribute the deployed DTS version file, and construct the completed element Data save file and configuration file; Step F: Automatically stop FLR, FAC, FAS version; Step G: Automatically start the main DTS version, and start the DTS version successfully, automatically start all other server versions; Step H: Login to the main use Port 1502 of DTS, check data table, basic read and write function is normal. If it is not normal, perform a rollback operation. For the online system: Step A: Automatically analyze and extract the original system information from the metadata storage file; Step B: Connect the migration target server to perform Socket chain establishment; Step C: Select the migration scenario, enter the migration target server information, and automatically construct the configuration. File; Step D: Automatically distribute the deployment configuration file, Boot file, and file system metadata file; Step E: If the migration target server IP changes, the server-to-server communication is dynamically switched; Step F: Automatically start the server version; Step G: Log in to port 1502 of the main DTS to check whether the data table and basic read/write functions are normal. If it is not normal, perform a rollback operation. Since the types of servers migrated by the online system and the offline system are different, the execution steps are also slightly different. The following is described in detail in conjunction with the following preferred embodiments: For the offline system, the primary standby DTS is migrated. 7 is a flow diagram of a metadata server migration of an offline system in accordance with a preferred embodiment of the present invention. As shown in Figure 7, the process includes the following processing steps:
S700: 从主用 DTS 数据存盘文件中提取原系统数据: DTS、 FLR、 FAC、 FAS 的信息; S702: 在客户端离线向元数据存盘文件中写入迁移目标服务器的配置信息, 包括 模块 IP信息、 版本表信息等; S700: extracting original system data from the main DTS data storage file: information of DTS, FLR, FAC, FAS; S702: Write configuration information of the migration target server, including module IP information, version table information, and the like, to the metadata storage file on the client offline;
S704: 自动构造 DTS的版本文件和配置文件; S704: automatically constructing a version file and a configuration file of the DTS;
S706: 利用脚本实现安全外壳 (Secure Shell, 简称为 SSH )协议自动登入到原 FLR、 FAC、 FAS服务器, 修改配置文件; S706: Using a script to implement a Secure Shell (SSH) protocol, automatically log in to the original FLR, FAC, FAS server, and modify the configuration file;
S708:从客户端分别向迁移目标主备 DTS服务器上传构造后的 DTS版本和配置 文件; S708: Upload the constructed DTS version and configuration file from the client to the migration target active and standby DTS servers respectively.
S710: 从客户端向迁移目标主用 DTS上传修改后的元数据存盘文件, 利用数据 同步同步到备用 DTS; S712: 将上传后的文件在迁移目标主备用 DTS服务器上利用脚本进行自动分发 部署; S710: uploading the modified metadata storage file from the client to the migration target DTS, and synchronizing to the standby DTS by using the data synchronization; S712: automatically uploading and uploading the uploaded file on the migration target primary standby DTS server by using a script;
S714: 利用脚本自动停止所有 FLR、 FAC、 FAS的版本运行; S716: 利用脚本自动启用主用 DTS版本; S714: automatically stop all versions of FLR, FAC, and FAS by using a script; S716: automatically enable the active DTS version by using a script;
S718: 主用 DTS版本启动是否成功, 如果是, 转步骤 S720, 否则转步骤 S714; S720: 待主用 DTS版本启动成功后, 自动启动备用 DTS以及 FLR、 FAC、 FAS 的版本。 S718: Whether the primary DTS version is successfully started, if yes, go to step S720, otherwise go to step S714; S720: After the primary DTS version is successfully started, the standby DTS and the FLR, FAC, and FAS versions are automatically started.
S722: 待所有版本启动成功后, 登入主用 DTS的 1502端口; S724: 检测数据表是否正常, 如果是, 转步骤 S726, 否则转步骤 S730; S726:校验基本读写功能是否正常。若不正常转步骤 S730,若正常,转步骤 S728; S728: 迁移成功; S722: After all the versions are successfully started, log in to the port 1502 of the active DTS; S724: check whether the data table is normal, if yes, go to step S726, otherwise go to step S730; S726: check whether the basic read/write function is normal. If not, go to step S730, if it is normal, go to step S728; S728: the migration is successful;
S730: 迁移失败, 进行回退操作, 清除中间文件。 对于在线系统中, 只迁移备用 DTS: 图 8为根据本发明优选实施例的在线系统迁移备用 DTS的流程图。 如图 8所示: S800: 从主用 DTS数据存盘文件中离线提取 DTS、 FLR、 FAC、 FAS的信息; S802: 利用人机命令在线向元数据存盘文件中写入迁移目标服务器的配置信息, 如 IP配置等; S730: The migration fails, the rollback operation is performed, and the intermediate file is cleared. For an online system, only the alternate DTS is migrated: Figure 8 is a flow diagram of an online system migration standby DTS in accordance with a preferred embodiment of the present invention. As shown in Figure 8: S800: offline extraction of DTS, FLR, FAC, FAS information from the main DTS data file; S802: using the man-machine command to write configuration information of the migration target server, such as IP configuration, to the metadata storage file online;
S804: 自动构造 DTS备机的配置文件; S804: automatically construct a configuration file of the DTS standby machine;
S806: 上传 DTS备机配置文件和 BOOT版本启动文件到迁移目标服务器; S808: 利用脚本实现 SSH 自动登入目标迁移系统, 修改主用 DTS、 FLR、 FAC 和 FAS的配置文件; S806: uploading the DTS standby configuration file and the BOOT version startup file to the migration target server; S808: using a script to implement SSH automatic login target migration system, modifying the configuration files of the main DTS, FLR, FAC, and FAS;
S810:判断原备用 DTS是否在线,如果是,则进入步骤 S812,否则转入步骤 S814; S812: 自动停止原备用 DTS版本; S810: determining whether the original standby DTS is online, if yes, proceeding to step S812, otherwise proceeding to step S814; S812: automatically stopping the original standby DTS version;
S814: 判断迁移目标备用 DTS的 IP地址是否变动, 如果是, 则进入步骤 S816, 否则转入步骤 S818; S814: determining whether the IP address of the migration target standby DTS is changed, if yes, proceeding to step S816, otherwise proceeding to step S818;
S816: 通知主用 DTS, 利用人机命令实现与主用 DTS、 FLR、 FAC、 FAS间通信 动态切换, 切换到新的 IP; S816: Notifying the main DTS, using the man-machine command to realize dynamic communication with the main DTS, FLR, FAC, FAS, and switching to a new IP;
S818:启用迁移目标备用 DTS的 BOOT文件,等待启动备用 DTS版本启动成功; S818: Enable the BOOT file of the migration target standby DTS, and wait for the startup standby DTS version to be successfully started;
S820: 待所有版本启动成功后, 登入主用 DTS的 1502端口; S822: 检测数据表是否正常。如果正常, 则进入步骤 S824, 否则进入步骤 S828; S820: After all the versions are successfully started, log in to the port 1502 of the active DTS; S822: Check whether the data table is normal. If it is normal, proceed to step S824, otherwise proceed to step S828;
S824: 校验基本读写功能是否正常, 如果正常, 则进入步骤 S826, 否则, 转入 步骤 S828; S824: Verify that the basic read/write function is normal, if it is normal, proceed to step S826, otherwise, go to step S828;
S826: 迁移成功; S826: The migration is successful;
S828: 迁移失败, 进行回退操作, 清除中间文件。 对于在线系统中, 迁移主备 FLR: 图 9为根据本发明优选实施例的在线系统迁移主备用 FLR的流程图。如图 9所示: S828: The migration fails, the rollback operation is performed, and the intermediate file is cleared. For an online system, migrating the active and standby FLRs: Figure 9 is a flow diagram of an online system migration primary standby FLR in accordance with a preferred embodiment of the present invention. As shown in Figure 9:
S900: 从元数据存盘文件中离线导出 DTS、 FLR、 FAC、 FAS相关信息; S900: offlinely export DTS, FLR, FAC, and FAS related information from the metadata storage file;
S902: 利用人机命令在线修改 FLR模块信息到主用 DTS的元数据存盘文件中, 数据同步到备用 DTS的元数据存盘文件中; S904: 根据目标迁移系统信息, 自动构建 FLR配置文件; S902: Modify the FLR module information to the metadata storage file of the primary DTS by using the man-machine command, and synchronize the data to the metadata storage file of the standby DTS; S904: automatically construct an FLR configuration file according to the target migration system information;
S906: 利用脚本实现 SSH自动登入到迁移目标系统, 自动修改 DTS、 FAC、 FAS 配置文件; S906: Using a script to implement SSH to automatically log in to the migration target system, and automatically modify the DTS, FAC, and FAS configuration files;
S908: 上传文件系统元数据存盘文件到 FLR主机, 上传 BOOT版本启动文件和 配置文件到主备 FLR, 并进行自动分发部署; S908: upload the file system metadata file to the FLR host, upload the BOOT version startup file and configuration file to the active and standby FLR, and perform automatic distribution and deployment;
S910: 判断主用或备用 FLR的 IP是否发生变化, 如果是, 则进入步骤 S912, 否则, 转入步骤 S914。 S910: Determine whether the IP of the active or standby FLR changes. If yes, go to step S912; otherwise, go to step S914.
S912: 通知主用 DTS, 利用人机命令实现与 DTS、 FAC、 FAS间通信进行动态切 换, 切换到新的 IP地址; S914: 脚本自动启动主用 FLR的 BOOT文件, 待主用 FLR启动成功后, 再自动 启动备用 FLR的 BOOT文件; S912: Notifying the main DTS, using the man-machine command to realize dynamic communication with the DTS, the FAC, and the FAS, and switching to the new IP address; S914: The script automatically starts the BOOT file of the main FLR, after the main FLR is successfully started. , then automatically start the standby FLR BOOT file;
S916: 待所有版本启动成功后, 登入主用 DTS的 1502端口; S916: After all versions are successfully started, log in to port 1502 of the active DTS;
S918: 检测数据表是否正常。 如果是, 则进入步骤 S920, 否则转入步骤 S924; S918: Check if the data table is normal. If yes, go to step S920, otherwise go to step S924;
S920: 校验基本读写功能是否正常, 如果是, 则进入步骤 S922, 否则转入步骤 S924; S920: Verify that the basic read/write function is normal, if yes, proceed to step S922, otherwise proceed to step S924;
S922: 迁移成功; S922: The migration is successful;
S924: 迁移失败, 进行回滚操作, 清除中间文件。 对于在线系统中, 迁移备用 FLR: 图 10为根据本发明优选实施例的在线系统迁移备用 FLR的流程图。如图 10所示: S1002: 从元数据存盘文件中离线导出 DTS、 FLR, FAC、 FAS相关信息; S924: The migration fails, the rollback operation is performed, and the intermediate file is cleared. For an online system, migration standby FLR: Figure 10 is a flow diagram of an online system migration standby FLR in accordance with a preferred embodiment of the present invention. As shown in Figure 10: S1002: Offline DTS, FLR, FAC, FAS related information is exported from the metadata storage file;
S1004: 利用人机命令在线修改 FLR模块信息到主用 DTS的元数据存盘文件中, 数据同步到备用 DTS的元数据存盘文件中; S1004: Using the man-machine command to modify the FLR module information online to the metadata storage file of the main DTS, and the data is synchronized to the metadata storage file of the standby DTS;
S1006: 根据目标迁移系统信息, 自动构建备用 FLR配置文件; S1006: automatically construct an alternate FLR configuration file according to the target migration system information;
S1008:利用脚本实现 SSH自动登入到迁移目标系统, 自动修改 DTS、主用 FLR、 FAC、 FAS配置文件; S1010: 上传 BOOT启动文件和配置文件到 FLR备机, 并进行自动部署; S1008: Using the script to implement SSH automatic login to the migration target system, automatically modifying the DTS, the main FLR, FAC, and FAS configuration files; S1010: Upload the BOOT startup file and configuration file to the FLR standby machine, and perform automatic deployment;
S1010: 判断备用 FLR的 IP是否发生变化, 如果是, 则进入步骤 S1014, 否贝 U, 进入步骤 S1016; S1010: determining whether the IP of the standby FLR changes, if yes, proceeding to step S1014, if no, proceed to step S1016;
S1014: 通知主用 DTS, 利用人机命令实现与 DTS、 主用 FLR、 FAC、 FAS间通 信进行动态切换, 切换到新 IP地址; S1014: Notifying the main DTS, using the man-machine command to dynamically communicate with the DTS, the primary FLR, the FAC, and the FAS, and switching to the new IP address;
S1016: 利用脚本自动启动备用 FLR的 BOOT文件; S1016: Use a script to automatically start the BOOT file of the standby FLR;
S1018: 待所有版本启动成功后, 登入主用 DTS的 1502端口; S1018: After all the versions are successfully started, log in to port 1502 of the active DTS.
S1020:检测数据表是否正常。如果是,则进入步骤 S1022,否则转入步骤 S1026; S1020: Check if the data table is normal. If yes, go to step S1022, otherwise go to step S1026;
S1022: 校验基本读写功能是否正常, 如果是, 则进入步骤 S1024, 否则转入步 骤 S1026; S1022: Verify that the basic read/write function is normal, if yes, proceed to step S1024, otherwise proceed to step S1026;
S1024: 迁移成功; S1024: The migration is successful;
S1026: 迁移失败, 进行回滚操作, 清除中间文件。 显然, 本领域的技术人员应该明白, 上述的本发明的各装置或各步骤可以用通用 的计算装置来实现。 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上。 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行。 在某些情况下, 可以以不同于此处的顺 序执行所示出或描述的步骤。 也可以将它们分别制作成各个集成电路模块, 或者将它 们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何 特定的硬件和软件结合。 以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技术人 员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 本发明提供的上述技术方案, 可以应用于元数据服务器的迁移过程中, 采用获取 原服务器需要迁入的目标服务器的配置信息; 将所述配置信息写入所述目标服务器的 内存数据库中, 并根据所述配置信息生成所述目标服务器的配置文件; 将所述内存数 据库以及所述配置文件上传到所述目标服务器进行分发部署的技术方案, 解决了相关 技术中, 元数据服务器损坏或服务器位置变动导致业务不能正常运行的问题, 能够很 好的减少人为操作的失误, 缩短了迁移所需要的时间, 提高了迁移效率。 S1026: The migration failed, the rollback operation was performed, and the intermediate file was cleared. It will be apparent to those skilled in the art that the various devices or steps of the present invention described above can be implemented with a general purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented in program code executable by a computing device such that they may be stored in a storage device for execution by the computing device. In some cases, the steps shown or described may be performed in an order different than that described herein. They can also be fabricated separately into individual integrated circuit modules, or a plurality of modules or steps thereof can be implemented as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. INDUSTRIAL APPLICABILITY The above technical solution provided by the present invention can be applied to a migration process of a metadata server, and adopts configuration information of acquiring a target server that the original server needs to move in; and writing the configuration information to an in-memory database of the target server. And generating a configuration file of the target server according to the configuration information; uploading the in-memory database and the configuration file to the target server for distribution and deployment, and solving related In the technology, the problem that the metadata server is damaged or the server location changes cause the service to fail to operate normally, the error of the human operation can be reduced, the time required for the migration is shortened, and the migration efficiency is improved.

Claims

权 利 要 求 书 Claim
1. 一种元数据服务器的迁移处理方法, 包括: A migration processing method for a metadata server, comprising:
获取原服务器需要迁入的目标服务器的配置信息;  Obtain configuration information of the target server that the original server needs to move in;
将所述配置信息写入所述目标服务器的内存数据库中, 并根据所述配置信 息生成所述目标服务器的配置文件;  Writing the configuration information into an in-memory database of the target server, and generating a configuration file of the target server according to the configuration information;
将所述内存数据库以及所述配置文件上传到所述目标服务器进行分发部 署。  The in-memory database and the configuration file are uploaded to the target server for distribution.
2. 根据权利要求 1所述的方法, 其中, 获取原服务器需要迁入的目标服务器的配 置信息, 包括: 2. The method according to claim 1, wherein the obtaining configuration information of the target server that the original server needs to move in comprises:
从所述原服务器中获取该原服务器所在分布式文件系统的原系统信息, 以 及根据迁移场景确定的用户配置迁移信息, 其中, 不同的迁移场景对应于不同 的用户配置迁移信息;  Obtaining, from the original server, the original system information of the distributed file system where the original server is located, and the user configuration migration information determined according to the migration scenario, where different migration scenarios correspond to different user configuration migration information;
根据所述原系统信息和所述用户配置迁移信息确定所述配置信息。  The configuration information is determined according to the original system information and the user configuration migration information.
3. 根据权利要求 2所述的方法, 其中, 所述迁移场景包括以下至少之一: 3. The method according to claim 2, wherein the migration scenario comprises at least one of the following:
主备目录树服务器 DTS都进行迁移、 只迁移备用 DTS、 主备文件位置寄 存器 FLR都进行迁移、 只迁移备用 FLR。  The active and standby directory server DTSs are migrated, only the standby DTS is migrated, and the active and standby file location registers FLR are migrated and only the standby FLR is migrated.
4. 根据权利要求 1所述的方法, 其中, 将所述内存数据库以及所述配置文件上传 到所述目标服务器进行分发部署之前, 还包括: The method according to claim 1, wherein before the uploading the in-memory database and the configuration file to the target server for distribution and deployment, the method further includes:
获取所述原服务器的运行状态;  Obtaining an operating status of the original server;
在所述运行状态为离线时, 构造 DTS版本文件;  Constructing a DTS version file when the running state is offline;
将所述 DTS版本文件上传至所述目标服务器中, 其中,所述目标服务器利 用所述 DTS版本文件执行后续操作。  Uploading the DTS version file to the target server, wherein the target server performs subsequent operations by using the DTS version file.
5. 根据权利要求 4所述的方法, 其中, 还包括: 在所述运行状态为在线时, 如果所述目标服务器 IP地址发生变化,将与所 述目标服务器相关联的通信进程动态切换至变化后的 IP地址。 根据权利要求 4所述的方法, 其中, 将所述内存数据库以及所述配置文件上传 到所述目标服务器进行分发部署之后包括: 5. The method according to claim 4, further comprising: when the operating state is online, dynamically changing a communication process associated with the target server to a change if the target server IP address changes After the IP address. The method according to claim 4, wherein after uploading the in-memory database and the configuration file to the target server for distribution deployment, the method comprises:
在所述运行状态为离线时,首先在所述目标服务器中启动主用 DTS版本文 件, 待所述主用 DTS版本文件启动成功后, 再启动以下至少之一版本文件: 备 用 DTS版本文件、 主备用 FLR版本文件、 文件访问客户端 FAC版本文件和文 件访问服务器 FAS版本文件;  When the running state is offline, firstly, the main DTS version file is started in the target server, and after the main DTS version file is successfully started, at least one of the following version files is started: the standby DTS version file, the main Alternate FLR version file, file access client FAC version file and file access server FAS version file;
在所述运行状态为在线时, 在所述目标服务器中启动以下至少之一: 所述 备用 DTS版本文件、 所述主备用 FLR版本文件、 所述备用 FLR版本文件。 根据权利要求 1至 6中任一项所述的方法, 其中, 将所述内存数据库以及所述 配置文件上传到目标服务器进行分发部署之后, 所述方法还包括:  When the running state is online, at least one of the following is started in the target server: the standby DTS version file, the primary standby FLR version file, and the standby FLR version file. The method according to any one of claims 1 to 6, wherein after the in-memory database and the configuration file are uploaded to a target server for distribution and deployment, the method further includes:
校验迁移是否成功;  Verify that the migration was successful;
在迁移失败时, 进行回退操作, 并清除迁移过程中间文件。 一种元数据服务器的迁移处理装置, 包括:  When the migration fails, a rollback operation is performed and the intermediate files of the migration process are cleared. A migration processing device for a metadata server includes:
获取模块, 用于获取原服务器需要迁入的目标服务器的配置信息; 写入模块, 用于将所述配置信息写入所述目标服务器的内存数据库中; 生成模块, 用于根据所述配置信息生成目标服务器的配置文件; 上传模块, 用于将所述内存数据库以及所述配置文件上传到目标服务器进 行分发部署。 根据权利要求 8所述的装置, 其中, 所述获取模块, 包括: 获取单元, 用于从所述原服务器中获取该原服务器所在分布式文件系统的 原系统信息, 以及根据迁移场景确定的用户配置迁移信息, 其中, 不同的迁移 场景对应于不同的用户配置迁移信息;  An obtaining module, configured to acquire configuration information of a target server that the original server needs to move in; a writing module, configured to write the configuration information into an in-memory database of the target server; and a generating module, configured to use, according to the configuration information, Generating a configuration file of the target server; uploading a module, configured to upload the in-memory database and the configuration file to a target server for distribution deployment. The device according to claim 8, wherein the obtaining module comprises: an obtaining unit, configured to acquire, from the original server, original system information of a distributed file system where the original server is located, and a user determined according to the migration scenario Configure the migration information, where different migration scenarios correspond to different user configuration migration information.
确定单元, 用于根据所述原系统信息和所述用户配置迁移信息确定所述配 置信息。 根据权利要求 9所述的装置, 其中, 所述获取单元, 用于在所述迁移场景包括 以下至少之一时获取所述用户配置迁移信息:  And a determining unit, configured to determine the configuration information according to the original system information and the user configuration migration information. The device according to claim 9, wherein the acquiring unit is configured to acquire the user configuration migration information when the migration scenario includes at least one of the following:
主备目录树服务器 DTS都进行迁移、 只迁移备用 DTS、 主备文件位置寄 存器 FLR都进行迁移、 只迁移备用 FLR。  The active and standby directory server DTSs are migrated, only the standby DTS is migrated, and the active and standby file location registers FLR are migrated and only the standby FLR is migrated.
PCT/CN2014/074849 2013-11-04 2014-04-04 Metadata server migration processing method and device WO2014180207A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310538937.XA CN104615598B (en) 2013-11-04 2013-11-04 The emigration processing method and device of meta data server
CN201310538937.X 2013-11-04

Publications (1)

Publication Number Publication Date
WO2014180207A1 true WO2014180207A1 (en) 2014-11-13

Family

ID=51866687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074849 WO2014180207A1 (en) 2013-11-04 2014-04-04 Metadata server migration processing method and device

Country Status (2)

Country Link
CN (1) CN104615598B (en)
WO (1) WO2014180207A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683826A (en) * 2018-12-26 2019-04-26 北京百度网讯科技有限公司 Expansion method and device for distributed memory system
CN110008269A (en) * 2019-03-26 2019-07-12 阿里巴巴集团控股有限公司 A kind of data reflow method, device, equipment and system
CN112684982A (en) * 2020-12-25 2021-04-20 北京浪潮数据技术有限公司 Data migration method, system, equipment and computer readable storage medium
CN115129661A (en) * 2022-08-30 2022-09-30 东方电气风电股份有限公司 Data migration method and system after power-off restart of wind field monitoring system server

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775810A (en) * 2016-11-16 2017-05-31 深圳市中博睿存科技有限公司 The wiring method and device of configuration file in distributed file system
CN112181899A (en) * 2019-07-05 2021-01-05 中兴通讯股份有限公司 Metadata processing method and device and computer readable storage medium
CN114650319B (en) * 2020-12-17 2023-11-03 中移(苏州)软件技术有限公司 Resource migration method, device, server and storage medium
CN113225576B (en) * 2021-04-30 2023-03-21 广州虎牙科技有限公司 Service migration system and method based on live broadcast platform edge computing scene
CN115473815B (en) * 2022-08-23 2024-01-19 浪潮通信信息系统有限公司 Service migration system and method based on equipment change

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206587A (en) * 2006-12-19 2008-06-25 国际商业机器公司 System and method for migration of single root stateless virtual functions
CN103019847A (en) * 2012-12-24 2013-04-03 创新科存储技术(深圳)有限公司 Method and system for migrating data of virtual machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130185094A1 (en) * 2012-01-18 2013-07-18 Aviana Global Technologies, Inc. Automated ICD-9 To ICD-10 Code Conversion System
CN103078944B (en) * 2013-01-08 2016-04-06 赛凡信息科技(厦门)有限公司 Based on the data center architecture of distributed symmetric file system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206587A (en) * 2006-12-19 2008-06-25 国际商业机器公司 System and method for migration of single root stateless virtual functions
CN103019847A (en) * 2012-12-24 2013-04-03 创新科存储技术(深圳)有限公司 Method and system for migrating data of virtual machine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683826A (en) * 2018-12-26 2019-04-26 北京百度网讯科技有限公司 Expansion method and device for distributed memory system
CN109683826B (en) * 2018-12-26 2023-08-29 北京百度网讯科技有限公司 Capacity expansion method and device for distributed storage system
CN110008269A (en) * 2019-03-26 2019-07-12 阿里巴巴集团控股有限公司 A kind of data reflow method, device, equipment and system
CN110008269B (en) * 2019-03-26 2023-08-01 创新先进技术有限公司 Data reflow method, device, equipment and system
CN112684982A (en) * 2020-12-25 2021-04-20 北京浪潮数据技术有限公司 Data migration method, system, equipment and computer readable storage medium
CN112684982B (en) * 2020-12-25 2023-12-22 北京浪潮数据技术有限公司 Data migration method, system, equipment and computer readable storage medium
CN115129661A (en) * 2022-08-30 2022-09-30 东方电气风电股份有限公司 Data migration method and system after power-off restart of wind field monitoring system server
CN115129661B (en) * 2022-08-30 2022-11-22 东方电气风电股份有限公司 Data migration method and system after power-off restart of wind field monitoring system server

Also Published As

Publication number Publication date
CN104615598B (en) 2019-07-09
CN104615598A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
WO2014180207A1 (en) Metadata server migration processing method and device
US11693746B2 (en) Systems and methods for enabling a highly available managed failover service
JP5945031B2 (en) Provision and manage replicated data instances
US9934242B2 (en) Replication of data between mirrored data sites
US9817721B1 (en) High availability management techniques for cluster resources
US11635990B2 (en) Scalable centralized manager including examples of data pipeline deployment to an edge system
WO2017162173A1 (en) Method and device for establishing connection of cloud server cluster
US20200042410A1 (en) Role designation in a high availability node
CN111989681A (en) Automatically deployed Information Technology (IT) system and method
US10826812B2 (en) Multiple quorum witness
WO2021129733A1 (en) Cloud operating system management method and apparatus, server, management system, and medium
US20160057009A1 (en) Configuration of peered cluster storage environment organized as disaster recovery group
US20220174096A1 (en) Automatically Deployed Information Technology (IT) System and Method with Enhanced Security
US11366728B2 (en) Systems and methods for enabling a highly available managed failover service
US20150026125A1 (en) System and method for synchronizing data between communication devices in a networked environment without a central server
US20150082302A1 (en) High availability using dynamic quorum-based arbitration
US11928130B2 (en) Automated performing of replication tasks in a multiple database system
US9582389B2 (en) Automated verification of appliance procedures
US10721335B2 (en) Remote procedure call using quorum state store
US11895102B2 (en) Identity management
CN111596953B (en) Version management system, development data transmission control method and related device
CN106155573B (en) method and device for expanding storage device and expanded storage device
US9798633B2 (en) Access point controller failover system
US10303568B2 (en) Systems and methods for high availability of management controllers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14794730

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14794730

Country of ref document: EP

Kind code of ref document: A1