歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> 雙服務器和服務器網卡

雙服務器和服務器網卡

日期:2017/2/27 11:20:45   编辑:關於Linux

一、雙服務器

  要求:工作站能運行裝在任一服務器中的應用程序。

  (1)兩個服務器均為NetWare 3.12,實現資源共享,服務器名為Server1和Server2。   Server1、Server2各自用雙絞線連到交換機或者HUB的RJ45端口上。

  (2)服務器軟件設置:修改Autoexec.ncf   1Server1的autoexec.ncf:   file server name server1   ipx internal net 1234   load c:server 3.12pcntnw.lan iop=8800 frame=ethernet-802.3   bind ipx to pcntnw net=abc   mount all   2Server2的autoexec.ncf:   file server name server2;(應不同)   ipx internal net 4570;(應不同)   load c:server 3.12pcntnw.lan iop=8800 frame=ethernet-802.3 ;(視網卡而定)   bind ipx to pcntnw net=abc ;(應相同)   mouat all   load monitor

  (3)檢查工作站和服務器的連接,從工作站以Supervisor登錄,運行Syscon,在Available Topics下的“chang Current Server”選項,如工作站第一台服務器連通,則出現服務器名“Server1”,按下“Ins”鍵,若第二台服務器連接正常,則出現“Server2”。此時若選擇“Use Information”,則出現兩個服務器的名稱和登錄身份。

  (4)修改系統登錄原稿System Login Script   從工作站以Supervisor登錄,運行Syscon,選Available Topics下的“SuperVisor Options”,再選擇“System Login Script”,在文件前加入如下內容:   Attach Server1 /supervisor   Attach Server2 /supervisor   Map F:=Server1 /sys:Login   Map G:=Server2 /sys:Login   存盤後F為Server1映射的盤符,G為Server2映射的盤符。

  重新啟動兩台服務器,以普通身份登錄即可。

  二、服務器雙網卡

  因為每一種硬件占用系統的一個port(端口)和int(中斷),所以兩塊網卡設置的port和int應不同。

  (1)設置網卡地址   用網卡的驅動程序,設置網卡的port和int,設其中的一塊為port=300,int=3;另一塊網卡為port=340,int=5。

  (2)修改Autoexec.ncf   假設網卡為NE2000兼容的,Sn2000,TP-link、Accton等網卡,Load install在system option中的edit autoexec.ncf files中:   file server name fs   ipx internal net 12345   load NE2000 port=300 int=3 frame=ethernet-802.3   bind ipx to NE2000 net=a   load NE2000 port=340 int=5 frame=ethernet-802.3   bind ipx to NE2000 net=b   mount all   Load monitor   存盤退出。

  把一部分機器連接網卡1上,另一部分連接網卡2上,即可




Copyright © Linux教程網 All Rights Reserved