JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones     Oracle Solaris Legacy Containers
search filter icon
search icon

Document Information

Preface

Part I Resource Management

1.  Introduction to Solaris 10 Resource Management

2.  Projects and Tasks (Overview)

3.  Administering Projects and Tasks

4.  Extended Accounting (Overview)

5.  Administering Extended Accounting (Tasks)

6.  Resource Controls (Overview)

7.  Administering Resource Controls (Tasks)

8.  Fair Share Scheduler (Overview)

9.  Administering the Fair Share Scheduler (Tasks)

10.  Physical Memory Control Using the Resource Capping Daemon (Overview)

11.  Administering the Resource Capping Daemon (Tasks)

12.  Resource Pools (Overview)

13.  Creating and Administering Resource Pools (Tasks)

14.  Resource Management Configuration Example

15.  Resource Control Functionality in the Solaris Management Console

Part II Zones

16.  Introduction to Solaris Zones

17.  Non-Global Zone Configuration (Overview)

18.  Planning and Configuring Non-Global Zones (Tasks)

19.  About Installing, Halting, Cloning, and Uninstalling Non-Global Zones (Overview)

20.  Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)

21.  Non-Global Zone Login (Overview)

22.  Logging In to Non-Global Zones (Tasks)

Initial Zone Boot and Zone Login Procedures (Task Map)

Performing the Initial Internal Zone Configuration

How to Log In to the Zone Console to Perform the Internal Zone Configuration

How to Use an /etc/sysidcfg File to Perform the Initial Zone Configuration

Logging In to a Zone

How to Log In to the Zone Console

How to Use Interactive Mode to Access a Zone

How to Use Non-Interactive Mode to Access a Zone

How to Exit a Non-Global Zone

How to Use Failsafe Mode to Enter a Zone

How to Use zlogin to Shut Down a Zone

Switching the Non-Global Zone to a Different Networking Service Configuration

How to Switch the Zone to the Limited Networking Service Configuration

How to Enable a Specific Service in a Zone

Printing the Name of the Current Zone

23.  Moving and Migrating Non-Global Zones (Tasks)

24.  Oracle Solaris 10 9/10: Migrating a Physical Oracle Solaris System Into a Zone (Tasks)

25.  About Packages and Patches on an Oracle Solaris System With Zones Installed (Overview)

26.  Adding and Removing Packages and Patches on an Oracle Solaris System With Zones Installed (Tasks)

27.  Oracle Solaris Zones Administration (Overview)

28.  Oracle Solaris Zones Administration (Tasks)

29.  Upgrading an Oracle Solaris 10 System That Has Installed Non-Global Zones

30.  Troubleshooting Miscellaneous Oracle Solaris Zones Problems

Part III lx Branded Zones

31.  About Branded Zones and the Linux Branded Zone

32.  Planning the lx Branded Zone Configuration (Overview)

33.  Configuring the lx Branded Zone (Tasks)

34.  About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview)

35.  Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks)

36.  Logging In to lx Branded Zones (Tasks)

37.  Moving and Migrating lx Branded Zones (Tasks)

38.  Administering and Running Applications in lx Branded Zones (Tasks)

Glossary

Index

Switching the Non-Global Zone to a Different Networking Service Configuration

This zone was installed with the open networking configuration described in Chapter 19, Managing Services (Tasks), in System Administration Guide: Basic Administration. You can switch the zone to the limited networking configuration, or enable or disable individual services in the zone.

How to Switch the Zone to the Limited Networking Service Configuration

  1. From the global zone, log in to the zone, for example, my-zone.
    global# zlogin my-zone
  2. Run the netservices command to switch the zone to the limited networking configuration.
    my-zone# /usr/sbin/netservices limited

    You will see a display similar to the following. Respond y to the prompt to restart dtlogin.

    restarting syslogd
    restarting sendmail
    dtlogin needs to be restarted. Restart now? [Y] y
    restarting dtlogin

How to Enable a Specific Service in a Zone

  1. From the global zone, log in to the zone, for example, my-zone.
    global# zlogin my-zone
  2. Run the svcadm command to enable physical memory control using the resource capping daemon.
    my-zone# svcadm enable svc:/system/rcap:default
  3. List the services to verify that rcapd is enabled.
    my-zone# svcs -a
    .
    .
    .
    online    14:04:21 svc:/system/rcap:default
    .
    .
    .