search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Hosting & IIS7 | No Comment | 5,212 views | 30/05/2011 13:28

Merhaba,

Juniper SSG20 üzerinde NAT tanımı yapabilmek için öncelikle;

Network > Interfaces > List

altına girdikten sonra, Untrusted network’e gelip “Edit” linkine tıklıyoruz.

Sonrasında yukarıda görülen MIP kısmına geçiş yapınız.

Network > Interfaces > Edit > MIP (List)

Son olarak eklemiş olduğunuz MIP için Untrust’tan Trust’a “Policy” tanımlayarak, işlemi tamamlıyoruz.


Posted in Hosting & IIS7 | No Comment | 4,405 views | 30/05/2011 01:09

SQL Server 2008 R2 Licensing:
“If you license all of the physical processors on the server (one license per physical processor), you may run unlimited instances of the SQL Server software in the following number of OSEs (either physical or virtual):”
SQL Server 2008 R2 Datacenter -> Unlimited
SQL Server 2008 R2 Enterprise -> Up to 4 per license. (Each Server License for SQL Server 2008 R2 Enterprise permits you to run the software in up to four (4) OSEs (physical and/or virtual)

SQL Server 2008 (without R2) Licensing:
“Each physical server licensed for SQL Server Enterprise under the Server/CAL model is also licensed to run SQL Server Enterprise in as many VMs as the hardware will support. So there is no difference between licensing Enterprise edition for physical and virtual environments.”
SQL Server 2008 Enterprise -> Unlimited

So, there is a difference between SQL Server 2008 and SQL Server 2008 R2 but it’s clear that if you license all of the physical processors for SQL Server 2008 R2 Datacenter or SQL Server 2008 Enterprise, you can run any instance of SQL Server 2008 R2 or SQL Server 2008 in any number of virtual operating system environments without regard to the number of physical and virtual processors used.


Posted in Virtual Machine Manager, Windows Powershell | 4 Comments | 14,379 views | 29/05/2011 16:19

Hello,

Update: SetLinuxVM is now under GPLv2

After number of bug fixes, improvements and new functionalities, Set-LinuxVM reached version 2.3 stable.

Fixed bugs:
1) Keyboard language fix. There is no dependency on VM keyboard language anymore.
2) Changed logic of LIC installation.
3) Network service restart bug in Redhat based distributions.

New functionalities:
1) Extending Logical Volume: If you expand VM’s disk, you can extend / partition to maximum free space.
2) Changing root password: You can change password of root users.
3) Changing time zone: You can change time zone of linux vm.
4) SCVMM template support: You can set distro, username and password informations into Linux VM template. If you provision a Linux VM from that template, Set-LinuxVM checks template fields to get required distro, username and password informations.
5) CloudLinux distribution support. Now supported distros: CentOS, Fedora, Debian, Ubuntu, Redhat, Suse and CloudLinux
6) Parallels Plesk Panel installation support. Now supported control panels: CPanel and Plesk
7) Advanced verify and debug process.
8) Secured with Code Signing Certificate from GlobalSign.
9) Automatic updates: Script checks new updates so you don’t need to download new versions anymore.

Other functionalities:
1) Unattended IP, Hostname and DNS configuration for Linux VMs.
2) Automatic Linux integration components installation.
3) Multi Distro Support: Debian, Ubuntu, Centos, Fedora, Redhat, Suse and CloudLinux!
4) Automatic CPanel and Parallels Plesk installation.
5) Linux VM Template support
6) Hyper-V support! You don’t need SCVMM to use this script.
7) Multiple Hyper-V and SCVMM host support.
8) Automatic Emulated NIC to Synthetic NIC support.
9) No need to internet connection (SSH access etc.) or additional changes on VM.
10) Custom Answer File support! You can execute your own scripts.

Copyright (C) 2012 Yusuf Ozturk

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Download:

Donate: Thanks to support this open source project!





Usage:

