Connected to localhost escape character is connecting

  • No School
  • AA 1
  • muneershaik
  • 106

This preview shows page 61 - 64 out of 106 pages.

Connected to localhost .... Escape character is ’^]’. Connecting to console "myldom1" in group "myldom1" .... Press ~? for control options .. {0} ok Commands Summary For convenience, the commands required to create this example logical domain are listed in the “Five-Minute Guide” section.
50 Sun Microsystems, Inc. Beginners Guide to LDoms — July 2007 We now have a virtualized OpenBoot PROM environment. First, we can find out some basic information about the OpenBoot PROM environment: We can see the virtual devices in the domain and can confirm the memory is correct. Now we can run the commands required to network-install the Solaris OS. We need to ensure that the correct device is selected for the network device. While we have an alias for the disk, we must set up one for the virtual network. This allows us to boot from a network server and start the process of setting up the Solaris OS. We need to identify the network device and the OpenBoot PROM provides the command to do so and a way to copy the long device name to the buffer: {0} ok banner Sun Fire(TM) T200, No Keyboard Copyright 2007 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.26.0.build_07, 4096 MB memory available, Serial #66790929. Ethernet address 0:14:4f:fb:26:11, Host ID: 83fb2611 {0} ok show-devs /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /[email protected] /virtual-memory /[email protected],4000000 ... {0} ok show-disks a) /[email protected]/[email protected]/[email protected] q) NO SELECTION Enter Selection, q to quit: q {0} ok show-nets a) /[email protected]/[email protected]/[email protected] q) NO SELECTION Enter Selection, q to quit:{0} a /[email protected]/[email protected]/[email protected] has been selected. Type ^Y ( Control-Y ) to insert it in the command line. e.g. ok nvalias mydev ^Y for creating devalias mydev for /[email protected]/channel- [email protected]/[email protected] {0} ok
How to Create Your First Logical Domain 51 Sun Microsystems, Inc. Beginners Guide to LDoms — July 2007 By selecting a), we have copied the device name into the buffer and can use that to either paste on the command line as the device from which to boot, or create a device alias (devalias) that we can use again. To create the alias: Next we boot the Solaris OS. The entire process of network-installing the Solaris OS is beyond the scope of this guide. However, we will ensure that the OS boots successfully as the final step. In this example, we ask the OpenBoot PROM to boot from the newly created alias vnet0 and use the Dynamic Host Configuration Protocol (DHCP) for configuration information: Now we have created a logical domain and booted the Solaris OS. From there you can install onto the virtual disk that was prepared and run from a disk just like any other physical system. Verify the Configuration Now that we have created the domains and allocated resources, let us ensure the configuration matches the original plan. We can get the information we need from the Logical Domains Manager by running the ldm command with the appropriate subcommands and by logging into the guest domain and running Solaris OS Commands. The following table summarizes the commands to verify

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture