Creating SMA and SDA Relays on an ESX (2024)

Creating a PC with VMware for SMA and SDA

Constraints considered in this tutorial:

  • No ESX server at the remote site
  • Need for an SMA and SDA relay at the remote site
  • No need to purchase additional Microsoft licenses
  • No available Hyper-V relay

Table des matières

Overview

The goal of this tutorial is to use a PC or equivalent as a relay for SMA and SDA while reducing costs.

Reminder:

  • SMA requires an agent on a workstation and a network share (not necessarily on the same server)
  • SDA requires a VMware VM

We will use a free version of ESX on a PC with 8GB of RAM and 2TB of hard drive, a dual core is sufficient

  • A VM with the VMware Appliance for the SDA relay

500GB of disk space for SDA and 2GB of RAM

Note: Since version 4, 1TB is required

  • An Ubuntu VM (the agent is available for this version) where the KACE agent and Samba for UNC share will be installed

500GB or 1TB of disk space for SMA and 2GB of RAM

Installing ESXi

  • Insert the installation CD into the drive and boot from it.
  • Press Enter
Creating SMA and SDA Relays on an ESX (1)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (2)
  • Press F11.
Creating SMA and SDA Relays on an ESX (3)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (4)
  • Select French and press Enter.
Creating SMA and SDA Relays on an ESX (5)
  • Enter the root password and press Enter.
Creating SMA and SDA Relays on an ESX (6)
  • Press F11.
Creating SMA and SDA Relays on an ESX (7)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (8)
  • Log in to the PC
  • On this page
Creating SMA and SDA Relays on an ESX (9)
  • Press F2.
Creating SMA and SDA Relays on an ESX (10)
  • Enter the credentials defined during the installation and press Enter.
Creating SMA and SDA Relays on an ESX (11)
  • Select Configure Management Network and press Enter.
Creating SMA and SDA Relays on an ESX (12)
  • Select DNS Configuration and press Enter.
Creating SMA and SDA Relays on an ESX (13)
  • Check “Use the following DNS Server…”, fill in “Hostname” with the ESXi name, and press Enter.
Creating SMA and SDA Relays on an ESX (14)
  • To return to the previous menu, press Escape once.
  • Select IPv6 Configuration and press Enter.
Creating SMA and SDA Relays on an ESX (15)
  • Select “Disable IPv6 (restart required)” and press Enter.
Creating SMA and SDA Relays on an ESX (16)
  • To return to the main menu, press Escape twice.
  • Press Y.
Creating SMA and SDA Relays on an ESX (17)
  • ESXi restarts.
  • Install vSphere client (see PACKAGE page)
  • Once ESXi has restarted, enter the ESXi server’s IP address and the credentials, then click Connect.
Creating SMA and SDA Relays on an ESX (18)
  • Go to Configuration, then Licensed Features.
Creating SMA and SDA Relays on an ESX (19)
  • Click Edit.
  • Check “Assign a new license key to this host” then click “Enter key…”.
Creating SMA and SDA Relays on an ESX (20)

Note: You can get a “free” key from the VMware site

  • Select Virtual Machine Startup/Shutdown.
Creating SMA and SDA Relays on an ESX (21)
  • Click Properties…
  • Check “Allow virtual machines to start and stop automatically with the system” then click OK.
Creating SMA and SDA Relays on an ESX (22)

Installing the SMA Relay

Creating the VM

  • From the vSphere client
  • Select the server and right-click, then click “New Virtual Machine”.
Creating SMA and SDA Relays on an ESX (23)
  • Click Next.
Creating SMA and SDA Relays on an ESX (24)
  • Name the virtual machine and click Next.
Creating SMA and SDA Relays on an ESX (25)
  • Click Next.
Creating SMA and SDA Relays on an ESX (26)
  • Check Linux, select Ubuntu Linux (64-bit) and click Next.
Creating SMA and SDA Relays on an ESX (27)
  • Click Next.
Creating SMA and SDA Relays on an ESX (28)
  • Set the Virtual Disk size to “500”, check “Thin provision”, and click Next.
Creating SMA and SDA Relays on an ESX (29)
  • Click Finish.
