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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT SUNOS
asadmin-stop-domain
asadmin-stop-domain(1AS) User Commands asadmin-stop-domain(1AS)
NAME
asadmin-stop-domain, stop-domain - stops the given domain
SYNOPSIS
stop-domain [--domaindir install_dir/domains][--terse=false] [--echo=false] [domain_name]
stop-domain stops the specified domain. If there is only one domain in the default domain directory (install_dir/domains), then no operand
is required to stop the domain. However, if there is more than one domain, the domain operand must be specified. This command is supported
in local mode only.
OPTIONS
--domaindir directory where the domain is to be stopped. If specified, path must be accessible in the filesystem. If not speci-
fied, the domainis stopped in the default install_dir/domains directory.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
OPERANDS
domain_name name of the domain. Must be a unique name.
Example 1: Using stop-domain
asadmin> stop-domain sampleDomain
Stoping Domain sampleDomain, please wait
Domain sampleDomain stopped
Command stop-domain executed successfully
Where: the sampleDomain domain in the default domains directory is stopped.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-start-domain(1AS), asadmin-list-domains(1AS)
J2EE 1.4 SDK March 2004 asadmin-stop-domain(1AS)