Sun N1 System Manager 1.3 Grid Engine Provisioning and Monitoring Guide

Creating and Managing N1 Grid Engine Versions

This section describes the various commands that you use to do the following tasks:

What is an N1GE Version?

The term N1GE version specifically means the combination of an N1GE OS-specific tar.gz file and the n1ge-6_0u4–common.tar.gz file. For example, you would want to have separate N1GE versions for Solaris, Linux, and MS-Windows specific servers. The following table lists some of the OS-specific N1GE versions available from the Sun Download Center (SDLC). The versions in this table are the ones supported by N1SM. N1GE versions for other operating systems are also available and may function with N1SM but they are not officially supported.

N1GE Platform-Specific File

Platform

Solaris_sparc/tar/n1ge-6_0u4-bin-solaris.tar.gz

Solaris (SPARC platform) 32-bit binaries for Solaris 7, Solaris 8, and Solaris 9 Operating Systems. Note that N1SM does not support Solaris 7 and Solaris 8. 

Solaris_sparc/tar/n1ge-6_0u4-bin-solaris-sparcv9.tar.gz

Solaris (SPARC platform) 64-bit binaries for Solaris 7, Solaris 8, and Solaris 9 Operating Systems. Note that N1SM does not support Solaris 7 and Solaris 8. 

Solaris_x86/tar/n1ge-6_0u4-bin-solaris-i586.tar.gz

Solaris (x86 platform) binaries for Solaris 8, and Solaris 9 Operating Systems 

Solaris_x64/tar/n1ge-6_0u4-bin-solaris-x64.tar.gz

Solaris (x64 platform) 64-bit binaries for Solaris 10 

Windows/tar/n1ge-6_0u4-bin-win32-x86.tar.gz

Microsoft Windows (x86 platform 32-bit binaries for Windows 2000, XP and Windows Server 2003. Note that N1SM does not support Windows 2000. 

Linux24_i586/tar/n1ge-6_0u4-bin-linux24-i586.tar.gz

Linux (x86 platform) binaries for the 2.4 kernel 

Linux24_amd64/tar/n1ge-6_0u4-bin-linux24-amd64.tar.gz

Linux (AMD platform) binaries for the 2.4 kernel 

You must copy an OS-specific N1GE tar file for each OS you plan to support as well as the n1ge-6_0u4–common.tar.gz file.


Note –

The N1GE module can only use file in the tar.gz format.


ProcedureTo Download the N1 Grid Engine Software Onto a Management Server

Before you can create an N1GE version, you must make the N1GE application files accessible to the management server that you will use provision the version out to managed servers. The previous table lists the available tar files.

Step

    Copy the desired tar files from the source location onto your N1SM management server.

ProcedureTo Create an N1GE Version

Before You Begin

Once you have the N1GE tar files available on your management server, you can use them to create an N1SM N1GE version.

Steps
  1. Access the N1SM CLI (see Accessing the N1SM CLI).

  2. You create versions of N1 Grid Engine software using the create application command. The syntax for this command is:


    create application application file [file, file...] type GridEngine
    application

    A unique name for the N1GE version. For example, N1GE6_U4

    file

    A fully qualified path to the N1GE file to be copied. You can specify *.tar.gz installation files for the N1GE application, and each N1GE application requires the n1ge-6_0u4–common.tar.gz file.

    type

    The type of application; in this case, GridEngine.


    Note –

    Unlike the behavior for OS profiles, a default application profile is not automatically created when you copy an N1GE to the N1 System Manager. You must create this profile yourself using the create applicationprofile command.



Example 2–1 Create an N1 Grid Engine Version

If your grid consists of Solaris 9 SPARC hosts , then you must include in the version these files:


N1-ok>create application N1GE6_U4 file Solaris_sparc/tar/n1ge-6_0u4-bin-solaris.tar.gz,n1ge-6_0u4–n1ge-6_0u4–common.tar.gz type GridEngine

ProcedureTo View Available N1GE Versions

You use the show application command to list all the available N1GE versions or detailed information about a specific version like the file list.

Steps
  1. Access the N1SM CLI (see Accessing the N1SM CLI).

  2. To list all the available N1GE versions use this command:


    show application all type GridEngine
  3. To list detailed information about a specific N1GE version use this command:


    show application application type GridEngine
    all

    List all the available N1GE versions.

    application

    The name of an N1GE versions.

    type

    The type of application; in this case, GridEngine.


Example 2–2 Show N1GE Versions


N1-ok>show application all type GridEngine

N1-ok>show application N1GE6_U4 type GridEngine

ProcedureTo Delete an N1GE Version

Before You Begin

You cannot delete an N1GE version if it is currently deployed on a server. To undeploy it, use the unload groupor unload server commands to remove the application profile first.


unload group group applicationprofile applicationprofile type GridEngine

unload server server applicationprofile applicationprofile type GridEngine
Steps
  1. Access the N1SM CLI (see Accessing the N1SM CLI).

  2. If you want to delete an N1GE version from N1 System Manager, use this command.


    delete application application type GridEngine
    application

    The name of the N1GE version that you specified with the .Create Application command.

    type

    The type of application that the profile belongs to; in this case, GridEngine.


Example 2–3 Delete N1GE Version


N1-ok>delete application N1GE6_U4 type GridEngine

What's Next?

After you create an N1GE version, you must create an application profile and associate it with a particular version before your can provision the version to servers. The next section describes how to do this task.