Tech geek. Life geek.

Tag: server (Page 1 of 8)

Update the firmwares on my Dell R710

I got the server Dell R710 last week. I tried my best to update all the firmware of the machine.

Basically I watched Youtube videos posed by Art of Server. And I watched it before I received the R710.

The SAS disk is a clean one. When I first boot it up, I made it to be a VD, RAID 0, in the Perc 6 interface.

I installed a Centos 7 on the server to make it boot and access to the Internet.

Then I updated the following stuff.

BIOS:

From 3.0.0 to 6.6.0

BIOS_0F4YY_LN_6.6.0.Bin

idrac:

From 1.70 (Build21) to 2.92 (Build05)

ESM_Firmware_KPCCC_LN32_2.92_A00.BIN

LifeCycle:

From 1.4.0.586 to 1.7.5.4

Lifecycle-Controller_Legacy_Application_0WFGM_LN_1.7.5.4_A00.BIN

After making the above three updates, I reboot the server and go into the Lifecycle interface. See below.

I also need to update the rest of the devices.

I did the following two updates on Windows 2008 R2 OS environment.

Dell PERC 6/i Integrated Raid Controller:

From 6.3.0 to 6.3.3.

SAS-RAID_Firmware_F96NR_LN_6.3.3-0002_X00.BIN

Network Interface Broadcom BCM5709C NetXtreme II GigE:

From 6.0.1 to 7.12.17

Network_Firmware_PX6V4_LN_7.12.17.BIN

SAS HDD Model #ST9146853SS

From YS09 to YS0D

SAS-Drive_Firmware_FD3KG_WN64_YS0D_A00.EXE

 

When I write this post, I also found another two versions of firmware of NIC BCM5709.

7.12.17 and 08.07.2

I am not sure if they are  working with my R710. So I just leave it as is.

Dell R710 server

It is my new toy. Got from the Craiglist. A very nice young man put it on the list for sale. He said he replaced it with an R810.

I received it last week. Let me put a list of the sepcs.

Dell R710 Server

  • 2 CPU: Intel Xeon E5620 @2.4GHz
  • Ram: 24GB (6X 4GB)
  • Perc 6/i RAID Controller
  • 8 Caddy tray
  • 1 SAS HDD 146GB
  • R710 version 2
  • DVD ROM
  • 2U rails included

 

I use pictures from the internet.

Dell R710 back view

Dell R710 front view with cover

Dell R710 Front view without cover

 

CPU:

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 40 bits physical, 48 bits virtual
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 44
Model name: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Stepping: 2
CPU MHz: 1596.074
BogoMIPS: 4788.06
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid dtherm ida arat flush_l1d

Hardware information:

