CN102567458A - Method for automatically quickly deploying NIS (network information service) - Google Patents

Method for automatically quickly deploying NIS (network information service) Download PDF

Info

Publication number
CN102567458A
CN102567458A CN201110366635XA CN201110366635A CN102567458A CN 102567458 A CN102567458 A CN 102567458A CN 201110366635X A CN201110366635X A CN 201110366635XA CN 201110366635 A CN201110366635 A CN 201110366635A CN 102567458 A CN102567458 A CN 102567458A
Authority
CN
China
Prior art keywords
nis
nodes
install
script
write
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
Application number
CN201110366635XA
Other languages
Chinese (zh)
Inventor
陈哲
郑辉
陈良华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201110366635XA priority Critical patent/CN102567458A/en
Publication of CN102567458A publication Critical patent/CN102567458A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for automatically quickly deploying NIS (network information service). A deployer only needs to arrange all scripts and files (six scrip files and two configuration files) required by deployment onto management nodes, write host names of all nodes (management nodes and computing nodes) into a host file, write NIS domain names (namely domain names) into an nis-domain file and operates install.sh by root on the management nodes, and the NIS environment deployment of all nodes can be completed after root passwords are input, and can be still available at the next starting-up.

Description

The method of a kind of automated quick deployment network information service NIS
Technical field
The present invention relates under the Linux cluster environment, to the deployment of NIS (network information service).Be specifically related to automated quick deployment based on the NIS (network information service) of shell script and expect automatic answer function.The method of specifically a kind of automated quick deployment network information service NIS.
Background technology
High-performance calculation (HPC) is mostly based on (SuSE) Linux OS; Under the Linux cluster environment; It is the system that all machines provide the network information in the network that NIS (Network Information Service) is one, comprises user name, password, master catalogue, group information etc.If certain user's user name and password have been kept in the NIS password database, NIS allows this user to have in any operation in the middle of the network on the machine of NIS CLIENT PROGRAM to land.This makes whole network look like an autonomous system, and identical account number is arranged on all main frames.In the AD of Windows (Active Directory), this is called as " account's roaming ".So, under the Linux cluster environment, always have the existence of NIS (network information service).
Traditional dispositions method is to dispose NIS Server end earlier; Dispose NIS Client end more one by one, this method is feasible when the node number is less, but under hundreds of node situation; The method will consume a large amount of working times, does the too many duplication of labour.
The present invention is exactly the problem of under extensive Linux cluster environment, NIS (network information service) being disposed in order to solve.The present invention is based on shell script and expect automatic answer function, can realize NIS (network information service) environment under the extensive Linux cluster environment of full-automatic, quick, easy deployment.
Summary of the invention
The objective of the invention is to dispose automatically, fast NIS (network information service) environment under the cluster environment, the method for a kind of automated quick deployment network information service NIS is provided.
The objective of the invention is to realize, be placed on the management node, the host name of all management nodes and computing node is write among the hostfile disposing required script and file by following mode; Domain name Nisdomain name is written in the nis_domain file; On management node, move install.sh with root user, behind the input root password, the network information service NIS environment of promptly accomplishing at all nodes maps out the work; And it is still effective after start next time
Concrete job step is following:
The first step is disposed required file with all, comprises that 6 script files and 2 configuration files are put under the same catalogue on the management node;
Second step write the host name of all nodes in hostfile, write management node earlier, write computing node again; In nis_domain, write the domain name of cluster;
The 3rd step, use root user to move the install.sh file, and according to prompting input root password;
In the 4th step, the install.sh script can call ssh_conf1.exp, ssh_conf2.exp, these three auto answer scripts based on expect of ssh_conf3.exp automatically, realizes the trust visit of the direct ssh of all nodes;
In the 5th step, the install.sh script then can call mu_conf.exp automatically, accomplishes the configuration effort of management node end, i.e. the configuration task of NIS_Server end;
The 6th the step, the install.sh script then can call cu_conf.exp automatically, accomplishes all computing nodes, promptly NIS_client hold configuration effort;
In the 7th step, behind the above all working of correct completion, the install.sh script can point out cluster NIS to dispose completion, normally uses the NIS function this moment.
The invention has the beneficial effects as follows: what the deployer need do only is that all are disposed required script and file (6 script files; 2 configuration files) be placed on the management node; The host name of all nodes (management node and computing node) is write among the hostfile; Nisdomain name (being domain name) is written in the nis_domain file, on management node, moves install.sh, behind the input root password with root user; NIS (network information service) environment that can accomplish at all nodes maps out the work, and still effective after start next time.
Description of drawings
Fig. 1 is the system architecture synoptic diagram;
Fig. 2 disposes process flow diagram.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
The objective of the invention is to dispose automatically, fast NIS (network information service) environment under the cluster environment.Concrete job step of the present invention is following:
The first step is disposed required file (6 script files, 2 configuration files) with all and is put under the same catalogue on the management node;
Second step write the host name of all nodes in hostfile, write management node earlier, write computing node again; In nis_domain, write the domain name of cluster, like TS10K;
In the 3rd step, use root user to move the install.sh file.And according to prompting input root password;
In the 4th step, the install.sh script can call ssh_conf1.exp, ssh_conf2.exp, these three auto answer scripts based on expect of ssh_conf3.exp automatically, realizes the trust visit of the direct ssh of all nodes;
In the 5th step, the install.sh script then can call mu_conf.exp automatically, accomplishes the configuration effort of management node end, i.e. the configuration task of NIS_Server end;
The 6th the step, the install.sh script then can call cu_conf.exp automatically, accomplishes all computing nodes, promptly NIS_client hold configuration effort;
In the 7th step, behind the above all working of correct completion, the install.sh script can point out cluster NIS to dispose completion, and can normally use the NIS function this moment.
Embodiment
It is 2 parts that the method for the automated quick deployment network information service of the present invention, the network architecture are divided into: storage networking and computational grid, wherein:
Storage networking uses 8GB FC optical fiber switch, adopts the memory device of FC SAN framework, divides a plurality of LUN, maps directly to management node and uses.
Computational grid adopts the Infiniband switch, and the HCA through IB cable collocation server links and receives computing node (d1/dn).Adopt IB over IP communication mechanism, realize internodal express network communication.
Be exemplified below:
Hardware environment: management node: 1
Computing node: 8
Every node memory 8GB
Every node check figure: 12 cores
Cpu frequency: 2.66GHz
Network connects: Infiniband QDR
1) in hostfile, writes management node host name and whole computing node host name;
2) in nis_domain, write the domain name of cluster;
3) on management node, move install.sh with the root identity, the root password is 111111, accomplishes configuration effort;
4) when seeing NIS Configuration is COMPLETE prompting, configuration all completion are described;
5) check management node and computing node, all nodes are all normally opened the NIS related service, and are set to the self-starting of starting shooting;
6) accomplish whole configurations of NIS, can normally use, and all configuration take-effectives when guaranteeing the next time start.

