Solaris - physical to virtual migration on the same M5000


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris - physical to virtual migration on the same M5000
# 1  
Old 06-01-2011
Solaris - physical to virtual migration on the same M5000

Hello,

Firstly, apologies if the theme of this post is discussed elsewhere.

At the moment we have a dual-domain M5000 running. Each domain is running with equal amounts of CPU and memory.

What we'd like to do is move the 2 hosts in question (1 per domain) to a Solaris 10 zone of it's zone. Therefore, the same M5000 would be running 2 zones as opposed to 2 domains. All I know is that it's possible to go from physical to virtual with the use of a flar (although I am concerned about how Veritas SAN filesystems will be handled - boot disks are local and under SVM control) but cannot get my head around the symantecs of using the same M5000 to do so. I also gather that the domains of an M5000 can be "collapsed" to create a beast of a server but I've not done this as yet.

If anyone has any thoughts or ideas on how to achieve this, I'd very much appreciate it.

There are bound to be details I've missed which might be pertanent to figuring this out so will be happy to provide more info if I can.

Many thanks!
# 2  
Old 09-23-2011
so u wanna migrate system from physical machine to virtual machine?
this way might work out: backup the physical system to an image, and convert the image to a virtual disk which can be directly used in virtual machine.
i know that easeus todo backup can do this.
# 3  
Old 09-23-2011
Q-E-D

Hello nm-longnumber.

It is easier than you think so .... Just do it :-)

What exactly is Veritas SAN filesystems? Are you using vxfs and/or vxvm ?

If your applications and data is on external disk then this will realy be quite easy.

Steps:
Create a flar for each domain. Google how-to-do-it
1. make a text file of the file systems to exclude (everything on external disk, as well as the path to where you store the flar image).
2. run the flarcreate command to create the archive.

shut down the second domain.
Add the systemboards to the ACL for the first domain.
add the boards to the domain.
restart the first domain.
check the hardware - you should see double the disks, cpus, memory, IO controllers. (cfgadm is your friend)
Import the vxfs file systems from the other host.
create a new data structure / file system layout for your zones.

This is where it becomes difficult. No solution seems perfect. Do you use snapshot file systems?
Do you have to have raw device access in the zones?
Do you use ZFS quotas?
Should you pool all the disks into a single pool and let ZFS manage space across everything in a single pool?

Unless you want to do something specific, steer clear of raw device allocations. Mount the file systems in the global one. use lofs to re-mount them into the zones.

Create your zones.
Do your resource management the way you want.
boot up the zones and test.

You can get fancy - minimize some downtime by not killing the second domain at the start. In stead you share the disks via NFS from the second domain to the first, create the zone for domain 2, stop the apps in the second domain, start them in the domain-2 zone, create the zone for domain-1, move the apps from global to zone, etc. It becomes a bit difficult only about deciding exactly where you rename the first domain to have a different name from the new zone which takes over its workload. Use sys-unconfig, reboot the domain and give the zone the name of the first domain (sys-unconfig the zone and reboot the zone). You move the IO controllers and CPU resources once you are sure that all is working, then re-configure the domain-2-zone to use the disks directly in stead of via NFS.

With more detail you can plan and perform this without issues. Just accept that you will access file systems indirectly. :-)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to check everything are migrated after the physical to vmware virtual machine?

I have a physical machine , just use vmware tools migrated data to virtual machine . how can I check these two servers - old and new server , the data are the same , all files are copy to new server ? thanks (2 Replies)
Discussion started by: ust3
2 Replies

2. Solaris

Solaris 10 virtual - how do I tell physical host?

uname -a reports type Generic so I know its virtual. Assume its an ldom somewhere. How do I find out what physical host server is? (4 Replies)
Discussion started by: psychocandy
4 Replies

3. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

4. AIX

Need help on physical and virtual cpu

HI, I need a command to find, 1) Avaiable Physical CPU 2) Avaiable virtual CPU TIA (1 Reply)
Discussion started by: sumanthupar
1 Replies

5. Red Hat

Number of physical and virtual processors

Hi, i am trying to find out hpw many virtual and physical processors does any linux machine has: output of /proc/cpuinfo is as below : # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies

6. Solaris

How to count number of physical and virtual processors on Solaris machine.?

hi, I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine. which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies

7. UNIX for Advanced & Expert Users

Server is virtual or physical?

Hi All, How can I know whether the server I am connecting to is a virtual or physical one? The server might be having any Unix OS (Linux/Solaris/HP-UX etc.). Is there any system files / commands which can show these concrete information? Thanks in advance for the replies. sanzee (1 Reply)
Discussion started by: sanzee007
1 Replies

8. Solaris

Physical or Virtual

Hi, I am on an Solaris machine "SunOS 5.10 Generic_139556-08 i86pc i386 i86pc"..how do i check if I am on an physical or an virtaul server. Thanks. (6 Replies)
Discussion started by: jjoy
6 Replies

9. UNIX for Dummies Questions & Answers

translating physical/virtual addresses

Hi all, I am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system). There is a single DRAM... (1 Reply)
Discussion started by: agaurav
1 Replies

10. Shell Programming and Scripting

get physical and virtual memory

What command can i use to get the physical and virtual memory of a database? (7 Replies)
Discussion started by: tads98
7 Replies
Login or Register to Ask a Question