root@homelab:~# hwinfo --short
cpu:
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1595 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1595 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1595 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1595 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1595 MHz
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1596 MHz
keyboard:
/dev/input/event1 Avocent Virtual Hub
/dev/input/event3 Holtek USB Keyboard
mouse:
/dev/input/mice Microsoft Wheel Mouse Optical
/dev/input/mice Avocent Virtual Hub
monitor:
AL1716
graphics card:
Matrox MGA G200eW WPCM450
storage:
Dell PERC 6/i Integrated RAID Controller
Intel 82801IB (ICH9) 2 port SATA Controller [IDE mode]
network:
eno3 Broadcom NetXtreme II BCM5709 Gigabit Ethernet
eno1 Broadcom NetXtreme II BCM5709 Gigabit Ethernet
eno4 Broadcom NetXtreme II BCM5709 Gigabit Ethernet
eno2 Broadcom NetXtreme II BCM5709 Gigabit Ethernet
network interface:
eno2 Ethernet network interface
fwbr115i0 Ethernet network interface
tap119i0 Ethernet network interface
fwpr115p0 Ethernet network interface
fwln115i0 Ethernet network interface
tap115i0 Ethernet network interface
eno3 Ethernet network interface
vmbr0 Ethernet network interface
eno1 Ethernet network interface
lo Loopback network interface
eno4 Ethernet network interface
disk:
/dev/sdb DELL PERC 6/i
/dev/sda DELL PERC 6/i
partition:
/dev/sdb1 Partition
/dev/sda1 Partition
/dev/sda2 Partition
/dev/sda3 Partition
cdrom:
/dev/sr0 TEAC DVD-ROM DV-28SW
usb controller:
Intel 82801I (ICH9 Family) USB UHCI Controller #5
Intel 82801I (ICH9 Family) USB UHCI Controller #2
Intel 82801I (ICH9 Family) USB UHCI Controller #4
Intel 82801I (ICH9 Family) USB UHCI Controller #1
Intel 82801I (ICH9 Family) USB2 EHCI Controller #2
Intel 82801I (ICH9 Family) USB2 EHCI Controller #1
bios:
BIOS
bridge:
Intel Xeon 5600 Series QuickPath Architecture System Address Decoder
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Address
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Control
Intel Xeon 5600 Series QPI Physical 1
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Rank
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Thermal Control
Intel Xeon 5600 Series Integrated Memory Controller Target Address Decoder
Intel 82801IB (ICH9) LPC Interface Controller
Intel Xeon 5600 Series Mirror Port Link 1
Intel 5520/5500/X58 I/O Hub PCI Express Root Port 1
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Control
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Address
Intel Xeon 5600 Series QPI Physical 1
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Thermal Control
Intel Xeon 5600 Series QPI Physical 0
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Rank
Intel 5520/X58 I/O Hub PCI Express Root Port 4
Intel Xeon 5600 Series Integrated Memory Controller Test Registers
Intel Xeon 5600 Series Mirror Port Link 1
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Address
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Control
Intel 5520/5500/X58 I/O Hub PCI Express Root Port 7
Intel Xeon 5600 Series Integrated Memory Controller RAS Registers
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Thermal Control
Intel Xeon 5600 Series QuickPath Architecture Generic Non-core Registers
Intel Xeon 5600 Series QPI Physical 0
Intel 82801 PCI Bridge
Intel Xeon 5600 Series Integrated Memory Controller Test Registers
Intel 5520 I/O Hub to ESI Port
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Rank
Intel Xeon 5600 Series Integrated Memory Controller Registers
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Address
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Thermal Control
Intel Xeon 5600 Series Integrated Memory Controller RAS Registers
Intel Xeon 5600 Series QuickPath Architecture Generic Non-core Registers
Intel 5520/5500/X58 I/O Hub PCI Express Root Port 3
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Control
Intel Xeon 5600 Series QPI Link 1
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Address
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Rank
Intel Xeon 5600 Series Integrated Memory Controller Registers
Intel 5520/X58 I/O Hub PCI Express Root Port 6
Intel Xeon 5600 Series Mirror Port Link 0
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Thermal Control
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Control
Intel 7500/5520/5500/X58 I/O Hub PCI Express Root Port 9
Intel Xeon 5600 Series QPI Link 1
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Rank
Intel Xeon 5600 Series QPI Link 0
Intel Xeon 5600 Series Integrated Memory Controller Channel 0 Address
Intel Xeon 5600 Series QuickPath Architecture System Address Decoder
Intel Xeon 5600 Series Mirror Port Link 0
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Control
Intel Xeon 5600 Series Integrated Memory Controller Channel 2 Thermal Control
Intel Xeon 5600 Series Integrated Memory Controller Target Address Decoder
Intel Xeon 5600 Series Integrated Memory Controller Channel 1 Rank
Intel Xeon 5600 Series QPI Link 0
Intel 5520/X58 I/O Hub PCI Express Root Port 5
hub:
Linux Foundation 1.1 root hub
Linux Foundation 1.1 root hub
Standard Microsystems USB 2.0 Hub
Linux Foundation 1.1 root hub
Linux Foundation 2.0 root hub
Linux Foundation 1.1 root hub
Linux Foundation 2.0 root hub
memory:
Main Memory
unknown:
FPU
DMA controller
PIC
Keyboard controller
PS/2 Controller
Intel 7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers
Intel 7500/5520/5500/X58 I/O Hub Control Status and RAS Registers
Intel 7500/5520/5500/X58 I/O Hub System Management Registers
/dev/ttyS0 16550A
/dev/ttyS1 16550A
Holtek USB Keyboard

 

It is my new toy. I would like to use it as my Proxmox VE server.
 

Migrating GitLab to another Server from Ubuntu 16.04 to Ubuntu 18.04

Because my old Gitlab is running on a Ubuntu 16.04 server. The latest LTS version of Ubuntu is already 18.04 for more than one year. I was thinking about to directly upgrade the server from 16.04 to 18.04.  There are still some chances it may fail and the server may crash. I can not afford to lose the data.

So the final decision is to migrate the Gitlab from the old server Ubuntu 16.04 to a new server with  Ubuntu 18.04.

This is how to do it.

First, I install the new server on my Proxmox VE environment with Ubuntu 18.04. 3CPU Cores and 4GB memory and 64GB storage. Meanwhile, the old server still uses Ubuntu 16.04. And the Gitlab version that I use is 12.4.2

On the Old Server

  1.  Shutdown Gitlab service
    sudo gitlab-ctl stop unicorn
    sudo gitlab-ctl stop sidekiq
  2. Backup Gitlab on the old server
    sudo gitlab-rake gitlab:bakcup:create
  3. Create a folder named gitlab-old
    mkdir ~/gitlab-old
  4. Copy the backup file to the folder ~/gitlab-old
    sudo cp ~/backups/xxxxxxxx_gitlab_backup.tar ~/gitlab-old
  5. Copy the Gitlab configuration files
    sudo cp /etc/gitlab/gitlab.rb ~/gitlab-old
    sudo cp /etc/gitlab/gitlab-secrets.json ~/gitlab-old
    sudo cp -R /etc/gitlab/ssl ~/gitlab-old

Then all the important files are under folder ~/gitlab-old

My configuration of Gitlab changed the backup folder to ~/backups. The default path is /var/opt/gitlab/backups/

You can change it on the “Backup Settings” section in the file gitlab.rb

 

To verify the version of your gitlab installation, enter the following command.

sudo gitlab-rake gitlab:env:info

On the New Server

The server is a clean installation of Ubuntu 18.04. The only service is SSH  and postfix.

Before doing the migration, I transfer the whole folder ~/gitlab-old from the old server to this new server.

  1.  Add Gitlab source
    curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
  2.  Install Gitlab 12.4.2 CE
    sudo apt update
    sudo apt install gitlab-ce=12.4.2
  3. Copy the configuration files to folder /etc/gitlab
    sudo cp ~/gitlab-old/gitlab* /etc/gitlab
  4. Copy the ssl folder to folder /etc/gitlab
    sudo cp -R ~/gitlab-old/ssl /etc/gitlab
  5. Run Gitlab service for the first time
    sudo gitlab-ctl reconfigure
  6. Shutdown the Gitlab services
    sudo gitlab-ctl stop unicorn
    sudo gitlab-ctl stop sidekiq
  7. Copy the backup file to ~/backups then change the permission
    sudo cp ~/gitlab-old/*.tar ~/backups
    sudo chown git:root ~/backups/*.tar
  8. Restore the Gitlab backup file
    sudo gitlab-rake gitlab:backup:restore BACKUP=XXXXXX
  9. Restart Gitlab and check
    sudo gitlab-ctl start
    sudo gitlab-rake gitlab:check SANITIZE=true

There are some notes for the above nine steps.

The backup file name looks like 1573175514_2019_11_07_12.4.2_gitlab_backup.tar. So the code in the step 8, BACKUP=1573175514_2019_11_07_12.4.2

The version of Gitlab I am using 12.4.2. I install the 12.4.2 on step 2. When I do the restore in step 8, it displays the error, the version does not match. The backup is 12.4.2, but the installation is 12.4.1. I have to do the apt update and apt upgrade to upgrade the Gitlab from 12.4.1 to 12.4.2. I am not sure where the problem came from. Just a reminder, double-check the version installed on the new server.

At the first step of adding the repo source, I always get the network error on my server. I believed it is the problem of guest OS on Proxmox VE. So I actually add the repo source and public key of gitlab source manually.

My current Gitlab information on the new server Ubuntu 18.04

davidyin@gitlab:~$ sudo gitlab-rake gitlab:env:info

System information
System: Ubuntu 18.04
Current User: git
Using RVM: no
Ruby Version: 2.6.3p62
Gem Version: 2.7.9
Bundler Version:1.17.3
Rake Version: 12.3.3
Redis Version: 3.2.12
Git Version: 2.22.0
Sidekiq Version:5.2.7
Go Version: unknown

GitLab information
Version: 12.4.2
Revision: 393a5bdafa2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 10.9
URL: https://gitlab.g2soft.net
HTTP Clone URL: https://gitlab.g2soft.net/some-group/some-project.git
SSH Clone URL: git@gitlab.g2soft.net:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version: 10.2.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git

At the end, I should give the credit to Didiet A. Pambudiono. Most of the steps above is based on this post.

Waiting for the Ubuntu 18.04 LTS

Based on the schedule of release, Ubuntu 18.04 LTS (Bionic Beaver) will be released on April 26, 2018, the day after tomorrow.

Now, my all VPS is running on the Ubuntu 16.04 LTS. LTS is an abbreviation for “Long Term Support”.  An LTS version is released every two years. So after Ubuntu 16.04 LTS, it is Ubuntu 18.04 LTS.  Now all LTS version has five years support.

I can use Ubuntu 16.04 LTS until 2021. Security updates will be released during the time period.

I am waiting for the release of Ubuntu 18.04 LTS. I would like to try it on my staging server, or a virtual machine. Try all my existing web programs on Ubuntu 18.04 LTS. Find the compatible problems then fix them.

Maybe after a few months testing. I am sure there are no issues with it. I will install a new VPS with Ubuntu 18.04 LTS and move the websites to it.

Continue reading

Upgrade to Calibre 3.0

It is a big upgrade. New version serials, starting 3.x.

Calibre 3.0 is released on June 16, 2017. Calibre 2.x is starting almost two years ago.

What is New in Calibre 3.0?

  • The new Content server
    • You can start the Content server by clicking the Connect/share button in calibre. Then just open up a browser and type http://localhost:8080 in the address bar. You will see a list of calibre libraries. Click on one and browse the books. Click on a book and you will have the option to read or download it.
  • Support for High Resolution (Retina) screens
  • Support for icon themes and a new default icon set
  • Conversion to Microsoft Word (DOCX)
  • Backwards incompatibilities

 

 

Here is the list of new features for Calibre 3.0:

  • For details on the major changes in calibre between 2.0 and 3.0, see https://calibre-ebook.com/new-in/twelve
  • A completely re-written Content server with support for reading books in-browser on your phone/tablet. Also works in offline mode.
  • Support for high resolution (Retina screens)
  • A new splash screen to celebrate the release of calibre 3
  • Minor tweaking of the main user interface to emphasize the core features

 

Download 64bit Windows version Calibre here https://calibre-ebook.com/download_windows64

CloudatCost VPS – an VPS service provider from Canada

I am customer of CloudatCost, which is a VPS service provider at Ontario, Canada.

I saw the Ads on twitter, or just someone make a tweet. The most interesting thing is the one time payment and no more recurring invoice. Only one time setup fee.  It also has monthly plan.

For example, the very basic plan, Developer 1, $1/month or $35/one time.

If subscribe the monthly plan, it will be $1/month, after a year, you paid $12.  One time fee $35 is about three year subscription fee. So pay three year service in the front. That’s it. You own the plan for ever.

cloudatcost-plans

I purchased plan Developer 2, by one time fee.

Developer 2:

  • $10/month or $70/one time
  • 2 Xeon vCPU
  • 1 public IP
  • 1GB ECC RAM
  • 20GB SSD
  • 100Mbit Network
  • 1TB monthly transfer

 

I have a coupon for 50% off, that means you just need to pay $35/one time fee, you can have it for ever. See the coupon code :

Continue reading

Switch to bzip2 compression on my server backup scripts

Previously I used gzip as compression tool to compress the web site files and mysql database.  It is still working on my Linode server. I learned something from the compairasion from this post .

So I tried to use bzip instead of gzip on my backup script.

Here is two examples.

1) Mysqldump file, which is a text sql file.

The original sql file is 52,317KB

  • gzip with level 9 (best) compression:  23,227KB  – Compress Ratio 44.39%
  • bzip2 with default (I think it is level 9) compression: 19,666KB – Compress Ratio 37.59%

Bzip2 is smaller than gzip file. It reduced about 15%.

2) Website files, including php, jpeg, png, css, any files used in web site.

The original tar gile is 187,670KB

  • gzip compression: 42,101KB – Ratio 22.43%
  • bzip2 compression: 34,753KB – Ratio 18.51%

Bzip2 is better. Backup file size is reduced by about 17%.

Continue reading

A new VPS service provider – Vultr

I  just ordered a new VPS from Vultr.com.

It has All SSD. Maybe the lowest price per memory. Pay $0.007/hr, you get 768MB RAM, 3GHz CPU and 15GB storage. It is about $5/month.

And more datacenters than other VPS service providers. There are 14 locations worldwide, right now.

I did following test though Benchmark Serverbear.

The simply results as below.

UnixBench score: 2242.1

I/O rate: 409.0 MB/second

Bandwidth rate: 97.4 MB/secon

Continue reading

Ubuntu 14.10 and phpBB 3.1.0 released

Ubuntu is always a good desktop Linux distributation in the world. In the past years. more and more are installed as servers. Now I have four VPS are running under ubuntu, from 12.04 to 14.04.

Ubuntu 14.10 server is not a LTS edition. It will be supported in 9 months. Actually it will be upgrade to new version in 6 months.

ubuntu1410

Download Ubuntu 14.10 server here.

There is also a web forum programe has a new release. It is phpBB 3.1.0. The previous version of phpBB is 3.0.12, released on Sep 28, 2013, more than one year ago.

So I will take a trial installation on the new Ubuntu 14.10 Server. It is cool to have a test run on both new software.

phpbb310

 

« Older posts

© 2020 David Yin's Blog

Theme by Anders NorenUp ↑