Sponsored Content
Operating Systems Solaris Solaris 10 flash archive Postdeployment Script Post 302096807 by kungpow on Sunday 19th of November 2006 02:55:42 AM
Old 11-19-2006
Solaris 10 flash archive Postdeployment Script

http://docs.sun.com/app/docs/doc/819...7rcfdn1?a=view

-------------------------------------------------
To Create a Reboot Script
This script is kept in the archive and runs after the system is rebooted. The script does any final configuration after system reconfiguration.

After you install the Solaris Flash archive on a clone system, some host-specific files are deleted and are re-created for the clone machine. The installation program uses the sys-unconfig(1M) command and the sysidtool(1M) programs to delete and re-create host-specific network configuration files. The files that are re-created include, for example, /etc/hosts, /etc/defaultrouter, and /etc/defaultdomain. You can use the reboot script for any final reconfiguration.

Create the reboot script.

Store the script in the /etc/flash/reboot directory.

Example 3-5 Creating a reboot Script
#!/bin/sh
$FLASH_DIR/TestApplication/finalize_license
---------------------------------------------------

Quote:
This script is kept in the archive
What do they mean by the script is kept in the archive? Do they mean that I create the script in /etc/flash/reboot directory before using the "flarcreate" command to create the arhicve? If not, where do I create the script and how is it called?

Or do they mean that the script is kept in the flash arhive directory where your flash archive is? But how is the script invoked?
 

8 More Discussions You Might Find Interesting

1. Solaris

things to include in a flash archive

I am making a flash archive to use as a base to lay down on all incoming servers. I am wondering about Sun Explorer and Sun CST. Is it ok to install these (but not configure them) on my source machine and create the archive? Im just not sure if it would cause problems down the line, like... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

2. UNIX for Dummies Questions & Answers

Flash Archive Retrival Method

Need a little help figuring out how to restore a .flar image using the Flash Archive Retrival Method. I am using Solaris 8 on a Sun V240. I boot the system using the Solaris 8 disk 1of2 and provide the necessary information asked. When the screen gets to the Flash Archive Retrival Method screen... (2 Replies)
Discussion started by: Kevin1166
2 Replies

3. Solaris

Solaris 8 using Flash Archive for Disaster Recovery

Hello everyone I am Kevin and new to this forum. I have encounter an issue I can't seem to resolve. I am currently using Solaris 8 02/04 on Sun V240 servers. I know how to create a flar image of the server and restore it using NFS (network server) or Local Tape (tape drive). What I need to do... (2 Replies)
Discussion started by: Kevin1166
2 Replies

4. Solaris

creat flash archive

I want take a flash backup by flar command for specific files like: / , /boot, /tmp I am trying this command but its not working # flar -n archive1 -f /,/boot,/tmp -F -c /home/arc1.flar Please can any body help me __.____._ (2 Replies)
Discussion started by: kmuqalled
2 Replies

5. Solaris

difference between flash archive and jumpstart

Hi, Can anyone explains me the difference between solaris flash archive and jumpstart installation. Both are used to install many systems frm a centralized location , correct me if am wrong,. Clear view on this is really appreciable. Thanks in advance (3 Replies)
Discussion started by: rogerben
3 Replies

6. Solaris

Flash archive with VxVM

I'm writing a design doc and I got this feedback. "Apparently flash archives have issues with VXVM root F/S's - May also impact licensing for “kick” systems. SVM may be more sensible / flexible option" The VxVM will be use global zones. i intend on using flash archives of solaris 8/9... (3 Replies)
Discussion started by: frustin
3 Replies

7. Solaris

What is being backup using Flash Archive on Solaris 10 x86?

:)Hi Solaris Specialists, I need to carry out a disaster recovery backup using Solaris 10 x86 Flash Archive (flarcreate - http://docs.oracle.com/cd/E18752_01/html/821-1912/flashoverview-2.html) on a critical productin server where maintenance downtime is reduced to a minimal. Only 2 filesystems... (5 Replies)
Discussion started by: gjackson123
5 Replies

8. Solaris

Solaris 10 luupgrade flash archive file system creation failed

Hey guys, I'm attempting to migrate us to a new box. First problem I had was the change in architecture going from sun4u to sun4v, we have a Sun M5000 and are moving to a Fujitsu M10-4. I figured out how to make the flash archive work between architectures. Now I appear to be running into an... (2 Replies)
Discussion started by: kaledragule
2 Replies
REBOOT(8)						      System Manager's Manual							 REBOOT(8)

NAME
reboot - reboot the system immediately SYNOPSIS
reboot [-f] DESCRIPTION
Reboot can be used to reboot the system after installing a new kernel. It does not inform the users, but does log it's actions in /usr/adm/wtmp and /usr/adm/authlog. The system is then rebooted with the reboot(2) systemcall. If the -f flag is not given then all processes are sent terminate signals to give them a chance to die peacefully before the reboot() call. If the wtmp file exists, reboot logs itself as if it were a shutdown. This is done to prevent last(1) from talking about system-crashes. Reboot is registered as is in the authlog file. Reboot can only be executed by the super-user. Any other caller will be refused, either by reboot(8) or by reboot(2). SEE ALSO
reboot(2), shutdown(8), halt(8), boot(8). BUGS
The error message's given by reboot are not always useful. There are several routines that can fail, but which are not fatal for the pro- gram. AUTHOR
Edvard Tuinder (v892231@si.hhs.NL) REBOOT(8)
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy