Tuesday, September 11, 2012

Solaris-Remote-RSC-setup-v890

SUN ships the 890s with the rsc disabled.  The easiest way to set it up is
with "rscadm".  To make sure the RSC software is installed:

    cd /local/RSC/
        pkgadd -G -d . SUNWrsc
        pkgadd -G -d . SUNWrscd
        pkgadd -G -d . SUNWrscj

# pkginfo | grep rsc
system      SUNWrsc                          Remote System Control
system      SUNWrscd                         Remote System Control User Guide
system      SUNWrscj                         Remote System Control GUI

Porcedure - I
    To enable the rsc: 
        # pwd
        /usr/platform/SUNW,Sun-Fire-V890/rsc
        # ./rscadm useradd admin
        # ./rscadm userperm admin cuar
        # ./rscadm userpassword admin
            and set a password

        Set the network console's network parameters:
        # ./rscadm set ip_mode config
        # ./rscadm set ip_addr xx.xx.xx.xx
        # ./rscadm set ip_netmask xx.xx.xx.xx
        # ./rscadm set ip_gateway xx.xx.xx.xx
        # ./rscadm set hostname hostname
        # ./rscadm date 113011402005.00
        # ./rscadm set escape_char # .  (note: it is # space .)
        # ./rscadm resetrsc

Porcedure - II
    OR USE rsc-config script to configure above setting--
    Log in as root and run the command:
        #/usr/platform/SUNW,Sun-Fire-880/rsc/rsc-config.
        bash-3.00# /usr/platform/SUNW,Sun-Fire-880/rsc/rsc-config

                Continue with RSC setup (y|n): y

                Set RSC date/time now (y|n|?) [y]:
                Server Hostname [torzone01]:
                Edit customer info field (y|n|?) [n]:
                Enable RSC Ethernet Interface (y|n|s|?) [n]: y
                   RSC IP Mode (config|dhcp|?) [dhcp]: config
                   RSC IP Address []: 10.1.5.34
                   RSC IP Netmask [255.255.255.0]: 255.255.0.0
                   RSC IP Gateway []: 10.1.32.167
                Enable RSC Alerts (y|n|s|?) [n]:
                Enable RSC Serial Port Interface (y|n|s|?) [n]: y
                   Serial port baud rate (9600|19200|38400|57600|115200) [9600]:
                   Serial port data bits (7|8) [8]:
                   Serial port parity (even|odd|none) [none]:
                   Serial port stop bits (1|2) [1]:
                Setup RSC User Account (y|n|?) [y]:
                   Username []: admin
                   User Permissions (c,u,a,r|none|?) [cuar]:

                --------------------
                Verifying Selections
                --------------------
               
                  Is this correct (y|n): y

                This script will now update RSC, continue? (y|n): y
                Updating flash, this takes a few minutes
                ........................................
                ........................................
                ...........................
                Download completed successfully

                Resetting RSC (takes about 90 seconds): DONE
                Setting up server to update RSC date on boot: DONE
                Setting up server hostname: DONE
                Setting up ethernet interface: DONE
                Disabling RSC alert engine: DONE
                Disabling modem interface: DONE
                Setting up serial port interface: DONE
                Adding user to RSC:

                A valid password is between 6 and 8 characters, has at least
                two alphabetic characters, and at least one numeric or special
                character.  The password must differ from the user's login name
                and any reverse or circular shift of that login name.
                Setting User Password Now ...

                Password:
                Re-enter Password:
                User has been added to RSC
                Resetting RSC (takes about 90 seconds):
                Are you sure you want to reboot RSC (y/n)?  y

                DONE
                Setting up RSC date: DONE

                *******************************
                RSC has been successfully setup
                *******************************


STEPS to redirecting console to RSC---

Access the system from physical console to get OK prompt :
    -Type the following commands at the system ok prompt:
        ok diag-console rsc
        ok setenv input-device rsc-console
        ok setenv output-device rsc-console
        ok reset-all
The system permanently stores the new settings. The changes will take effect after the next reset.

No comments: