Skip to main content

Posts

KVM Ubuntu Network not pinging when added a new bridge to my existing bond network

 The problem I faced is that When I already a two NIC on my ubuntu server and i have an existing netplan like this:     bond1:       addresses:       - 192.168.0.7/16       interfaces:       - ens52       - ens53       nameservers:         addresses: []         search: []       parameters:         lacp-rate: fast         mode: 802.3ad         transmit-hash-policy: layer3+4 Later i have added a new bridge on top of this with name: #ovs-vsctl show    Bridge datantwk         Port bond1             Interface bond1         Port datantwk             Interface datantwk                 type: internal Then problem started as IPs in ...
Recent posts

How to create Storage array for iscsi disk on a linux machine

 Use Case: I have to create a KVM cluster using GFS Datastore. #Create a Ubuntu Linux to act as storage server array: # Make sure the system have enough resources(Storage,MEM&CPU) #Install TargetCLI tool:        apt install targetcli-fb -y #Create LUN:  mkdir -p /iscsi_disks  fallocate -l 600G /iscsi_disks/disk01.img  targetcli        /backstores/fileio create disk01 /iscsi_disks/disk01.img 600G        /iscsi create iqn.2025-01.com.example:storage1       /iscsi/iqn.2025-01.com.example:storage1/tpg1/luns create /backstores/fileio/disk01       /iscsi/iqn.2025-01.com.example:storage1/tpg1/acls create iqn.2025-01.com.example:client1       /iscsi/iqn.2025-01.com.example:storage1/tpg1/acls create iqn.2025-01.com.example:client2      /iscsi/iqn.2025-01.com.example:storage1/tpg1/acls create iqn.2025-01.com.example:client3 #Allow all network to acce...

morpheus hpe-vm-essential installations fails with port error

Error Error while installing hpe-vme using teh command: dpkg -i hpe-vm-essentials_8.0.8~rc1-1_amd64.deb  (Reading database ... 74587 files and directories currently installed.) Preparing to unpack hpe-vm-essentials_8.0.8~rc1-1_amd64.deb ... Unable to install Morpheus Appliance! Make sure that no ports are listening on any of the following ports: 3306, 8080, 80, 443, dpkg: error processing archive hpe-vm-essentials_8.0.8~rc1-1_amd64.deb (--install):  new hpe-vm-essentials package pre-installation script subprocess returned error exit status 1 Errors were encountered while processing:  hpe-vm-essentials_8.0.8~rc1-1_amd64.deb Solution: Check any ports using the command:  ### lsof -i :3306 -i :8080 -i :80 -i :443 if this output contains any container ,run below command:   ###3systemctl list-units |grep docker If this list anything: disable and stop those service using: systemctl disable <service> systemctl stop <service> Now check any snap servcie r...

Windows net use share gives error: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again"

Error  When you try to access a network share path you will see below error: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again Solution: Check what are the network shares disconnected with same name using: cmd>net use Now delete these sessions with command: cmd>net use Now connect again with below command: cmd>net use \\<network share>  /user:doamin\username <Password> /PERSISTENT:YES

Enabling/Unlocking the root locked account

 To Enabling/Unlocking the root locked account, follow below steps: 1.ssh with non root user 2.Check the root user is locked:      root@Ubuntu:/home/test# passwd -S root     root  L  11/12/2024 0 99999 7 -1         >> here L means its locked. 3.Manually enable the root account    A)verify the /etc/shadow password (the second field ! Or * means its locked)    B)Create a password in hash format:        openssl passwd -6         >>give new password       >>Copy the new hash password    C)Edit /etc/shadow and update in the second field:               D)Verify /etc/ssh/sshd_config have "PermitRootLogin=yes, PasswordAuthentification=yes" and restart ssh service already done.

Ubuntu apt installation error as : E: Unable to correct problems, you have held broken packages.

  Error: E: Unable to correct problems, you have held broken packages. Solution: 1) Find the broken packages using: apt-mark showhold    root@test:~# apt-mark showhold     libcephfs2     libsqlite3-mod-ceph 2) Unhold the locked packages using :  apt-mark unhold <pkg name>    root@test:~# apt-mark unhold libcephfs2 libsqlite3-mod-ceph

Enable MOB for vCenter version 9.0

MOB in vCenter 9.x is not enabled by default. Please follow below steps to enable: ****************************************************************** A) Connect to your VCSA via SSH      Backup the VPXD Configuration file      # cp /etc/vmware-vpx/vpxd.cfg /var/core/vpxd.cfg_backup B) Edit the Configuration File: Open the vpxd.cfg file using a text editor (e.g., vi)      # vi /etc/vmware-vpx/vpxd.cfg      Identify the flag "enableDebugBrowse".If it's set to false or missing, change it or add it to true as      shown below    <vpxd>    ...      <enableDebugBrowse>true</enableDebugBrowse>       ...    </vpxd>      Save and close the file C) Restart the vCenter Server Service (vpxd)      # service-control --stop vpxd      # service-control --start vpxd