|
回复 #52 chenall 的帖子
是用下載自帶的 hanewin
(017选项) 是哪裡, 遍尋不獲 ??
DHCP服務安裝.cmd 像是 把 rootpath 在 連接(profile), 在 profile (本地連接) 也見到有 target
@echo off
title HaneWindhcp 服務器安裝 by chenall@366840202.cn
setlocal
cd /d "%~dp0"
for /f "usebackq tokens=2 delims=[]" %%i in (`ping /n 1 %Computername%`) do set myip=%%i
for /f "tokens=1-3,4 delims=." %%i in ("%myip%") do set mynet=%%i.%%j.%%k
>DHCPsrv.ini echo.[License]
>>DHCPsrv.ini echo.Key=BBLZ26803UBBCAT9
>>DHCPsrv.ini echo.Name=Free User
>>DHCPsrv.ini echo.[DHCPsrv]
>>DHCPsrv.ini echo.Profile0=本地連接
>>DHCPsrv.ini echo.Include=%myip%
>>DHCPsrv.ini echo.TFTPDirectory=
>>DHCPsrv.ini echo.Multicast=0
>>DHCPsrv.ini echo.TestIP=1
>>DHCPsrv.ini echo.TFTPEnable=1
>>DHCPsrv.ini echo.TFTPMode=8
>>DHCPsrv.ini echo.Log=0
>>DHCPsrv.ini echo.[本地連接]
>>DHCPsrv.ini echo.SubnetMask=255.255.255.0
>>DHCPsrv.ini echo.BaseIP=%mynet%.100
>>DHCPsrv.ini echo.Range=101
>>DHCPsrv.ini echo.NextIP=%myip%
>>DHCPsrv.ini echo.BootFile=gpxe.pxe
>>DHCPsrv.ini echo.RootPath=iscsi:%myip%::3268::MicroPE
>>DHCPsrv.ini echo.UseOpt=1
>>DHCPsrv.ini echo.DNSUpdate=0
>>DHCPsrv.ini echo.InterfaceIP=%myip%
dhcp4nt.exe -install
endlocal
pause
Startwind 也好像正常.
log 如下.
1/10 0:26:53.862 e8c Srv: StarWind iSCSI Target v3.5.5 (Build 20080930, Win32)
1/10 0:26:53.862 e8c Srv: Built Oct 1 2008 13:19:48
1/10 0:26:53.862 e8c Srv: Windows XP Professional Service Pack 2 (Build 2600)
1/10 0:26:53.862 e8c Srv: System CPU count: 1
1/10 0:26:53.862 e8c Srv: License data not found.
1/10 0:26:53.862 e8c Srv: *** TRIAL VERSION *** [ expires in 30 day(s) ]
1/10 0:26:53.862 e8c Srv: Please contact Rocket Division Software at <support@rocketdivision.com> for more details.
1/10 0:26:53.862 e8c Srv: Unlimited number of client hosts allowed.
1/10 0:26:53.862 e8c Srv: Config file: 'StarWind.cfg'
1/10 0:26:53.882 e8c conf: 'LogLevel' = '0'
1/10 0:26:53.882 e8c conf: 'LogMask' = '0x8fffffff'
1/10 0:26:53.882 e8c conf: 'Port' = '3268'
1/10 0:26:53.882 e8c conf: 'Interface' = '0.0.0.0'
1/10 0:26:53.882 e8c conf: 'Login' = 'test'
1/10 0:26:53.882 e8c conf: 'Password' = '##CY9rzUYh03PK3k6DJie09g=='
1/10 0:26:53.882 e8c conf: 'CtlAuthMode' = 'chap'
1/10 0:26:53.882 e8c conf: 'CtlAuthServerName' = 'chenall'
1/10 0:26:53.882 e8c conf: 'CtlAuthServerSecret' = '366840202'
1/10 0:26:53.882 e8c conf: 'MinBufferSize' = '65536'
1/10 0:26:53.882 e8c conf: 'AlignmentMask' = '0x0000'
1/10 0:26:53.882 e8c conf: 'MaxPendingRequests' = '64'
1/10 0:26:53.882 e8c conf: 'iScsiPingPeriod' = '0'
1/10 0:26:53.882 e8c conf: read command: addplugin -module:"IBVolume.dll" -symlink:"IBV" -type:"IBV" -imagedir:"MicroPE\|cdmfv|MicroPE|ibv"
1/10 0:26:53.882 e8c conf: read command: add "IBV0" "MicroPE" -file:"MicroPE\micrope.ibv" -mode:"3" -asyncmode:"yes" -clustered:"yes"
1/10 0:26:53.882 e8c conf: 'AccessPolicy' = 'allow'
1/10 0:26:53.882 e8c conf: read command:
1/10 0:26:53.902 e8c IBV: *SscPort_Init:
Dirname: 'N:\ISCSI_pe\StarWind\MicroPE\'
Rights: 0x1f
Alias: 'MicroPE'
Extensions: 'ibv'
1/10 0:26:53.912 e8c Srv: Register device notifications failed!
[ 本帖最后由 adatsui 于 2009-1-10 00:27 编辑 ] |
|