Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands Post 303040432 by gull04 on Tuesday 29th of October 2019 05:10:39 AM
Old 10-29-2019
Hi,

I see that you are trying to connect to the system through the ILOM.console connection, this is normally for mainenance/initial configuration only and all other instances you would connect to the server/host using an other method.

In most instances this would be ssh or similar protocol, assuming that you have setup the networking on the server. Connecting to the host through the console would be ok to bring the server up (although not usual) in a production environment. However it would not be the way to use the server when it's in everyday use.

Additionally forcing the ILOM to connect as the console could lead to a situation where you may not be able to use it as intended. As you are aware there are both serial and network ILOM's on these boxes and having had a look around on the Oracle site (because I've never seen anyone request to have the /HOST/console as a default condition) I can't find much on this subject.

To ensure that the host comes to the login prompt you would need to set the policy for a power cycle to the server as;
Code:
-> set /SP/policy HOST_LAST_POWER_STATE=enabled

You may also want to set the Automatic System Recovery using;
Code:
-> set /HOST/diag mode=normal
-> set /HOST/diag level=max
-> set /HOST/diag trigger=power-on-reset

An at the ok prompt set;

Code:
ok setenv auto-boot? true
ok setenv auto-boot-on-error? true
ok reset-all

This should mean that if the power is removed the system will return to it's previous state.

Regards

Gull04
These 2 Users Gave Thanks to gull04 For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

An Auto-Login "ftp" Script

We are running SCO Unix under Unixware 2.1.3 (really old!). I would appreciate if someone could show me the code of a script to automatically "ftp" one or more files to another SCO Unix computer on the nightly basis, then gracefully termninate the ftp session. Thanks for your help. (3 Replies)
Discussion started by: tphan
3 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. Shell Programming and Scripting

catalina.sh : need combination from "start" and "run"

heya, can someone help me with following problem. i am not sure how far you know the catalina.sh script from tomcat. when i start my tomcat with "catalina.sh run" then the startup-process-output will be printed out on the console, but the tomcat process is started in current shell/session, so... (1 Reply)
Discussion started by: Filly
1 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

6. UNIX for Beginners Questions & Answers

Extract delta records using with "comm" and "sort" commands combination

Hi All, I have 2 pipe delimited files viz., file_old and file_new. I'm trying to compare these 2 files, and extract all the different rows between them into a new_file. comm -3 < sort file_old < sort file_new > new_file I am getting the below error: -ksh: sort: cannot open But if I do... (7 Replies)
Discussion started by: njny
7 Replies

7. Red Hat

Can't boot RHEL7.2 due to "Start Job is Running"

Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)
Discussion started by: Lord Spectre
3 Replies

8. OS X (Apple)

Copy files between partitions with "without auto-mount" option enabled - possible?

Hello, fellow Unixers and Macers, I'll run several OS X versions each on its own dedicated partition. Partitions won't be seeing each other (by editing fstab). Question: will I be able to copy files between those partitions? Partition #1: Mavericks. Partition #2: HighSierra (2 Replies)
Discussion started by: scrutinizerix
2 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
ccr(8)							      System Manager's Manual							    ccr(8)

Name
       ccr - remote console carrier requester

Syntax
       ccr [ options ] node

Description
       The  command  establishes  a logical connection between your ULTRIX system and the console carrier server on a remote system.  enables your
       terminal to act as the console for a remote unattended system.  For example, your terminal can act as the console for  a  Digital  Ethernet
       Communications Server (DECSA) and its resident software.  The node is the name or address of the target node.  A node name consists of from
       one to six alphanumeric characters.  A node address consist of two decimal integers (n.n), where the first  indicates  the  network  number
       (1-63), and the second indicates the node address (1-1023).

       You  can  use  to  force  a  crash if a server node becomes unresponsive.  To determine how to force a crash, see the documentation for the
       respective server product.

       The requirements for using are as follows:

       o   The host node (that is, your local ULTRIX node) and the remote node must be on the same Ethernet.

       o   If your server product is a DECSA, the console carrier server image (plutocc.sys) and its loader file (plutowl.sys) must be located	in
	   on  your  ULTRIX node. The pluocc.sys and plutowl.sys files are not need, nor is any loading done for other servers.  For more details,
	   see the installation guide for the particular server product.

       <CTRL/D> exits from console carrier mode and terminates

Options
       -c   Uses the specified circuit to connect to the target node.

       -h   Uses the specified address (next argument) as the Ethernet address of the target node.

       -n   Uses the next argument as the target node ID.

       -p   Uses the specified service password (next arguments) in accessing the target node.

Examples
       # /etc/ccr -c qna-0 -n dallas <RET>
       ccr: Remote console reserved
	    .
	    .
	    .
       <CTRL/D>
       ccr: Remote console released
       #

Restrictions
       You must have superuser privileges to run

Diagnostics
       The command can return the following diagnostic messages:

       ccr: Remote console reserved
       The command has successfully connected to the remote console server and your terminal is now capable of acting as a console for the  remote
       node.

       ccr: Remote console released
       Your connection with the remote console server has been terminated and you are no longer in console carrier mode.

       ccr: Remote console already in use
       The remote console server that you are attempting to connect to is already reserved by another user.

       ccr: Permission denied
       You do not have the necessary privileges to run (You must be a superuser.)

       ccr: Hardware address required
       The  command  is unable to locate the hardware address of the remote node to which you are attempting to connect.  A remote node's hardware
       address must be defined either in the command line, or in its nodes database entry.  (Nodes database entries are defined with the command.)

       ccr: No node entry in database
       The command does not recognize the remote node to which you are attempting to connect, since the node-id that you specified is not  defined
       in the nodes database.  (Nodes database entries are defined with the command.)

Files
       Console carrier server image

       Console carrier server loader

See Also
       addnode(8), getnode(8), load(8), remnode(8), trigger(8)
       Guide to Local Transport Servers

																	    ccr(8)
All times are GMT -4. The time now is 01:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy