Reconfigure My Agent
Applies to:Medulla – Agent
Version: All
Environment: On-Premise
Category: Medulla Agent
You can reconfigure the agent to change the DNS name it uses to communicate, but you can also modify several other settings.
Here is the agent’s location on the server:/var/lib/pulse2/clients/
You will find a script named: generate-pulse-agent.sh. If you run it with the --help option, you will see a list of all configurable parameters:
./generate-pulse-agent.sh --help
Usage:
./generate-pulse-agent.sh [--conf-xmppserver=<XMPP configuration server>]
[--conf-xmppport=<XMPP configuration server port>]
[--conf-xmpppasswd=<XMPP configuration server password>]
[--aes-key=<32-character AES PSK>]
[--xmpp-passwd=<XMPP server password>]
[--chat-domain=<XMPP domain>]
[--inventory-tag=<Tag added to the inventory>]
[--minimal [--base-url=<URL for downloading the agent and dependencies from>]]
[--disable-vnc (Disable VNC Server)]
[--vnc-port=<Default port 5900>]
[--vnc-password=<DES-encrypted VNC password>]
[--ssh-port=<Default port 22>]
[--disable-rdp (Disable RDP setup)]
[--disable-inventory (Disable Fusion Inventory)]
[--disable-geoloc (Disable geolocation, for example on machines that do not access the internet)]
[--linux-distros (Supported Linux distributions)]
[--updateserver (Download URL for agent updates)]
Examples:
XMPP Server
To reconfigure the workstation’s contact DNS entry (the server the workstation should contact):
./generate-pulse-agent.sh --conf-xmppserver monserver.domain.fr
SSH Port
To change the server’s SSH port:
./generate-pulse-agent.sh --ssh-port 2022
If you change the SSH port, also follow this documentation:
https://docs.medulla-tech.io/books/Medulla-FAQ/page/changer-le-port-ssh-entre-serveur-workstation
Disable VNC
To disable VNC on your agents:
./generate-pulse-agent.sh --disable-vnc
Disable RDP
To disable RDP on your agents:
./generate-pulse-agent.sh --disable-rdp