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
SYSTEMD-GETTY-GENERATOR(8)				      systemd-getty-generator					SYSTEMD-GETTY-GENERATOR(8)

NAME
systemd-getty-generator - Generator for enabling getty instances on the console SYNOPSIS
/lib/systemd/system-generators/systemd-getty-generator DESCRIPTION
systemd-getty-generator is a generator that automatically instantiates serial-getty@.service on the kernel console(s), if they can function as ttys and are not provided by the virtual console subsystem. It will also instantiate serial-getty@.service instances for virtualizer consoles, if execution in a virtualized environment is detected. If execution in a container environment is detected, it will instead enable console-getty.service for /dev/console, and container-getty@.service instances for additional container pseudo TTYs as requested by the container manager (see Container Interface[1]). This should ensure that the user is shown a login prompt at the right place, regardless of which environment the system is started in. For example, it is sufficient to redirect the kernel console with a kernel command line argument such as console= to get both kernel messages and a getty prompt on a serial TTY. See kernel-parameters.txt[2] for more information on the console= kernel parameter. systemd-getty-generator implements systemd.generator(7). Further information about configuration of gettys can be found in systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)[3]. SEE ALSO
systemd(1), agetty(8) NOTES
1. Container Interface https://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ 2. kernel-parameters.txt https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt 3. systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere) http://0pointer.de/blog/projects/serial-console.html systemd 237 SYSTEMD-GETTY-GENERATOR(8)
All times are GMT -4. The time now is 04:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy