Error (415) adding host to SCVMM 2012 - system-center

We are trying to add a host to SCVMM 2012.
But the scvmm server can't access the Admin$ share of the host. And it throws the following error and warning:
Error (415)
Agent installation failed copying C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\agents\I386\3.0.6005.0\msiInstaller.exe to \Host.FQDN\ADMIN$\msiInstaller.exe.
The network path was not found
Recommended Action
Ensure Host.FQDN is online and not blocked by a firewall.
Ensure that file and printer sharing is enabled on Host.FQDN and it not blocked by a firewall.
Ensure that there is sufficient free space on the system volume.
Verify that the ADMIN$ share on Host.FQDN exists. If the ADMIN$ share does not exist, reboot server. and then try the operation again.
Warning (10444)
The VMM management server was unable to impersonate the supplied credentials.
Recommended Action
To add a host in a disjointed domain namespace, ensure that the credentials are valid and of a domain account. In addition, the SCVMMService must run as the local system account or a domain account with sufficient privileges to be able to impersonate other users.
But the admin$ of another server in the same data center can be accessed by the SCVMM server.
More info:
I have checked the Admin$ is enable on the host.
From the scvmm server, run the following command failed:
winrm id -r:HOST.FQDN
WSManFault
Message = Access is denied.
Error number: -2147024891 0x80070005 Access is denied.
But it is successful on another server in the same data center.
Could anyone give some suggestion?

After investigation, the issue is caused by company security policy.
The host server is in country A' data center.
The TFS server and SCVMM are in country B's data center.
All the servers are domain trusted.
But for data transfer policy of the country, the file share is disabled for all servers, except some public server which is audited by IT for file share.
That's why some server(public server)'s Admin$ can be accessed in country B.
At last, we decide to move the SCVMM server to country A's data center, in the same data center with the Hosts.

Related

throwing access denied error in azure migrate appliance while adding server during discovery and assessment

I am trying to migrate AWS EC2 instance (created via my personal id) to Azure (comes under my office subscription) via Azure Migrate.
Here is the issue:
I keep getting access is denied error message on the Azure Migrate appliance. I have entered the physical server details and IP address but still failing. added a screenshot for reference.
May I know how would I resolve this?
please allow the windows remote management http-in and in public profile double click and check the scope of rule it should be selected as remote ip address to ANY the issue will get resolved and also make sure that you are adding ip address of same machine and credentials also of the same machine.

Not able to connect to Azure server using "NET USE <drive>..." command

I have subscription to Azure server running Windows 2008 Server r2 Datacentre, 64-Bit. I have shared a folder in the root of its C drive with full permission to 'Everyone' (along with default users/groups). Both Azure Windows firewall and my local system Firewall are OFF. No other changes have been made in Azure from the default settings. In Azure control panel, Site URL of Cloud service and DNS of Virtual Machine are showing same and the Public IP of both Cloud service and Virtual machine are same.
Now, when I am trying to map this shared folder remotely using the below command,
NET USE Z: \\<IPaddress>\<sharedfoldername> /USER:<username> <password> /PERSISTENT:NO
I am getting,
"System error 53 has occured.
The network path was not found"
But, I am able to connect to the machine through RDP with the same user!
So, what I am missing? Is there any other settings required in Azure to allow this?
Thanks in advance,
Rajesh Karunakaran
EDIT ON 08-Feb-2017 (Just to explain a bit more deeper)
In our Azure subscription, we have Storage account, Virtual Machine, Virtual Network & Cloud service. After setting up a Folder Share in Storage Account, I am able to map that folder within the Azure VM using
NET USE Z: \\<IPaddress>\<sharedfoldername> /USER:<username> <password> /PERSISTENT:NO
But, what I want to achieve is to be able to access the Share Folder in Azure from my local system (I am not in US) through mapping a drive the same way. But from my local system, when I issue the same command it says
"system error 5... Access Denied"
I have opened Port 445 (File sharing....) in Azure server by logging in through RDP. (Anyway, the Firewall is OFF and I assume then port opening is insignificant)
Interestingly, when we'd taken Azure trial account (for 30 days), I was able to connect to a normal windows Shared Folder through 'NET USE' command from my local system. Is there a way to do this?
Thanks in advance.
If you want to mount file between client and server. The port 445 could be communication.
According to your description, please check as the following steps:
1.Open port 445 on Azure NSG(Inbound rules)
2.Click here to see the summary of ISPs that allow or disallow access from port 445.
You could use Portquery to check whether port 445 is open.
PortQry.exe -n [storage account name].file.core.windows.net -p TCP -e 445
More information about how to troubleshoot this issue please refer to this link.

Not able to access spark log of hadoop cluster from my local machine

I've set a Hadoop cluster in Azure and it hs its won security group and a network.
When I tried to check the exception behind few submitted spark jobs, could not see those (via browser) from my local machine giving "This site can’t be reached" exception.
URL I'm trying to reach:
http://MACHINE_XXXXX:19888/jobhistory/logs/MACHINE_YYYYY:45454/container_e11_1463399230026_0304_01_000001/container_e11_1463399230026_0304_01_000001/usewr123
There is a windows machine within same network. I can access the URL from that machine (using remote desktop) without any problem.
Then I added port 19888 and 45454 to inbound security rule of the security group. But my problem is not resolved.
Why I'm not able access the URL from outside of the network?
Any help would be highly appreciated.

How do I connect to an AD domain controller in Azure?

I'm working through an Azure tutorial on MSDN as suggested by #BrentDaCodeMonkey. Basically, I'm trying to learn how to set up a Windows domain, so I can use it for a some other SQL Server tutorials. See my previous question here.
I'm running into a problem where I cannot connect my servers to my Active Directory Name Controller. When I try to add my domain name to the server in System Properties, I get an error message instead of the Windows Security popup dialog.
An Active Directory Name Controller (AD DC) for the domain "corp.ejm.com" could not be contacted. Ensure that the domain name is typed correctly. [...] The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Name Controller (AD NC) for domain "corp.ejm.com"; The error was: "This operation returned because the timeout period expired."
Note that I am able to verify the DC's IP address, with nslookup in the command prompt.
Complicating this issue is that the tutorial instructions don't exactly match what I'm seeing in Azure. For example, I'm not allowed to use Windows Server 2008 R2 SP1 when setting up SQL Server virtual machines. I had to use Windows Server 2012 for those, but still used 2008 for the DC. I thought that the problem might be a conflicting operating systems, so I tried running the tutorial again using Windows Server 2012 for everything. Same error message.
Also note: the tutorial says that I should use the example domain, corp.contoso.com. I used my own example domain instead, corp.ejm.com. I'm wondering if this has something to do with it. My example domain is not registered on the Internet.
Connect to the DC VM and find out its IPAddress (10.*).
Go to the virtual network configuration and set the DNS server IP Address to that.
Also make sure you use this IP Address during step #8 in install SQL VMs section.
Now try joining the SQL VMs to the domain.
Hope this helps.

Azure Point to site connection Error 80070057

I created my virtual network, gateway, and certificates. I upload my management certificate and created my VPN client. I successfully installed the VPN client. When I attempt to connect I get the following error:
"Custom script (to update your routing table) failed (80070057)."
Tried in 3 different computers (2 windows 7 and 1 2008 R2).
I've been looking around and found that the connection is done if I delete the SetRoute part in the .cms file installed by the client (user\AppData\Roaming\Microsoft\Network\Connections\Cm\myConection\myConnection.cms); I then have to set manually all routes and gateways. It works but it's not what I need, because I need the installer.
Any ideas?
Check your firewall or routing table on your router if you are using one, try to connect from another location to see whether it is because of your network architecture or not. if all OK and the problem not fixed, try to another range of IP in azure portal for you VPN subnet, sometimes it has conflicts with your local network.

Resources