1. First, you should allow signed Powershell scripts:

Set-ExecutionPolicy AllSigned

2. Extract file and move “SetLinuxVM” directory under to “C:\Windows\System32\WindowsPowerShell\v1.0\Modules”.

3. Import as a module:

Import-Module SetLinuxVM

4. That’s it. To see how to use it:

Get-help Set-LinuxVM -full

5. Follow to instructions.

How to create Linux VM template for Set-LinuxVM:

Sponsor: Applied Innovations


Posted in Virtual Machine Manager | 3 Comments | 7,649 views | 24/05/2011 01:24

Step 30: After first reboot, you’ll see this screan.

Step 31: Select “Firewall configuration” and disable it.

Step 32: Select “Services configuration”:

Step 33: Leave enable only these services for minimal installation:

acpid
auditd
crond
haldaemon
irqbalance
kudzu
lvm2-monitor
mdmonitor
messagebus
microcode_ctl
netfs
network
sshd
syslog

Step 34: Reboot your virtual machine.

Step 35: Login your VM and execute:

nano /etc/sysconfig/network-scripts/ifcfg-eth0

Step 36: Remove HWADDR line to prevent ethernet issues.
Save the document by typing CTRL + O, Enter, CTRL + X, Enter.

Step 37: Copy ethernet configuration.

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak

Step 38: Execute Set-LinuxVM to give internet access to VM. So we can do latest updates.

Set-LinuxVM -VM "CentOS 5.6 x64" -Distro "Centos" -Username "root" -Password "password" -Hostname "localhost.localdomain" -IPAddress "192.168.2.2" -SubnetMask "255.255.255.0" -GatewayAddress "192.168.2.1"

Step 39: Execute the command below to update your VM.
Press “Yes” for the further questions.

yum update

Step 40: Clear ethernet configuration.

1
2
rm -rf /etc/sysconfig/network-scripts/ifcfg-eth0
mv /etc/sysconfig/network-scripts/ifcfg-eth0.bak /etc/sysconfig/network-scripts/ifcfg-eth0

Step 41: Clean bash history with the command below.

history -c

Step 42: Turn off your Virtual Machine.

Step 43: Right click on Virtual Machine and click “New template”.

Step 44: Put template information.

Step 45: Leave hardware properties as default.

Step 46: Most important! Choose “[Customization not required]” to provision Linux VMs.

Step 47: Choose your library server, then choose a share path.

Step 48: Click “Create” button to start creation process.

Step 49: Go to template properties. Type distro name to the “Tag” field.

Step 50: Go to “Custom Properties” tab. Type username into first field, type password into second field.

So with these changes, Set-LinuxVM looks for distro, username and password information from template.
You won’t need to use them again.

If you create a Linux VM from this template, use Set-LinuxVM like below:

Set-LinuxVM -VM "Linux Test 01" -Distro "Template" -Username "Template" -Password "Template" -Hostname "centos.yusufozturk.info" -IPAddress "192.168.2.2" -SubnetMask "255.255.255.0" -GatewayAddress "192.168.2.1" -VMTemplateName "CentOS 5.6 x64" -NewPassword "NewRootPassword!"

You should use Set-LinuxVM version 2.3 or newer to use template functionality.


Posted in Virtual Machine Manager | 1 Comment | 4,972 views | 24/05/2011 00:54

Step 9: Press Enter to start CentOS 5.6 x64 installation.

Step 10: Skip CD checking and choose a language.

Step 11: Choose keyboard and click “Next”.

Step 12: You will see a warning about initializing disk drive. Click “Yes” and continue:

Step 13: Click “Review and modify partitioning layout” and click “Next”.

Step 14: Click “Yes” for warning to continue:

Step 15: Delete pre-defined volumes by clicking “Delete” button.

Step 16: After you clear volumes, go to LVM and click “Edit” button.

Step 17: Click “Add” button to create new partitions in LVM.

Step 18: Create mount points and sizes as you want.

