Blue Flower

We used to have a massive VM of 2TB running SuSe Linux Enterprise 10 SP3, that was hosted on an Hyper-V cluster

We decommissioned that Hyper-V cluster and moved the SuSe VM to a vSphere environment running 6.0. In this article I'm just going to list the main points that we follow to achieve the completion of this project


Reduce the size of the SuSe VM

Personally, I believe that there is something wrong if you have a VM that is bigger than 1TB, this one was hosting 2TB of data which is totally out of order. We acquired an NFS storage server (you can use Nimble, NetApp, EMC, etc) to host those files running on the SuSe, and one that huge drives on the SuSe were empty we needed to detach them from the system without upsetting the kernel. This is what I did:

vi /etc/fstab   //**edit this file and comment out (with a #) the drives that you don't need


Handy command for the SuSe:

cat /etc/SuSe-release
cat /etc/issue

ps -ef  //**list of the processes running on the system

ps -ef | grep tomcat


vi etc/ssh/sshd_config //**edit this file and uncommet the following entry:

#PermitRootLogin yes


/usr/local/tomcat/bin# ./

/var/log# chwon -R squid:nogroup squid

/var/log# chmod -R 755 squid

rcsquid start

rcsquid status


/var/logs# cat root



The oracle - from Hyper-V to VMware

First of all, shutdown the Oracle 11g do as follows:

//**to check status of the listener:

lsnrctl status listener

cat /etc/oratab //**identify the SID of the database

export ORACLE_SID=PROD  //**export the SID, on this example is "PROD"

sqlplus / as sysdba

shutdown immediate

//**to check status of the database do:

select status from v$instance;


At the time of running VMware converter for a SuSe 10 machine, follow this guides:

  1. Use VMware Coverter 5.5
  2. Copy the VM to a standalone ESXi host (not vCenter) with SSH enabled
  3. Define a static IP address in the VMware converter section of "Helper VM network configuration"; ensure that this new IP address is different from the static IP assigned to the source VM
  4. Edit the file /etc/udev/rules.d/70-persistent-net.rules and delete the conflicting eth0, renaming then the VMware nic to "eth0" instead of "eth1"
  5. Edit the file /etc/fstab and set " 1 1" at the end of the entry for every /dev/mapper/mpath mounted file, instead of the current "1 2"


Change IP address in CentOS 


Make Linux a FTP server

If you need to add a new hard drive to your Linux VM to cope with the FTP transfer, follow these instructions: 

Install the webmin as described on this link:


rpm -ivh
yum update
yum install proftpd

ProFTPD Server is installed in: /usr/libeexec.webmin/proftpd

cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.orig 




Disable user list at login window: 




Print Friendly, PDF & Email

Comments powered by CComment