Wednesday 30 March 2016

HOW TO CONFIGURE GUEST DOMAIN IN SOLARIS10?

CREATING GUEST DOMAIN:
1.add domain
#ldm add-domain ldg1
2.add cpus
#ldm add-vcpu 4 ldg1
3.add memory
#ldm add-memory 2G ldg1
4.add virtual nic card
ldm add-vnet vnet1 primary-vsw0 ldg1
5.add disk device
#ldm add-vdsdev /dev/dsk/c0t0d0s2 vol1@primary-vds0
ldm add-vdisk vdisk1 vol1@primary-vds0 ldg1
6.set variables:
ldm set-var auto-boot\?=true ldg1
ldm set-var boot-device=vdisk ldg1
7.add dvd-device:
# svcadm disable volfs
ldm add-vdsdev /dev/dsk/c0t0d0s2 dvd_vol@primary-vds0
# ldm add-vdisk dvddisk dvd_vol@primary-vds0 ldg1
8.add device for os
#mkfile -n 20g /ldoms/disks/osdisk
# ldm add-vdsdev /ldoms/disks/osdisk osdisk@primary-vds0
# ldm add-vdisk osdisk osdisk@primary-vds0 ldg1
9.To bind domain:
#ldm bind-domain ldg1
10.To start domain
# ldm start ldg1
LDom ldg1 started
11.To list Domain
#ldm list-domain ldg1
12.To login to Domain
# telnet localhost 5000
ok devalias
ok boot dvddisk

Select a Language
   0. English
   1. French
   2. German
   3. Italian
   4. Japanese
   5. Korean
   6. Simplified Chinese
   7. Spanish
   8. Swedish
   9. Traditional Chinese

Please make a choice (0 - 9), or press h or ? for help: 0
 What type of terminal are you using?
 1) ANSI Standard CRT
 2) DEC VT52
 3) DEC VT100
 4) Heathkit 19
 5) Lear Siegler ADM31
 6) PC Console
 7) Sun Command Tool
 8) Sun Workstation
 9) Televideo 910
 10) Televideo 925
 11) Wyse Model 50
 12) X Terminal Emulator (xterms)
 13) CDE Terminal Emulator (dtterm)
 14) Other
Type the number of your choice and press Return: 3
configuration:

                  Networked: Yes
                   Use DHCP: No
                  Host name: test1
                 IP address: 10.66.10.111
    System part of a subnet: Yes
                   Netmask: 255.255.255.192
               Enable IPv6: No
              Default Route: Specify one
          Router IP Address: 10.66.10.65
  Configure Kerberos Security: No
 Name service: None
   NFSv4 Domain Name:  << Value to be derived dynamically >>
time zone: Asia/Calcutta
    Date and time: 2011-06-18 20:20:00
   Root password:
   Root password:
            Installation Option: Initial
                       Boot Device: c0d0
            Root File System Type: UFS
              Client Services: None
                System Locale: C ( C )
                        Software: Solaris 10, Entire Distribution
        File System and Disk Layout: /                   c0d0s0 7560 MB
                                  swap                c0d0s1  540 MB


No comments:

Post a Comment