Step 19: As an example, I create a Swap partition as 8192 MB. Because swap should be twice of your memory.

Step 20: Create /tmp mount point as 4096 MB.

Step 21: Use all available space for / mount point. In this case I have only 8064 MB disk space.

Step 22: So final partitioning layout should be:

Update: You should first create / mount point. Otherwise you can’t extend LVM with Set-LinuxVM.
So / mount point should be “LogVol00”. Please check new capture:

Step 23: Next page, choose “GRUB boot loader” and click “Next”.

Step 24: Leave all default but clear “Active on Boot” option.

Step 25: Choose your timezone and next page assign a root password.

Step 26: Clear the click of “Desktop Gnome” and click “Customize Now”.

Step 27: Click “Development Libraries” and “Development Tools”, then click “Next”.

Step 28: You can start installation by clicking “Next”.

Step 29: After installation complete, reboot virtual machine.


Posted in Virtual Machine Manager | 1 Comment | 7,846 views | 24/05/2011 00:52

Hello there!

Now it’s possible to use Linux VM templates on SCVMM 2008 R2 for quick deploys if you use “Set-LinuxVM”. We just need a clean Linux template for quick deploys.

Lets start with creating our Linux VM. Go to SCVMM and click “New Virtual Machine”.

Step 1: Choose “Create the new virtual machine with a blank virtual hard disk” and click “Next”.

Step 2: Give a name and description for your Virtual Machine and click “Next”.

Step 3: You should be careful about CPU, memory and network adapter. As an example, hardware profile should be:

vCPU: 1
Memory: 4096 MB
Disk: 20 GB
Network: Emulated

It’s very important to use 1 vCPU and emulated network adapter with your Linux VM template. I assign 4096 MB memory to virtual machine because usually I setup virtual machines with that memory value. If you usually setup VMs with 2048 MB memory, then give that! I assign 20 GB of disk space because I’ll split that into partitions for best performance. I’ll also use Logical Volume (LVM) to extend volumes with “Set-LinuxVM“.

Step 4: Next screen, choose “Place the virtual machine on a host”.

Step 5: Select a host and storage volume, then click “Next”.

Step 6: Choose Virtual Network for VM and click “Next”.

Step 7: Set additional properties and click “Next”.

Step 8: Click “Create” and finish this proccess.

After a minute, your VM will be up and ready for CentOS installation.
Insert a CentOS 5.6 x64 DVD in it and start reboot VM.


Posted in Virtual Machine Manager, Windows Powershell | 6 Comments | 18,302 views | 15/05/2011 23:36

Hello,

I’ve announced a new functionality for Linux virtual machines on Hyper-V a few days ago. I called it “Set-LinuxVM”.

What you can do with “Set-LinuxVM”:

1) Unattended IP, Hostname and DNS configuration for Linux VMs.
2) Automatic Linux integration components installation.
3) Multi Distro Support: Debian, Ubuntu, Centos, Fedora, Redhat and Suse!
4) Automatic CPanel installation for Redhat and Centos
5) Linux VM Template support (Use Skip for EnableLIC switch)
6) Hyper-V support! You don’t need SCVMM to use this script.
7) Multiple Hyper-V and SCVMM host support.
8) Automatic Emulated NIC to Synthetic NIC support.
9) No need to internet connection (SSH access etc.) or additional changes on VM.
10) Custom Answer File support! You can execute your own scripts.

Download:

Usage:
1. First, you should disable Execution policy:

Set-ExecutionPolicy Unrestricted

PS: I’m looking for a way to assign this script with a commercial certificate.

2. Extract file and move “SetLinuxVM” directory under to “C:\Windows\System32\WindowsPowerShell\v1.0\Modules”.

3. Import as a module:

Import-Module SetLinuxVM

4. That’s it. To see how to use it:

Get-help Set-LinuxVM -full

5. Follow to instructions.

Share your comments if you see a bug or something..