Solaris 10 flash archive Postdeployment Script


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 flash archive Postdeployment Script
# 1  
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
Login or Register to Ask a Question