In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Step 6: set up the virtual machines that join the domain at startup
To create other virtual machines that join the domain at first startup, open Windows Azure PowerShell ISE, paste the following script, replace the placeholder with your own value, and run the script.
To determine the internal IP address of a domain controller, click the name of the virtual network running the controller.
In the following example, the internal IP address of the domain controller is 10.4.3.1. "Add-AzureProvisioningConfig also takes the-MachineObjectOU parameter, which, if specified (requires a fully distinguished name in Active Directory), can be set on all virtual machines in the container."
After setting up the virtual machine, log in by specifying a domain account, such as administrator@corp.contoso.com, using the user principal name (UPN) format.
# Deploy a new VM and join it to the domain (partial) #
$vmname = 'MyTestVM1' $MyVM1 = New-AzureVMConfig-name $vmname-InstanceSize $size-ImageName $p_w_picpath | Add-AzureProvisioningConfig-WindowsDomain-Password $pwd-Domain' corp'-DomainPassword 'paired roommates roomw0rd'-DomainUserName' Administrator'-JoinDomain 'corp.contoso.com' | Set-AzureSubnet-SubnetNames' BackEnd' New-AzureVM-ServiceName $service-AffinityGroup $AG-VMs $MyVM1-DnsSettings $myDNS-VNetName $vnet
Step 7: back up the domain controller
1. Connect to the VMachine.
two。 Click start, click Server Manager, click add Features, and then select Windows Server Backup Features. Follow the instructions to install Windows Server Backup.
3. Click start, click Windows Server Backup, and then click one-time backup.
4. Click other options, and then click next.
5. Click full Server, and then click next.
6. Click Local Drive, and then click next.
7. Select the target drive that does not host operating system files or Active Directory databases, and then click next.
8. Confirm the selected backup settings, and then click backup.
Step 8: test authentication and authorization
1. To test authentication and authorization, create a domain user account in Active Directory. Log in to the client virtual machine in each site and create a shared folder on that virtual machine
two。 Use other accounts, groups, and permissions to test access to shared folders.
Please also refer to:
Windows Azure virtual network
Windows Azure PowerShell
Windows Azure Management Cmdlet
Additional articles:
Windows Azure configure Active Directory hosts (1)
Windows Azure configure Active Directory hosts (2)
Windows Azure configure Active Directory hosts (3)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.