Is it possible to deploy code (asp.net mvc application and Windows Service) to machine in public hosting (for example VM on Godaddy) using TFS MSBuild from internal network (company network)
All than I have is IP address of destination server, username and password. But I am not sure than TFS can deploy code at such machine.
When I doing it on local server, normally I specify path like this:
\machine-name\c$\deployment-folder\
But it is not working with remote machine.
Thanks.
Use a tool like InstallShield or Windows Installer XML to develop a Windows Installer database (.msi). Use TFS Team Build to build the MSI. Then use PsExec to copy the MSI to the remote machine and execute it.
Related
I'm new to the whole cloud computing virtual machines thing, and I just started my free trial of Microsoft Azure. I'm interested in setting up a web server running Nginx to host some PHP pages that connect to a MySQL database. I just followed this official tutorial on how to install a LEMP stack on a Linux virtual machine in Azure, but it doesn't give a whole lot of instruction after that. How do I upload my files to this newly created web server?
There are many methods that you can upload files to your Azure Linux VM, Here are two options for you:
Move files to and from a Linux VM using SCP. In this way, you need an SCP client for your local computer. It is built on top of SSH and included in the default Bash shell of most Linux and Mac computers and some Windows shells.
Create An Azure File Share and mount to your Azure Linux VM. In this case, you will create a storage account, then mount the Azure file share on your Linux VM. It's better used for multiple clients to upload the files to Azure VMs.
I have a requirement to install tools like Nagios, BigFix and other tools inside an Azure virtual machine once it gets provisioned and joined to the domain. Currently, I have written PowerShell scripts for a remote installation of these tools via Jumpbox once the VM is domain joined.
Is there any other way this can be achieved?
I'm using Talend ETL tool.
What I'm trying to do is moving file from Linux machine to windows server and back to again to linux server after some work on that.
Is that possible we could achieve using Talend ?
Any suggestion or help would be appreciated.
Thanks !!
Assuming the Talend job is running on Linux and the remote file server is Windows and the remote file server is not running an SFTP or FTP server.
To copy from a Windows system to local system, you can use the built in component tFileFetch, which can copy files from a Samba share.
To copy files from Linux (Talend Job server) to the Windows file server, you'll likely need a third-party component. Look in the Talend Exchange site for the components "Samba copy", tSambaPut, tSambaFileCopy, tSambaGet, etc.
Alternatively, you could put an SFTP or FTP server on the Windows server. Then, it becomes very simple and you can just use the tFTP* series of components.
I tried below command
Get-Module -ListAvailable
But it did not showed me "FailoverClusters" in the list
From where I can download this module? Do I have to install any SDK?
Note: I do not want to install Azure SDK. Is there any other way?
Update
I am using my local windows 10 to remote connect to the Azure Virtual Machine (Windows Server 2012 R2). I do want to manage all configurations using powershell from my local windows 10 machine.
As jisaak already explained, the FailoverClusters module is installed when you install the Failover Clustering feature on a Windows Server.
If, however, you want to manage a cluster from a computer without the Failover Clustering feature installed, this is what you do:
Download the appropriate version of Remote Server Administration Tools
Run the installer
Navigate to the Programs and Features control panel pane (run appwiz.cpl)
Choose "Turn Windows Features on or off"
Find the "Failover Cluster Management" feature under Remote Server Administration Tools
Enable it
Voila
The FailoverClusters Windows PowerShell module is installed on the
computer with the Failover Clustering feature
Source
Install the Failover Clustering Feature
I am using ansible hosted on linux to manage both Linux and windows VMs hosted on azure, and use azure xplat-cli commandline to create VMs. When i create windows server 2008, I need to trigger few startup scripts so that those are preconfigured while windows server is up. I was able to install CustomScript extension using below command
azure vm extension set
I have uploaded my scripts to azure blob storage account, and i need to trigger scripts using the extension, and i don't find any proper documentation (documentation was only for powershell). Can you please help