Medulla agent deployment by script
Applies to: Medulla – Agent
Version: All
Environment: On-Premise
Category: Medulla Agent
To deploy the Medulla agent, you can use the script: medulla-deploy-agent.sh.
This script is available on the server:
/usr/sbin/medulla-deploy-agent.sh
This script can perform network discovery and also deploy agents to Active Directory organizational units (OUs).
Arguments available in the script:
medulla-deploy-agent.sh --target=<target_cidr | target_fqdn> | --server=<ad_server_name> [--port=<winrm_or_ssh_port>] [--namefilter=<filter_on_hostname>] [--domain=<user_domain>] [--username=<remote_username>] [--password=<remote_password>] [--sshkey=<path_to_ssh_key>] [--ou=<ad_ou>] [--force] [--reinstall]
Deployment using network discovery and WinRM:
medulla-deploy-agent.sh --target=10.10.0.0/24 --namefilter=win --username=vagrant --password=vagrant
Deployment using Active Directory and WinRM:
medulla-deploy-agent.sh --server=10.10.0.100 --namefilter=win --ou=OU=grp1,DC=MEDULLA,DC=int --domain=MEDULLA --username=Administrator --password=P@ssw0rd
Linux deployment using network discovery and SSH:
medulla-deploy-agent.sh --target=10.10.0.0/24 --namefilter=win --port=22 --username=pulseuser --sshkey=/root/.ssh/id_rsa
Deployment on a single computer:
medulla-deploy-agent.sh --target=10.10.0.94/32 --username=vagrant --password=vagrant
or
medulla-deploy-agent.sh --target=host.siveo.net --username=pulseuser --sshkey=/root/.ssh/id_rsa
Deployment on a Linux computer:
medulla-deploy-agent.sh --target=10.10.0.94/32 --port=22 --username=root --sshkey=/root/.ssh/id_rsa
--namefilter is used to filter by computer name.
The script runs only on the local network when executed from your Medulla server.