Showing posts with label Server. Show all posts
Showing posts with label Server. Show all posts

Wednesday, September 20, 2023

Setup Tumbleweed as physical host for VirtualBox

I decide to try Tumbleweed on the same old FX-8320 host.  Installation is similar to LEAP 15.4.  For GUI option, I choose Generic Desktop instead of XFCE Desktop.  XFCE is running quite smoothly in LEAP 15.4.  I decide to try Generic Desktop this time since it is only a physical host.  

Follow the same link below, I try to install driver version G05 for my old GT630 (does not work with LEAP 15.4).  

SDB:NVIDIA drivers - openSUSE Wiki 

Reboot the host and it suggests to install the previous version G04.  Follow the wiki link above and install G04.   




 
Below are my software pick for the host.  
File Manager: PCmanFM
Terminal: termit
Text Editor: Leafpad
Graphics: Pinta (take and edit basic screenshot)
GRsync: sync my USB drive for backup.  

USB wireless 8812bu adapter is discovered correctly.  No driver installation is required.  

Only issue is NetworkManager icon is not available for Generic Desktop.  First I install wicked and other tools.  It works fine but I decide to try to get NetworkManager working.  Then I remove wicked and not sure why, there is no networking at all.  So, I rollback the system to the point before wicked is installed.  

Once NetworkManager-Connection-Editor is installed, I have the simple GUI to manage my network connection.  If your connection does not change much, wicked is just fine. 

Then install VirtualBox.  Reference link is How to install Virtualbox on OpenSUSE Tumbleweed & Leap - Linux Shout (how2shout.com.


sudo zypper install virtualbox

I find out 7.0.10 is installed.  

Once completed, add the user account to group vboxusers

sudo gpasswd -a userID vboxusers

Then, logoff and log back in.

Open VirtualBox.  If you are asked to enable USB passthrough, just click Enable.  












Download the VirtualBox extension pack from VirtualBox site.  Same as before, it does not work with GUI installation.  I install it thru CLI (see command below)

VBoxManage extpack install extpack_7.0.10

I decide to go with KVM/QEMU this time.  Will create a separate post for that. 






Thursday, January 26, 2023

Installing VMware Workstation Pro in OpenSuSE LEAP 15.4

Now system is up and running fine.  Next is to install VMware Workstation Pro.  Basically, it is my OpenSUSE LEAP 15.4 is my host. 

Make sure system is up to date and install the required packages.  Download the binary and copy it to a tmp folder.  Then add the execute permission to the bundle. 

sudo zypper update
sudo zypper install kernel-source kernel-devel gcc

Download the binary and copy it to a tmp folder.  Then add the execute permission to the bundle.   Run the installation after. 

sudo chmod +x VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle
sudo ./VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle

Reboot.  Then I receive the errors below one by one.  


 


  












Do some researches and follow instructions in this video.  

First get the VMware version
vmware -v

Then, download the patches needed to build the VMware host modules against the recent kernel.  You may need to rebuild it if VMware does not start after update.   See https://github.com/mkubecek/vmware-host-modules

wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.4.tar.gz
tar -xvzf workstation-16.2.4.tar.gz
cd vmware-host-modules-workstation-16.2.4/
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source
sudo vmware-modconfig --console --install-all

I setup a script to start vmware every time the host boots up.  

/etc/init.d/vmware start

I found out none of the USB devices list under Removable devices of the VM.  So, I suspect the vmware-usbarbitrator is not started up auto.  Add the following line to the start up script.  Now, I can see the USB device.

/usr/bin/vmware-usbarbitrator start 

One issue I found and other ppl complain in other Linux distro too.  If you try to copy from VM and paste on the Linux host, you will get error below.

There seems to be no solution to it.  However, if you check your /home/user/.cache/vmware/drag_and_drop/ directory, you will actually find the file there.  



OpenSUSE LEAP 15.4 as physical host

There are still some issue with USB3 for Debian / Ubuntu on my old Gigabyte GA970A-D3P.  I decide to rebuild that with OpenSUSE LEAP 15.4.  I don't need a lot of power.  So, AMD CPU FX8320 I got back in 2013 is good enough.  I follow the link below.  It is self-explanatory.  

https://doc.opensuse.org/documentation/leap/startup/html/book-startup/art-opensuse-installquick.html

For NIC, I just set it up for IPv4.  Enable firewall and disable ssh.  Keep SecureBoot to test Windows 11 as VM in the future.  I don't like the GNOME desktop and it looks like a table to me.  So, I select Xfce instead.  Since it is a physical host, I remove tools I don't need like SAMBA (if need to share files, I will use USB drives instead), Thunderbird, Transmission and Pidgin.  So, I remove them. 

Installation runs fine.  nouveau is used for the NVIDIA GT630 and Realtek 8812BU WiFi adapter is not working.  

So, I decide to use NVIDIA driver instead of nouveau driver.  After installing G05 driver, the resolution drops to 640 x 480.  Exactly as what's described in this post below.

https://forums.opensuse.org/t/leap-15-2-nvidia-driver-does-not-work/141453

I decide to go with G04, and everything works as expected.  I don't follow the instructions found in https://en.opensuse.org/SDB:NVIDIA_drivers. 

Instead, I go to https://opensuse-guide.org/3d.php and install the GeForce 400 series drivers.  The 1 click option will add NVIDIA repository.  Once installation completed, reboot and open NVIDIA X server settings to confirm installation is successful.
 

 

 

 

 

 



For 8812bu adapter, since mine is USB, I run lsusb to confirm the model number. 






Then, follow instructions in https://github.com/morrownr/88x2bu-20210702  If driver fails after system update, please follow instructions in the link to fix it.   I copy the steps from the link. 

1) confirm system is up-to-date by running
sudo zypper update
Then, reboot after update completes.

