mkts Command

Purpose

Makes a thin server.

Syntax

mkts -i ipaddress -m subnetmask -g gateway [-s speed] [-d duplex] -c cosi [-p size] [-H | -h] [-t] [-l] [-v] [-D] thinserver

Description

The mkts command creates a thin server so that it can use the common image created with the mkcosi command. When a thin server is created, several directories are also created for the thin server to mount and use, including /root, /dump, /home, /tmp, /shared_home, and /paging. If you specify the -l flag when creating a thin server, the resulting thin server is a diskless client. That is, all resources are created on the server that calls the mkts command, except for the /root directory, which is created on the server storing the common image. However, if you do not specify the -l flag, the thin server is a dataless client. In this case, only the /root directory is created on the server storing the common image; all other directories are created locally on the thin server. If necessary, the 512 MB default size used for the paging can be changed by specifying a size value with the -p flag.

Flags

Item Description
-c cosi Specifies the common image for the thin server to obtain its operating system, which is required for the thin server to start up and run.
-d duplex Specifies the duplex setting (optional). Use this setting to configure the client's network interface. This value can be full or half.
-D Creates an iSCSI dump device in the Common Operating System Image (COSI) of the thin server. The name of the dump device is dump_cosi_name. In order to allow the sysdumpdev command to correctly set this new iSCSI dump device on the thin server, the thin server must boot in iSCSI mode from the COSI of the thin server.
-g gateway Specifies the thin server gateway.
-h Defines or uses home resource. The home resource is a network installation management (NIM) home resource. It is a directory that is created on a NIM master or any NIM resource server. The directory is exported to the thin server to be mounted and used. It is basically the thin server's /home directory.
-H Defines or uses shared_home resource. The shared_home resource is a network installation management (NIM) resource. It is a directory that is shared among all thin servers. The directory is exported and mounted on the clients from the NIM master.
-i ipaddress Specifies a thin server IP address or host name.
-l Specifies whether local resources are used when configuring the thin server. If you specify this flag, all resources are created remotely from the thin server. If you do not specify this flag, only the /root resource is created remotely from the thin server, and all other resources are created locally on the thin server.
-m subnetmask Specifies the thin server subnet mask.
-p size Specifies the size (in megabytes) of the paging space for the thin server. The minimum size is 64 MB of paging space. The default size is 512 MB of the paging space. If you specify the size less than 64 MB, 512 MB is used.
-s speed Specifies speed setting (optional). This is the communication speed to use when configuring the client's network interface. This value can be 10, 100, or 1000.
-t Defines or uses the TMP resource.
-v Enables verbose debug output when the mkts command runs.

Exit Status

Item Description
0 The command completed successfully.
>0 An error occurred.

Security

Access Control: You must have root authority to run the mkts command.

Examples

  1. To define a thin server called lobo and have it use a common image called cosi1 for its operating system with an IP address of 9.3.6.234, a subnet mask of 255.255.255.0, and a gateway of 9.3.6.1, enter:
    mkts -i 9.3.6.234 -m 255.255.255.0 -g 9.3.6.1 -c cosi1 lobo

Location

/usr/sbin/mkts

Files

Item Description
/etc/niminfo Contains variables used by NIM.