Tip: Ldom migration


 
Thread Tools Search this Thread
Operating Systems Solaris Tip: Ldom migration
# 1  
Old 08-18-2017
Display Tip: Ldom migration

Prerequisite:

• S7-2L Server Hardware Console Access
• Solaris 11.3 OS and LDOM Packages (Ex: 3.4)
• Setup IPS Repositories




Solaris 11 comes with Oracle VM server pre-installed if older version is there remove the old and install latest Oracle VM software (Ldom Manager pkg)

Install Latest Oracle VM software

Unzip Ldom_3.4.zip

Code:
cd LDoms-3_4-Integration-10/Install/
./install-ldm

Check the restart the services if required.

Code:
svcs ldmd
svcs vntsd
ldm -V

Setup Control Domain and Domain Services.

Code:
ldm add-vcc port-range=5000-5100 primary-vcc0 primary
ldm add-vds primary-vds0 primary
ldm add-vsw net-dev=net0 primary-vsw0 primary

Code:
ldm set-vcpu 8 primary
ldm set-memory 8G primary
ldm start-reconf primary

Code:
ldm add-config primary-config

Code:
reboot

Configure Guest LDOM For orestes (Solaris 11)


Code:
ldm add-domain myldom01

Add CPU /Mem/Disk

Code:
ldm add-vcpu 8 myldom01
ldm add-memory 16g myldom01
ldm add-vdsdev /dev/rdsk/c0tx...  vol1@primary-vds0
ldm add-vdisk bootdisk-ldom01 vol1@primary-vds0 myldom01

if need to install new LDOM add iso in Guest ldom

Code:
ldm add-vdsdev options=ro /export/home/Oracle_Solaris_Text_SPARC_Large_Server.iso largeiso@primary-vds0
ldm add-vdisk largeiso largeiso@primary-vds0 myldom01
ldm set-variable auto-boot\?=false myldom01
ldm start myldom01

Add network

According to need Create Different Managmenet/ Backup /Data network
Setup Aggerigation and create vnic so we can assign network to our guest ldoms


Code:
dladm create-aggr -m data_network -l net0 -l net1 -l net2 aggr0
dladm create-aggr -m mgmt_network -l net3 -l net4 aggr1

Code:
dladm show-aggr

===========================================================
Solaris 10 servers Migration

Note: Solaris 10 physical server must be running with Solaris 10 10/11 update

We can use below options to migrate solaris 10 servers

1)create LDOM and migrate solaris 10
2) Migrate solcaris 10 as a branded zone

Create Flar of Global zone (Exclude data and zone file system)

Code:
flarcreate -S -n hostname -x /data -x  /export/zones/ -L cpio  /nfs_filesystem/hostname.flar

mount nfs mountpoint on solars 11 server where we have flar

Create the zone's configuration for solaris 10 with zonecfg command

Install the zone

Code:
zoneadm -z hosrname install -a /nfs/hostname.flar -u

===============================================
Solaris 11 Server Migration Create a Recovery Archive

Creating a Unified Archive
Code:
archiveadm create -D ips_repo -r /var/tmp/hostrecovery.uar

Code:
archiveadm info -v

Creating an iso Image and attached with Solaris 11 Guest ldom and Build the server

Code:
archiveadm create-media -f /var/tmp/hostrecovery.uar


Last edited by MadeInGermany; 08-18-2017 at 04:30 PM.. Reason: added code tages
# 2  
Old 08-18-2017
I guess this is a tip, certainly useful.
It's more expert level than beginner.
So I have moved this to the Solaris forum, and prefixed the Title with "tip:".
A tip from my side: if you wrap the shell commands in code tages it becomes more readable.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Ldom problem

Hi People, I have been trying to learn solaris ldoms, have created one on a T2000 and get the following error when try to install it off DVD WARNING: /virtual-devices@100/channel-devices@200/disk@1: Communication error with Virtual Disk Server using Port 0. Retrying If anyone could help... (8 Replies)
Discussion started by: callmebob
8 Replies

2. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

3. AIX

[TIP] Migration to POWER8

Read "Migration to POWER8" article to get prepared for migration to POWER8: link removed, advertisement (0 Replies)
Discussion started by: pave01
0 Replies

4. Solaris

LDOM Migration Limit

Hi all, since i'm not able to find any detailed information, i'd like to know if anyone can help me. I need to perform a LDOM migration and the distance betwen the 2 datacenter is 400 km. Is it a problem to perform the migration? Thanks (8 Replies)
Discussion started by: cecco16
8 Replies

5. Solaris

VxVM5.1 in a Ldom

Has any one installed and used VxVM5.1 in a Ldom .. i was able to install it but when i try to initialize a disk it gives me following error as the disks are imported from ZFS backend .. :-( and they does not show the target no. /etc/vx/bin/vxdisksetup -if c0d2s2 VxVM vxdisksetup ERROR... (0 Replies)
Discussion started by: fugitive
0 Replies

6. Solaris

ldom and zone

hi, what is the difference between ldom and zone. can we install any other os than sun in ldom. thanks, snj. (2 Replies)
Discussion started by: snjksh
2 Replies

7. AIX

ldom and lpar

hi, Plz let me know if the concept of sun ldom and aix lpar is same or not. thnx, snj (1 Reply)
Discussion started by: snjksh
1 Replies
Login or Register to Ask a Question