*** tpb has joined #timvideos | 00:00 | |
*** Palash has joined #timvideos | 00:30 | |
CarlFK | aps: we are done with streams.. can you show me how to start/stop the encoders? | 00:34 |
---|---|---|
aps | CarlFK: sure | 00:34 |
aps | give your pubkey | 00:35 |
CarlFK | ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqtgmp7GiXFgKW2+Yib+uyWZuD/cQsus8eqgavCSR+WGZlMrUldTLKYhzj71Ym6jupo0R/nr0mHlJ9mPVFr9KOJkUXb9n5/J4sYEpMKunv8i8Peu0ld7nmZRFUVSUlbMfPF4DKZ6marjuNloKbVlKF8nZGgjUuqBzRcKH90XubYJ5tpjbdyBlwoSEXLEqWrcpwBYgfg8z7P2qA/uoywki0tzrMz15M9iSD8pJ0MeKZg1xJznnkEY9ebMcTbxACCcAqH9qLIPoGoeNkUJnikkulBla4KsTB7uEO5rcrHkM65avVUocm0W6b2xOJn2GVIxBNGNC8sSbyDLAm9avJrfRUw== carl@dc10 | 00:36 |
aps | CarlFK: do you have experience using clusterssh? | 00:37 |
CarlFK | nope | 00:37 |
aps | ok, then you need to start each encoder individually | 00:37 |
CarlFK | but there are 3 boxes that I might have to touch, so I am not too worried about it right now | 00:38 |
aps | ssh room3278.encoder.timvideos.us | 00:38 |
aps | try | 00:38 |
CarlFK | Permission denied (publickey). | 00:38 |
CarlFK | what user? | 00:39 |
aps | ubuntu | 00:39 |
CarlFK | that's better - I am in | 00:39 |
CarlFK | but what if the box isn't up? | 00:39 |
aps | You need aws credentials from Tim | 00:40 |
aps | okay, when you start ec2 machine for the first time, you need to do three things. | 00:40 |
aps | 1. sudo service flumotion start | 00:40 |
CarlFK | shouldn't this be on a wiki page? | 00:40 |
aps | everything is there | 00:41 |
aps | https://github.com/timvideos/streaming-system/wiki/Operating#get-the-encoder-running | 00:41 |
tpb | Title: Operating · timvideos/streaming-system Wiki · GitHub (at github.com) | 00:41 |
aps | ah, so basically u just need aws credentials | 00:41 |
CarlFK | got it. | 00:45 |
*** CarlFK has quit IRC | 00:53 | |
mithro | aps: you can ssh to Carl's box with "ssh [email protected] -p 2222" | 02:16 |
aps | mithro: no, connection refused | 02:20 |
aps | tunnel is down? | 02:20 |
mithro | aps: possibly | 02:20 |
aps | You're a bit free? I need to know how to fix preview server. nginx was not serving again | 02:22 |
mithro | aps: "sudo service nginx start" ? | 02:24 |
aps | did that, still it wasn't working | 02:24 |
mithro | aps: oh | 02:24 |
mithro | aps: we ran out of IP addresses - so preview doesn't have a static IP address | 02:25 |
aps | 54.186.17.238 | 02:25 |
mithro | dns needs to be updated after every restart | 02:25 |
aps | I could ssh but I didn't know how to fix | 02:25 |
aps | I think it's that symlink thing you did. | 02:25 |
mithro | $ ping preview.timvideos.us | 02:25 |
mithro | PING preview.timvideos.us (54.200.134.15) 56(84) bytes of data. | 02:25 |
aps | I tried a few things, but no luck | 02:25 |
mithro | aps: problem isn't the machine | 02:26 |
aps | oh, now I understand | 02:26 |
mithro | you need to update Route53 for both timvideos.us and timevideos.io | 02:26 |
aps | yeah, this was pointing to some other person's ec2 :/ | 02:28 |
aps | or IP | 02:28 |
mithro | aps: looks to be working now | 02:36 |
mithro | aps: I sent Carl login information for my AWS account | 02:39 |
aps | mithro: Good. Should preview server also be turned off when not in use? | 02:43 |
mithro | It's debatable | 02:43 |
aps | and can we not run it an a free tier machine? I don't know how much power it needs | 02:43 |
mithro | Free tier is to small | 02:44 |
mithro | Can change the tier without reboot | 02:44 |
aps | mithro: really? that could work but I think it's not possible without rebooting | 02:50 |
mithro | That should be can't | 02:51 |
aps | ah | 02:51 |
mithro | Stupid mobile | 02:51 |
*** Niharika has joined #timvideos | 02:51 | |
aps | and we should make Carl use config pusher and watchdog. | 02:52 |
aps | watchdog works for collectors also, right? | 02:52 |
mithro | aps: yes | 03:20 |
*** mparuszewski_ has joined #timvideos | 04:49 | |
*** tija has joined #timvideos | 05:10 | |
mithro | Awesome -> http://blog.eikeland.se/2014/07/22/gl-inet-openwrt/ :P | 05:15 |
tpb | Title: GL.iNet Openwrt router (at blog.eikeland.se) | 05:15 |
*** Niharika has quit IRC | 05:41 | |
*** tija has left #timvideos | 06:28 | |
*** CarlFK has joined #timvideos | 06:31 | |
*** ChanServ sets mode: +v CarlFK | 06:31 | |
*** tija has joined #timvideos | 06:39 | |
*** tija has quit IRC | 06:41 | |
CarlFK | mithro: I am logged in, but can't find the encoders | 07:04 |
mithro | CarlFK: which region are you looking at? | 07:05 |
CarlFK | https://console.aws.amazon.com/ec2/v2/home?region=us-east-1 | 07:05 |
CarlFK | ah, found it | 07:05 |
CarlFK | I see the rooms, I see stopped. | 07:05 |
CarlFK | I can go to sleep now | 07:05 |
mithro | CarlFK: just starting up the encoders isn't enough | 07:11 |
CarlFK | https://github.com/timvideos/streaming-system/wiki/Operating#get-the-encoder-running that stuff right ? | 07:11 |
tpb | Title: Operating · timvideos/streaming-system Wiki · GitHub (at github.com) | 07:11 |
mithro | watchdog Ctrl-B, c for a new window | 07:12 |
mithro | I believe it's actually Ctrl-A | 07:12 |
CarlFK | oh yeah, I noticed it is using the screen meta key | 07:13 |
mithro | CarlFK: depends if I installed my rcfiles or not | 07:13 |
mithro | CarlFK: by default it's Ctrl-B | 07:13 |
mithro | CarlFK: if my rcfiles are installed then tmux will automatically start up just by logging in | 07:14 |
mithro | so don't do "tmux attach" if you see the tmux bar accross the bottom | 07:14 |
CarlFK | k, I think I can figure out the tmux stuff | 07:17 |
*** techman83 has quit IRC | 07:17 | |
mithro | doing tmux attach inside tmux will make you *very* confused | 07:17 |
*** techman83 has joined #timvideos | 07:18 | |
*** ChanServ sets mode: +v techman83 | 07:18 | |
aps | tmux will automatically start up on encoder machines | 07:39 |
*** Niharika has joined #timvideos | 12:13 | |
aps | CarlFK: morning. how much time before streaming starts? | 13:31 |
CarlFK | morning aps - 3 hours | 13:32 |
*** slowguy has left #timvideos | 13:38 | |
mithro | morning | 13:51 |
mithro | CarlFK: Rackspace came to the party! | 13:51 |
CarlFK | mithro: what about Rack? | 13:56 |
mithro | CarlFK: they will provide the TimVideos project with free infrastructure | 13:56 |
CarlFK | very cool | 13:57 |
CarlFK | guessing 2k/month credit? (that seems to be standard) | 13:58 |
CarlFK | I looked and skay confirmed with #rasckspace: you can't stop a box to stop billing. you can halt it but you will still be billed. you have to destroy it and rebuild it | 14:00 |
mithro | CarlFK: interesting | 14:30 |
*** mparuszewski_ has quit IRC | 14:42 | |
*** CarlFK has quit IRC | 14:47 | |
aps | mithro: if you're still up, is there a way to restore tmux session after restarting encoder machines? | 15:18 |
*** CarlFK has joined #timvideos | 15:48 | |
*** ChanServ sets mode: +v CarlFK | 15:48 | |
CarlFK | I am going to try bringing up the 3 streams.. first time I think | 15:51 |
aps | ok, go ahead | 15:52 |
CarlFK | oh oh I think I attached inside of tmux | 15:56 |
aps | make sure you remember next time that you exported those variables | 15:57 |
aps | no, you haven't | 15:57 |
CarlFK | I didn't what? | 15:57 |
aps | oh yes, you have attached | 15:57 |
CarlFK | lol | 15:57 |
aps | inside | 15:57 |
CarlFK | it confuses everyone | 15:57 |
aps | oh my god, how many times did you attach? | 16:02 |
CarlFK | just once I think | 16:05 |
aps | ohk, you register command is not right | 16:05 |
CarlFK | lol - and then I sshed in again.. I bet that added a 2nd | 16:05 |
aps | did you export "secret" variable? | 16:06 |
CarlFK | ubuntu@ip-172-31-41-143:~$ echo $ROOMNAME | 16:07 |
CarlFK | room3278 | 16:07 |
CarlFK | same for user and password | 16:07 |
aps | $SECRET | 16:07 |
CarlFK | oh... | 16:07 |
aps | CarlFK: restart script now, but first kill it | 16:12 |
CarlFK | um.. how do I get to the tmux session it is running in? | 16:12 |
aps | third window | 16:13 |
aps | ctrl a, 3 | 16:13 |
*** Niharika has quit IRC | 16:13 | |
aps | I generally rename the windows | 16:14 |
aps | Why you putting variable in quotes? | 16:14 |
aps | ohk, it has to be in quotes. my bad | 16:15 |
aps | CarlFK: ok its done | 16:16 |
CarlFK | lol | 16:16 |
CarlFK | ah, sudo -s runs root's bashrc... | 16:16 |
aps | run watchdog also | 16:16 |
aps | ok you did | 16:17 |
aps | CarlFK: room 3278 is hungry and are going to start other encoders as well? | 16:28 |
CarlFK | just did that | 16:28 |
CarlFK | dvswitch is up with sources, * Restarting Flumotion Streaming Server flumotion [ OK ] | 16:29 |
CarlFK | encoder is still hungry right ? | 16:29 |
aps | no | 16:30 |
CarlFK | ah, the bold is current, the other lines are previous values? | 16:31 |
*** Niharika has joined #timvideos | 16:32 | |
aps | Yeah | 16:34 |
CarlFK | so 3278 is up right? | 16:36 |
aps | Start other encoders also | 16:36 |
aps | Yeah, you can see the stream :) | 16:36 |
CarlFK | Direct Links - HD SD Audio http://54.201.107.65:8080/webcast-high.webm | 16:40 |
CarlFK | is the host name handy enough instead of IP? | 16:40 |
CarlFK | yesterday someone told me a 54.. ip and I had no idea what they were talking about | 16:40 |
*** Niharika has quit IRC | 16:41 | |
aps | Better use host names | 16:41 |
aps | Roomxxx.encoder.timvideos.us | 16:41 |
*** Niharika has joined #timvideos | 16:44 | |
aps | CarlFK: are you not gonna start other encoders? | 16:57 |
CarlFK | 3278 is the only one to be steamed right now | 17:01 |
aps | oh, 338 (SPI BOF -- Bdale Garbee) is also in schedule | 17:02 |
CarlFK | I just asked "want video or stream?" "na, I don't care" | 17:03 |
aps | :D | 17:03 |
CarlFK | I am trying to bring up 329.. failure <class 'twisted.spread.pb.PBConnectionLost'>: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly. | 17:06 |
aps | you need to "sudo service flumotion start" | 17:06 |
CarlFK | that didin't fix it | 17:07 |
aps | hrm | 17:08 |
aps | I'm looking into it | 17:08 |
CarlFK | k | 17:08 |
aps | CarlFK: you have typo in basrc for $PASSWORD | 17:12 |
CarlFK | whooops | 17:12 |
CarlFK | :$ gets you to the bottom in vi | 17:13 |
aps | I'm not really a vim guy :) | 17:14 |
aps | and fixing typo dint work :/ | 17:15 |
CarlFK | did you log out/in to rerun .bashrc? | 17:15 |
aps | no | 17:15 |
aps | leave bashrc, I'll just run the cmd directly | 17:15 |
aps | it's up | 17:16 |
CarlFK | neat - I am going to stop/start that encoder to see if I can get everything up per the docs | 17:17 |
aps | sure | 17:17 |
aps | Don't forget the watchdog! | 17:23 |
CarlFK | how should I get to a new tmux session? | 17:24 |
aps | do you mean other window? ctrl a, <pane number> | 17:25 |
aps | if you want to create new, ctrl a , c | 17:25 |
aps | well done :P | 17:26 |
aps | CarlFK: Now that you can handle it, I'll head to bed. | 17:33 |
aps | gn | 17:33 |
CarlFK | groovy - thanks and good night | 17:33 |
CarlFK | aps: you still here? 339 not coming up | 17:44 |
CarlFK | 338 I mean | 17:44 |
CarlFK | never mind.. now it is | 17:45 |
CarlFK | aps: or maybe not | 18:03 |
CarlFK | can you check up on all 3 rooms and tell me how they look? | 18:03 |
aps | k | 18:04 |
aps | 329 wrking but no audio | 18:04 |
CarlFK | strange... ill go look | 18:05 |
aps | 329 fine now | 18:06 |
CarlFK | good. | 18:06 |
CarlFK | 338 has crud all over the tmux session I have open | 18:07 |
aps | you can close windows using ctrl d | 18:07 |
aps | and change them using ctrl a, then window number | 18:07 |
CarlFK | but watchdoog dosn't show happy | 18:08 |
CarlFK | everything is producer-src (at 18:07:56) in hungry for 11s (e 10.00%) | 18:08 |
CarlFK | sleeping, waking, hungry, | 18:08 |
aps | hungry means feed not coming from collector | 18:08 |
aps | restart flumotion on collector | 18:09 |
aps | Y U NO RUN WATCHDOG ON COLLECTOR? | 18:09 |
aps | CarlFK: your tunnel is also down, so I can't ssh | 18:10 |
CarlFK | ahh.. I was starting the wrong collector | 18:11 |
aps | CarlFK: Please run watchdog. It's really useful | 18:12 |
CarlFK | where? | 18:12 |
CarlFK | oh right.. the 3rd box | 18:12 |
aps | on your collectors, like you did yesterday | 18:13 |
aps | on evey collector | 18:13 |
aps | every | 18:13 |
aps | CarlFK: and bring up ssh tunnel also, put it in a loop or something like Tim said | 18:17 |
CarlFK | while true; do ssh -v [email protected] -R 0.0.0.0:2222:127.0.0.1:22 "while true; do date; sleep 5; done"; sleep 30; done | 18:22 |
CarlFK | is running | 18:22 |
aps | CarlFK: what are local names of other collectors? | 18:28 |
CarlFK | cnt3,4,6 | 18:29 |
*** mparuszewski_ has joined #timvideos | 18:49 | |
*** Niharika has quit IRC | 18:57 | |
*** slomo has quit IRC | 21:34 | |
*** leon_w has joined #timvideos | 22:24 | |
*** techman83 has quit IRC | 22:37 | |
*** Guest68855 is now known as tiago | 23:10 | |
*** tiago is now known as Guest54232 | 23:10 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!