Posts

Showing posts from 2016

HP-UX virtual Machine Cheat Sheet

HP VM Cheat Sheet  1) How to Start HP VM?  On a host a)  # vi / etc / rc.config.d / hpvmconf      # Set to 1 (0) to enable (disable) Integrity VM at boot time.              HPVM_ENABLE=1 #  / sbin / init.d / hpvm  start Note: When host is rebooted it will start all the guest by default      b)   Starting HPVM on the guest   #    hpvmstart  –P  guestname 2) How to Stop HP VM? # shutdown –hy  0    (gracefully shutdown, from guest OS)             # hpvmstop  -P guestname  ( forced shutdown from host – not recommended)   3) How to identify  Identify Host or Guest using hpvminfo command?  Examples: Using hpviminfo on a host hpvminfo   (-v, -V)(on host)   #  hpvminfo      hpvminfo : Runnin...

VM Server grayed out states explanation : disconnected, inaccessible, orphaned & invalid

disconnected A virtual machine is marked as disconnected when the vCenter has lost communication to the ESXi host where the virtual machine is running. The host is marked as not responding. This state is usually caused by a host that has been crashed. Other reasons could be network issues or problems with the vpxa service running on the host. In this state vSphere HA would usually comes into play and tries to restart the virtual machine on another host in the cluster. You can quickly reproduce that state by stopping vpxa (~ # /etc/init.d/vpxa stop) inaccessible A virtual machine is marked as inaccessible when the host can no longer access the virtual machine configuration (.vmx) file. That state can be caused by problems with the storage array or a renamed folder in the datastore. When there is no issue with the storage array, remove and re-add the virtual machine to the inventory to solve this problem. orphaned The virtual machine is no longer registered on the host...

Step by step RHEL 7 installation (from ISO)

Image
Here are the step by step screenshot for the installation of  Red Hat Enterprise Linux 7 (64 bit).   Once you insert and boot your  machine  with the RHEL DVD, you will get the below  screen . Select " Install Red Hat Enterprise Linux 7.0 " and Press " Enter ". As you see the installation process is initiated Select the  Language  preference The Next screen contains almost all the configuration which has to be performed for the installation. Since we have already selected our  Language  and  Keyboard  preferences, we can skip that step here. Lets start by setting the  Date and Time Select your  Location  as for me it is  Asia/Kolkatta Next we will select the packages which we want to install. So Select " Software Installation " which will lead you to the below screen. In my case I will install the " Base Installation " package having " Server with GUI " an...

Step By Step ESXi 5.5 Install and Configuration Guide

Image
Step By Step Vmware 5.5 Install and Configuration Guide Once the CD is popped into the host boot the host up. The first option we see is to either boot from the local drive or run the installer. Run the Vmware 5.5 installer. Once done the installer loads into memory the files required to install Vmware 5.5. You will then be welcomed to Vmware 5.5, proceed by pressing enter. Then it will go away and scan for storage to install VMware onto.                              Select your relevant language, set the root accounts password and then select enter to start the actual vmware 5.5 install. Once done the server will reboot, we are then ready to configure VMware IP, host name and relevant DNS settings. To do so login by pressing F2 and entering your Root accounts password. We then need to select  Configure Management Network   then IP configuration. Give your ESXI host a s...

Install Perl DBD::Oracle Module

1. Download DBD Oracle module from http://www.cpan.org/authors/id/P/PY/PYTHIAN/ 2. export LD_LIBRARY_PATH= 3. export ORACLE_HOME= 4. /usr/local/bin/perl Makefile.PL 5. make 6. make install 7.To check perl module /usr/local/bin/perl -MDBD::Oracle or instmodsh

Perl Source Based Installation

Perl Source Based Installation Sometimes we get request to install Perl’s new version along with default OS Perl version (which was installed by RPM). In this case we need to install Perl by building it from the source code as below:- 1.      Download required Perl version from below link. http://www.cpan.org/src/ 2.      Follow below steps to perform installation : [root]# cd /tmp tar -xzf perl-5.10.1.tar.gz       [root]# cd perl-5.10.1 [root]#./Configure -des -Dprefix=/usr/local/perl5.10  <-- desired path will be    here [root]# make [root]# make test [root]# make install 3.      After installation we can see new Perl location as below :- [root ]# whereis perl perl: /usr/bin/perl  /usr/local/bin/perl  /usr/local/perl5.10   Now ask user to use new Perl path in their scripts/work instead of default Perl path which is /usr/bin...