- Stop and unbind the guest domain (ldg1).
primary# ldm stop ldg1
primary# ldm unbind ldg1 - Add the Oracle Solaris ISO file as a secondary volume and virtual disk.
The following uses solarisdvd.iso as the Oracle Solaris ISO file, iso_vol@primary-vds0 as a secondary volume, and vdisk_iso as a virtual disk:
primary# ldm add-vdsdev /export/solarisdvd.iso iso_vol@primary-vds0
primary# ldm add-vdisk vdisk_iso iso_vol@primary-vds0 ldg1The following uses solarisdvd.iso as the Oracle Solaris ISO file, which is stored on the server1 server. iso_vol@primary-vds0 is a secondary volume, and vdisk_isois a virtual disk. The lofiadm command attaches a block device to the ISO image.
primary# lofiadm -a /net/server1/solarisdvd.iso
primary# ldm add-vdsdev /dev/lofi/1 iso_vol@primary-vds0
primary# ldm add-vdisk vdisk_iso iso_vol@primary-vds0 ldg1 - Check to see that the Oracle Solaris ISO file is added as a secondary volume and virtual disk.
primary# ldm list-bindings
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 4G 0.2% 22h 45m
...
VDS
NAME VOLUME OPTIONS DEVICE
primary-vds0 vol1 /dev/dsk/c2t1d0s2
iso_vol /export/solarisdvd.iso
....
------------------------------------------------------------------------------
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
ldg1 inactive ----- 60 6G
...
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
vdisk1 vol1@primary-vds0
vdisk_iso iso_vol@primary-vds0
.... - Bind and start the guest domain (ldg1).
primary# ldm bind ldg1
primary# ldm start ldg1
LDom ldg1 started
primary# telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connecting to console "ldg1" in group "ldg1" ....
Press ~? for control options .. - Show the device aliases in the client OpenBoot PROM.
In this example, see the device aliases for vdisk_iso, which is the Oracle Solaris ISO image, and vdisk_install, which is the disk space.
ok devalias
vdisk_iso /virtual-devices@100/channel-devices@200/disk@1
vdisk1 /virtual-devices@100/channel-devices@200/disk@0
vnet1 /virtual-devices@100/channel-devices@200/network@0
virtual-console /virtual-devices/console@1
name aliases - On the guest domain's console, boot from vdisk_iso (disk@1) on slice f.
ok boot vdisk_iso:f
Boot device: /virtual-devices@100/channel-devices@200/disk@1:f File and args: -s
SunOS Release 5.10 Version Generic_139555-08 64-bit
Copyright (c) 1983-2010, Oracle and/or its affiliates. All rights reserved. - Continue with the Oracle Solaris OS installation menu.
Wednesday, June 3, 2020
How to Install the Oracle Solaris OS on a Guest Domain From an Oracle Solaris ISO File
How to Enable the Logical Domains Manager Daemon
Use this procedure to enable the ldmd daemon if it has been disabled.
- Use the svcadm command to enable the Logical Domains Manager daemon, ldmd.
For more information about the svcadm command, see the svcadm(1M) man page.
# svcadm enable ldmd
- Use the ldm list command to verify that the Logical Domains Manager is running.
The ldm list command should list all domains that are currently defined on the system. In particular, the primary domain should be listed and be in the active state. The following sample output shows that only the primary domain is defined on the system.
# /opt/SUNWldm/bin/ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active ---c- SP 64 3264M 0.3% 19d 9m
Installing Oracle VM Server for SPARC Software on a New System
Downloading the Logical Domains Manager
You can obtain the latest packages for both the Oracle Solaris 10 OS and the Oracle Solaris 11 OS. Note that the Oracle VM Server for SPARC software is included by default with the Oracle Solaris 11 OS.
-
Oracle Solaris 10 OS. Download the OVM_Server_SPARC-3_0.zip package from My Oracle Support. See How to Download the Logical Domains Manager Software (Oracle Solaris 10).
-
Oracle Solaris 11 OS. Obtain the ldomsmanager package from the Oracle Solaris 11 Support Repository. See How to Upgrade to the Oracle VM Server for SPARC 3.0 Software (Oracle Solaris 11).
How to Download the Logical Domains Manager Software (Oracle Solaris 10)
- Download the zip file (OVM_Server_SPARC-3_0.zip).
You can find the software at http://www.oracle.com/virtualization/index.html.
- Unzip the zip file.
$ unzip OVM_Server_SPARC-3_0.zip
If you use the install-ldm installation script, you have several choices to specify how you want the script to run. Each choice is described in the procedures that follow.
-
Using the install-ldm script with no options does the following automatically:
-
Checks that the Oracle Solaris OS release is the Oracle Solaris 10 OS
-
Verifies that the package subdirectories SUNWldm/ and SUNWldmp2v/ are present
-
Verifies that the prerequisite Logical Domains driver packages, SUNWldomr and SUNWldomu, are present
-
Verifies that the SUNWldm and SUNWldmp2v packages have not been installed
-
Installs the Oracle VM Server for SPARC 3.0 software
-
Verifies that all packages are installed
-
If the SST (SUNWjass) is already installed, you are prompted to harden the Oracle Solaris OS on the control domain.
-
Determine whether to use the Oracle VM Server for SPARC Configuration Assistant (ldmconfig) to perform the installation.
-
-
Using the install-ldm script with the -c option automatically runs the Oracle VM Server for SPARC Configuration Assistant after the software is installed.
-
Using the install-ldm script with the -s option skips the running of the Oracle VM Server for SPARC Configuration Assistant.
-
Using the install-ldm script and the following options with the SST software enables you to do the following:
-
install-ldm -d. Allows you to specify a SST driver other than a driver ending with -secure.driver. This option automatically performs all the functions listed in the preceding choice and hardens the Oracle Solaris OS on the control domain with the SST customized driver that you specify; for example, the server-secure-myname.driver.
-
install-ldm -d none. Specifies that you do not want to harden the Oracle Solaris OS running on your control domain by using the SST. This option automatically performs all the functions except hardening listed in the preceding choices. Bypassing the use of the SST is not suggested and should only be done when you intend to harden your control domain using an alternate process.
-
install-ldm -p. Specifies that you only want to perform the post-installation actions of enabling the Logical Domains Manager daemon (ldmd) and running the SST. For example, you would use this option if the SUNWldm and SUNWjass packages are preinstalled on your server.
-
Manually Installing the Logical Domains Manager Software
The following procedure guides you through manually installing the Oracle VM Server for SPARC 3.0 software on the Oracle Solaris 10 OS.
When you install the Oracle Solaris 11 OS, the Oracle VM Server for SPARC 2.1 software is installed by default. If you want to install the Oracle VM Server for SPARC 3.0 software, see How to Upgrade to the Oracle VM Server for SPARC 3.0 Software (Oracle Solaris 11)
ownload the Oracle VM Server for SPARC 3.0 software (the SUNWldm and SUNWldmp2v packages). For instructions, see How to Download the Logical Domains Manager Software (Oracle Solaris 10).
- (Optional) Save your configuration to the service processor (SP), if necessary.
Perform this step only is you are already running an earlier version of the Oracle VM Server for SPARC software.
primary# ldm add-config config-name
- Install the SUNWldm.v and SUNWldmp2v packages.
# pkgadd -Gd . SUNWldm.v SUNWldmp2v
Answer y for yes to all questions in the interactive prompts.
The -G option installs the package in the global zone only. The -d option specifies the path to the directory that contains the SUNWldm.vand SUNWldmp2v packages.
For more information about the pkgadd command, see the pkgadd(1M) man page.
- Verify that the SUNWldm and SUNWldmp2v packages are installed.
The following revision (REV) information is an example:
# pkginfo -l SUNWldm | grep VERSION
VERSION=3.0,REV=2012.11.01.10.20For more information about the pkginfo command, see the pkginfo(1) man page.
Question 8 Explanation
Compartments are the primary building blocks you use to organize your cloud resources. You use compartments to organize and isolate your res...
-
Registering authorized locations used by a NetBackup database script-based policy To add an authorized location Open a command prompt on...
-
How to boot a Windows VM into Safe Mode in ESX Information: 1) Right Click the VM 2) Select Edit Settings a. Click Option...
-
WAF can protect any internet facing endpoint, providing consistent rule enforcement across a customer's applications. WAF provides you w...