CN104065511A - Zoning method and system for automatic deployment of SAN switch - Google Patents
Zoning method and system for automatic deployment of SAN switch Download PDFInfo
- Publication number
- CN104065511A CN104065511A CN201410306020.1A CN201410306020A CN104065511A CN 104065511 A CN104065511 A CN 104065511A CN 201410306020 A CN201410306020 A CN 201410306020A CN 104065511 A CN104065511 A CN 104065511A
- Authority
- CN
- China
- Prior art keywords
- san
- zone
- instruction
- login
- switch
- 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 17
- 238000013316 zoning Methods 0.000 title abstract 3
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000013011 mating Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
Abstract
The invention provides a zoning method and system for automatic deployment of a SAN switch. The method comprises: an external processor establishes an automatic login connection to a SAN switch; the external processor runs a file including zone commands; after the zone commands are parsed from the file, the zone commands are sent to the SAN switch through the established automatic login connection. The method can avoid the disadvantage of low efficiency caused by zoning in manual deployment of the SAN switch.
Description
Technical field
The application relates to the subregion (ZONE) of disposing storage area network (Storage Area Network, SAN) switch, relates in particular to the method and system of ZONE in a kind of automatic deployment SAN switch.
Background technology
In traditional system that there is no SAN network, the main frame of each in network is separate, and main frame can only be accessed the hard disk of oneself, and data can be in storage level loss of security.After there is SAN network, the main frame in network can be accessed the hard disk of other main frame, and the consideration in safety need to be divided different ZONE to SAN switch.On SAN switch, ZONE function class is similar to the functionality of vlan on Ethernet switch, it is drawn for the equipment (main frame and memory device) being connected in SAN network in different regions in logic, make the equipment directly access each other in zones of different, thereby realize the mutual isolation between the equipment in SAN network.
The existing mode to SAN switch division ZONE is normally manually divided by technical staff, but manually dispose ZONE, is the task of a loaded down with trivial details repetition, and not only efficiency is low, and easily makes mistakes.
Summary of the invention
The invention provides the method and system of ZONE in a kind of automatic deployment SAN switch, to solve the technical problem that overcomes manual deployment zone inefficiency.
For solving the problems of the technologies described above, the invention provides the method for zone in a kind of automatic deployment storage area network (SAN) switch, described method comprises:
Ppu is set up login automatically with SAN switch and is connected;
Ppu running package, containing the file of subregion (zone) instruction, parses after zone instruction from file, by the automatic login of setting up, is connected this zone instruction is sent to SAN switch.
Further,
The zone instruction comprising in described file is configurable.
Further, described ppu is set up login automatically with SAN switch and is connected, and comprising:
Ppu is used ssh-keygen order to generate public and private key pair;
Ppu storage private key, is transferred to SAN switch by PKI;
Ppu is used SSH login SAN server, automatically the private key of storage is sent to SAN server.
For solving the problems of the technologies described above, the present invention also provides a kind of processor for automatic deployment SAN exchange zone, and described processor comprises: module, command analysis module and instruction sending module are set up in login connection automatically, wherein,
Described automatic login connects sets up module, for setting up login automatically with SAN switch, is connected;
Described command analysis module, the file for running package containing subregion (zone) instruction parses zone instruction, and the zone instruction parsing is sent to instruction sending module from file;
Described instruction sending module, is sent to SAN switch for the connection by setting up by the zone instruction receiving.
Further,
The zone instruction comprising in described file is configurable.
Further, described automatic login connects sets up module, for setting up login automatically with SAN switch, is connected, and comprising:
Use ssh-keygen order to generate public and private key pair;
Storage private key, is transferred to SAN switch by PKI;
Use SSH login SAN server, automatically the private key of storage is sent to SAN server.
Technique scheme is the automatic deployment to zone in SAN switch by the ppu that is connected with SAN switch, has avoided the deficiency of the inefficiency that in manual deployment SAN switch, zone causes.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of zone in the automatic deployment SAN switch of the present embodiment;
Fig. 2 is the processor composition diagram for automatic deployment SAN switch zone of the present embodiment.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
Fig. 1 is the method flow diagram of zone in the automatic deployment SAN switch of the present embodiment.
S101 ppu is set up login automatically with SAN switch and is connected;
When ppu and SAN switch are used SSH (Secure SHell) to connect, can use following step to make the ppu can be without password login SAN switch:
Ppu is used ssh-keygen order to generate public and private key pair;
Ppu storage private key, is transferred to SAN switch by PKI;
Ppu is used SSH login SAN server, automatically the private key of storage is sent to SAN server;
SAN server, after successfully mating private key and PKI, allows ppu login automatically like this;
S102 ppu running package, containing the file of subregion (zone) instruction, parses zone instruction from file;
The zone instruction comprising in described file is configurable, has facilitated technical staff neatly SAN server to be carried out to zone deployment;
S103 ppu is sent to SAN switch by the connection of setting up by this zone instruction.
Provide an application example of using zone in ppu automatic deployment SAN switch below, in this application example, external switch is the computer of operation linux operating system.
Step 1: the computer run ssh-keygen order of operation linux operating system generates public keys, orders as follows:
[root@localhost/]ssh-keygen-t dsa
Generating public/private dsa key pair.
Enter file in which to save the key(//.ssh/id_dsa):
Enter passphrase(empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in//.ssh/id_dsa.
Your public key has been saved in//.ssh/id_dsa.pub.
The key fingerprint is:
fa:65:d6:0c:64:87:25:70:e7:0d:90:ef:4e:7e:a6:5c root@localhost
Step 2: the computer of operation linux operating system is logined SAN switch by ssh, sends the public keys of linux to SAN switch by sshutil importpubkey, orders as follows:
SAN768B:FID128:admin>sshutil importpubkey
Enter user name for whom key is imported:admin
Enter IP address:192.168.25.192
Enter remote directory:/.ssh
Enter public key name(must have.pub suffix):id_dsa.pub
Enter login name:root
root@192.168.25.192’s password:
public key is imported successfully.
After completing steps two, can check whether the computer of operation linux operating system can, by ssh without password login switch, order as follows:
[root@localhost/]ssh admin@192.168.25.230
SAN768B:FID128:admin>
Step 3: the computer of operation linux operating system loads the file that comprises zone order, orders as follows:
Wherein, zone order is included in file ' createzone.sh ', can be according to the access limit that file will be set;
Step 4, the computer run file of operation linux operating system ' createzone.sh ', parse zone instruction, by the connection of setting up, this zone instruction is sent to SAN switch.
Fig. 2 is the processor composition diagram for automatic deployment SAN switch zone of the present embodiment.
Described processor comprises: module, command analysis module and instruction sending module are set up in login connection automatically, wherein:
Described automatic login connects sets up module, for setting up login automatically with SAN switch, is connected;
When processor and SAN switch are used SSH to connect, automatically login connect set up module can realize between processor and SAN switch without password login: use ssh-keygen order generation public and private key pair; Storage private key, is transferred to SAN switch by PKI; Use SSH login SAN server, automatically the private key of storage is sent to SAN server, like this, SAN server, after successfully mating private key and PKI, allows ppu login automatically;
Described command analysis module, the file for running package containing subregion (zone) instruction parses zone instruction, and the zone instruction parsing is sent to instruction sending module from file;
The zone instruction comprising in described file is configurable, has facilitated technical staff neatly SAN server to be carried out to zone deployment;
Described instruction sending module, is sent to SAN switch for the connection by setting up by the zone instruction receiving.
One of ordinary skill in the art will appreciate that all or part of step in said method can come instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits, and correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
It should be noted that; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (6)
1. a method of zone in automatic deployment storage area network (SAN) switch, is characterized in that, described method comprises:
Ppu is set up login automatically with SAN switch and is connected;
Ppu running package, containing the file of subregion (zone) instruction, parses after zone instruction from file, by the automatic login of setting up, is connected this zone instruction is sent to SAN switch.
2. the method for claim 1, is characterized in that,
The zone instruction comprising in described file is configurable.
3. method as claimed in claim 1 or 2, is characterized in that, described ppu is set up login automatically with SAN switch and is connected, and comprising:
Ppu is used ssh-keygen order to generate public and private key pair;
Ppu storage private key, is transferred to SAN switch by PKI;
Ppu is used SSH login SAN server, automatically the private key of storage is sent to SAN server.
4. for a processor of automatic deployment SAN exchange zone, it is characterized in that, described processor comprises: module, command analysis module and instruction sending module are set up in login connection automatically, wherein,
Described automatic login connects sets up module, for setting up login automatically with SAN switch, is connected;
Described command analysis module, the file for running package containing subregion (zone) instruction parses zone instruction, and the zone instruction parsing is sent to instruction sending module from file;
Described instruction sending module, is sent to SAN switch for the connection by setting up by the zone instruction receiving.
5. processor as claimed in claim 4, is characterized in that,
The zone instruction comprising in described file is configurable.
6. the processor as described in claim 4 or 5, is characterized in that, described automatic login connects sets up module, for setting up login automatically with SAN switch, is connected, and comprising:
Use ssh-keygen order to generate public and private key pair;
Storage private key, is transferred to SAN switch by PKI;
Use SSH login SAN server, automatically the private key of storage is sent to SAN server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410306020.1A CN104065511A (en) | 2014-06-30 | 2014-06-30 | Zoning method and system for automatic deployment of SAN switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410306020.1A CN104065511A (en) | 2014-06-30 | 2014-06-30 | Zoning method and system for automatic deployment of SAN switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104065511A true CN104065511A (en) | 2014-09-24 |
Family
ID=51553053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410306020.1A Pending CN104065511A (en) | 2014-06-30 | 2014-06-30 | Zoning method and system for automatic deployment of SAN switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104065511A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105207814A (en) * | 2015-08-31 | 2015-12-30 | 茂名市群英网络有限公司 | Null route-based IP policy control system and method |
CN108390791A (en) * | 2017-02-02 | 2018-08-10 | 慧与发展有限责任合伙企业 | The determination of port status in storage area network |
CN111245645A (en) * | 2019-12-31 | 2020-06-05 | 中国建设银行股份有限公司 | Zone automatic configuration method, system, equipment and medium of SAN switch |
-
2014
- 2014-06-30 CN CN201410306020.1A patent/CN104065511A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105207814A (en) * | 2015-08-31 | 2015-12-30 | 茂名市群英网络有限公司 | Null route-based IP policy control system and method |
CN105207814B (en) * | 2015-08-31 | 2019-05-03 | 茂名市群英网络有限公司 | Based on dead circuit by IP policy controlling system and method |
CN108390791A (en) * | 2017-02-02 | 2018-08-10 | 慧与发展有限责任合伙企业 | The determination of port status in storage area network |
CN111245645A (en) * | 2019-12-31 | 2020-06-05 | 中国建设银行股份有限公司 | Zone automatic configuration method, system, equipment and medium of SAN switch |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881308B (en) | User terminal and authentication method, system and medium thereof | |
JP5885834B2 (en) | Method and apparatus for remotely delivering a managed USB service via a mobile computing device | |
US20170163478A1 (en) | Method,electronic device and system for updating client configuration in key-value pair database | |
CN102722461B (en) | The data communication system of storage management system and communication means | |
CN105049412A (en) | Secure data exchange method, device and equipment among different networks | |
EP2922349A1 (en) | Method and controller for implementing wireless network cloud | |
EP2262169B1 (en) | Automatic configuration of a terminal device by a router. | |
US20180191708A1 (en) | System and Method for Directory Service Authentication on a Service Processor | |
CN104252374A (en) | Program control method and device on basis of architecture change | |
US10616348B2 (en) | System and method for providing multiple IPMI serial over LAN (SOL) sessions in management controller stack | |
CN103856556A (en) | Cloud-based application account management | |
US20230262468A1 (en) | Method and device for establishing a secure wireless connection | |
CN105279209B (en) | Method and system for establishing wireless link and electronic device | |
CN104065511A (en) | Zoning method and system for automatic deployment of SAN switch | |
CN104579889B (en) | A kind of method and device for being used to call network function | |
CN102546166A (en) | Method, system and device for identity authentication | |
US20120257491A1 (en) | Access Point Configuration Propagation | |
WO2022093314A1 (en) | Distributed secure communication system | |
CN103685602A (en) | In-band out-band multiple-address associating method bringing convenience to node management | |
CN102822840B (en) | Use management system and use management method | |
CN105281944A (en) | Method for setting network protocol address and service management system | |
EP3128712B1 (en) | Ndm file protection method and device | |
CN104853145A (en) | Equipment module adaptive upgrading system | |
CN113037696A (en) | Data transmission method, system server, storage medium and computer equipment | |
Hari et al. | The swiss army smartphone: Cloud-based delivery of usb services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140924 |