CN104360839A - Method for automatically migrating LINUX system to WINDOWS system - Google Patents
Method for automatically migrating LINUX system to WINDOWS system Download PDFInfo
- Publication number
- CN104360839A CN104360839A CN201410555848.0A CN201410555848A CN104360839A CN 104360839 A CN104360839 A CN 104360839A CN 201410555848 A CN201410555848 A CN 201410555848A CN 104360839 A CN104360839 A CN 104360839A
- Authority
- CN
- China
- Prior art keywords
- windows
- linux
- server
- file
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000013508 migration Methods 0.000 claims abstract description 14
- 230000005012 migration Effects 0.000 claims abstract description 14
- 230000002567 autonomic effect Effects 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 9
- 241000700605 Viruses Species 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 11
- 230000008901 benefit Effects 0.000 abstract description 2
- 238000013461 design Methods 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 description 14
- 230000000875 corresponding effect Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 5
- 230000007704 transition Effects 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 241001362551 Samba Species 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method for automatically migrating from a LINUX system to a WINDOWS system, which comprises the steps of automatically extracting Linux-related configuration information, hosting a service by a Linux server, automatically generating Windows configuration information of a Windows target server, and automatically installing a corresponding Windows component, wherein the Windows target server executes similar Linux service and configuration files generated by the Windows configuration information; compared with the prior art, the method for automatically migrating the LINUX system to the WINDOWS system has the advantages that when two operating systems are migrated from one server to another server, especially from Linux to WINDOWS through an automatic migration process, complex and time-consuming tasks are simplified, and the method has the characteristics of reasonable design, simple structure, convenience in use and the like, so that the method has good use value.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of method automatically moving to WINDOWS system from LINUX system.
Background technology
WINDOWS and Linux provides many similar functions, as the data on client computer access services device, and the ability of the word be presented on computer screen and figure.Such as, on Windows, file is provided and prints and share, pass through NT lan management agreement (NTLM) by operating system itself by server message block (smb) agreement and user authentication.Linux provides similar function, but need extra module is installed.Advanced server is transplanted to Linux, UNIX, is an application program, provides file, print, and certification is by SMB and NTLM agreement.Samba is that Another application program provides such function.
Although the function provided is that between two similar operating systems, they often provide or configure difference, incompatible mode.Such as, one group of data file that configuration setting is stored in file-sharing relevant is called system registry, on Windows.And the configuration setting that relevant document is shared is stored in the configuration file of text based Linux, such as, be different from the form of its correspondence on Windows.Equally, the people of process information and resource at a given computer system or network, can be stored in the Active Directory of Active Directory at WINDOWS.But use the directory service of OpenLDAP or the storage of other software on linux, the configuration that the Web server of Internet information server (IIS) runs on WINDOWS arranges and is stored in windows registry, and the Web server that configuration is set to Apache is disposed under linux usually, be kept at a text and be called httpd.conf
Due to the method for Liang Ge operating system family, make configuration and store the method arranged, make them incompatible, but this task being a difficulty, expends time in, and easily makeing mistakes in the process of starting.Particularly, keeper must understand the relative set on being specifically arranged on Windows of problem or Linux.Under normal circumstances, system manager lacks experience on windows or Linux or this two systems, be difficult to find the relative set in arbitrary system, the conversion between two systems is set, need configuration software in Windows system, provide the linux system of identical function.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method automatically moving to WINDOWS system from LINUX system is provided.
Technical scheme of the present invention realizes in the following manner, comprise: automatically extract the relevant configuration information of Linux, Linux server trusteeship service, the Windows configuration information of Windows destination server generates automatically, support the Linux server trusteeship service of the Linux being similar to Windows service, and the corresponding Windows assembly of Auto-mounting, Windows destination server performs the similar Linux service and configuration file that Windows configuration information produces, Autonomic Migration Framework wherein comprises corresponding Windows Active Directory information on the Windows destination server in the OpenLDAP configuration Linux server of Autonomic Migration Framework,
The Linux file sharing information that Linux server extracts is stored in from Linux file-sharing configuration information; Linux file-sharing configuration information converts corresponding window registry table clause to; With the window registry table clause stored on Windows destination server;
Extract the OpenLDAP database of the information of OpenLDAP by Linux server trustship; With the information reproduction of OpenLDAP in the Windows destination server trustship storehouse of Windows Active Directory;
Be stored in the Windows configuration information in resources bank, and from resources bank, retrieve Windows configuration information; With the configuration file installed on corresponding WINDOWS assembly and multiple Windows destination server, perform similar Windows service, in view of the retrieval of Windows configuration information.
Above-mentioned Autonomic Migration Framework data are stored in file in Linux server to Windows destination server.
Above-mentionedly copy to from the data file Linux server the data file that WINDOWS destination server and Linux server delete;
The file of data carries out virus scan, instead of a data file copy is to WINDOWS destination server, if data file has been detected virus.
Advantage of the present invention is:
Of the present inventionly automatically move to the method for WINDOWS system compared to the prior art from LINUX system, another station server is moved to from a station server, particularly when migration two operating systems, by the transition process of robotization from Linux to WINDOWS, simplify task complicated and consuming time, have reasonable in design, structure is simple, the feature such as easy to use, thus, has good use value.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of logic at Linux and WINDOWS transition process of operation and execution.
Fig. 2 be under directory service OpenLDAP transition process is set during the computing that performs and logical schematic.
Embodiment
Below in conjunction with accompanying drawing, the method automatically moving to WINDOWS system from LINUX system of the present invention is described in detail below.
Automatically the method moving to WINDOWS system from LINUX system of the present invention, the method comprises: automatically extract the relevant configuration information of Linux, Linux server trusteeship service, the Windows configuration information of Windows destination server generates automatically, support the Linux server trusteeship service of the Linux being similar to Windows service, and the corresponding Windows assembly of Auto-mounting, Windows destination server performs the similar Linux service and configuration file that Windows configuration information produces, Autonomic Migration Framework wherein comprises corresponding Windows Active Directory information on the Windows destination server in the OpenLDAP configuration Linux server of Autonomic Migration Framework,
The Linux file sharing information that Linux server extracts is stored in from Linux file-sharing configuration information; Linux file-sharing configuration information converts corresponding window registry table clause to; With the window registry table clause stored on Windows destination server;
Extract the OpenLDAP database of the information of OpenLDAP by Linux server trustship; With the information reproduction of OpenLDAP in the Windows destination server trustship storehouse of Windows Active Directory;
Be stored in the Windows configuration information in resources bank, and from resources bank, retrieve Windows configuration information; With the configuration file installed on corresponding WINDOWS assembly and multiple Windows destination server, perform similar Windows service, in view of the retrieval of Windows configuration information.
Autonomic Migration Framework data are stored in file in Linux server to Windows destination server.
The data file that WINDOWS destination server and Linux server delete is copied to from the data file Linux server;
The file of data carries out virus scan, instead of a data file copy is to WINDOWS destination server, if data file has been detected virus.
In various aspects according to the present invention, system and method discloses the migration of the above computer system of this address, conversion, with be configured with problem, and more specifically but be not exclusively involved in one group of Software tool, guide, modular converter, finding module, installing and configuration module and flow process, for automatically moving to the current instrument of Linux from Windows.
Feed Discovery guide determines according to a group technique, the service that Linux machine runs.Then, if the goal systems upper Windows installed, target detection determines whether to need to install any extra service goal to guide module and/or any service must be removed, for system provides required service, as by discovery guide.Configuration module produces the list of necessary amendment.Install if goal systems has not had on Windows, configuration module creates an Install and configure file and uses operating system installation program, guarantees that the installation procedure of operating system is by the software needed for installation.
Being arranged on Linux and WINDOWS of crossover tool conversion of configuration is run simultaneously.Look-up table determines that correct configuration arranges the mapping between two systems.Arranging like this can comprise: but be not limited to file-sharing, printer resource, directory information, the title that user and group are arranged etc. and path, the result of compiling is the list of the goal-setting of conversion now, it can be stored in various forms, comprising: but be not limited in text or binary file, or can directly be communicated to another module or application program is not stored.
Be arranged on goal systems in target and configure suitable result, it has has installed necessary software, to provide required service.This may to comprise from internet the software needed for automatically downloading or from internal file server or Intranet website, prompting user inserts various media, contain as CD on the basis of the target in the target configuration block configuration target configuration lists such as necessary software, or the service by directly communicating from configuration conversion tool.Configuration comprises, but is not limited to, configuration file and print service, directory service, authentication service, and network service.As a part for profile service, catalogue may be created.A part for configuring print service, can install print driver.
At data movement module by the linux system of data file from WINDOWS system.In one embodiment, data are stored in an intermediate file server.Those skilled in the art will recognize that, such a file server can be the web server of server on the internet, in-house network, or file server.Data movement module can be configured to filter will movement file basis on the condition of specifying, as filename or extension name, or the size of file.A technology for innovation, can also carry out virus scan or calling external program at data movement module and carry out Scan for Viruses and copy or an ingredient of mobile operation.
The configuration information of master is stored in repository services device, and it stores one or more configurations etc., and such as, in the event of a failure, the configuration of conversion can be deployed to another WINDOWS server.
According to further technology, the crossover tool of configuration, the Active Directory that the OpenLDAP of the enterprise directory services thesaurus run from Linux server operates in the enterprise directory services program of Windows server moves and arranges.
An embodiment, instrument, guide and other modules are controlled from system cloud gray model WINDOWS operating system by keeper completely, such as, on source server, run Windows and the identical network of access or other system.This means that keeper needs can not directly and linux system, unless there are needs, and any point in this process.In another embodiment, all instruments, guide, one or more instrument, guide and module run (SuSE) Linux OS, make keeper can perform migration directly and Windows system interaction, except non-required.
Embodiment
As shown in Figure 1-2, configuration conversion tool reading smb.conf file obtains the setting that the file-sharing in Linux server is correlated with in transfer process, and as Linux server is shared, these two catalogues " printing " and " file-sharing " are at a block.Reading is the read operation using file by directly reading registration table, by using the system call of standard, or by other means.In one embodiment, reading is long-distance support, and such configuration conversion tool resides in different systems than smb.conf file and runs.
Configuration conversion tool adopts between look-up table WINDOWS and Linux setting and changes.For the part that each translation entries is shown at Linux, there is a corresponding Windows translation entries.It is identical that the value that particular items may includes title is stored in the value that should store in windows registry, but write on the index of bracket Linux smb.conf file, as a simply conversion.In addition, specific entry may be more complicated, comprises script, the order that perform, and program is run, and multiple text configuration file is modified, and lookup table entries performs Windows name-value at a block.
Next, direct translation entries, target configuration module determines whether create registry entry exists block.If entry is not present in registration table, the registry entries block that target configuration module creation is new.If project exists really, target configuration module 230 backups to the existing item in a text.Then, at block, target configuration module revises existing entry.That is, if be found registration table from the name-value of table, be modified to new data value at the data value of registration table.An embodiment, target configuration module adopts the application programming interface of WINDOWS operating system registration table, and the function RegSetValueEx as RegOpenKeyEx creates or edit the registry item.The process of result is from Linux server to Windows Servers installed Autonomic Migration Framework and conversion.
Start from configration block, configuration conversion tool wherein runs the user on Linux computing machine.At Linux instrument conversion block, configuration conversion tool interface on the server, usually by the DLL (dynamic link library) of Active Directory, support at WINDOWS by the function specifically developed Active Directory library call that it realizes.At the Linux block of Active Directory, determine computing machine that whether it can operate in WINDOWS operating system with Active Directory by network by LDAP (LDAP) function call, or called out the agreement using line rank by analog machine Active Directory.If LDAP can not be used to call, line level agreement interface and Active Directory, analog machine Active Directory is so used to call.If LDAP can be used for use, so use LDAP calling interface and Active Directory normal.Use suitable calling, crossover tool moves to Active Directory, from the setting of the thesaurus of OpenLDAP, according to the program of above-mentioned aspect.
Of the present invention automatically to move to its processing and fabricating of method of WINDOWS system from LINUX system very simple and convenient, can process to specifications shown in accompanying drawing.
Except the technical characteristic described in instructions, be the known technology of those skilled in the art.
Claims (3)
1. the method for WINDOWS system is automatically moved to from LINUX system, it is characterized in that comprising and automatically extract the relevant configuration information of Linux, Linux server trusteeship service, the Windows configuration information of Windows destination server generates automatically, support the Linux server trusteeship service of the Linux being similar to Windows service, and the corresponding Windows assembly of Auto-mounting, Windows destination server performs the similar Linux service and configuration file that Windows configuration information produces, Autonomic Migration Framework wherein comprises corresponding Windows Active Directory information on the Windows destination server in the OpenLDAP configuration Linux server of Autonomic Migration Framework,
The Linux file sharing information that Linux server extracts is stored in from Linux file-sharing configuration information; Linux file-sharing configuration information converts corresponding window registry table clause to; With the window registry table clause stored on Windows destination server;
Extract the OpenLDAP database of the information of OpenLDAP by Linux server trustship; With the information reproduction of OpenLDAP in the Windows destination server trustship storehouse of Windows Active Directory;
Be stored in the Windows configuration information in resources bank, and from resources bank, retrieve Windows configuration information; With the configuration file installed on corresponding WINDOWS assembly and multiple Windows destination server, perform similar Windows service, in view of the retrieval of Windows configuration information.
2. the method automatically moving to WINDOWS system from LINUX system according to claim 1, is characterized in that Autonomic Migration Framework data are stored in file in Linux server to Windows destination server.
3. the method automatically moving to WINDOWS system from LINUX system according to claim 2, is characterized in that copying to from the data file Linux server the data file that WINDOWS destination server and Linux server delete;
The file of data carries out virus scan, instead of a data file copy is to WINDOWS destination server, if data file has been detected virus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410555848.0A CN104360839A (en) | 2014-10-20 | 2014-10-20 | Method for automatically migrating LINUX system to WINDOWS system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410555848.0A CN104360839A (en) | 2014-10-20 | 2014-10-20 | Method for automatically migrating LINUX system to WINDOWS system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104360839A true CN104360839A (en) | 2015-02-18 |
Family
ID=52528103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410555848.0A Pending CN104360839A (en) | 2014-10-20 | 2014-10-20 | Method for automatically migrating LINUX system to WINDOWS system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104360839A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487860A (en) * | 2015-11-25 | 2016-04-13 | 普华基础软件股份有限公司 | Method and system for automatically configuring Linux desktop |
CN106371809A (en) * | 2016-08-31 | 2017-02-01 | 北京奇虎科技有限公司 | Thread processor and thread processing method |
CN106407266A (en) * | 2016-08-25 | 2017-02-15 | 中广核工程有限公司 | Method and device for formatting and extracting three-dimensional calculation results |
CN106528103A (en) * | 2016-10-31 | 2017-03-22 | 北京深之度科技有限公司 | Data migration method and device, and computing device |
CN115328580A (en) * | 2022-10-13 | 2022-11-11 | 中科方德软件有限公司 | Processing method, device and medium for registry operation in application migration environment |
-
2014
- 2014-10-20 CN CN201410555848.0A patent/CN104360839A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487860A (en) * | 2015-11-25 | 2016-04-13 | 普华基础软件股份有限公司 | Method and system for automatically configuring Linux desktop |
CN106407266A (en) * | 2016-08-25 | 2017-02-15 | 中广核工程有限公司 | Method and device for formatting and extracting three-dimensional calculation results |
CN106407266B (en) * | 2016-08-25 | 2019-12-31 | 中广核工程有限公司 | Three-dimensional calculation result formatting extraction method and device |
CN106371809A (en) * | 2016-08-31 | 2017-02-01 | 北京奇虎科技有限公司 | Thread processor and thread processing method |
CN106371809B (en) * | 2016-08-31 | 2019-03-01 | 北京奇虎科技有限公司 | Thread processor and thread processing method |
CN106528103A (en) * | 2016-10-31 | 2017-03-22 | 北京深之度科技有限公司 | Data migration method and device, and computing device |
CN106528103B (en) * | 2016-10-31 | 2019-06-04 | 北京深之度科技有限公司 | A kind of data migration method, device and calculate equipment |
CN115328580A (en) * | 2022-10-13 | 2022-11-11 | 中科方德软件有限公司 | Processing method, device and medium for registry operation in application migration environment |
CN115328580B (en) * | 2022-10-13 | 2022-12-16 | 中科方德软件有限公司 | Processing method, device and medium for registry operation in application migration environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200218701A1 (en) | Consistent data storage in distributed computing systems | |
US11989544B2 (en) | Software deployment to multiple computing devices | |
US7284043B2 (en) | System and method for automated migration from Linux to Windows | |
US9338067B2 (en) | Network resource deployment for cloud-based services | |
US7805721B2 (en) | System and method for automated migration from Windows to Linux | |
CN107797767B (en) | One kind is based on container technique deployment distributed memory system and its storage method | |
CN104360839A (en) | Method for automatically migrating LINUX system to WINDOWS system | |
CN106407214A (en) | Distributed storage method and system | |
US8060891B2 (en) | Management of external hardware appliances in a distributed operating system | |
WO2016099346A1 (en) | Method and deployment module for managing a container to be deployed on a software platform | |
CN103873290A (en) | Evaluating distributed application performance in a new environment | |
US20090198704A1 (en) | Method for automated network file and directory virtualization | |
WO2020046447A1 (en) | Synchronizing in-use source data and an unmodified migrated copy thereof | |
US20210209064A1 (en) | File Redundancy Detection and Mitigation | |
CN106293775A (en) | Automatic script generation method and device | |
CN110008006B (en) | Container-based big data tool deployment method and system | |
EP3051457A1 (en) | Method for performing file synchronization control, and associated apparatus | |
CN115421730A (en) | Method for dynamically loading unlimited-format static resource file in page | |
CN114996236A (en) | Data processing method, device and equipment for converged storage system and storage medium | |
CN109947451A (en) | A kind of cluster application file updating method, system, medium and equipment | |
CN114691189B (en) | Distributed project development processing method and system | |
SPS | SAP HANA master guide | |
Stanek | Microsoft Exchange Server 2010 Administrator's Pocket Consultant | |
Mehta et al. | Machine Data Using Splunk Forwarder and Clustering | |
Sabharwal et al. | HCL Workload Automation Deployments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150218 |
|
WD01 | Invention patent application deemed withdrawn after publication |