Storage Redirection Commands and Options

Table 6-4 Storage Redirection Commands

Command Name Description

java -jar StorageRedir.jar

The java -jar command is used to launch the storage redirection client (StorageRedir.jar) from a command window or terminal.

storageredir

The storagedir command performs all storage redirection operations.

Table 6-5 Storage Redirection Command Options

Option Name Description

- h

The -h command option displays the command-line Help information.

- v

The -v command option displays the Java command version information.

Table 6-6 Storage Redirection Sub-Commands

Sub-Command Name Description


                                    list
                                

The list sub-command provides a list of the currently active storage redirections on one or all remote SPs.

Syntax usage example:


storageredir list [-p storageredir_port] [remote_SP]


                                    start
                                

The start sub-command invokes the specified redirection between the local host and the remote host server. If the authentication password is not provided, the system will prompt for it.

Syntax usage example:


storageredir start -r redir_type -t redir_type_path -u remote_username [-s remote_user_password]
[-p storageredir_port] remote_SP

Note. You must specify a valid admin (a) or console (c) role account in Oracle ILOM to start the redirection of storage device on a remote server.


                                    stop
                                

The stop sub-command stops the specified redirection between the local host and the remote host server. If the authentication password is not provided, the system will prompt for it.

Syntax usage example:


storageredir stop -r redir_type -u remote_username
[-s remote_user_password] [-p storageredir_port] remote_SP

  

Note. You must specify a valid admin (a) or console (c) role account in Oracle ILOM to stop the redirection of a storage device on a remote server.


                                    test-service
                                

The test-service sub-command verifies whether the Storage Redirection service connection is active on the local host.

Syntax usage example:


storageredir test-service [-p storageredir_port]

stop-service

The stop-service sub-command stops the Storage Redirection service connection to the remote host server.

Syntax usage example:


storageredir stop-service [-p storageredir_port]

Table 6-7 Storage Redirection Sub-Command Options

Sub-Command Option Name Description


                                    -r
                                    redir_type
                                

The -r redir_type identifies the type of storage media being redirected.

Valid device values for redir_type include:

  • CD-ROM device Syntax: -r cdrom
  • CD-ROM image: Syntax: -r cdrom_img
  • Floppy device: Syntax: -r floppy
  • Floppy image: Syntax: -r floppy_img


                                    -t
                                    redir_type_path
                                

The -t redir_type_path identifies the full path to where the storage redirection media is stored or mounted.

Syntax usage example:


-t /home/username/JRC_Test_Images/CDROM.iso


                                    -u
                                    remote_username
                                

The -u remote_username identifies the user name required to log in to the Oracle ILOM SP.

Syntax usage example:

-u john_smith

Note.Any valid user account in Oracle ILOM can install or launch the Storage Redirection service or client on a local system. However, a valid admin (a) or console (c) role in Oracle ILOM is required to start or stop the redirection of a storage device on a remote server.


                                    -s
                                    remote_user_password
                                

The -s remote_user_password identifies the password required to log in to the Oracle ILOM SP.

Syntax usage example:

-s my_password

If this password sub-command is not specified at the command line, the system will automatically prompt you for it.


                                    -s
                                    yes/no
                                

The -s yes/no option instructs the storage redirection service to accept the server security certificate in the case that the certificate is not trusted by the storage redirection service. If this option is not specified, in the case that the certificate is not trusted, the system will automatically prompt you for it.

As of Oracle Firmware 3.2.5.3, the -syes/nooption applies when issuing the Start and Stop sub-commands.

Syntax usage examples:

-s yes

or

-s no


                                    -p
                                    storageredir_port
                                

The -p storageredir_port identifies the storage redirection communication port on the local host. The default port provided is 2121.

Syntax usage example:

-p 2121