Home
Welcome to my personal site!
Linux Redhat/Feudora reference notes
Technology - Virtualization
Manually add route in Linux

192.168.80.0 /24 = your virtual machine  network
10.14.8.127 /22 = gateway - your next hop either PC or router

 route add -net 192.168.80.0[[ip network]] netmask 255.255.255.0[[subnet mask]] gw 10.14.8.127[[ip gateway]] metric 1 dev eth0

FSTAB corrupted - how to

Boot using Linux bootable CD/DVD
fdisk -l
mkdir /mnt/sysimage
mount /dev/sda# /mnt/sysimage/  (#=hard drive number)
cd /mnt/sysimage/
df - h (view the file system mounted)
restore the backup fstab file
reboot

Useradd / Groupadd

Usermod/Groupmod

Userdel/Groupdel

1) which useradd
2) rpm -qf /usr/sbin/useradd (qf=query file)
3) less /etc/login.defs
4) useradd user1
5) tail /etc/passwd (/etc/passwd=default user password file, /etc/shadow=the file is encrypted  only read by root) 

Read more...
 
10 things you should know about Hyper-V
Technology - Virtualization

Very good article from TechRepublic related to Microsoft Hyper-V

Hyper-V is getting good reviews, even from some Microsoft critics, and the release of the standalone version has made it even more attractive. Deb Shinder looks at the most important aspects of the Hyper-V platform.


Hypervisor technology is software on which multiple virtual machines can run, with the hypervisor layer controlling the hardware and allocating resources to each VM operating system. Hyper-V is the virtualization platform that is included in Windows Server 2008. Microsoft also recently released a standalone version, called Hyper-V Server 2008, that’s available as a free download from the Microsoft Web site.

As server virtualization becomes more important to businesses as a cost-saving and security solution, and as Hyper-V becomes a major player in the virtualization space, it’s important for IT pros to understand how the technology works and what they can and can’t do with it.

In this article, we address 10 things you need to know about Hyper-V if you’re considering deploying a virtualization solution in your network environment.

Note: This information is also available as a PDF download.

#1: To host or not to host?

Hyper-V is a “type 1″ or “native” hypervisor. That means it has direct access to the physical machine’s hardware. It differs from Virtual Server 2005, which is a “type 2″ or “hosted” virtualization product that has to run on top of a host operating system (e.g., Windows Server 2003) and doesn’t have direct access to the hardware.

Read more...
 
An Introduction to Hyper-V in Windows Server 2008
Technology - Virtualization
Virtualization
An Introduction to Hyper-V in Windows Server 2008
Rajiv Arunkundram
 
At a Glance:
  • What is virtualization?
  • Three virtualization architectures
  • Microkernelized vs. monolithic hypervisor
  • What Hyper-V does

There has been quite a lot of talk about virtualization recently, and most of the discussion is specifically about server virtualization. This is one of the most exciting trends in the industry and one that has the potential, over the next few years, to change the paradigm of how IT systems are deployed. But server virtualization will not only change how IT administrators and architects think about servers and system utilization, it is also going to affect the processes and tools used to manage what will certainly become an increasingly dynamic environment.
 
Virtualization has actually been around for some time now, but the technology is still evolving. In fact, the word itself still means different things to different people. In broad terms, however, virtualization is about abstracting one layer of the technology stack from the next layer, like storage from servers or the OS from the applications. Abstracting the different layers, in turn, enables consolidation and better manageability.

Read more...
 
Howto Create Operating System Base Image using HyperV/Vmware ESX
Technology - Virtualization

Setup OS Base Image:

1.  Install Operating System windows/linux
2.  HYPER V integration services and VMWARE tools
3.  Apply all OS updates
4.  Setup webserver (Windows IIS and ASP.net versions - Linux LAMP and enable SSH) and enable remote desktop/VNC
5.  Install Third Party Apps
6.  Copy Sysprep for older version of Windows and Windows 2008 has sysprep installed as a default
7.  Snapshot via Hypyer V and Vmware ESX
8.  Cloning virtual hard drives

Setup virtual networks (subnets):

1.  Subnet 10.10.10.0/24
2.  Subnet 10.10.20.0/24
3.  Subnet 10.10.30.0/24
4.  Subnet 10.10.40.0/24
5.  Subnet 10.10.50.0/24

Setup VLAN ID on Physical Switch

1.  VLAN10
2.  VLAN20
3.  VLAN30
4.  VLAN40
5.  VLAN50

 

 

Read more...
 
VM4D