*** vladdy_ (~vladdy@194.242.5.47) has joined #wikid | 09:07 | |
*** vladdy has quit (*.net *.split) | 09:16 | |
*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid | 12:50 | |
Guest3300 | hi | 15:20 |
---|---|---|
Guest3300 | hello | 15:20 |
nowen | hi | 15:20 |
Guest3300 | nick | 15:20 |
nowen | yep | 15:21 |
Guest3300 | i still have booting issue | 15:22 |
nowen | ok, I have a plan | 15:22 |
Guest3300 | great lets hear it | 15:22 |
Guest3300 | do you want me to send you the error messages again | 15:22 |
nowen | no. set up a new server, using the iso. port the data over to it. | 15:23 |
Guest3300 | oh seems like a lot | 15:23 |
Guest3300 | does the new one have all the updates | 15:24 |
nowen | no, you will need to start with an iso that is the same version as your current WiKID version | 15:24 |
Guest3300 | do i download the new iso | 15:24 |
nowen | http://wikidsystems-dl.com/wikid-enterprise-3.4.87-b1030-install.iso | 15:24 |
nowen | yes. unless you still have it | 15:25 |
nowen | download that file and let me know when you are ready to create the hyperv image | 15:25 |
Guest3300 | OK | 15:26 |
nowen | it should not be too hard to copy the data, we have scripts for it. | 15:27 |
nowen | the image will need e1000 nics and lsi scsi drives | 15:33 |
Guest3300 | i have the iso file from before | 15:36 |
nowen | ok - create a new vm for is | 15:36 |
nowen | it | 15:36 |
nowen | it might be a good idea to go ahead and try to update it and see if that causes any issues | 15:37 |
Guest3300 | should i attach a nic | 15:38 |
nowen | yes, an e1000 nic | 15:39 |
nowen | and be sure to use LSI scsi drives | 15:39 |
Guest3300 | not sure what e1000 and LSI scsi drives are | 15:40 |
Guest3300 | i am in a HyperV environment | 15:40 |
nowen | what are the options for nics? | 15:40 |
nowen | is one 'legacy'? | 15:40 |
Guest3300 | no but legacy can be added later | 15:41 |
Guest3300 | not at the initial state | 15:41 |
nowen | ok - you will need legacy | 15:41 |
nowen | what are the options for scsi drives? | 15:41 |
Guest3300 | none | 15:41 |
nowen | ok then | 15:41 |
Guest3300 | i create a vm without nic or vhd | 15:42 |
Guest3300 | now i can add legacy nic and scsi drive | 15:42 |
nowen | ok | 15:45 |
nowen | this server will need to communicate with your existing WiKID server, btw | 15:46 |
nowen | brb - coffee time | 15:47 |
nowen | ok - back | 15:56 |
nowen | at the boot prompt, you need to type 'install' to install the WiKID packages | 15:57 |
Guest3300 | but before installing the package can i run updates | 16:05 |
nowen | well, the wikid rpm are installed at boot. | 16:05 |
nowen | i recommend you run wikidctl setup and set up the network, then run updates | 16:05 |
Guest3300 | ok | 16:06 |
Guest3300 | its trying to acquire dhcp address | 16:07 |
nowen | if you run 'wikidctl setup' you can specify an address | 16:19 |
*** Guest3300 has quit (Ping timeout: 245 seconds) | 16:20 | |
*** mo (4084d7c2@gateway/web/freenode/ip.64.132.215.194) has joined #wikid | 17:44 | |
mo | hi | 17:44 |
mo | looks like you guys are back | 17:44 |
*** mo is now known as Guest43741 | 17:44 | |
nowen | we never left ;) | 17:44 |
Guest43741 | i thought my problem scared you away | 17:44 |
Guest43741 | im getting failure to boot | 17:46 |
Guest43741 | looks for dhcp | 17:46 |
Guest43741 | then stops | 17:46 |
nowen | hmm, if it isn't booting how is it looking for dhcp | 17:47 |
nowen | ? | 17:47 |
nowen | do you get a screen that says "Welcome to WiKID Linux, Release 3.0"? | 17:49 |
Guest43741 | my bad did not load iso file | 17:51 |
Guest43741 | i am on that screen now | 17:51 |
Guest43741 | it says 'boot:' | 17:51 |
Guest43741 | should i enter install | 17:53 |
nowen | yes | 17:54 |
Guest43741 | now i am getting could not allocate requested partitons: partition failed | 17:58 |
Guest43741 | not enough space left to create partition for /. | 17:58 |
nowen | how big of a disk did you allocate? | 17:58 |
Guest43741 | 32GB | 17:58 |
Guest43741 | i will expand it to 64 and retry | 17:59 |
nowen | I am using 8, so I don't think that is it | 17:59 |
Guest43741 | what could it be | 18:04 |
nowen | what are the options for configuring the hard drive in hyper v? | 18:04 |
Guest43741 | looks like attaching vhd to ide controller instead of scsi worked | 18:07 |
Guest43741 | its installing now | 18:07 |
nowen | awesome | 18:09 |
Guest43741 | need defa login info | 18:14 |
nowen | root / wikid | 18:14 |
Guest43741 | root root doesn't work | 18:15 |
Guest43741 | at the 'wikidctl setup' prompt | 18:15 |
Guest43741 | should i setup or update the sytem | 18:15 |
nowen | setup to configure the network | 18:16 |
Guest43741 | can i change the ip afterward | 18:16 |
nowen | you can re-run set up anytime. Just remember that your domain identifier is based on the IP. Also, we want this server to be able to talk to your existing WiKID box | 18:17 |
Guest43741 | brb... help desk call | 18:19 |
Guest43741 | hi im back | 20:00 |
Guest43741 | can we retry | 20:00 |
nowen | sure | 20:00 |
Guest43741 | so with the new server do i have to redo the certificates | 20:01 |
nowen | no | 20:01 |
nowen | is it set up? | 20:01 |
Guest43741 | great... i'm at the screen that says what is your first ad last name | 20:01 |
Guest43741 | should i enter my name or something else | 20:02 |
Guest43741 | i think i entered something else here | 20:02 |
nowen | oh, you are supposed to enter the fqdn of the server. but it doesn't really matter | 20:02 |
nowen | only the admins will see it | 20:02 |
Guest43741 | i alreday entered the fqdn | 20:03 |
nowen | ok | 20:04 |
nowen | when it asks you about replication, say no | 20:05 |
Guest43741 | i did | 20:07 |
Guest43741 | it set the host name | 20:08 |
nowen | ok - now run 'yum update' and see if it works | 20:08 |
Guest43741 | i think its trying to generate a self server certificate | 20:09 |
nowen | ok | 20:09 |
Guest43741 | should i fill this out or leave it blank | 20:09 |
nowen | where are you? | 20:09 |
nowen | you do not need to go to the WiKIDAdmin or start the server | 20:09 |
Guest43741 | at prompt: what is the name of your organizational unit | 20:10 |
Guest43741 | no option but to generate a self signed certiricate | 20:10 |
nowen | yes, answer those questions, all of them, then enter Yes | 20:10 |
Guest43741 | trying to run yum update | 20:12 |
Guest43741 | error 'temporary failure in name resolution' | 20:12 |
nowen | did you enter the correct info for your dns servers? | 20:13 |
nowen | rerun set up and check the network settings | 20:14 |
Guest43741 | just did | 20:14 |
nowen | did it help? | 20:15 |
Guest43741 | now its running | 20:16 |
Guest43741 | 357 M of update | 20:16 |
Guest43741 | may take a few minutes | 20:16 |
nowen | sounds about right | 20:17 |
Guest43741 | finished downloading but i'm seeing a warning gpg key | 20:25 |
nowen | safe to accept that | 20:26 |
Guest43741 | should i just hit yes | 20:26 |
Guest43741 | ok | 20:26 |
Guest43741 | installing updates | 20:26 |
nowen | once it is done, reboot to check that the kernel is ok | 20:31 |
Guest43741 | done will reboot now | 20:34 |
Guest43741 | looks like that worked | 20:36 |
Guest43741 | how do i check if its running ssh 5 | 20:36 |
Guest43741 | or what version of ssh | 20:36 |
Guest43741 | ? | 20:36 |
nowen | 'rpm -qa | grep openssh' | 20:37 |
Guest43741 | ok | 20:39 |
Guest43741 | it did update | 20:39 |
nowen | that version work for you? | 20:40 |
Guest43741 | i guess this is the latest version right | 20:40 |
nowen | I would think so | 20:40 |
Guest43741 | ok | 20:40 |
Guest43741 | so lets import the settings | 20:40 |
nowen | it is the latest version in the centos repository | 20:40 |
Guest43741 | ok great | 20:40 |
nowen | ok - what we are going to is set up replication. We will copy all the data to the new machine and then promote it to be the new master | 20:41 |
nowen | make sense? | 20:41 |
Guest43741 | yes but I would like to then kill the slave and replace the master with the slave's fqdn and ip... | 20:42 |
Guest43741 | possible | 20:42 |
Guest43741 | ? | 20:42 |
nowen | so, the current server will start as the master, the server you just updated will be the slave. Once the data is transferred the slave becomes the new master - you change the IP and FQDN to the old master and we're done | 20:43 |
nowen | the old master gets blown away because of the kernel issue | 20:44 |
Guest43741 | i will have to load the working current server and not the server with the kernel issue... right? | 20:45 |
nowen | the working current server will become the new master. | 20:45 |
Guest43741 | sorry i meant the old working server without the kernel issue... I need to load this | 20:46 |
nowen | on the new server, rerun setup. say N to changing the network, Y to replication | 20:46 |
nowen | select s for slave | 20:46 |
nowen | and put the existing WiKID server | 20:47 |
nowen | 's ip as master | 20:47 |
Guest43741 | should existign wikd be up and running | 20:48 |
nowen | yes | 20:48 |
Guest43741 | stuck on 'input: TPPS/2 IBM TrackPoint as /class/input/input1' | 20:54 |
nowen | ? | 20:54 |
Guest43741 | looks like its running now | 20:55 |
nowen | ok - did you set the new server up as a replicant? | 20:56 |
Guest43741 | i can't seem to type anything in | 20:57 |
nowen | in either VM? | 20:58 |
Guest43741 | it appears you can't run more than one linux server at same in time in hyperv | 20:58 |
nowen | really? | 20:58 |
nowen | LOL | 20:58 |
Guest43741 | but i have it running on different server now... | 20:58 |
nowen | cool | 21:05 |
nowen | so set up the new server as the slave | 21:05 |
Guest43741 | yes | 21:08 |
Guest43741 | i'm at the prompt to start | 21:08 |
Guest43741 | wikidctl start' | 21:08 |
nowen | no | 21:08 |
nowen | well, | 21:08 |
Guest43741 | ok | 21:08 |
nowen | no, no need to start the slave | 21:08 |
Guest43741 | ok should i start the master | 21:09 |
nowen | now, we need to set the old server up as master. | 21:09 |
nowen | yes | 21:09 |
Guest43741 | done | 21:12 |
Guest43741 | master wants to start webbrowser to continue the configuratio | 21:12 |
nowen | on the master, run 'wikidctl sync' and select both | 21:12 |
Guest43741 | done | 21:13 |
nowen | ok | 21:14 |
nowen | now on the new server/current slave, rerun set up and select None for replication | 21:14 |
Guest43741 | can i leave it like this so if one fails i can have the other one take over | 21:14 |
nowen | yes - but I recommend you build a new server as this one has a bad kernel | 21:15 |
Guest43741 | ok | 21:16 |
Guest43741 | so lets delete it | 21:16 |
nowen | not yet ;) | 21:16 |
nowen | first, on the new server/current slave, rerun set up and select None for replication. | 21:16 |
nowen | start the server and verify that your data is there | 21:16 |
Guest43741 | can't browse to server ip | 21:20 |
Guest43741 | page not loading | 21:20 |
Guest43741 | but can ping it | 21:20 |
nowen | please run 'netstat -anp | grep 443' | 21:21 |
nowen | does it return anything? | 21:21 |
Guest43741 | nothing happens | 21:21 |
nowen | you ran 'wikidctl start'? | 21:22 |
Guest43741 | yes | 21:22 |
Guest43741 | but i think replication is still running | 21:22 |
nowen | and you reran setup and set replication to none? | 21:22 |
Guest43741 | yes | 21:23 |
nowen | hmm | 21:23 |
Guest43741 | i can ping back and fort | 21:24 |
Guest43741 | forth | 21:24 |
Guest43741 | but can load server on 443 no 80 | 21:24 |
Guest43741 | can't | 21:25 |
nowen | hmm | 21:26 |
nowen | oh | 21:26 |
nowen | I bet I know | 21:26 |
Guest43741 | the master server is also not coming up | 21:27 |
nowen | run 'chown -R postgres:postgres /var/lib/pgsql/data' | 21:27 |
nowen | and then try to start wikid | 21:28 |
Guest43741 | on master or slave? | 21:28 |
nowen | slave | 21:28 |
Guest43741 | i get 'no such file or directory' | 21:29 |
nowen | run 'ls -all /var/lib/pgsql/data' | 21:30 |
Guest43741 | missed 'lib' ran now | 21:30 |
Guest43741 | nothing happened... still can't load webpage | 21:31 |
Guest43741 | ls command ran | 21:32 |
Guest43741 | i got a list of files | 21:32 |
nowen | are the dates on the file from when you ran sync? | 21:32 |
Guest43741 | some are dated oct 19 2011 | 21:33 |
Guest43741 | postgresql.conf is date oct 19 2011 and some other files | 21:33 |
nowen | run 'date' on the terminal | 21:33 |
Guest43741 | ok ran | 21:34 |
nowen | is the date correct? | 21:34 |
Guest43741 | has correct date an dtime | 21:34 |
Guest43741 | yes | 21:34 |
Guest43741 | should i reboot | 21:35 |
nowen | no | 21:35 |
nowen | run 'ls -all /opt/WiKID/private' | 21:35 |
nowen | is it the same as on the master? | 21:35 |
Guest43741 | yes except one file | 21:37 |
Guest43741 | one fiel different on both | 21:38 |
Guest43741 | the date that is | 21:38 |
Guest43741 | its the second file | 21:38 |
Guest43741 | when i ran wikidctl start on slave it did not ask for password | 21:40 |
Guest43741 | did not load tomcat | 21:40 |
Guest43741 | nor radius | 21:40 |
Guest43741 | something tells me its did not replicate | 21:40 |
nowen | that's what I am thinking | 21:40 |
Guest43741 | should i start the master | 21:41 |
nowen | yes, and rerun set up on the slave and try to sync again | 21:41 |
Guest43741 | i did not start wikidctl on master before running replication | 21:42 |
nowen | you don't have to | 21:42 |
Guest43741 | should i stop wikid on master before running setup on slave | 21:42 |
nowen | all you have to do is configure it as master in wikidctl setup | 21:42 |
nowen | did you configure it as master? | 21:43 |
Guest43741 | yes when i started master it says ' syning master files to slave | 21:43 |
Guest43741 | starting database as replica slave | 21:43 |
Guest43741 | success | 21:43 |
Guest43741 | the asks for password | 21:44 |
nowen | and you gave it the root password to the slave? | 21:44 |
Guest43741 | yes when i setup the server | 21:44 |
nowen | run 'wikidctl sync' again | 21:45 |
Guest43741 | on slave or master | 21:45 |
nowen | master | 21:45 |
Guest43741 | just ran setup again | 21:45 |
Guest43741 | on slave | 21:45 |
Guest43741 | should i start wikidctl on slave | 21:46 |
nowen | no | 21:46 |
Guest43741 | before running sync again | 21:46 |
Guest43741 | ok | 21:46 |
Guest43741 | just ran | 21:47 |
nowen | ok - check the dates on /var/lib/psql/data again | 21:48 |
Guest43741 | shold i start wikidctl on slave | 21:48 |
Guest43741 | now that it replicated over | 21:48 |
nowen | just check the dates for now | 21:48 |
Guest43741 | yes they are all same except one | 21:50 |
Guest43741 | but no file name is listed | 21:50 |
Guest43741 | could be dreictory | 21:51 |
nowen | so do you think it sync'd? | 21:51 |
Guest43741 | yea i think so | 21:51 |
nowen | ok, rerun setup and then start | 21:51 |
nowen | on the slave | 21:51 |
Guest43741 | nope nothing | 21:52 |
Guest43741 | we will have to pick up tomorrow | 21:52 |
nowen | ok | 21:52 |
Guest43741 | but here is what i get | 21:52 |
Guest43741 | after typing in wikidctl start | 21:52 |
Guest43741 | i get 'starting database as replica slave ...Succes!' | 21:53 |
nowen | hmm | 21:53 |
Guest43741 | 'Success!' | 21:53 |
nowen | try running 'wikidctl promote' | 21:53 |
Guest43741 | the back to prompt | 21:53 |
Guest43741 | i get this will chang to master /N | 21:53 |
Guest43741 | y/N | 21:53 |
nowen | yes | 21:53 |
Guest43741 | its asking 'what ip of slave' | 21:54 |
Guest43741 | should i point to old master | 21:54 |
nowen | sure | 21:54 |
Guest43741 | now it asked for a password | 21:55 |
nowen | that's better | 21:55 |
Guest43741 | should i start | 21:55 |
Guest43741 | i think i just did | 21:55 |
Guest43741 | its running a few things | 21:56 |
Guest43741 | its caught in a loop | 21:57 |
nowen | what does it say? | 21:57 |
Guest43741 | its jsut keeps going in a loop | 21:58 |
Guest43741 | will have to continue tomorrow | 21:58 |
Guest43741 | thanks | 21:58 |
nowen | wat | 21:58 |
nowen | wait | 21:58 |
nowen | one more thing | 21:58 |
Guest43741 | if i press enter | 21:58 |
nowen | rerun setup and select none for replication | 21:58 |
Guest43741 | it asks for a password | 21:59 |
Guest43741 | after i enter the password it loops | 21:59 |
Guest43741 | again | 21:59 |
nowen | just hit ctrl-C | 21:59 |
Guest43741 | ok that stopped it | 22:00 |
Guest43741 | lets pick up tomorrow | 22:00 |
nowen | rerun setup and select none for replication | 22:00 |
Guest43741 | how do i stop wikid | 22:01 |
nowen | 'wikidctl stop' | 22:01 |
Guest43741 | nothing happens | 22:02 |
Guest43741 | still going in a loop | 22:02 |
Guest43741 | trying to stop services | 22:02 |
nowen | 'killall -9 java' | 22:02 |
Guest43741 | lets pick up tomorrow | 22:03 |
Guest43741 | i will poweroff the server | 22:03 |
Guest43741 | can I? | 22:03 |
nowen | just leave it up, no reason to turn it off | 22:05 |
nowen | later | 22:06 |
*** nowen has quit (Quit: Leaving.) | 22:06 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!