The last two commands set variables that are used in the cluster
management section.
$Disk1_Volume=???Quorum???
$Disk2_Volume=???Data???
$Disk3_Volume=???Logs???
format $Disk1_Letter.Insert(1,???:???) /FS:NTFS /V:$Disk1_Volume /y
format $Disk2_Letter.Insert(1,???:???) /FS:NTFS /V:$Disk2_Volume /y
format $Disk3_Letter.Insert(1,???:???) /FS:NTFS /V:$Disk3_Volume /y
$Disk2_Drive=$Disk2_Letter.Insert(1,???:???)
$Disk3_Drive=$Disk3_Letter.Insert(1,???:???)
Figure 13-8
Part III: Working with PowerShell in a Production Environment
374
Figure 13 - 9 shows the script formatting each of the disk drives that were created in Figure 13 - 8 .
Figure 13-9
Once again, verify the formatting using disk manager, as shown in Figure 13 - 10 .
By using PowerShell to interact with common command - line executables, you have configured the
service account user and OU for the cluster, configured the network settings on both servers, and
prepared the shared disks for the cluster installation.
Chapter 13: Single Copy Clusters
375
Figure 13-10
Cluster Installation
Thus far all of the preparatory work in this chapter has been to properly deploy a two - node cluster using
PowerShell. The cluster install continues to build off of the previous work and uses cluster.exe , the
cluster utility command - line tool, to install and configure the cluster.
Pages:
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524