Jump to content

nkspeed

Members
  • Posts

    700
  • Joined

  • Last visited

  • Days Won

    14

Reputation Activity

  1. Like
    nkspeed reacted to emmstra in Θέμα με vb script σε domain   
    Τελικα βρηκα τι εφταιγε...
    Στην συγκεκριμενη εκδοση "limited windows" λειπουν καποια client-side extensions από την registry και ετσι δεν μπορουσε να τρεξει καποιες  πολιτικες συμπεριλαμβανομενου τα logon scripts...
  2. Like
    nkspeed reacted to emmstra in Θέμα με vb script σε domain   
    ok συγνωμη.
  3. Like
    nkspeed reacted to kavag in Ερωτήσεις για την πιστοποίηση 74-409.   
    Ο Hyper-V δεν υποστηρίζει το λεγόμενο nested virtualization, οπότε δεν μπορείς να "ανάψεις" Virtual Machine μέσα στο Virtual Machine.
    Παρεπιπτόντως, αυτό είναι ένα από τα features που ζητάνε περισσότερο οι χρήστες.
     
    Αυτό που λέει ο Νίκος είναι μια συνηθισμένη πρακτική, δηλαδή βάζεις ESXi, που υποστηρίζει nested virtualization, και εκεί δημιουργείς Hyper-V Clusters, ΗΑ Virtual Machines κ.λ.π. 
     
    Νομίζω, ότι μπορείς να στήσεις ακόμη και το πιο σύνθετο LAB σε Single Host, αρκεί να προβλέψεις εκ των προτέρων τις απαιτήσεις του LAB που θέλεις να δημιουργήσεις. 
     
    Για να πάρεις μια ιδέα, παραθέτω το παρακάτω link στο οποίο φαίνεται η υλοποίηση ενός Scale Out File Server σε Single Host
     
    http://blogs.technet.com/b/josebda/archive/2013/07/31/windows-server-2012-r2-storage-step-by-step-with-storage-spaces-smb-scale-out-and-shared-vhdx-virtual.aspx
     
    Σε αυτό το LAB γίνεται προσομείωση τόσο κοινόχρηστου Storage μέσω Shared VHDs όσο και πολλαπλών κοινόχρηστων δικτύων μέσω Hyper-V Switches.
     
    Δεν πιστεύω ότι χρειάζεσαι πολλά μηχανήματα για το LAB σου, αρκεί να έχεις χρόνο για να σχεδιάσεις σωστά !
  4. Like
    nkspeed reacted to giotis in RDP License Win Server 2012 Foundation   
    Πρέπει να τον δηλώσεις
     
    Computer Configuration - Windows Settings - Remote Desktop Services - Remote Desktop Session Host - Licensing
  5. Like
    nkspeed reacted to giotis in Failover clustering PowerShell   
    Άντε ας βάλω άλλο ένα , αυτό είναι το 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" }
  6. Like
    nkspeed got a reaction from Blackman in Microsoft Azure was most FAIL-FILLED cloud of 2014   
    Θα συμφωνησω μαζι σου οτι ειναι για ολα τα region, και οσα περισσοτερα εχεις τοσο σπαει ο μεσος ορος, θα διαφωνησω για το παραπλανητικο γιατι ετσι ακριβως μετραει και τους αλλους παροχους.
     
    ΝΚ
  7. Like
    nkspeed got a reaction from Blackman in Linux TCP/IP networking: net-tools vs. iproute2   
    Μερικα ακομα παραδειγματα How To Use Ip Command In Linux with Examples
     

  8. Like
    nkspeed reacted to kavag in TechDays Online - A Microsoft Azure Special   
    Ένα τριήμερο online event με κεντρικό θέμα το Microsoft Azure και τις υπηρεσίες του. Η μετάδοση θα γίνει απ' ευθείας από το Campus της Microsoft στην Αγγλία.
     
    Πληροφορίες σχετικά με τα Sessions και  τους ομιλητές καθώς επίσης και εγγραφές μπορείτε να κάνετε εδώ
     
    Three day online event: 2nd, 3rd & 4th June
  9. Like
    nkspeed reacted to giotis in Μεταφορά domain από SBS 2008 σε 2012 R2 - Users Redirected folders   
    Καλησπέρα, καταρχήν οι ρόλοι πρέπει να πάνε τελευταίοι από τον 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
  10. Like
    nkspeed reacted to giotis in The Domain Controller Dilemma   
    Καλημέρα, η λύση είναι η 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.
  11. Like
    nkspeed reacted to kavag in Hyper-V Security Best Practices   
    H 5nine Software είναι μιά εταιρεία που παράγει Software για τον Hyper-V, από V2V Converter μέχρι διαχειριστικά εργαλεία για Cluster ή Single Hosts, Cloud Security και μάλιστα χωρίς την εγκατάσταση agents στα Virtual Machines κ.λ.π.
     
    Πρόσφατα, στο δυναμικό της εταιρείας προστέθηκε ο Symon Perriman με τον τίτλο του VP of Business Development. Διοργανώνουν λοιπόν ένα Webinar σχετικά με:
     
    Hyper-V Security Best Practices, for Hosting, VDI and Service Providers
     
    Η συμμετοχή είναι δωρεάν και μπορείτε να κάνετε την εγγραφή σας εδώ
     
    5Nine Software | Live Webinar: Hyper-V Security Best Practices
     
     
  12. Like
    nkspeed reacted to giotis in Failover clustering PowerShell   
    Και αυτό είναι το πρώτο 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
  13. Like
    nkspeed reacted to giotis in Failover clustering PowerShell   
    Επειδή φτιάχνομαι άσχημα μετο 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
  14. Like
    nkspeed reacted to kavag in The Domain Controller Dilemma   
    Η λύση να εγκατασταθεί o οποιοσδήποτε άλλος ρόλος μαζί με τον Hyper-V στον Host, αποτελεί αφενός ένα μη υποστηριζόμενο σενάριο, ενώ στον Windows Server 2012R2 δημιουργεί και άλλα προβλήματα, όπως το να μην ανεβαίνει το Cluster Service.
     
    Η πιό δοκιμασμένη και ενδεδειγμένη λύση απο αυτές που αναφέρονται στο άρθρο, ειδικότερα με τον Windows Server 2012R2, είναι η τέταρτη. Αυτό γιατί σε αυτήν την έκδοση του Server το Cluster Service θα ξεκινήσει ακόμη και εάν δεν βρει τον Domain Controller.
  15. Like
    nkspeed got a reaction from azac354 in Getting Started with Linux   
    Ένας χρήσιμος οδηγός και ευκολοδιάβαστος για μια γρήγορη εισαγωγή στο linux.
     
     

     
    An Introduction to the Linux Terminal Basic Linux Navigation and File Management An Introduction to Linux Permissions An Introduction to Linux I/O Redirection  
     
     
    NK
  16. Like
    nkspeed reacted to proximagr in Local Administrator Password Solution (LAPS)   
    Thanks Νίκο, φαίνεται καλό και πρόθυμο!
  17. Like
    nkspeed got a reaction from afotakel in Local Administrator Password Solution (LAPS)   
    Επεσα τυχαια επανω σε κατι που σιγουρα θα ενδιαφερει πολλους. Επιτελους σωστη λυση της Microsoft για την διαχειριση των local admin passwords τερματικων που ειναι σε domain. Παρεχει την δυνατοτητα να αποθηκευει τον καθε κωδικο του εκαστοτε λειτουργικου συστηματος στο active directory, με αποτελεσμα να εχουμε διαφορετικα password ανα υπολογιστη και να εφαρμοζουμε ρολους για admin deligation.
     
    link
     
    NK
  18. Like
    nkspeed got a reaction from proximagr in Local Administrator Password Solution (LAPS)   
    Επεσα τυχαια επανω σε κατι που σιγουρα θα ενδιαφερει πολλους. Επιτελους σωστη λυση της Microsoft για την διαχειριση των local admin passwords τερματικων που ειναι σε domain. Παρεχει την δυνατοτητα να αποθηκευει τον καθε κωδικο του εκαστοτε λειτουργικου συστηματος στο active directory, με αποτελεσμα να εχουμε διαφορετικα password ανα υπολογιστη και να εφαρμοζουμε ρολους για admin deligation.
     
    link
     
    NK
  19. Like
    nkspeed reacted to pkouris in Αγορά Windows 2012 R2 ή να περιμένω την επόμενη έκδοση;   
    Αρα έχεις γλιτώσει 50% , αν αγόραζες τώρα 2012R2 και μετά από 2 χρόνια την v-next.
     
    Επίσης από καθαρά οικονομολογιστική άποψη, τα σενάρια 1 + 2 που είναι μέσω συμβολαίου, υπάγονται στα έξοδα και όχι στα πάγια ... συνήθως οι οικονομικοί διευθυντές χαμογελάνε με τα έξοδα
  20. Like
    nkspeed reacted to Blackman in Linux Integration Services Version 4.0 for Hyper-V   
    thx for sharing Nick!
  21. Like
    nkspeed reacted to Blackman in Display Name   
    όσοι έχουν σχέση με το TFRC έχουν πρόβλημα φαίνεται.

    παίδες...μόνο εγώ δεν έχω ; lol
  22. Like
    nkspeed got a reaction from Blackman in Microsoft free press   
    αν και τα περισσοτερα εχουν ξαναπερασει σε αυτο το λινκ ειναι ολα μαζεμενα.
    http://www.microsoftvirtualacademy.com/ebooks
     
     
    ΝΚ
     
  23. Like
    nkspeed got a reaction from Blackman in Linux Integration Services Version 4.0 for Hyper-V   
    Πριν λιγες μερες ανέβηκαν νεα Integration Services για Linux και ειναι διάθεσημα για download.
     
    Μια λιστα για το τι ακριβως προσφερουν σε linux vms
     
    When installed in a supported Linux virtual machine running on Hyper-V, the Linux Integration Services provide:

    •Driver support: Linux Integration Services supports the network controller and the IDE and SCSI storage controllers that were developed specifically for Hyper-V.
    •Fastpath Boot Support for Hyper-V: Boot devices now take advantage of the block Virtualization Service Client (VSC) to provide enhanced performance.
    •Time Keeping: The clock inside the virtual machine will remain accurate by synchronizing to the clock on the virtualization server via Timesync service, and with the help of the pluggable time source device.
    •Integrated Shutdown: Virtual machines running Linux can be shut down from either Hyper-V Manager or System Center Virtual Machine Manager by using the “Shut down” command.
    •Symmetric Multi-Processing (SMP) Support: Supported Linux distributions can use multiple virtual processors per virtual machine. The actual number of virtual processors that can be allocated to a virtual machine is only limited by the underlying hypervisor.
    •Heartbeat: This feature allows the virtualization server to detect whether the virtual machine is running and responsive.
    •KVP (Key Value Pair) Exchange: Information about the running Linux virtual machine can be obtained by using the Key Value Pair exchange functionality on the Windows Server 2008 virtualization server.
    •Integrated Mouse Support: Linux Integration Services provides full mouse support for Linux guest virtual machines.
    •Live Migration: Linux virtual machines can undergo live migration for load balancing purposes.
    •Jumbo Frames: Linux virtual machines can be configured to use Ethernet frames with more than 1500 bytes of payload.
    •VLAN tagging and trunking: Administrators can attach single or multiple VLAN ids to synthetic network adapters.
    •Static IP Injection: Allows migration of Linux virtual machines with static IP addresses.
    •Linux VHDX resize: Allows dynamic resizing of VHDX storage attached to a Linux virtual machine.
    •Synthetic Fibre Channel Support: Linux virtual machines can natively access high performance SAN networks.
    •Live Linux virtual machine backup support: Facilitates zero downtime backup of running Linux virtual machines.
    •Dynamic memory ballooning support: Improves Linux virtual machine density for a given Hyper-V host.
    •Synthetic video device support: Provides improved graphics performance for Linux virtual machines.
    •PAE kernel support: Provides drivers that are compatible with PAE enabled Linux virtual machines.
     
    Περισσοτερα εδω.
     
     
    ΝΚ
     
  24. Like
    nkspeed got a reaction from proximagr in Microsoft free press   
    αν και τα περισσοτερα εχουν ξαναπερασει σε αυτο το λινκ ειναι ολα μαζεμενα.
    http://www.microsoftvirtualacademy.com/ebooks
     
     
    ΝΚ
     
  25. Like
    nkspeed got a reaction from tsgas in 55ο autoexec.gr Community Event   
    Αν και ειχε σχετικα λιγες συμετοχες ηταν δυνατες παρουσιασεις. και του αντωνη και του βαγγελη.
    θα ηθελα βαγγελη αν γινεται να ανεβασεις καπου τα slides σου 
     
     
    ΝΚ
×
×
  • Create New...