Linux/Unix ,Storage & Server Support

Linux/Unix ,Storage & Server Support 14 years of experience in IT data center, LINUX/UNIX, Storage and Servers.

Congratulations!! Afghanistan's remarkable victory against Australia.Congratulations to our athletes, coaches, and every...
23/06/2024

Congratulations!! Afghanistan's remarkable victory against Australia.

Congratulations to our athletes, coaches, and everyone involved in this incredible achievement. Your perseverance and passion have made the entire nation proud. Let's continue to support our team as they inspire us with their outstanding performances on the global stage.

Cricket Board

09/06/2024

Configuring ESXi Firewall

You have to configure the firewall and enable SNMP access from monitoring servers to the ESXi host. You can set a subnet or a single IP address of allowed devices in the network.

We run these three commands to allow access from the 192.168.101.0/24 network to monitor ESXi via SNMP:

esxcli network firewall ruleset set –ruleset-id snmp –allowed-all false

esxcli network firewall ruleset allowedip add –ruleset-id snmp –ip-address 192.168.101.0/24

esxcli network firewall ruleset set –ruleset-id snmp –enabled true

Enter the IP address or a network address according to your network configuration.

A less secure configuration is to enable access from any network device:

esxcli network firewall ruleset set –ruleset-id snmp –allowed-all true

esxcli network firewall ruleset set –ruleset-id snmp –enabled true

ESXi SNMP configuration is done. Now you can configure your monitoring software on a monitoring server.

09/06/2024

Steps for configuring and enabling SNMP on ESXi Host.

esxcli system snmp get
esxcli system snmp set --syscontact=your name
esxcli system snmp set --communities=naming convention of your choice (don't recommend public)
esxcli system snmp set --enable=true
esxcli system snmp get

04/06/2024

Proxmox Locked VM Errors
Error: VM is locked

Unlock the VM/kill the lock with:
qm unlock

Now, this may not always work, and the command may fail with:
trying to acquire lock...
can't lock file '/var/lock/qemu-server/lock-.conf' - got timeout

Manually Deleting the Lock
rm /var/lock/qemu-server/lock-.conf

30/05/2024

How to configure Static IP on Ubuntu OS.

root@app-test:~ # nano /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
:
# ethernets: {}
: 2

network:
ethernets:
eno1:
addresses: [10.x.x.x/24]
gateway4: 10.x.x.x
nameservers:
addresses: [10.x.x.x, 10.x.x.x, 10.x.x.x]
root@app-test:~ #

30/05/2024

Interface bonding on Ubuntu OS.

admin@test1:~$ nano /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
addresses:
- 10.x.x.x/24
gateway4: 10.x.x.x
nameservers:
addresses:
- 8.8.8.8
search: []
eno2:
dhcp4: true
eno3:
dhcp4: true
eno4:
dhcp4: true
ens1f0:
dhcp4: true
ens1f1:
dhcp4: true
ens1f2:
dhcp4: true
ens1f3:
dhcp4: true
bonds:
bond0:
interfaces:
- eno2
- eno3
parameters:
lacp-rate: fast
mode: 802.3ad
transmit-hash-policy: layer2+3
vlans:
bond0.2002:
addresses:
- 10.x.x.x/24
id: 2002
link: bond0

version: 2
admin@test1:~$

29/05/2024

To add permanent route on Debian.

cd /etc/network/if-up.d
nano myroute
==================================

#!/bin/sh
if [ "$IFACE" = "eno1" ]; then

ip route add 10.x.x.x/32 via 10.x.x.x # Test1
ip route add 10.x.x.x/32 via 10.x.x.x # Test2

fi

chmod +x myroute
then restart networking

29/05/2024

To configure Network interface on Debian OS.

cp /etc/network/interfaces /root/

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s5
iface enp0s5 inet static
address 10.x.x.x
netmask 255.x.x.x
gateway 10.x.x.x
dns-domain sweet.home
dns-nameservers 10.x.x.x

auto eno1
iface eno1 inet static
address 10.x.x.x
netmask 255.x.x.x
gateway 10.x.x.x
dns-nameservers 10.x.x.x

auto eno2
iface eno2 inet static
address 10.x.x.x
netmask x.x.x.x

29/05/2024

How to manually remove McAfee Agent 5.x

Run the frminst.exe /forceuninstall command:
On the affected computer, click Start, Run, and type one of the following commands:

"c:\Program Files\McAfee\Agent\x86\frminst.exe" /forceuninstall
Or:
"c:\Program Files\McAfee\Common Framework\x86\frminst.exe" /forceuninstall

29/05/2024

How to check Windows OS reboot time.

systeminfo | find /i "Boot Time"

29/05/2024

How to Fix "VMWare Workstation Pro Can’t Run on Windows" Error

C:\Program Files (x86)\VMware\VMware Workstation\
And rename this file:

vmware.exe
To:
vmwarea.exe

29/05/2024

To manually scan new lans for host 17 only.
echo 1 > /sys/class/fc_host/host17/issue_lip

To check the HBA ports status
grep -v "zz" /sys/class/fc_host/host*/port-state

To check log for host17 with NIC ID 2f:00.6
journalctl -b |egrep "2f:00.6|host17"

Address

Karachi

Telephone

+93794080909

Website

Alerts

Be the first to know and let us send you an email when Linux/Unix ,Storage & Server Support posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Linux/Unix ,Storage & Server Support:

Share