Jump to content

giotis

Administrators
  • Posts

    1028
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by giotis

  1. Βγες σε ένα command και τρέξε ldp DCNamex από τον έναν στον άλλον για να δεις αν φτάνει 389 , εάν φτάνει η 389 τότε έχεις κάποιο άλλο θέμα , πιθανόν DNS configuration . Και κατέβασε το Active Directory Status replication tool για να δεις τι γίνεται στα Partitions. Στο Log που έχεις στείλει υπάρχει πρόβλημα στο Configuration Partition. Τα υπόλοιπα παίζουν κανονικά. Επίσης στον DC2 κάνε ένα restart τα ADDS Services και τρέξε repadmin /syncall /force και από τους δυο.
  2. giotis

    Display Name

    Καλησπέρα, τελικά όχι οπότε όπως είπα αν μπορείτε στείλτε μου σε mail τι θέλετε και θα το περνάω
  3. Πρέπει να τον δηλώσεις Computer Configuration - Windows Settings - Remote Desktop Services - Remote Desktop Session Host - Licensing
  4. Καλησπέρα , ο Foundation έχει max 15 Users Remote Desktop , αλλά max 50 Remote Desktop Gateway users, δηλαδή αν είχες 3-4 ακόμη τέτοιους Server ο ένας θα μπορούσε να χειριστεί τα connections. Τώρα για το Remote Desktop ,υπάρχει απαίτηση σε Domain για να τρέχουν οι management ρόλοι (Connection Broker, licensing κτλ). Χωρίς Domain η λύση είναι WMI και powershell για να κάνεις configure αρκετά πράγματα και λείπουν και κάποια άλλα όπως το remoteapp. Η αλήθεια είναι πως ούτε εγώ έχω στήσει Foundation ακόμη αλλά ο RDS ρόλος είναι ίδιος ,πλην του περιορισμού για τους 15 Users. Φυσικά θα χρειαστεί έξτρα άδειες για το RDS Να συμπληρώσω πως κανονικά ούτε το RDS είναι supported πάνω σε Domain Controller αλλά υπάρχει ένα άρθρο που εξηγεί πως να το στήσεις από την MS στο Technet σε περίπτωση που δεν γίνεται αλλιώς.
  5. Καλησπέρα , ναι θα πρέπει να αγοραστούν άδειες RDS . Τώρα για το RDS χωρίς Domain ,γίνεται απλά θέλει λίγο περισσότερη δουλειά .
  6. Λίγο που είδα την εξέταση , χρειάζεται και system center, οπότε μάλλον θα χρειαστείς και τέταρτο μηχάνημα. Το θέμα με τα Switch είναι να δεις πως φτιάχνεις έξτρα Vlan και να στέλνεις δίκτυα σε συγκεκριμένες πόρτες/VM.
  7. Καλησπέρα, πιστεύω πως δε μπορείς να δοκιμάσεις όλα τα Feature, όπως το LiveMigrations και τη δικτύωση σωστά. Failover Cluster μπορείς να κάνεις απλά δε θα ξεκινάνε τα Virtual Machine. Επίσης δε μπορείς να δοκιμάσεις το Replica με ένα μόνο Server. Και φυσικά θα έχεις πρόβλημα με το storage αν έχεις απλά δυο φυσικούς εξυπηρετητές. Οπότε το ελάχιστο είναι τρεις, δυο nodes και ένας για storage. Αν έχεις και τουλάχιστον τρείς-τέσσερις κάρτες δικτύου και δυο switch που υποστηρίζουν VLAN τότε θα δεις το 65% που είναι αρκετό για τις εξετάσεις πιστεύω.
  8. Διαθέσιμη η δοκιμή του Office 2016!Διαθέσιμη η δοκιμή του Office 2016! Ο Kirk Koenigsbauer αντιπρόεδρος του Office 365 ανακοίνωσε μέσα από το Blogτου Office την δυνατότητα οι IT Pros και οι Developers να γραφτούν στη δοκιμαστική έκδοση του νέου Office 2016 για να δοκιμάσουν τα παρακάτω Features! Εάν σας ενδιαφέρει μπορείτε να κάνετε εγγραφή σε αυτόν το σύνδεσμο! I’m pleased to announce the IT Pro and Developer Preview of Office 2016 for the Windows desktop. We’ve been in private preview with Office 2016 for several months. Now we’re ready to expand the program to our commercial Office 365 customers, an important milestone that gives IT pros and developers an opportunity to start testing the upcoming release. To be clear, this early build doesn’t yet contain all the features we’re planning to ship in the final product. However, through the course of the preview, customers should expect to see new features delivered through monthly updates. We’ll share more on the end-user enhancements planned for this release at a later date, but here’s a brief summary of some of the valuable updates for IT pros and developers. Data Loss Protection (DLP)—Over the last few years we’ve added DLP to Exchange, Outlook, OneDrive for Business and SharePoint. Now we’re bringing these same classification and policy features to Word, Excel and PowerPoint. With these new capabilities, IT admins can centrally create, manage and enforce polices for content authoring and document sharing—and end users will see policy tips or sharing restrictions when the apps detect a potential policy violation. Outlook—We’re delivering a number of significant technical improvements to Outlook. MAPI-HTTP protocol. We’ve replaced the RPC-based sync with a new Internet-friendly MAPI-HTTP protocol that supports Exchange/Outlook connectivity. Foreground network calls. We’ve eliminated the use of foreground network calls to ensure that Outlook stays responsive on unreliable networks. Multi-factor authentication. With this release of the Outlook client, we’ll support multi-factor authentication through integration with the Active Directory Authentication Library (ADAL). Email delivery performance. We’ve reduced the amount of time it takes to download messages, display the message list, and show new email after resuming from hibernation. Lean storage footprint. We’ve added settings that allow users to better manage storage by only retaining 1, 3, 7, 14 or 30 days of mail on the device. Search. We’ve improved the reliability, performance, and usability of Outlook search, and integrated the FAST-based search engine in Exchange. Click-to-Run deployment—For customers on our Office 365 subscription service, the 2016 release includes new deployment features that IT pros have been asking for: Better network traffic management. We’re introducing a new Background Intelligence Transfer Service (BITS) to help prevent congestion on the network. BITS throttles back the use of bandwidth when other critical network traffic is present. Enhanced distribution management. We’re improving our integration with System Center Configuration Manager (SCCM) to allow IT admins to efficiently download and distribute monthly Office updates using the native SCCM features. Flexible update management. We’ve created a way for admins to manage the pace at which they receive feature updates and bug fixes while continuing to receive regular security updates. Simplified activation management. We’re adding a feature in the Office 365 Admin Portal to allow admins to manage device activations across users. Macros and Add-ins—We’re not making any changes to Macros or Add-ins in this release. It’s rare that “no changes” is a something we’d want to highlight, but we think it’s worth celebrating the consistency in the programming model across releases. We understand how important this is and we’re committed to a high level of compatibility as we continue to innovate. (See dev.office.com for more on how we’re innovating in Office extensibility.)Accessibility—We’ve improved keyboard accessibility for high-value Excel features like PivotTables and Slicers, addressed a number of readability issues in Outlook, and introduced a dark theme for users with visual impairments. Information Rights Management (IRM)—We’ve extended IRM protection to Visio files, enabling both online and offline protection of Visio diagrams. These are just some of the new capabilities IT pros and developers will experience in the Preview. We’re excited about this milestone in our development process and are looking forward to hearing your feedback. For more details on the Office 2016 Preview program and instructions on how to download the applications, please visit the Office 2016 Preview program on the Microsoft Connect site. We’ll continue to update the product with new features as they become available and will periodically highlight significant announcements here along the way. Click here to view the article
  9. Δείτε και αυτό! Deep Dive στο Security https://channel9.msdn.com/Events/Ignite/2015/BRK3457 https://channel9.msdn.com/Events/Ignite/2015/BRK3457
  10. Καλησπέρα, καταρχήν οι ρόλοι πρέπει να πάνε τελευταίοι από τον SBS , διότι μετά από 14 μέρες θα κάνει Shutdown κάθε μία ώρα. Τώρα για το folder redirection , θα πρέπει να αλλάξεις την πολιτική να δείχνει στο νέο φάκελλο με Move the contents ή Να κάνει Move back to the original location και μετά νέα πολιτική στο νέο φάκελλο ή (Σε ένα μεγάλο Setup το έκανα αυτό) Μεταφορά τους φακέλλους με το χέρι , δημιουργία νέας πολιτικής και σε όσους δεν έπαιζε, με Registry Settings. Το Folder Redirection δεν κάνει κάτι τραγικό απλά αλλάζει τα κλειδιά στη Registry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  11. Πάει όσο είναι το TTL ή μέχρι να κάνει Flush/restart το Service. Για κάτι ακόμη μπορείς να δεις και αυτό https://technet.microsoft.com/en-us/library/cc759581(v=ws.10).aspx
  12. Πάτησε στο Forward Lookup Zones, μετά View-Advanced και θα σου βγάλει το Cached DNS Lookups όπου μπορείς να τα δεις
  13. ΟΚ , δες τότε το DNS Management στο Server με Advanced, απλά δε σου τα βγάζει ανά PC και τα requests λογικά θα είναι πολλά
  14. Μπορείς με View->Advanced αλλά αυτό δεν είναι ανά PC, εκεί θα χρειαστείς Wireshark
  15. Άντε ας βάλω άλλο ένα , αυτό είναι το SQL VM Preparation, στο οποίο παίρνω το Template VHDX και το ετοιμάζω με ένα νέο Unattend για να πάει στη θέση του έτσι ώστε να στήσω το SQL Cluster παρακάτω , θέλω κάποια στιγμή να το δείξω αυτό πως παίζει! #Arm the name and the HDD's to be added #Cpu Cores in the VM $CpuCount=6 #Ram Size $RAMCount=10GB #VMName , will also become the Computer Name $Name="iQLSQL1" #Domain IP $IPDomain="192.168.3.11" #Cluster network IP $IPCluster="10.20.30.100" #Default Gateway $DefaultGW="192.168.3.254" #DNS Server for Domain Access $DNSServer="192.168.3.1" #DNS Domain Name $DNSDomain="iQLab.gr" #Switches for domain Communication and cluster comms $SwitchNameDomain="DomainTemp" $SwitchNamePrivate="ClusterTemp" #Mac Address for nics $MacAddressDomain="00-15-5D-65-99-11" $MacAddressCluster="00-15-5D-65-99-12" #Username,password and org info $AdminAccount="Administrator" $AdminPassword="P@ssw0rd" $Organization="iQ Labs" #This ProductID is actually the AVMA key provided by MS $ProductID="Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW" #Where are the folders with prereq software ? $StartupFolder="C:\Setup\Prerequisites" $TemplateLocation="C:\Setup\Prerequisites\template.vhdx" $UnattendLocation="C:\Setup\Prerequisites\unattend.xml" $Path= Get-VMHost |select VirtualMachinePath -ExpandProperty VirtualMachinePath #Folder and file name path for SQL HDD's $VHDPath=$Path + $Name + "\" + $Name + ".vhdx" $DataDisk1=$Path + $Name + "\" + $Name +"_SQLDataDisk" + ".vhdx" $LogDisk1=$Path + $Name + "\" + $Name + "_SQLLogDisk" + ".vhdx" $TempDisk1=$Path + $Name + "\" + $Name + "_SQLTempDisk" + ".vhdx" $Quorum=$Path + $Name + "\" + $Name + "_Quorum" + ".vhdx" $TempVHD=$Path + $Name + "\" + $Name + "_Temp.vhdx" #Start!-----------------------------------------------------------------------#### #Create the VM New-VM -Name $Name -Path $Path -SwitchName $SwitchNameDomain -MemoryStartupBytes $RAMCount -Generation 2 -NoVHD #Add a second adapter for cluster comms Add-VMNetworkAdapter -VMName $Name -SwitchName $SwitchNamePrivate #Get network adapters and set mac addresses, will add these to the unattend.xml file later on $ArmedDomainMAC=$MacAddressDomain -replace "-","" $ArmedClusterMAC=$MacAddressCluster -replace "-","" $DomainNic=Get-VMNetworkAdapter $Name |where {$_.SwitchName -eq $SwitchNameDomain} |Set-VMNetworkAdapter -StaticMacAddress $MacAddressDomain $ClusterNic=Get-VMNetworkAdapter $Name |where {$_.SwitchName -eq $SwitchNamePrivate} |Set-VMNetworkAdapter -StaticMacAddress $MacAddressCluster #Copy the template and add the disk Copy-item $TemplateLocation -Destination $VHDPath Set-VM -Name $Name -ProcessorCount $CpuCount -AutomaticStartAction Start -AutomaticStopAction ShutDown -AutomaticStartDelay 90 #Create the SQL Data drives Add-VMHardDiskDrive -VMName $Name -ControllerType SCSI -Path $VHDPath New-VHD -Path $DataDisk1 -Dynamic -SizeBytes 100GB Add-VMHardDiskDrive -VMName $Name -ControllerType SCSI -Path $DataDisk1 -SupportPersistentReservations New-VHD -Path $LogDisk1 -Dynamic -SizeBytes 50GB Add-VMHardDiskDrive -VMName $Name -ControllerType SCSI -Path $LogDisk1 -SupportPersistentReservations New-VHD -Path $TempDisk1 -Dynamic -SizeBytes 80GB Add-VMHardDiskDrive -VMName $Name -ControllerType SCSI -Path $TempDisk1 -SupportPersistentReservations New-VHD -Path $Quorum -Dynamic -SizeBytes 1GB Add-VMHardDiskDrive -VMName $Name -ControllerType SCSI -Path $Quorum -SupportPersistentReservations #Set first boot device $Drive=Get-VMHardDiskDrive -VMName $Name | where {$_.Path -eq "$VHDPath"} Get-VMFirmware -VMName $Name | Set-VMFirmware -FirstBootDevice $Drive #Prepare the unattend.xml file to send out, simply copy to a new file and replace values Copy-Item $UnattendLocation $StartupFolder\"unattend"$Name".xml" $DefaultXML=$StartupFolder+ "\unattend"+$Name+".xml" $NewXML=$StartupFolder + "\unattend$Name.xml" $DefaultXML=Get-Content $DefaultXML $DefaultXML | Foreach-Object { $_ -replace '1AdminAccount', $AdminAccount ` -replace '1Organization', $Organization ` -replace '1Name', $Name ` -replace '1ProductID', $ProductID` -replace '1MacAddressDomain',$MacAddressDomain ` -replace '1DefaultGW', $DefaultGW ` -replace '1DNSServer', $DNSServer ` -replace '1DNSDomain', $DNSDomain ` -replace '1AdminPassword', $AdminPassword ` -replace '1IPDomain', $IPDomain ` } | Set-Content $NewXML #Mount and send the configuration items to unattend.xml on the boot vhd!!! $vhdsize = 1GB New-VHD -Path $TempVHD -Dynamic -SizeBytes $vhdsize | Mount-VHD -Passthru |Initialize-Disk -Passthru |New-Partition -DriveLetter X -UseMaximumSize |Format-Volume -FileSystem NTFS -Confirm:$false -Force Dismount-VHD $TempVHD mount-vhd -path $TempVHD #Copy the new unattend Copy-Item $NewXML -Destination x:\unattend.xml #Eject VHD Dismount-VHD $TempVHD #Mount this drive to the scsi channel Add-VMHardDiskDrive -VMName $Name -ControllerType SCSI -Path $TempVHD #Enable Remote Connections to this VM Set-Item WSMan:\localhost\Client\TrustedHosts –Value * -Force #Start the VM Start-VM $Name #Phase 1 Complete---------------------------------------------------------------------# #Start Phase 2 Configure the VM #Let's Connect $password = ConvertTo-SecureString $AdminPassword -AsPlainText -Force $cred= New-Object System.Management.Automation.PSCredential ($AdminAccount, $password ) Enter-PSSession $IPDomain -Credential $cred #Rename the nics so we do not get lost , but first , try to ping to see if something went bad #Check to see if we have a winner, else change IP address and names on the NICs $DNSServer="192.168.3.1" $PingDNSResult=Test-Connection $DNSServer -Count 1 -ErrorAction SilentlyContinue #Did it ping? If ($PingDNSResult.Statuscode -eq 0) { #Simply rename , we had it on the first place $PublicAdapter=Get-NetIPAddress |Where {$_.IPAddress -match $IPDomain}| select InterfaceAlias -ExpandProperty InterfaceAlias $ClusterAdapter=Get-NetIPAddress |Where {$_.IPAddress -match $IPCluster}| select InterfaceAlias -ExpandProperty InterfaceAlias Rename-NetAdapter $PublicAdapter -NewName "Public Data" Rename-NetAdapter $ClusterAdapter -NewName "Cluster Data" } else { #No.... OK start from scrach , change the nics , continue and rename Get-NetAdapter| Remove-NetIPAddress -Confirm:$False Get-NetAdapter -Name "Ethernet 2" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HostClusterAddress -PrefixLength 24 Get-NetAdapter -Name "Ethernet" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HostDomainAddress -PrefixLength 24 -DefaultGateway $GW Get-NetAdapter -Name "Ethernet" | Set-DnsClientServerAddress -ServerAddresses $DNS $PublicAdapter=Get-NetIPAddress |Where {$_.IPAddress -match $IPDomain}| select InterfaceAlias -ExpandProperty InterfaceAlias $ClusterAdapter=Get-NetIPAddress |Where {$_.IPAddress -match $IPCluster| select InterfaceAlias -ExpandProperty InterfaceAlias Rename-NetAdapter $PublicAdapter -NewName "Public Data" Rename-NetAdapter $ClusterAdapter -NewName "Cluster Data" }
  16. Καλημέρα, η λύση είναι η 4η. Καταρχήν το Cluster Service πλέον δεν χρειάζεται τον DC για να ξεκινήσει (νομίζω πως αυτό γίνεται με τη χρήση Postdated tickets , αλλά δεν έχω πληροφορίες ,είναι μια διαίσθηση). Στο Cloud Platform System υπάρχουν 3 DC για το Management Infrastructure , και οι τρεις κάθονται πάνω σε ένα VM αποθηκευμένο σε SSD που είναι directly attached στους Node του Management. Γενικά σε Hosts πέραν τον Agent για το Management καλό είναι να μην βάζουμε τίποτα άλλο, εαν είναι Cluster Nodes τότε στις περισσότερες περιπτώσεις δεν θα είναι και Supported Scenario.
  17. Και αυτό είναι το πρώτο HVNode πριν το Cluster Αλλάζει μερικές παράμετρους και στήνει το Storage Space #------------------------------------------------------------------------------------------------------------# #Configure basic Hyper V Host configuration $ComputerName="iQLHV1" $ISOFile="c:\setup\iso\en_windows_server_2012_r2_with_update_x64_dvd_4065220.iso" #Enable RDP Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\terminal server' -Name "FdenyTSConnections" -Value 0 #Enable Rules for RDP Enable-NetFirewallRule -DisplayGroup "Remote Desktop" #Set time zone to GTB (Greece,Turkey,Belarus) , this is actually a dos command tzutil /s "GTB Standard Time" #Disable IE Esc Set-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}” -Name “IsInstalled” -Value 0 Set-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}” -Name “IsInstalled” -Value 0 #Configure updates cscript c:\Windows\system32\scregedit.wsf /au 4 Set-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” -Name “AUOptions” -Value 3 Set-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” -Name “IncludeRecommendedUpdates” -Value 1 Set-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” -Name “CachedAUOptions” -Value 3 Restart-Service wuauserv #Rename the computer Rename-Computer -NewName $ComputerName #Let's install the roles and features needed #Mount the iso, get the letter name to set to source variable $Source=Mount-DiskImage -ImagePath $ISOFile -PassThru|Get-Volume | select DriveLetter -ExpandProperty DriveLetter Install-WindowsFeature Hyper-V -IncludeManagementTools Install-WindowsFeature NET-Framework-Core -Source "$Source\sources\sxs" Install-WindowsFeature Failover-Clustering Install-WindowsFeature Multipath-IO Install-WindowsFeature SNMP-Service -IncludeAllSubFeature #Reboot please #------------------------------------------------------------------------------------------------------------# #Prepare the Storage Pool that will store the VM's #Get the disks first! $Disks=Get-PhysicalDisk -CanPool $True #Find the storage subsystem (which is local on our case) $StorageSubSystem=Get-StorageSubSystem | Select UniqueId -ExpandProperty UniqueId #Create the Storage Pool New-StoragePool -FriendlyName "VM Volume" -StorageSubSystemUniqueId $StorageSubSystem -PhysicalDisks $Disks #Create the Virtual Disk on the Space #Get the Storage Pool id $StoragePoolId=Get-StoragePool -FriendlyName "VM Volume" | Select UniqueId -ExpandProperty UniqueId #Create the Vdisk New-VirtualDisk -FriendlyName "HyperV" -StoragePoolUniqueId $StoragePoolId -UseMaximumSize -ProvisioningType Fixed -ResiliencySettingName "Parity" #Online the Vdisk and format it #Find the disk , keep its number in a variable for the rest of the operations $Disk=Get-Disk | where {$_.OperationalStatus -eq "Offline"} |select Number -ExpandProperty Number #Bring the disk Online Get-Disk -Number $Disk | Set-Disk -IsOffline $False #Initialize disk in GPT Get-Disk -Number $Disk | Initialize-Disk -PartitionStyle GPT #Create new partition on it Get-disk -Number $Disk | New-Partition -DriveLetter H -UseMaximumSize #Format the Partition to NTFS Get-Partition -DriveLetter H |Format-Volume -FileSystem NTFS -NewFileSystemLabel "HyperV" -Confirm:$False #------------------------------------------------------------------------------------------------------------# #Configure temporary Networking ,we will use VMM later on #Enter the Switch name that will be used for domain access $SwitchName1="DomainTemp" #Enter the Switch name that will be used for client private communication $SwitchName2="ClusterTemp" #Enter the HyperV host Address $HVHostDomainAddress="192.168.3.10" #Enter the default GW $GW="192.168.3.254" #Enter the default DNS Server $DNS="192.168.3.1" #Add the switches New-VMSwitch -Name "$SwitchName1" -SwitchType Internal New-VMSwitch -Name "$SwitchName2" -SwitchType Private #Set the IP address on the net adapters Get-NetAdapter -Name "vEthernet ($SwitchName1)" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HVHostDomainAddress -PrefixLength 24 -DefaultGateway $GW Get-NetAdapter -Name "vEthernet ($SwitchName1)" | Set-DnsClientServerAddress -ServerAddresses $DNS #------------------------------------------------------------------------------------------------------------# #Configure Basic Host Options #Enter the path that will be used for HyperV VM's $Path="h:\" #Set the default VM path and Enhanced Session Mode to True set-vmhost -VirtualHardDiskPath $Path -VirtualMachinePath $Path -EnableEnhancedSessionMode $True
  18. Επειδή φτιάχνομαι άσχημα μετο Powershell (ήθελα βέβαια σε ένα Event να δείξω πως φτιάχνω το Lab σε Private Cloud ) έχω σχεδόν τελειώσει την δικιά μου έκδοση του Powershell Deployment Toolkit, αυτό είναι το Script που φτιάχνει τον πρώτο Node στο SQL Cluster!, Κάνει Join το Node στο Domain, βάζει ονόματα στις κάρτες , παίρνει τους δίσκους (που είναι Shared VHDX) τους βάζει στο Cluster ,κάνει Form το Cluster και Test #Arm the variables #Domain name and OU $domain="iqlab" $Suffix="gr" $DomainFQDN=$domain + "." + $Suffix #Enter the node and cluster name $Node="iQLSQL1" #Enter the host Address $HostDomainAddress="192.168.3.12" #Enter the Cluster host Address $HostClusterAddress="172.16.24.10" #Enter the default GW $GW="192.168.3.254" #Enter the default DNS Server $DNS="192.168.3.1" #Cluster Name $ClusterName="SCSQL" #Arm the IP's on each net adapter Get-NetAdapter -Name "Ethernet 2" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HostDomainAddress -PrefixLength 24 -DefaultGateway $GW Get-NetAdapter -Name "Ethernet 2" | Set-DnsClientServerAddress -ServerAddresses $DNS Get-NetAdapter -Name "Ethernet" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HostClusterAddress -PrefixLength 24 #Check to see if we have a winner, else change IP address and names on the NICs sleep 5 $PingDNSResult=Test-Connection $DNS -Count 1 -ErrorAction SilentlyContinue #Did it ping? If ($PingDNSResult.Statuscode -eq 0) { #Simply rename , we had it on the first place $PublicAdapter=Get-NetIPAddress |Where {$_.IPAddress -match "192.168.3*"}| select InterfaceAlias -ExpandProperty InterfaceAlias $ClusterAdapter=Get-NetIPAddress |Where {$_.IPAddress -match "172.16.24.*"}| select InterfaceAlias -ExpandProperty InterfaceAlias Rename-NetAdapter $PublicAdapter -NewName "Public Data" Rename-NetAdapter $ClusterAdapter -NewName "Cluster Data" } else { #No.... OK start from scrach , change the nics , continue and rename Get-NetAdapter| Remove-NetIPAddress -Confirm:$False Get-NetAdapter -Name "Ethernet 2" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HostClusterAddress -PrefixLength 24 Get-NetAdapter -Name "Ethernet" | New-NetIPAddress -AddressFamily IPv4 -IPAddress $HostDomainAddress -PrefixLength 24 -DefaultGateway $GW Get-NetAdapter -Name "Ethernet" | Set-DnsClientServerAddress -ServerAddresses $DNS $PublicAdapter=Get-NetIPAddress |Where {$_.IPAddress -match "192.168.3*"}| select InterfaceAlias -ExpandProperty InterfaceAlias $ClusterAdapter=Get-NetIPAddress |Where {$_.IPAddress -match "172.16.24.*"}| select InterfaceAlias -ExpandProperty InterfaceAlias Rename-NetAdapter $PublicAdapter -NewName "Public Data" Rename-NetAdapter $ClusterAdapter -NewName "Cluster Data" } #Join the computer to the domain! Add-Computer -DomainName $DomainFQDN -NewName $Node -OUPath "OU=Member Servers,OU=Infra,DC=iqlab,DC=GR" #Please Reboot!!! #----------------------------------------------------------------# #Part Two - Form the Cluster $Node="iQLSQL1.iqlab.gr" #Cluster Name $ClusterName="SCSQL" #Online the Disks Get-Disk |where {$_.OperationalStatus -eq "Offline"} | set-disk -IsOffline $False #Initialize , format and ready the disks! Get-Disk |where {$_.Size -match "107374182400" -and $_.IsBoot -eq $False} |Initialize-Disk -PartitionStyle GPT Get-Disk |where {$_.Size -match "107374182400" -and $_.IsBoot -eq $False} |New-Partition -DriveLetter S -UseMaximumSize Get-Partition -DriveLetter S |Format-Volume -FileSystem NTFS -NewFileSystemLabel "SQL Data" -AllocationUnitSize 64KB -Confirm:$False Get-Disk |where {$_.Size -eq "85899345920"}|Initialize-Disk -PartitionStyle GPT Get-Disk |where {$_.Size -eq "85899345920"}|New-Partition -DriveLetter L -UseMaximumSize Get-Partition -DriveLetter L |Format-Volume -FileSystem NTFS -NewFileSystemLabel "SQL Logs" -AllocationUnitSize 64KB -Confirm:$False Get-Disk |where {$_.Size -eq "53687091200"}|Initialize-Disk -PartitionStyle GPT Get-Disk |where {$_.Size -eq "53687091200"}|New-Partition -DriveLetter T -UseMaximumSize Get-Partition -DriveLetter T |Format-Volume -FileSystem NTFS -NewFileSystemLabel "SQL Temp" -AllocationUnitSize 64KB -Confirm:$False Get-Disk |where {$_.Size -eq "1073741824"}|Initialize-Disk -PartitionStyle GPT Get-Disk |where {$_.Size -eq "1073741824"}|New-Partition -DriveLetter Q -UseMaximumSize Get-Partition -DriveLetter Q |Format-Volume -FileSystem NTFS -NewFileSystemLabel "Quorum" -AllocationUnitSize 64KB -Confirm:$False #Install the cluster tools Add-WindowsFeature Failover-clustering Add-WindowsFeature RSAT-Clustering-MGMT sleep 5 #Form the cluster New-Cluster -Name $ClusterName -Node $Node -StaticAddress 192.168.3.99 #Add the disks to the cluster and name them! $DataDiskName=Get-ClusterAvailableDisk |where {$_.Size -match "107374182400"} |select Name -ExpandProperty Name Get-ClusterAvailableDisk |where {$_.Size -match "107374182400"} |Add-ClusterDisk -Cluster SCSQL (Get-ClusterResource $DataDiskName ).name="SQL Data Disk" $LogDiskName=Get-ClusterAvailableDisk |where {$_.Size -match "53687091200"} |select Name -ExpandProperty Name Get-ClusterAvailableDisk |where {$_.Size -match "53687091200"} |Add-ClusterDisk -Cluster SCSQL (Get-ClusterResource $LogDiskName ).name="SQL Log Disk" $TempDiskName=Get-ClusterAvailableDisk |where {$_.Size -match "85899345920"} |select Name -ExpandProperty Name Get-ClusterAvailableDisk |where {$_.Size -match "85899345920"} |Add-ClusterDisk -Cluster SCSQL (Get-ClusterResource $TempDiskName ).name="SQL Temp Disk" $QuorumDiskName=Get-ClusterAvailableDisk |where {$_.Size -match "1073741824"} |select Name -ExpandProperty Name Get-ClusterAvailableDisk |where {$_.Size -match "1073741824"} |Add-ClusterDisk -Cluster SCSQL (Get-ClusterResource $QuorumDiskName ).name="Quorum" #Now that we have disks , configure Quorum Set-ClusterQuorum -NodeAndDiskMajority "Quorum" #Name the networks so u do not get lost set cluster comms on Subnet Public (Get-ClusterNetwork | where-object {$_.Address -eq "192.168.3.0"}).Name = "Public Data" (Get-ClusterNetwork | where-object {$_.Address -eq "172.16.24.0"}).Name = "Cluster Data" (Get-ClusterNetwork “Cluster Data”).Role =1 #Test the Cluster Test-Cluster -Cluster $ClusterName
  19. Καλημέρα, τα σύγχρονα License Keys έχουν Software που τα διαμοιράζει στο δίκτυο, αν δεν το κάνει υπάρχει Software όπως έγραψε ο Klag και Hardware να προσθέσω σε σχετικά λογική τιμή ~150 ευρώ Τι μάρκα είναι το Hasp;
  20. Καλησπέρα, ρίξε μια ματιά https://social.technet.microsoft.com/Forums/en-us/475d3b03-c67e-4ef5-83d3-24e31a586a1e/download-the-evaluation-windows-server-2012-r2-product-key?forum=winserver8gen https://technet.microsoft.com/en-us/library/jj574204.aspx
  21. Έχουμε ISO, οπότε γράψε εδώ τι θέλεις για UserName καθώς και ένα τραπεζικό λογαριασμό να σου στείλω κάτι λεφτά από ένα ξάδερφο στη Νιγηρία, Χωρίς πλάκα δεν το έχω βρει οπότε αυτό το thread βολεύει για να τα αλλάζω σε χρόνο DT
  22. To Domain Functional Level δεν μπορεί να ανέβει αν υπάρχει 2003 DC, από εκεί και πέρα και τώρα να μεταφέρεις τους FSMO δεν θα υπάρχει πρόβλημα αν δουλεύει καλά το Domain σου. Τον 2012 τον εγκαθιστάς όποτε θέλεις , δε λέει κάτι, τα DNS στα τερματικά να φροντίσεις μόνο και να βεβαιωθείς πως όλα δουλεύουν καλά πριν ξεκινήσεις τις μεταφορές.
  23. Free ebook: Microsoft System Center Operations Manager Field Experience!
  24. Καλημέρα,εδώ υπάρχουν οι οδηγίες https://technet.microsoft.com/en-us/library/dn782858.aspx
  25. Νίκο κάτω έχει Change theme , θεωρητικά πρέπει να μπορείς να βάλεις και το παλιό
×
×
  • Create New...