Skip to main content

Posts

VI Editor mode change from VISUAL to INSERT Mode

 In VI Editor I have faced issues to copy some content to the file when its in VISUAL MODE. Now how to revert from VISUAL MODE to INSERT MODE? In the VI file mode, type: :set mouse= This will change to INSERT mode.
Recent posts

Upgrade steps for HPE VM Essentials manager | Morpheus appliance

 In case you need to upgrade your current VME Manager appliance to next version. example: 8.0.x to 9.x.x Step1: Download the .deb package of VME from HPE download product site [ex: morpheus-appliance_9.0.0-1_amd64.deb] Step2:ssh to VME appliance server and install the new package:              sudo dpkg -i morpheus-appliance_9.0.0-1_amd64.deb Step3: Once above package installation completes, run below command to configure the changes:              sudo morpheus-ctl reconfigure Step4: Once reconfigure completes, upgrade the HVM server Agent:             VME UI->Infrastructure->Compute              Select all the HVM servers->Actions-> Upgrade Agent.

HPE VM Essential/Morpheus appliance manager root disk extend size of file systems

 Problem: My issue was always the HPE VM essentials/Morpheus Appliance manager will be by default 100GB space and it get filled very fast and UI crashes. Solution: From VME Manager, Go to the infrastructure->Compute->Virtual machine Find out the VME Manager appliance VM      -Right click->Actions      -Select reconfigure      -Change the Disk space to 200GB:                  -Login via SSH to VME appliance            -Check the disk space increased by command: lsblk            -Use growpart to extend the partition:    growpart  /dev/vda 2            - Increase file system using:  resize2fs /dev/vda2

Windows server unable to extend the C driver even with free space on the disk

 Issue: In my case i have 8GB of  space on my windows OS disk 0 But when i trued to extend the C driver from disk manager, the extend option is greyed out. Solution: 1.Open "Command manager" (run->cmd) 2.Type "diskpart" 3.Type "list disk" 4.Type: "select disk 0" -> if your disk is different change the # 5.Type: "List partition" 6. Note down the "Recovery partition #" having size of ~500MB 7.Type "Select partition 3" 8.Type " delete partition override" 9.Tyep "select partition 2"  ->partition # from step3, our Cdriver partition 10.Type "extend" Done

How to create an ESXi VM on HPE Morpheus VM essentials

 1.Upload esxi ISO image to VM Essentials UI-Library->>Virtual Images: 2.Create a VM instance selecting the OS:ESXI      Network adpater typer: E1000      Select 300GB disk size      Select 32GB RAM 3.Once VM created .Login to KVM host:     virsh edit <VMNAME>      update network type: e1000e     example: <interface type = 'network'> <mac address = '00:24:00:0f:12:7c'/> <source network = 'Management'/> <model type = 'e1000e'/> </interface>    virsh destroy <VMNAME"   virsh start <VMNAME" 4.Use SATA disk for all the storage

Ubuntu how to increase the / file system using growpart

 Issue: last time i faced a problem in my ubuntu to increase the / file system, even this is a part of LVM. When I tried lvextend and resizefs also the / file system not expanding. Solution: Using the growpart package 1.Install growpart:  apt install -y cloud-guest-utils 2.Run: growpart <disk name> <partition name>     example: growpart /dev/vda 3 3.Extend LV: lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv 4.Extend FS:  resize2fs /dev/ubuntu-vg/ubuntu-lv

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 ...