Week 2
Date January 19 th , 2010
Start Time 12:15 PM
Task Installing Unbuntu Server x64
Description/ Info Installation settings:
Hostname: JDBCAP
Drive Partitioning: o 10 GB primary; ext4 o 4 GB swap
See Problem Section Reference [1]
Continued Installation settings; 12:40 PM
User: capstone
Password: P@sw0rd
Landscape update manager information
Main system id: CAPSTONEBRAIN
User: capstone
Password: P@ssw0rd
Problems [1] Problem reading installation files from disk 12:30 PM
Rebooted to CD and ran CD Integrity check – Successful
Re-tried install – successful
Assistance/ Resources None
Stop Time 1:00 PM
Week 2
Date January 19 th 2010 (cont)
Start Time 1:00 PM
Task Install x-windows and gnome environment
Description/ Info Used aptitude package manager to download
Aptitude install x-window-system-core gnome-core see problem section reference [1]
Problems [1] Error: POAFIID: GNOME_FASTUSERSWITCH APPLET 2:45 PM
Assistance/ Resources Problem did not affect the operation of the system. No further action required
Stop Time 3:00 PM
Week 2
Date January 20 th , 2010
Start Time 8:50 AM
Task vmware server installation testing and research
Description/ Info Testing installation in a virtual environment due to compatibility issues with vmware server and the kernel version of ubuntu 9.10
See problem section reference [1]
Continued installation testing
Name for network: JDBCAPTEST
Network: VMnet0 eth0 bridged
NAT: available
JDBCAPNAT
IP address of host on private network 10.0.0.1 sub 255.255.255.0
VMNET8 is a NAT network on private subnet 10.0.0.1
Must obtain linux headers as a requirement for vmware server build
Apt-get install linux-headers-`uname –r`-build-essential
Aim: linux-headers-2.6.31-14-generic
Connectivity configuration
Remote connections: 902
http connection: 8222
secure http: 8333
Vmware server installation continues 11: 45 AM
run install script, resource reference [1] to port vmware server into ubuntu 9.10
configuration parameters complete
Problems [1] Researching possible workaround. 9:00 AM
- Found possible workaround ; see Assistance/ Resources section reference
[1]
Assistance/ Resources [1] How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala; posted
October 30 th 2009: author unknown. http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-onubuntu-9-10-karmic-koala/
Utilized Script
Stop Time 12:00 PM
Week 2
Date January 20 th , 2010 (cont)
Start Time 12:00 PM
Task Reinstallation of host OS and Vmware server configuration
Description/ Info Re-installed Ubuntu server 9.10 x64 due to new understanding of vmware server
Same configuration parameters as previous installation
Datastore configuration
vmware server requires a location to store vm’s
created a 24 GB partition using fdisk and parted
formats partition to ext4 using: o mkfs.ext4
mounted to /VMIMAGES
created an FSTAB entry to mount at boot up o /dev/sda3 /VMIMAGES ext4 auto 0 0
Server Virtualization
Created Webserver (Ubuntu 9.10) o JDBCAPWEB
Created Database server (Ubuntu 9.10) o JDBCAPDB o User: capstone o Password: P@ssw0rd
Problems None o User: capstone o Password: P@ssw0rd
Assistance/ Resources Research and configuration assistance from Dale Baziw
Stop Time 3:00 PM
Week 3
Date January 26 th , 2010
Start Time 12:00 PM
Task Network configuration
Description/ Info Assign static IP’s to virtual servers (bridged) and Host operating system
Edit /etc/network/interfaces o Remove dhcp directive and replace with ‘static’ o Host operating system (Ubuntu 9.10)
Address: 10.163.101.30
Netmask: 255.255.255.0 o Server Database
Address: 10.163.101.2
Netmask: 255.255.255.0 o Web server
Address: 10.163.101.165
Netmask: 255.255.255.0
Problem downloading packages for configuration
See problem section reference [1]
Installation of server applications
Database server o Installing MYSQL server o Apt-get install mysql-server
Problems [1] Problem appears to be with outgoing communication
- Ping test is successful within the network
- Problem with routing: no default gateway has been set
- Resolution: set default gateway; route add default gw [10.163.101.254]
Assistance/ Resources
Stop Time
Week 3
Date January 27 th , 2010
Start Time 12:00 PM
Task Server communication configuration and testing
Description/ Info Porting sample database into mysql server with an associated webpage created last semester
Communication between web server and database server returns an error “undefined function mysql_connect()...” see problems section reference [1]
Problems [1] Researching possible causes for this error 2:00 PM
- Testing general php function with a simple script
- <?php phpinfo(); ?> #displays php information if functional – success
- continuing research on issue
Assistance/ Resources
Stop Time 4:00 PM
Week 4
Date January 31 st , 2010
Start Time 6:00 PM
Task Server Communications
Description/ Info Web Server
Install mysql client
Apt-get install mysql-client
Database server
Apt-get install phpMyAdmin
For account creation and manipulation tool
Test login to sql server via web project sql client using a test database
Mysql –u root –p P@ssw0rd
Issue with logon see problem section reference [1]
7:30 Must modify web page for testing
Revised sql calls to reflect user privilege change
Problems [1] User credentials invalid? 6:45
- problem stems from user privileges
- granted select privileges to mysql user
- promising results with early access attempt
Assistance/ Resources
Stop Time 8:00 PM
Week 4
Date February 2 nd , 2010
Start Time 1:00 PM
Task Continued Database and web server configuration testing
Description/ Info Problem encountered with database see problem reference [1]
Moved on to ssd installation
Issues with mount point see problem reference [2]
Resolution found with 5.25 to 3.5 inch adapters; solid states came with a 2.5 to 3.5 inch adapter; nested drives and mounted successfully within the case
Problems [1] cannot start necessary services in mysql or add a database
- researched into issue; didn’t find a definitive answer
- testing; did not resolve issue
[2] dell case does not have a drive cage to mount drives
- talked to Jason/ Colin about alternatives
Assistance/ Resources Jason Fisher, Colin Chamberlin
Stop Time 3:00
Week 4
Date February 3 rd , 2010
Start Time 11:40 AM
Task Router Configuration
Description/ Info Obtained a router after progress meeting to alleviate the need for static IP’s
Configured as JDBCAPSTONE: o 10.163.101.254; 255.255.255.0
RAID configuration of SSD
Enter system setup ‘F2’
Enter CMOS features
Change from AHCI to RAID
Boot
Enter setup ‘F2’
Enter RAID utility ‘Cntrl-I’
RAID set info:
JDBCAPRAID
Set size 150 GB
Contains 3 disks
Reinstallation of Ubuntu 9.10
Host OS: JDBCAP
Primary 10GB
VMIMAGES: 50 GB
10 GB swap on SATA drive
See problem reference [1]
Attempted fix of installation
Creation of a RAID 1 set for OS and RAID 0 for the VMIMAGES partition; see problem reference [2]
Resolution of the installation
Created a RAID 0 grouping with 2 disks to provide performance for
VMIMAGES
Left the 3 rd drive blank to install the host OS successfully
Modifying router config due to connectivity issues. See problem reference [3]
Configured new router:
192.168.0.254; 255.255.255.0
Problems [1] Installation of Ubuntu will not install grub boot loader on the raid set;
12:00 PM
[2] Simultaneous allocation of physical disks into to RAID sets with 1 and 0 applying respectively to the two disk groupings is not possible with the current integrated RAID controller. 12:30 PM
[3] Router keeps dropping network connection affecting vm operation and configuration.
- tested connectivity at Jason’s request;
- ping was successful to gateway, server, external address however on a continuous ping network was unreachable after a few minutes
Assistance/ Resources
Stop Time 4:00 PM
Week 5
Date February 9 th 2010
Start Time 12:00 PM
Task Database Server Configuration
Description/ Info Problem with database server is still unresolved; assuming configuration issue with sql server; see problem reference [1]
Recreated the VM with all previous settings
Problems [1] Cannot resolve issue with database server. Have decided to recreate VM;
Assistance/ Resources
12:30 PM
Stop Time 3:00 PM
Week 5
Date February 10 th 2010
Start Time 1:00 PM
Task Continued server configuration and testing
Description/ Info Re-testing of database and web server connectivity and communication
See problem reference [1]
Discussed issues with Dale/ Jamie/ Jason/ Colin 2:30 PM
Second occurrence of a vmserver failure to date raises concern for the stability of the application as a virtualization platform for our project
Researching alternatives
Problems [1] Cannot connect to vmserver web interface 1:15 PM
- attempted to restart all vmserver services, communication issues have continued
- attempted to reconfigure vmserver
- due to initial installation procedure due to incompatibility with host
OS reconfiguration/ un-installation programs fail to remove vmserver
Assistance/ Resources Jamie Scales, Dale Baziw, Jason Fisher, Colin Chamberlin
Stop Time 4:00 PM
Week 6
Date February 24 th 2010
Start Time 12:00 PM
Task Rebuilding Server VM’s
Description/ Info As a result of platform change databases must be recreated. Jamie has previously created a blank Ubuntu 9.10 VM to work with. The machine has
been copied twice leaving the original as a template clean system.
Database Server Recreation
Settings will be the same as previously stated during the database recreations outlined in previous journal entries
12:02: static configuration of IP’s o Statically configured IP’s o 192.168.0.3: database o 192.168.0.2: openfiler o 192.168.0.1: JDBCAPHOST o 192.168.0.4: web server o 192.168.0.254: gateway
12:20 PM Assisted by Dale: install ssh client for file transfers o Connection to server: sftp port 22 o Credentials: user: root pass: P@ssw0rd
12:40 PM; mysql installation see journal entry January 20 th 2010 o Apt-get install Mysql-server
1:00 PM; mysql importing a sample database for testing o See problem section reference [1]
2:00 PM; importing database o Command: mysql –u mysql –p < /playground/final.sql o Login to mysql to test import success o Show databases; o Use [database/finalproject]; o Show tables; o Successfully imported database
Problems [1] 1:15; issues importing database, researching into issue. Resolution: incorrect syntax for mysql import command due to referencing a non-existent database. Assisted by Dale
Assistance/ Resources Dale
Stop Time 3:00 PM
Week 7
Date March 2 nd 2010
Start Time 12:00 PM
Task Server communications
Description/ Info Researching php5 mysql integration see problem section reference 1
1:00 PM; Added some libraries and extensions.
1:10 PM; build a simple php page which attempts a connection to the database.
1:15 PM; accessing php test page from the webserver. See problem section reference 2
1:30; No Luck with server communications. Dale Baziw is continuing library/extension research.
Problems [1] 12:00 PM; problem with php communication to an external database.
Resolution: php does not come compiled with mysql support. This support can be added to php5 through the use of extensions and libraries. Assisted by
Assistance/ Resources
Stop Time
Dale Baziw
[2] Connection still fails. Resolution: checked syntax of mysql_connect function. Syntax is correct. May still be a library issue. Assisted by Dale
Week 7
Date March 3 rd 2010
Start Time 1:30 PM
Task Server Communications continued
Description/ Info Attempting to recompile php5 with mysql support from source o Downloading source code from php website o Decompressing php5-5.2.13.tar.gz o Execute mysql ./configure –with-mysql=mysqlnd \ --withmysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ o Command fails. See problem section reference [1]
Apt-get install gcc
2:15 PM; running mysql configuration command (previously mentioned) o Problem section reference [2]
2:45 PM; attempting creation of symbolic link to older library o Ln –s /usr/lib/libxm.so.3 /usr/lib/libxm.so.4 o Running mysql configuration command o See problem section reference [3]
Problems [1] 2:10 PM; configuration error: no acceptable cc found in $PATH.
Resolution: install gcc compiler
[2] 2:15 PM; configuration error: xm12-config not found check libxm12 installation. Resolution: apt-get install libmotif3. Result: Unsuccessfull.
Problem Solution: create a symbolic link to “trick” the program into using an older version of libxm
[3] 2: 47 PM; compile still fails on the same dependency. Solution: No solution found for Ubuntu...
Assistance/ Resources
Stop Time 3:00 PM
Week 7
Date March 5 th 2010
Start Time 11:56 AM
Task Server Communications
Description/ Info Dale Baziw has successfully imported extensions/libraries to a blank VM. Test of the webserver to database server communications are promising.
Modifying hostname to match old webserver o run /bin/hostname [hostname/JDBCAPWEB] o edit /etc/hosts to reflect JDBCAPWEB as hostname
12:05 PM; setting static IP address
o Iface eth0 inet static o Address: 192.168.0.4 o Netmask: 255.255.255.0 o Network: 192.168.0.0 o Broadcast: 192.168.0.255 o Gateway: 192.168.0.254
12:08 PM; Testing server communications o Ran php test page o See problem section reference [1]
Problems [1] 12:10 PM; issue with the usage of mysqli_connect function. Solution: modify all instances of function call to mysql_connect.
Assistance/ Resources
Stop Time 1:00 PM
Week 8
Date March 10 th 2010
Start Time 2:00 PM
Task Scripting
Description/ Info Helping Jamie with scripting
Script must query the mp3 tag info and output information to a CSV
(Comma Separated Values) file for import into the database
Problem: see problem reference [1]; 2:45 PM
Script must be automated, no running from the directory, therefore absolute paths must be given
Using a recursive structuring a set of nested loops will be used in conjunction with 3 arrays to store the artists, albums, and songs
Use of mp3info command (see Jamie Scales Journal)
Problems [1] changing directories causes over complicated coding structure... solution: use absolute paths
Assistance/ Resources Jamie Scales
Stop Time 3:00 PM
Week
Date
Start Time
Task
Description/ Info
Problems
Assistance/ Resources
Stop Time
Week
Date
Start Time
Task
Description/ Info
Problems
Assistance/ Resources
Stop Time