Sun N1 Service Provisioning System 5.1 System Administration Guide

System User Interfaces

After you have started the provisioning system applications, you can access the provisioning system through three interfaces.

Browser Interface

This primary interface to the provisioning system interacts with the Master Server through the Master Server's built-in web server. The object-oriented design allows quick navigation and the ability to monitor the system without the need to reference commands. Automation is available to ease component and plan creation. Some activities can only be accomplished by using this interface, such as performing bulk move procedures.

For information about how to access the browser interface, see How to Launch the Browser Interface.

Command-Line Interface: Single-Command Mode

This CLI mode enables you to issue a single command from a shell to the Master Server. You can also use the CLI to write scripts in languages other than Jython.

For information about how to access and use the non-interactive CLI interface, see Sun N1 Service Provisioning System 5.1 Command-Line Interface Reference Manual.

Command-Line Interface: Interactive mode

This CLI mode allows you to embed CLI commands into sophisticated object-oriented scripts. The Jython Interpreter also allows you to submit multiple CLI commands to the Master Server.

For information about how to access and use the CLI Jython interface, see Sun N1 Service Provisioning System 5.1 Command-Line Interface Reference Manual.

ProcedureHow to Launch the Browser Interface

Before You Begin

The Master Server must be installed and running. For information about how to start the Master Server, see Starting the Sun N1 Service Provisioning System Applications.

Steps
  1. In a web browser, navigate to the home page of the Master Server.

    The URL for the Master Server is configured during the installation process. If you don't know the web address for your master server, consult the person who installed and configured the Sun N1 Service Provisioning System software.

    The default location is http://masterserver-hostname:8080.

  2. Type your user name and password in the appropriate fields.


    Note –

    The provisioning system is installed with an administrator account called admin. The password for this account is set during installation.

    For more information about the admin user account, see Default User Account.


  3. Click Log In.


    Tip –

    To log in without using your mouse, press the Tab key after you type the password. Then press the Return key to initiate the login process.


ProcedureHow to Launch the Single-Command Mode CLI

For information about how to access and use the single-command CLI interface, see Sun N1 Service Provisioning System 5.1 Command-Line Interface Reference Manual.

Step

    From a machine where the CLI Client application is installed, type the command you need to run.


    N1SPS-home/cli/bin/cr_cli -cmd subsystem.object.command -u user -p password
    

    For more information on command syntax and command output formats, see Chapter 1, Using the Command-Line Interface, in Sun N1 Service Provisioning System 5.1 Command-Line Interface Reference Manual.

ProcedureHow to Launch the Interactive Mode CLI

For information about how to access and use the CLI Jython interface, see the Sun N1 Service Provisioning System 5.1 Command-Line Interface Reference Manual.

Steps
  1. From a machine where the CLI Client application and Jython are installed, start the Interactive Mode CLI.


    N1SPS-home/cli/bin/cr_clij
    
  2. Include the following code at the beginning of your script.


    from clui import *
    app=PyCLUI() 
    app.execStr(CLI command) 	
    App.close()	

    Note –

    The assignment app=PyCLUI() calls the CLI. The App.close() call deletes the instance of this Jython class.