Sunday, August 23, 2015

Hunt for new servers

SAS vs SATA
The current generation of SATA is 6GB/s while current SAS are 12Gb/s. Also, unlike SATA, a SAS controller can supports multiple datalanes. You'll often see SAS-4, which have 4 datalanes, total capable of 22Gb/s signaling.
Lastly, while this is more of a market limitation than a technical limitation, you do not often see 15K RPM SATA disks

More RAM or More Cores for a MySQL Database Server?
for a normal large database, the rule of thumb would be: hd throughput is a main bottleneck, so:
1. buy hds, and
2. do not necessarily buy the fastest ones, but buy many of them.
...
So, to sum it all up, I'd spend my money on (in that order): - more than one nic (if that is indeed a bottleneck) - a fast processor - 2 - 4 cores - 2-4G ram with the option to plug in 8G later (cheaper than cores, anyway) - best posible disk subsystem (you do not need much now, but it will help you expand later)

Thursday, August 20, 2015

Vista/7: "Show processes from all users" failed

Symptom:
1.) when a standard user opens Task Manager and clicks on "Show processes from all users" nothing happens. It look like Task Manager is closing an re-opening but user can see only his processes.
2.) when a standard user opens Task Manager and clicks on "Performance" -> "Resource Monitor" the error: "Requested operation requires elevation" appears.

Solution:
give the user administrator permission(resource monitor can be run under power user).
(from Error: "Requested operation requires elevation" - but UAC is turned off)

Related:
Windows 7 Resource Monitor Not Working (No data shown)

Tuesday, July 21, 2015

Firefox: Paste as plain text

How to paste as plain text in Firefox
Instead of pasting text using Ctrl-V, you simply use Ctrl-Shift-V to do so. The difference between both options is that the latter pastes the text without formatting while the former retains it. You can also hold down Shift while using the mouse to paste contents in the browser as this works fine as well.

Monday, July 6, 2015

Running Linux application on Windows using andLinux

andLinux

To enable application install using apt-get:
..follow steps on "Repository Settings" here
..run "sudo apt-get update"
..run "sudo apt-get install krecipes"

Installing AndLinux
..Mount Windows Drives
..to edit fstab, type "sudo nano /etc/fstab"
..what to put as uid and gid: How do I correctly mount a NTFS partition in /etc/fstab?

andLinux Wiki
..Installation / Demo Videos
..Quick Tips
..Press Review
..Testimonials
..Howto: change andLinux network configuration
..Howto: keep your base.drv during update
..Howto: configure ubuntu with gnome desktop
..Howto: change default user
..Howto: access removable media from andLinux
..Howto: setup Windows printers
..Howto: user-defined file associations
..Howto: open externally accessible ports for SSH server, webserver, etc.
..Knowledge: andLinux Launcher
..Knowledge: Xming
..Knowledge: Installer parameters / silent installation

andLinux setup

Accessing removable media from andLinux using COFS

using andLinux (for windows)
..setting up Windows 7 firewall

andLinux installation
..andLinux is an Ubuntu distribution based on the gutsy release. After trying to build the source for liferea and
..running into problems with package versions being to old, I decided to try to upgrade the Ubuntu release to
..hardy. The following are the steps I took to complete the upgrade
---

Alternatives
------------
Foreign Linux: run Linux binaries on Windows

Hunt for Recipe Management software

Requirements:
R1: Auto complete when entering ingredients
R2: Ingredient names auto complete when typing Procedure/Instruction

Living Cookbook 2015
- R1: Incorrect ingredients shown
- R2: not supported

KRecipes
+ A VERY COOL part of entering the recipe instructions is the Auto Completion feature! This is a real-time and effort saver if your instructions refer to many of the ingredients in your ingredient list, and/or if your ingredient names are lengthy. This is how it works —
In the “Apple Crisp” recipe shown in the screenshot, we have the ingredient “brown sugar”. As you begin typing “brown sugar” in your recipe instructions, Krecipes will match typed characters with ingredients in your recipe ingredient list and automatically complete the remaining characters.
- for Linux

Thursday, June 25, 2015

Hunt for powerful yet cheap and portable computer

Choices: Mini-PC (laptop parts), Laptop, Barebone PC (desktop parts)

Problem:
to get size as small as possible, you have to use laptop parts (e.g. SSD disk) that in turn will increase overall cost (or force you to use less powerful part)

Is it possible to make a powerful; but easily transportable PC?

Virtualization Home Lab: Choosing a suitable computer (quiet, low power with nested virtualization support) 
- expensive

Wednesday, June 17, 2015

Server maintenance related


How to Backup/Restore a Windows 2003 Domain Controller

Need to defragment Windows Server disk offline?
Probably the closest yet still practical approach is boot-time defragmentation

Server disk defragmentation softwares:
UltraDefrag
+ free
* review: [Windows] Improve your computer’s performance by defragging with UltraDefrag
Puran Utilities
+ free
Auslogics Disk Defrag
- Pro version that supports boot-time defrag isn't free

What about defrag from boot CD?
Programs that try to defrag your Windows drive without using the Windows API are the most risky. These generally rely on a boot CD that runs its own OS. Programs that perform the defrag while you are working in Windows do not fall into this category.
(source: Before You Defragment Your PC)

Bad experience(s) regarding server disk defragmentation:
Be very careful with your servers, I defragged one overnight once and had a hell of a cleanup job the next morning. It still worked but crazy errors all over the place and services not starting etc.
(source: Server Defrag Software Recommendation?)

Yesterday I used PerfectDisk 11 Pro to defrag all my drives (like I do every month or two) and this was the first time the 3TB drive had been defragged. Upon rebooting from that overnight task, I discovered that my 3TB HDD is now listed as RAW instead of NTFS in Windows 7 Disk Management. It still has a drive letter assigned to it, but trying to open it gets the error ...
(source: How to recover lost partition on GPT drive?)