Beruflich Dokumente
Kultur Dokumente
Configuring the DRS cluster is simple task in VMware if you have already worked on legacy clusters like
veritas cluster.In a order to obtain the cluster-level resource management ,you need to create the DRS
cluster. DRS cluster is nothing but a bunch of ESX/ESXi Psychical servers.Once you have added the ESXi
or ESX nodes to the cluster, those node’s resource will be part of cluster resources. Using the DRS cluster
you can easily mange the load balancing across the ESXI/ESX servers and power management. You can
also configure the affinity rules to control the virtual machines placements across the datacenter.
Prerequisites:
Vcenter Server
Vcenter web-client
Pre-configured Datastore
1.Login to VMware vCenter server using web-client.Here i have already created the blank datacenter
without ESXI hosts.
Webclient – Home Page
3.Enter the cluster name and Click “Turn On” DRS. Here i have selected “Fully Automated”
Enter the Cluster Name
4.Now its time to add the host to the cluster. Click on the “Add host” link.
Adding New host to DRS cluster
Node Summary
9.The next will be to provide the resource pool information. If you want to keep it in under root resource ,
you select the below option and continue.
10.Review the summary of the cluster and click finish to create new cluster.
DRS Cluster summary
11.Now you can see new cluster has been created and both the cluster nodes are showing just under the
cluster name.
Cluster view
That’s it . You have successfully created the DRS Cluster using two physical servers. The new virtual
machine can be created on either of the cluster nodes. According to affinity rule, virtual machine will
failover from one node to another.
The post How to Configure DRS cluster on ESXi ? appeared first on UnixArena.
Oracle VM for SPARC configuration can be backed up in XML file and it can be restored it whenever
required.This configuration backup will be very useful for future rebuilding. It also provides the option to
take the backup of particular domain and that can be restored using ldm add-domain command.In this
article we will how take the individual domain backup,how to take the complete ldom configuration
backup and restore methods.
3.You can also take the configuration backup for specific LDOM,
1. Login to the control domain console and remove the spconfig profile.
bash-3.2# init 5
bash-3.2# svc.startd: The system is coming down. Please wait.
svc.startd: 101 system services are now being stopped.
Feb 18 10:00:49 sol10-11 syslogd: going down on signal 15
svc.startd: The system is down.
syncing file systems... done
->
-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Done
0:0:0>Master CPU Tests Basic....Done
0:0:0>Init MMU.....
0:0:0>L2 Tests....Done
0:0:0>Extended CPU Tests....Done
0:0:0>Scrub Memory....Done
0:0:0>Functional CPU Tests....Done
sol10-11 console login:
3. Login to the system and see whether factory default settings has been restored or not .
1.Once the system has restored to the factory default,then you can restore the system backup using the
XML files which we have created. Login to the control domain and restore it.
The old configuration copies can be removed using “ldm remove-spconfig profile_name” . If you make
any small changes on LDOM configuration, you must create a new profile to save it.Otherwise you may
loose the new changes after the system power cycle.
The post Oracle VM SPARC – LDOM configuration Backup and Restore appeared first on
UnixArena.
Destroying the infrastructure is a easy task in all the environments.In oracle VM for SPARC also ,you
can easily remove the guest domains in few seconds. The same way you can also remove the virtual disk
resources and virtual network resources. In some cases you may not able to remove the resources if its in
use or already bound to any guest domains. In this article ,we will see how to remove the guest domains
and how to remove the virtual services like vds and vswitch.
2.Halt the domain by logging in to the guest domain operating system. (init 5) . You can also perform the
force shutdown from the control domain using the below command.
4.Now you can remove the inactive guest domain from the hypervisor.
You can see ldom2clone has been removed from the hypervisor completely.
If you want to remove the specific resources from the guest domain,follow the below steps.
1. List the bounded resources for one of the guest domain. (ldom2)
UUID
f2aa98a4-ddae-6d93-948f-9e2e9e81ff40
MAC
00:14:4f:fb:b6:94
HOSTID
0x84fbb694
CONTROL
failure-policy=ignore
DEPENDENCY
master=
CORE
CID CPUSET
1 (8, 9)
VCPU
VID PID CID UTIL STRAND
0 8 1 100% 100%
1 9 1 0.0% 100%
MEMORY
RA PA SIZE
0x10000000 0x10000000 4G
0x480000000 0x390000000 2G
VARIABLES
auto-boot?=false
boot-device=disk:a disk net
keyboard-layout=US-English
NETWORK
NAME SERVICE ID DEVICE MAC
MODE PVID VID MTU LINKPROP
vnet0 primary-vds0@primary 0 network@0
00:14:4f:f9:53:57 1 1500
PEER MAC MODE PVID VID
MTU LINKPROP
primary-vds0@primary 00:14:4f:fb:e2:f3 1
1500
DISK
NAME VOLUME TOUT ID DEVICE SERVER
MPGROUP
vdisk1_dom2 vol1@primary-vds0 1 disk@1 primary
iso_ldom2 iso0@primary-vds0 2 disk@2 primary
uavdisk uavol1@primary-vds0 0 disk@0 primary
VCONS
NAME SERVICE PORT
ldom2 primary-vcc0@primary 5000
2.Try to remove the one of the virtual disk resource from the guest domain.
You are not able to remove the virtual disk since its in use on ldom2.
UUID
f2aa98a4-ddae-6d93-948f-9e2e9e81ff40
MAC
00:14:4f:fb:b6:94
HOSTID
0x84fbb694
CONTROL
failure-policy=ignore
DEPENDENCY
master=
CORE
CID CPUSET
1 (8, 9)
VCPU
VID PID CID UTIL STRAND
0 8 1 100%
1 9 1 100%
MEMORY
RA PA SIZE
0x10000000 0x10000000 4G
0x480000000 0x390000000 2G
VARIABLES
auto-boot?=false
boot-device=disk:a disk net
keyboard-layout=US-English
NETWORK
NAME SERVICE ID DEVICE MAC
MODE PVID VID MTU LINKPROP
vnet0 primary-vds0@primary 0 network@0
00:14:4f:f9:53:57 1 1500
PEER MAC MODE PVID VID
MTU LINKPROP
primary-vds0@primary 00:14:4f:fb:e2:f3 1
1500
DISK
NAME VOLUME TOUT ID DEVICE SERVER
MPGROUP
vdisk1_dom2 vol1@primary-vds0 1 disk@1 primary
iso_ldom2 iso0@primary-vds0 2 disk@2 primary
VCONS
NAME SERVICE PORT
ldom2 primary-vcc0@primary 5000
-bash-3.2#
VSW
NAME LDOM MAC NET-DEV ID DEVICE
LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE
primary-vds0 primary 00:14:4f:fb:e2:f3 nxge0 0
switch@0 1 1 1500
primary-vsw0 primary 00:14:4f:fa:bf:27 nxge1 1
switch@1 1 1 1500
VDS
NAME LDOM VOLUME OPTIONS MPGROUP
DEVICE
primary-vds0 primary vol1
/dev/zvol/dsk/pool1/vol1
iso0
/export/home/sol-10-u10-ga2-sparc-dvd.iso
clonevol1
/dev/zvol/dsk/pool1/clonevol1
vol0
/dev/dsk/c3t600144F0B8E706DA00005300F4270004d0s2
vol2
/dev/dsk/c3t600144F0C1135B490000530383D70006d0
uavol1
/dev/zvol/dsk/pool1/uavol1
VSW
NAME LDOM MAC NET-DEV ID DEVICE
LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE
primary-vds0 primary 00:14:4f:fb:e2:f3 nxge0 0
switch@0 1 1 1500
primary-vsw0 primary 00:14:4f:fa:bf:27 nxge1 1
switch@1 1 1 1500
VDS
NAME LDOM VOLUME OPTIONS MPGROUP
DEVICE
primary-vds0 primary vol1
/dev/zvol/dsk/pool1/vol1
iso0
/export/home/sol-10-u10-ga2-sparc-dvd.iso
clonevol1
/dev/zvol/dsk/pool1/clonevol1
vol0
/dev/dsk/c3t600144F0B8E706DA00005300F4270004d0s2
vol2
/dev/dsk/c3t600144F0C1135B490000530383D70006d0
-bash-3.2#
We have seen how to remove the assigned virtual disk from the guest and removing the disk from the
virtual disk server.
Now we will see how to remove the complete service from the service domain aka primary domain.
1.Try to remove the virtual switch service from service domain
2.The above command failed because,that virtual service is used for some of the guest domains. First
remove the those assigned virtual resources from guest domain the n try to remove it.
VDS
NAME LDOM VOLUME OPTIONS MPGROUP
DEVICE
primary-vds0 primary vol1
/dev/zvol/dsk/pool1/vol1
iso0
/export/home/sol-10-u10-ga2-sparc-dvd.iso
clonevol1
/dev/zvol/dsk/pool1/clonevol1
vol0
/dev/dsk/c3t600144F0B8E706DA00005300F4270004d0s2
vol2
/dev/dsk/c3t600144F0C1135B490000530383D70006d0
Using the same setup commands (showed in this article), you can remove the other guest domains and
virtual services.
Once you have cleared the all services and domains, you can uninstall the oracle VM for SPARC software
using below method.
You have successfully uninstall the oracle VM for SPARC software. You can safely recycle the control
domain to remove the complete ldom stuffs.
The post How to Remove Logical Domains and Services ? Oracle VM for SPARC appeared first
on UnixArena.
In oracle VM for SPARC (LDOM), you need to attach the ISO file to each logical domain, for the first time
operating system installation. If you have pre-configured jumpstart , You can use it for the guest domain
operating system installation. If you don’t have jumpstart,then you need to install it using the ISO image.
By default LDOM will not allow to map the same device file to multiple guest domains .Here we will see
how we can map the same ISO image to multiple LDOMS.
1. Login to the control domain and list the ISO image which you need to map it to ldoms.
# ls /export/home/sol-10-u10-ga2-sparc-dvd.iso
sol-10-u10-ga2-sparc-dvd.iso
2.List the available services. Create a new virtual device for the virtual disk server using the below
command.
VSW
NAME LDOM MAC NET-DEV ID DEVICE
LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE
primary-vsw0 primary 00:14:4f:fa:fe:49 e1000g0 0
switch@0 1 1 1500
VDS
NAME LDOM VOLUME OPTIONS MPGROUP
DEVICE
primary-vds0 primary vol1
/dev/zvol/dsk/pool1/vol1
clonevol1
/dev/zvol/dsk/pool1/clonevol1
vol0
/dev/dsk/c2t600144F0B8E706DA00005300F47B0007d0s2
vol10
/dev/dsk/c2t600144F0C1135B4900005303839A0002d0s2
VSW
NAME LDOM MAC NET-DEV ID DEVICE
LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE
primary-vsw0 primary 00:14:4f:fa:fe:49 e1000g0 0
switch@0 1 1 1500
VDS
NAME LDOM VOLUME OPTIONS MPGROUP
DEVICE
primary-vds0 primary vol1
/dev/zvol/dsk/pool1/vol1
clonevol1
/dev/zvol/dsk/pool1/clonevol1
vol0
/dev/dsk/c2t600144F0B8E706DA00005300F47B0007d0s2
vol10
/dev/dsk/c2t600144F0C1135B4900005303839A0002d0s2
iso0 ro
/export/home/sol-10-u10-ga2-sparc-dvd.iso
3.Add the newly created virtual read-only iso image to guest domain.
4.You can see that ISO file has been attached to the ua1 ldom.
DISK
NAME VOLUME TOUT ID DEVICE SERVER
MPGROUP
vdisk1 vol1@primary-vds0 2 disk@2 primary
viso1 newiso@primary-vds0 0 disk@0 primary
5.When try to map the same iso virtual image to another domain, you will get below error.
6.To avoid the above error, you need to create a new virtual read-only ISO image again.
7.Add the second virtual iso image to the another LDOM using the below command.
The same way you can map the same ISO file to N-number of guest domains.(6 and 7 ).
Hope this article is informative to you. Thank you for visiting UnixArena.
The post How to Add the Same ISO image file in Multiple LDOMS ? appeared first on
UnixArena.
You are subscribed to email updates from UnixArena Email delivery powered by Google
To stop receiving these emails, you may unsubscribe now.