2) Install required packages
sudo zypper install -t pattern devel_kernel dkms

3) Create a directory to hold the downloaded drivers and move to the newly created directory
mkdir -p ~/src
cd ~/src

4) Download the driver
git clone https://github.com/morrownr/88x2bu-20210702.git
 
5) Move to the newly created driver directory
cd ~/src/88x2bu-20210702
 
6) Run the installation script but it complains about missing iw package.  So, install iw package first then run the script.  
 
 
 
sudo zypper install iw
sudo ./install-driver.sh

7) Reboot

There is a warning about kernel update.  If you decide to upgrade to a new version of kernel such as 5.15 to 5.19, you need to remove the driver you have installed and install the newest available before installing the new kernel. Use the following commands in the driver directory:

$ sudo ./remove-driver.sh
$ git pull
$ sudo ./install-driver.sh

For the 8812BU WiFI, I see another similar link https://www.fastoe.com/blog/install-rtl8812bu-usb-wifi-dongle-on-linux with driver build and installation steps. 

smartmon tool is installed during the SUSE installation.  So, I just need to run the smartctl -a /dev/sdX to look for any disk errors.  Or install gsmartcontrol if you want a GUI.

I have an USB drive to store my documents and pictures.  On the safe side, I have a 2nd USB drive as a backup of backup.  To sync them up, Grsync is used.  

When I open the yast2 firewall, I do not see the wireless adapter listed.  So, I wonder if it is protected by firewall.  Going thru the documentation, firewalld replaced SuSEfirewall2 in SUSE 15.  I run the command below to confirm the wireless adapter is assigned to the public zone.  
firewall-cmd --get-zone-of-interface=wlan0


Monday, September 9, 2019

iDRAC version 8 virtual console only works with IE

I have no trouble accessing iDRAC v8 GUI using IE 11, Chrome and Firefox.  It is a R630 server.  However, I found out I can only access Virtual Console using IE 11.  Chrome v76 and Firefox v67 won't work for Virtual Console.

I guess try to use other browser if you cannot access Virtual Console.


Wednesday, November 7, 2012

HP Advisory on 10G NC522SFP with connectivity issue

Recently, one of the servers with 10G NIC starts to show the following error message. 

DEVICE: HP NC522SFP Dual Port 10GbE Server Adapter #2
PROBLEM: Tx path is hung. The device is being reset.
ACTION: Adapter recovers from this error automatically.

Search from the web and see this HP advisory.  When I attempt to upgrade the firmware, I get the following error. 

"Dependencies Failed -- Driver and firmware set are not allowed for update. Please install driver version 4.3.11.407 prior to performing firmware upgrade on devices with firmware version 4.0.550 or earlier installed. See nxflash.log for further details"
Upgrade to the latest driver and update the firmware.  Failed!

Upgrade to driver version 4.3.11.407 and then update the firmware.  Failed again!

Call support and they have me redo the same thing again.  Testing different firmware version and going nowhere.  After 3 hrs of troubleshooting, HP tells me it is a bad NIC.  I refuse to get a replacement NIC since the NIC is functioning fine.  So, I arrange another downtime and use my a spare 10G NIC.  I still have the same issue.  Eventually, we put the driver back to 4.3.11.407.  After that, they escalate to next level.  Suggestion is to use Local Admin account but it is still going nowhere (it is true that even domain admin account will return the same error.  You need to login as local admin to complete the firmware upgrade).

Check back on HP site and see firmware version 1.3.9.7 is available.  Run the installation and it passes the dependencies check.  So, I know it must be dependencies issue on firmware not driver. 

The solution is to stay at driver 4.3.11.407 and update firmware to 1.3.9.0.  Reboot.  Then update firwmare to 1.3.9.6.  Reboot.  Run the driver update and issue is now resolved.  If your NC522SFP firmware is too old, upgrade to firmware 1.3.9.0 first. 

Sunday, January 27, 2008

HP C-Class Blades single point of failure

We powered down the SAN for maintenance about a week ago. Prior to that, we have to power down all the servers connected directly to the SAN first. We have a C-class blade enclosure with five servers currently. After the SAN upgrade was completed, we tried to power the enclosure back up. Guess what. The onboard administrator of enclosure failed to start up. We attempted to power up the server and it failed. We contacted HP support. The answer was a hardware failure. The part arrived at UPS store close to Pearson airport. We figured out we went to there to pick it up instead of waiting for them to deliver. Replace the onboard admin and all servers power up. Now, update with latest firmware and reload the config from backup. If you don't have config file backup, it won't take long to re-config it. So, make sure you save the config before power down the whole enclosure.

The HP support told me the servers would keep running if the onboard admin failed while the servers were powered on. However, if I powered down the servers, you could not power them back up until onboard admin was replaced. One thing forget to ask was "can I replace onboard admin while the servers are running".