Sponsored Content
Operating Systems Solaris Solaris - physical to virtual migration on the same M5000 Post 302558225 by hartz on Friday 23rd of September 2011 05:57:22 AM
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. :-)
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
brands(5)						Standards, Environments, and Macros						 brands(5)

NAME
brands - alternate operating environments for non-global zones DESCRIPTION
The branded zone (BrandZ) framework extends the Solaris Zones infrastructure described in zones(5) to include the creation of brands, which provide non-global zones that contain non-native operating environments. The term "brand" can refer to a wide range of operating environments. All brand management is performed as extensions to the current zones structure. Every zone is configured with an associated brand. The brand type is used to determine which scripts are executed when a zone is installed and booted. In addition, a zone's brand is used to properly identify the correct application type at application launch time. The default is the native brand. A branded zone will support exactly one brand of non-native binary, which means that a branded zone provides a single operating environ- ment. Once a zone has been assigned a brand, that brand cannot be changed or removed. BrandZ extends the zones tools in the following ways: o A brand is an attribute of a zone, set at zone create time. o The zonecfg tool (see zonecfg(1M)) is used to set a zone's brand type and configure the zone. o The zoneadm tool (see zoneadm(1M)) is used to report a zone's brand type and administer the zone. Device Support The devices supported by each zone are documented in the man pages and other documentation for that brand. The zones infrastructure detects any attempt to add an unsupported device and issues a warning to the administrator. If the administrator chooses to add an unsupported device despite that warning, that device might or might not work as expected. The configuration will be untested and unsupported. ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWzoneu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
mdb(1), zlogin(1), zonename(1), dtrace(1M), in.rlogind(1M), sshd(1M), zoneadm(1M), zonecfg(1M), kill(2), priocntl(2), getzoneid(3C), ucred_get(3C), getzoneid(3C), proc(4), attributes(5), lx(5), native(5), privileges(5), zones(5), lx_systrace(7D), crgetzoneid(9F) SunOS 5.11 13 Feb 2009 brands(5)
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy