Ostinato on Linux how to configure

1,363 views
Skip to first unread message

ALex P

unread,
Apr 12, 2017, 9:00:15 PM4/12/17
to osti...@googlegroups.com
Hello dear Ostinato community,

Can someone please tell me where I can read about how to configure Drone on Linux? Like how to start services and which config files to use? I see a readme delivered with rpm about how to install rpm and can not find more Info, I am planning to use windows GUI and connect to drone on Centos.

Thank you!
Alex



Aaron Pepelis

unread,
Apr 13, 2017, 7:44:00 AM4/13/17
to ALex P, ostinato
I do this exact thing. I apt install on centos and then run the drone (no configs I don't think). To get the latest on Centos:


apt-get install ostinato
that installs v 0.5 so I add this and upgrade:
/etc/apt/sources.list.d/ostinato.list
deb http://download.opensuse.org/repositories/home:/pstavirs:/ostinato/xUbuntu_14.04/ /

wget http://download.opensuse.org/repositories/home:pstavirs:ostinato/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key

sudo apt-get update

sudo apt-get upgrade ostinato

if that doesn't work, check the ostinato.list again and run
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get purge

then on the command line:

sudo nohup drone &

aaron



Alex



--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
*******************************************************
// If you are waiting for something, bug me daily
// http://www.returntothepit.com
// http://www.pepelis.com
*******************************************************

eugeneho...@gmail.com

unread,
May 23, 2019, 10:05:31 PM5/23/19
to ostinato
I too am getting started with a similar architecture. I don't know how to configure the drone's ip interface and port number... Therefore I cannot connect to it with the GUI. Where are the configuration files?

Srivats P

unread,
May 27, 2019, 11:16:43 AM5/27/19
to eugeneho...@gmail.com, ostinato
I too am getting started with a similar architecture. I don't know how to configure the drone's ip interface and port number... Therefore I cannot connect to it with the GUI. Where are the configuration files?

There are not configuration files required. Just run drone and it will listen on all interfaces on the TCP port 7878.

See http://ethernetworkingnotes.blogspot.com/2016/06/configuring-ostinato-on-centos-7.html on how to create a systemd startup script for drone.

Srivats
Founder, Ostinato

Srivats P

unread,
May 31, 2019, 12:22:47 PM5/31/19
to Eugene Kim, ostinato
(This is great, Eugene - thank you so much for putting all this together in one place. Copying to the list)  

From Eugene -

Thank you founder.

To those who may potentially be lost with setting up Ostinato, I am uploading some notes here.

 

 

Ostinato Installation

How to Install Ostinato Agent

RPM Files:

·        ostinato-agent-0.9-1.x86_64.rpm

 

How to Install Ostinato Controller

RPM Files:

·        ostinato-controller-0.9-1.x86_64.rpm

·        ostinato-0.9-1.x86_64.rpm

 

How to Install Ostinato remotely (no internet connection)

How to download ALL rpm files with dependencies:

·        Perform yum install downloadonly:

yum install --downloadonly <RPM> --downloaddir=<PATH>

 

How to install ALL rpm files (Once downloaded and moved to local machine) :

·        Move all your rpms into one directory.

·        Copy that directory to local machine.

·        Change directory

               cd <directory with all rpms>

·        Perform yum localinstall of all rpms using wildcard:

               yum localinstall --disablerepo=* *.rpm

 

Setting Up Ostinato

How to setup your drones

Source: http://ethernetworkingnotes.blogspot.com/2016/06/configuring-ostinato-on-centos-7.html

·        Create the following service file at /usr/lib/systemd/system

---

[Unit]

Description=Ostinato drone daemon

After=network-online.target

Wants=network-online.target

 

[Service]

ExecStart=/usr/bin/drone

 

[Install]

WantedBy=multi-user.target

---

·        Enable and start drone.service

               systemctl enable drone

               systemctl start drone

·        Add drone to firewalld rules

Add the test port in /etc/services file and allow the port to accept packets. Test port can be added by editing /etc/services file in below format:

vi /etc/services

EDIT FILE

---------

drone        7878/tcp   # Ostinato Drone

 

Add Firewall rule to allow the port to accept packets:

firewall-cmd --zone=public --add-port=7878/tcp --permanent

firewall-cmd –reload

 

 

How to connect to your drones from master

·        On Ostinato master, create new port group and connect to:

               <mgmt remote IP interface>:7878

Drone

 

Master (GUI):

 



On Fri, May 31, 2019 at 9:49 PM Srivats P <psta...@gmail.com> wrote:
(This is great, Eugene - thank you so much for putting all this together in one place. Copying to the list)

Thank you founder.

To those who may potentially be lost with setting up Ostinato, I am uploading some notes here.

 

 

Ostinato Installation

How to Install Ostinato Agent

RPM Files:

·        ostinato-agent-0.9-1.x86_64.rpm

 

How to Install Ostinato Controller

RPM Files:

·        ostinato-controller-0.9-1.x86_64.rpm

·        ostinato-0.9-1.x86_64.rpm

 

How to Install Ostinato remotely (no internet connection)

How to download ALL rpm files with dependencies:

·        Perform yum install downloadonly:

yum install --downloadonly <RPM> --downloaddir=<PATH>

 

How to install ALL rpm files (Once downloaded and moved to local machine) :

·        Move all your rpms into one directory.

·        Copy that directory to local machine.

·        Change directory

               cd <directory with all rpms>

·        Perform yum localinstall of all rpms using wildcard:

               yum localinstall --disablerepo=* *.rpm

 

Setting Up Ostinato

How to setup your drones

Source: http://ethernetworkingnotes.blogspot.com/2016/06/configuring-ostinato-on-centos-7.html

·        Create the following service file at /usr/lib/systemd/system

---

[Unit]

Description=Ostinato drone daemon

After=network-online.target

Wants=network-online.target

 

[Service]

ExecStart=/usr/bin/drone

 

[Install]

WantedBy=multi-user.target

---

·        Enable and start drone.service

               systemctl enable drone

               systemctl start drone

·        Add drone to firewalld rules

Add the test port in /etc/services file and allow the port to accept packets. Test port can be added by editing /etc/services file in below format:

vi /etc/services

EDIT FILE

---------

drone        7878/tcp   # Ostinato Drone

 

Add Firewall rule to allow the port to accept packets:

firewall-cmd --zone=public --add-port=7878/tcp --permanent

firewall-cmd –reload

 

 

How to connect to your drones from master

·        On Ostinato master, create new port group and connect to:

               <mgmt remote IP interface>:7878

Drone

 

Master (GUI):


On Fri, May 31, 2019 at 4:54 AM Eugene Kim <eugeneho...@gmail.com> wrote:
Thank you founder.

To those who may potentially be lost with setting up Ostinato, I am uploading some notes here.

 

 

Ostinato Installation

How to Install Ostinato Agent

RPM Files:

·        ostinato-agent-0.9-1.x86_64.rpm

 

How to Install Ostinato Controller

RPM Files:

·        ostinato-controller-0.9-1.x86_64.rpm

·        ostinato-0.9-1.x86_64.rpm

 

How to Install Ostinato remotely (no internet connection)

How to download ALL rpm files with dependencies:

·        Perform yum install downloadonly:

yum install --downloadonly <RPM> --downloaddir=<PATH>

 

How to install ALL rpm files (Once downloaded and moved to local machine) :

·        Move all your rpms into one directory.

·        Copy that directory to local machine.

·        Change directory

               cd <directory with all rpms>

·        Perform yum localinstall of all rpms using wildcard:

               yum localinstall --disablerepo=* *.rpm

 

Setting Up Ostinato

How to setup your drones

Source: http://ethernetworkingnotes.blogspot.com/2016/06/configuring-ostinato-on-centos-7.html

·        Create the following service file at /usr/lib/systemd/system

---

[Unit]

Description=Ostinato drone daemon

After=network-online.target

Wants=network-online.target

 

[Service]

ExecStart=/usr/bin/drone

 

[Install]

WantedBy=multi-user.target

---

·        Enable and start drone.service

               systemctl enable drone

               systemctl start drone

·        Add drone to firewalld rules

Add the test port in /etc/services file and allow the port to accept packets. Test port can be added by editing /etc/services file in below format:

vi /etc/services

EDIT FILE

---------

drone        7878/tcp   # Ostinato Drone

 

Add Firewall rule to allow the port to accept packets:

firewall-cmd --zone=public --add-port=7878/tcp --permanent

firewall-cmd –reload

 

 

How to connect to your drones from master

·        On Ostinato master, create new port group and connect to:

               <mgmt remote IP interface>:7878

Drone

 

Master (GUI):

 



--
Reply all
Reply to author
Forward
0 new messages