Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Reference


5.7.1 Initial OS settings (Linux)

Function

"For the OS (Linux) of the virtual server, set the host name, time zone, and DNS suffix.

To use this service template, the following server is required:

- Execution-target server

A virtual server on which the plug-in is executed to specify the OS initial settings.

Specifiable time zones are as follows:

America/Adak

America/Anchorage

America/Boise

America/Chicago

America/Denver

America/Detroit

America/Indiana/Indianapolis

America/Indiana/Knox

America/Indiana/Marengo

America/Indiana/Petersburg

America/Indiana/Tell_City

America/Indiana/Vevay

America/Indiana/Vincennes

America/Indiana/Winamac

America/Juneau

America/Kentucky/Monticello

America/Los_Angeles

America/LouisVille

America/Menominee

America/Monterrey

America/Montevideo

America/New_York

America/Nome

America/North_Dakota/Beulah

America/North_Dakota/Center

America/North_Dakota/New_Salem

America/Phoenix

America/Shiprock

America/Tijuana

America/Vancouver

America/Yakutat

Asia/Chongqing

Asia/Hong_Kong

Asia/Kolkata

Asia/Macau

Asia/Shanghai

Asia/Singapore

Asia/Tokyo

Etc/UTC

Europe/London

Pacific/Honolulu

If no time zone is specified, the currently set time zone is used."

Use situation

This plug-in can be used to set the host name, time zone, and DNS suffix for an OS.

Prerequisites

For the most recent information about the prerequisite products for the system and the supported OSs for the prerequisite products for the execution-target server, see the Release Notes.

Prerequisite products for the system:

JP1/Automatic Operation 11-00 or later

Supported OSs for the prerequisite products for the execution-target server:

- Red Hat Enterprise Linux Server 6 (32-bit x86) or Red Hat Enterprise Linux Server 6 (64-bit x86_64)

- Red Hat Enterprise Linux Server 7 (64-bit x86_64)

- CentOS 6 (64-bit x86_64)

- CentOS 7 (64-bit x86_64)

Conditions for using the execution-target server:

None.

Cautions

(1) If the OS of the execution-target server is Red Hat Enterprise Linux 5, you might be unable to set America, North_Dakota, or Beulah for the time zone. Before setting America, North_Dakota, or Beulah for the time zone, check whether they can be set for the OS of the execution-target server.

Version

02.00.00

Plug-in tags

Configure OS,Linux

Plug-in name displayed in the task log

osSetLinuxInfo

Return code

0: Normal

27: Error (Check with the task log about the error detail) Unidentified error

41: Error (An error has been detected in the component) Property not entered (An error has been detected in the component script)

Property list

The following table lists the properties:

Property key

Property name

Description

Default value

I/O type

Required

plugin.destinationHost

Host name of the target server

Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported.

--

Input

R

common.computerName

Host name

Specify the host name used by the operating system.

--

Input

R

OS.timeZone

Time zone

Specify the time zone for OS on virtual server.

--

Input

O

OS.dnsSuffix

DNS suffix

Specify the DNS suffix of the virtual server.

--

Input

O

common.returnValue

Return value for the plugin

The return value of this plugin stored.

--

Output

O