Claims (1)

1. the method for an automated quick deployment network information service NIS; It is characterized in that to dispose required script and file is placed on the management node; The host name of all management nodes and computing node is write among the hostfile, domain name Nisdomain name is written in the nis_domain file, on management node, move install.sh with root user; Behind the input root password; The network information service NIS environment of promptly accomplishing at all nodes maps out the work, and still effective after start next time, and concrete job step is following:
The first step is disposed required file with all, comprises that 6 script files and 2 configuration files are put under the same catalogue on the management node;
Second step write the host name of all nodes in hostfile, write management node earlier, write computing node again; In nis_domain, write the domain name of cluster;
The 3rd step, use root user to move the install.sh file, and according to prompting input root password;
In the 4th step, the install.sh script can call ssh_conf1.exp, ssh_conf2.exp, these three auto answer scripts based on expect of ssh_conf3.exp automatically, realizes the trust visit of the direct ssh of all nodes;
In the 5th step, the install.sh script then can call mu_conf.exp automatically, accomplishes the configuration effort of management node end, i.e. the configuration task of NIS_Server end;
The 6th the step, the install.sh script then can call cu_conf.exp automatically, accomplishes all computing nodes, promptly NIS_client hold configuration effort;
In the 7th step, behind the above all working of correct completion, the install.sh script can point out cluster NIS to dispose completion, normally uses the NIS function this moment.
CN201110366635XA 2011-11-18 2011-11-18 Method for automatically quickly deploying NIS (network information service) Pending CN102567458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110366635XA CN102567458A (en) 2011-11-18 2011-11-18 Method for automatically quickly deploying NIS (network information service)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110366635XA CN102567458A (en) 2011-11-18 2011-11-18 Method for automatically quickly deploying NIS (network information service)

Publications (1)

Publication Number Publication Date
CN102567458A true CN102567458A (en) 2012-07-11

Family

ID=46412871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110366635XA Pending CN102567458A (en) 2011-11-18 2011-11-18 Method for automatically quickly deploying NIS (network information service)

Country Status (1)

Country Link
CN (1) CN102567458A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647448A (en) * 2012-03-20 2012-08-22 浪潮电子信息产业股份有限公司 Method for automatically and rapidly deploying NIS (Network Information Service)
CN103209098A (en) * 2013-04-16 2013-07-17 浪潮电子信息产业股份有限公司 Method for realizing dual-machine function of server
CN104572269A (en) * 2015-01-19 2015-04-29 浪潮电子信息产业股份有限公司 Quick cluster deployment method based on Linux operation system
CN107480030A (en) * 2017-08-03 2017-12-15 郑州云海信息技术有限公司 A kind of clustered deploy(ment) method and system being managed collectively to node

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647448A (en) * 2012-03-20 2012-08-22 浪潮电子信息产业股份有限公司 Method for automatically and rapidly deploying NIS (Network Information Service)
CN103209098A (en) * 2013-04-16 2013-07-17 浪潮电子信息产业股份有限公司 Method for realizing dual-machine function of server
CN104572269A (en) * 2015-01-19 2015-04-29 浪潮电子信息产业股份有限公司 Quick cluster deployment method based on Linux operation system
CN107480030A (en) * 2017-08-03 2017-12-15 郑州云海信息技术有限公司 A kind of clustered deploy(ment) method and system being managed collectively to node

Similar Documents

Publication Publication Date Title
EP3819757A1 (en) Edge application management method and system
US10073747B2 (en) Reducing recovery time in disaster recovery/replication setup with multitier backend storage
US9720804B2 (en) Dynamic tracing framework for debugging in virtualized environments
US9747093B2 (en) Device driver aggregation in operating system deployment
KR101970839B1 (en) Replaying jobs at a secondary location of a service
CN107247619B (en) Live migration of virtual machine method, apparatus, system, storage medium and equipment
EP2675127B1 (en) Method and device for automatically migrating system configuration item
CN103677967B (en) A kind of remote date transmission system of data base and method for scheduling task
CN111522628A (en) Kubernets cluster building and deploying method, architecture and storage medium based on OpenStack
US10908834B2 (en) Load balancing for scalable storage system
US20120047492A1 (en) Deployment of a tool for testing migrated applications
CN105630488A (en) Docker container technology-based continuous integration realizing method
CN104182288A (en) Method for automatically testing power consumption of server cluster system
EP3477894B1 (en) Method and device for controlling virtualized broadband remote access server (vbras), and communication system
CN112667362B (en) Method and system for deploying Kubernetes virtual machine cluster on Kubernetes
US9699252B2 (en) Deployment of virtual machine disks from a shared network file system
CN105721582A (en) Multi-node file backup system
CN102567458A (en) Method for automatically quickly deploying NIS (network information service)
CN102541994A (en) Method for deploying and sharing NFS (network file system) automatically and quickly
CN105446831A (en) Server-Free backup method in conjunction with SAN
CN111966465B (en) Method, system, equipment and medium for modifying host configuration parameters in real time
CN101727496A (en) Method for realizing load balancing cluster of MICROSOFT SQL SERVER database
CN111552540A (en) Resource synchronization method based on VMware cloud platform and super-fusion cloud platform
CN102682078A (en) Method for automatically and rapidly deploying NFS (network file system) sharing
CN102647448A (en) Method for automatically and rapidly deploying NIS (Network Information Service)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120711