I'm in need of some step by step for dummies guidance please.
I sort of get what's needed and even managed to get a 2GB volume up and connected by use of the CreateHA_2.ps1 file.
I don't know if there is a guide somewhere but did I mention it needs to be simple for my simple brain .
Ok so I have two servers each with internal storage of about 26TB.
Each server has 2 NIC's. The first NIC is connected to the network switch, the second has a direct link cable to the other server.
SERVER1;
NIC1 (LAN) - 192.168.10.200
NIC2 (DIRECT LINK) - 192.168.0.1
SERVER2;
NIC1 (LAN) - 192.168.10.201
NIC2 (DIRECT LINK) - 192.168.0.2
My intention was to use the direct link NIC's for the iscsi traffic & cluster heartbeat and the LAN connected NIC's to be for all other traffic e.g. VM's etc etc.
So I have the powershell file and my parameters i.e. the first bit of the file look a bit like this;
Code: Select all
param($addr="192.168.10.201", $port=3261, $user="root", $password="starwind",
$addr2="192.168.10.200", $port2=$port, $user2=$user, $password2=$password,
#common
$initMethod="Clear",
# $size=24000000,
$size=2048,
$sectorSize=512,
$failover=0,
#primary node
$imagePath="My computer\V\Starwind",
$imageName="vmstorage",
$createImage=$true,
$storageName="",
$targetAlias="dr01",
$autoSynch=$true,
$poolName="pool1",
$syncSessionCount=1,
$aluaOptimized=$true,
$cacheMode="wb",
$cacheSize=128,
$hbInterface="#p2=192.168.10.200:3260,192.168.10.201:3260",
$syncInterface="#p2=192.168.0.1:3260" -f $addr2,
$createTarget=$true,
#secondary node
$imagePath2="My computer\V\Starwind",
$imageName2="vmstorage",
$createImage2=$true,
$storageName2="",
$targetAlias2="dr02",
$autoSynch2=$true,
$poolName2="pool1",
$syncSessionCount2=1,
$aluaOptimized2=$false,
$cacheMode2=$cacheMode,
$cacheSize2=$cacheSize,
$syncInterface2="#p1=192.168.0.2:3260" -f $addr,
$hbInterface2="#p1=192.168.10.201:3260,192.168.10.200:3260",
$createTarget2=$true
)
That being the case does my config script look correct?
Once I've run this and created my volume, I will then When I then connect my iSCSI Initiator I need to put in the IP address of the local server and the remote server on each node (Server)?
Sorry if this is a bit basic but I'm a bit new Starwind so I wanted to make sure I understood the terminology correctly.
Thanks in advance,
Paul.