Creating SMA and SDA Relays on an ESX (30)
  • Go to Summary. (On the virtual machine)
  • On Datastore1, right-click, then click “Browse Datastore…”.
Creating SMA and SDA Relays on an ESX (31)
  • At the root of the directory, click “Create a new folder”.
Creating SMA and SDA Relays on an ESX (32)
  • Enter ISO and click OK.
Creating SMA and SDA Relays on an ESX (33)
  • Click “Upload a file…”.
Creating SMA and SDA Relays on an ESX (34)
  • Select the Ubuntu installation ISO file and click OK.
Creating SMA and SDA Relays on an ESX (35)
  • Select CD/DVD Drive 1. Check Datastore ISO File and select the Ubuntu installation ISO from the ISO directory. Check “Connect at power on” and click OK.
Creating SMA and SDA Relays on an ESX (36)
  • Click Power On.
  • Click Open the virtual machine console.
Creating SMA and SDA Relays on an ESX (37)
  • Then in Configuration, select Virtual Machine Startup/Shutdown.
Creating SMA and SDA Relays on an ESX (38)
  • Click the virtual machine several times to move it up to the “Automatic Startup” group.
Creating SMA and SDA Relays on an ESX (39)

Installing Ubuntu

  • Use the arrow keys to select French, then press Enter.
Creating SMA and SDA Relays on an ESX (40)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (41)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (42)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (43)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (44)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (45)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (46)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (47)
  • Enter the name of the virtual machine and press Enter.
Creating SMA and SDA Relays on an ESX (48)
  • Enter the username and press Enter. (In this tutorial, we will use the username KACE)
Creating SMA and SDA Relays on an ESX (49)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (50)
  • Enter the account password.
Creating SMA and SDA Relays on an ESX (51)
  • Press No.
Creating SMA and SDA Relays on an ESX (52)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (53)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (54)
  • Select <Yes> and press Enter.
Creating SMA and SDA Relays on an ESX (55)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (56)
  • Select <Yes> and press Enter.
Creating SMA and SDA Relays on an ESX (57)
  • Leave blank and press Enter.
Creating SMA and SDA Relays on an ESX (58)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (59)
  • Check “OpenSSH server” and “Samba file server” using the Space bar and arrow keys, then press Enter.
Creating SMA and SDA Relays on an ESX (60)
  • Press Enter.
Creating SMA and SDA Relays on an ESX (61)

Configuring Ubuntu

Log in via SSH or on the VM console

SAMBA

# create the share foldersudo mkdir /home/kace/kace# samba sharesudo nano /etc/samba/smb.conf# Add the following lines (Ctrl + O = save Ctrl + X = Exit)

path = /home/kace/kace valid users = kace read only = no # restart samba sudo service smbd restart # validate the settings testparm

Installing the KACE Agent

sudo mkdir /mnt/k1000clients# where K1000 is the name of your KACE serversudo mount –t cifs //k1000/client /mnt/k1000clientscd /mnt/k1000clients/agent_provisionning/linux_platform/sudo KACE_SERVER=k1000.mydomain.lan dpkg –i ampagent-6.4.522.ubuntu.64.debcd /sudo /opt/dell/kace/bin/runkbot 2 0

Creating the Label

  • Access the SMA admin interface.
  • Click Home, then Label Management, then Labels.
Creating SMA and SDA Relays on an ESX (62)
  • Click Choose Action, then New Manual Label.
Creating SMA and SDA Relays on an ESX (63)
  • In Name, enter the relay name.
  • Check the Device Inventory box.
  • Click Save.
Creating SMA and SDA Relays on an ESX (64)
  • Click Inventory, then Devices, then Smart Label.
Creating SMA and SDA Relays on an ESX (65)
  • In the first field, select “IP Address”.
  1. In the second field, select “matches REGEX”.
  2. In the third field, enter a text such as “11111111111111111”.
  3. Select OR then click Add Line.

Repeat steps “1” to “3” for each IP range that this relay will use

In the Choose Label field, type the name of the previously created Label, then click Save.

Creating SMA and SDA Relays on an ESX (66)
  • Click Home, then Label Management, then Smart Labels.
Creating SMA and SDA Relays on an ESX (67)
  • Find the Label you just created and click its name.
  • Click Edit SQL.
Creating SMA and SDA Relays on an ESX (68)
  • In your browser, open the following link:
Creating SMA and SDA Relays on an ESX (69)
  • In the First IP Address field, enter your starting IP.

In the Last IP Address field, enter your ending IP.

Creating SMA and SDA Relays on an ESX (70)

Click Generate RegEx

  • In your SQL code, replace the first “11111111111111111” with your RegEx.
Creating SMA and SDA Relays on an ESX (71)
  • Repeat the process for each IP range
  • Then save

Configuring Replication

  • Click Distribution, then Replication, then Choose Action, then New.
Creating SMA and SDA Relays on an ESX (72)
  • Check the Enabled box, then enter the relay name in Device. Ensure all System versions and languages are selected.
Creating SMA and SDA Relays on an ESX (73)
  • Destination Share:
    • In Path, enter the UNC path pointing to the Samba share of the SMA Relay.
    • Check UNC.
    • In Credentials, select “RSA Synchro A”.
    • In Label, search for the name of the SMA Relay.
Creating SMA and SDA Relays on an ESX (74)
  • Download Share:
    • In Path, enter the UNC path pointing to the Samba share of the SMA Relay.
    • In Credentials, select “RSA Synchro A”.
Creating SMA and SDA Relays on an ESX (75)
  • Schedule:

Here, all the boxes are set to Replication On (High).

Creating SMA and SDA Relays on an ESX (76)
  • Click Save.
  • The relay synchronizes.
Creating SMA and SDA Relays on an ESX (77)

Installing the SDA Relay

Installation

  • In the vSphere client console, click File, then Deploy OVF Template…
Creating SMA and SDA Relays on an ESX (78)
  • Select your SDA relay installation OVF file and click Next.
Creating SMA and SDA Relays on an ESX (79)
  • Click Next.
Creating SMA and SDA Relays on an ESX (80)
  • Name the virtual machine and click Next.
  • Check “Thin provision” and click Next.
  • Check “Power on after deployment” and click Finish.
  • Click Open the virtual machine console.

IP Configuration

  • Log in with the following account:

Login: konfig

Password: konfig

Creating SMA and SDA Relays on an ESX (81)
  • Scroll to the second page and once on Save, press Enter.
  • The relay restarts to apply the changes

Replication

  • In your browser, open the SDA server admin interface and the SDA relay admin interface
  • In the SDA relay admin page, click Accept at the bottom of the page.
  • In the SDA relay admin page, log in with the following account:
    • Login ID: admin
    • Password: admin
Creating SMA and SDA Relays on an ESX (82)
  • In the SDA relay admin page, click Control Panel, then KACE Linking.
Creating SMA and SDA Relays on an ESX (83)
  • In the SDA relay admin page, check “Enable KACE Linking” and click Save. Keep this page open.
  • Repeat on the relay
Creating SMA and SDA Relays on an ESX (84)
  • In the SDA Server admin page, click Settings, then Manage Linked Appliances.
Creating SMA and SDA Relays on an ESX (85)
  • In the SDA Server admin page, fill in the information from the relay
  • Repeat on the relay
Creating SMA and SDA Relays on an ESX (86)

Creating the Replication Task

  • In the SDA Server admin page, click Deployments, then Remote Sites, then Choose Action, then New
Creating SMA and SDA Relays on an ESX (87)
  • In the SDA Server admin page, select your SDA relay from the dropdown menu.
Creating SMA and SDA Relays on an ESX (88)
  • In the SDA Server admin page, click Next.
Creating SMA and SDA Relays on an ESX (89)
  • In the SDA Server admin page, the pre-synchronization is in progress, and you cannot modify anything, click Remote Sites
  • In the SDA Server admin page, once step 17 is complete, click the name of your SDA relay
Creating SMA and SDA Relays on an ESX (90)
Creating SMA and SDA Relays on an ESX (2024)
Top Articles
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 5507

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.