Configuring the jump server
Now that the jump server is ordered and available for connection on its public IP address from your laptop, you can follow these steps:
- Change the Domain Name Services (DNS) client so that it points to the VMware Cloud Foundation for Classic - Automated instances - Active Directory™ DNS (AD/DNS) server instead of the IBM Cloud® DNS resolver. It allows name resolution for components, such as the vCenter appliance and VMware NSX-T™ Manager. The VSI has two Ethernet interfaces, one for the private network and one for the public network.
- Download software that enables administration functions, such as mRemoteNG and Firefox®.
- Install PowerCLI. PowerCLI is a collection of PowerShell Modules to manage VMware® infrastructure, including network, storage, virtual machine (VM), and guest OS.
Changing DNS
- From the IBM Cloud® for VMware Solutions console, click Resources > VCF for Classic from the left navigation pane. Select the instance and click the Access information tab to capture the
IP address of your AD/DNS servers
DNS1
andDNS2
. - From your laptop, use an RDP client to access the jump server.
- When connected to the jump server, open a PowerShell console with admin privileges.
- Use
Get-DNSClientServerAddress
to display the interfaces and their parameters. You need to capture the Interface IndexesIF1
andIF2
for the Ethernet interfaces for use in the next command. - Use the following command to change the first interface:
Set-DNSClientServerAddress –interfaceIndex <IF1> –ServerAddresses (“<DNS1>”,“<DNS2>”)
. For example,Set-DNSClientServerAddress –interfaceIndex 11 –ServerAddresses (“10.38.207.132”, “10.38.207.133”)
. - Use the following command to change the second interface:
Set-DNSClientServerAddress –interfaceIndex <IF2> –ServerAddresses (“<DNS1>”,“<DNS2>”)
. For example,Set-DNSClientServerAddress –interfaceIndex 15 –ServerAddresses (“10.38.207.132”, “10.38.207.133”)
. - Use the command
Get-DNSClientServerAddress
to verify the interfaces and their parameters.
Downloading the software
Open a PowerShell window and use the following commands to download and install mRemoteNG and Firefox.
Invoke-WebRequest -Uri https://github.com/mRemoteNG/mRemoteNG/releases/download/v1.76.20/mRemoteNG-Installer-1.76.20.24615.msi -OutFile C:\Users\Administrator\Downloads\mRemoteNG-Installer-1.76.20.24615.msi
Invoke-WebRequest -Uri "https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-GB" -OutFile C:\Users\Administrator\Downloads\firefox-msi-latest.msi
cd C:\Users\Administrator\Downloads
.\mRemoteNG-Installer-1.76.20.24615.msi
.\firefox-msi-latest.msi
Installing PowerCLI
PowerShell is installed by default with Windows® Server. However, PowerCLI needs to be installed from the PowerShell gallery.
- Install VMware PowerCLI by entering
Install-Module -Name VMware.PowerCLI
. - At the prompt, enter
Y
.