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
schemagen(1)						      General Commands Manual						      schemagen(1)

NAME
schemagen - Java(TM) Architecture for XML Binding Schema Generator Specification Version: 2.0 Reference Implementation (RI) Version: 2.0 ea3 Launching schemagen The schema generator can be launched using the appropriate schemagen shell script in the bin directory for your platform. The current schema generator can process either Java source files or class files. We also provide an Ant task to run the schema generator - see the instructions for using schemagen with Ant. For Solaris/Linux % path/to/jaxb/bin/schemagen.sh Foo.java Bar.java ... Note: Writing schema1.xsd For WindowsNT/2000/XP > path ojaxbinschemagen.bat Foo.java Bar.java ... Note: Writing schema1.xsd If your java sources/classes reference other classes, they must be accessable on your system CLASSPATH environment variable, or they need to be given to the tool by using the -classpath/-cp options. Otherwise you will see errors when generating your schema. Command Line Options Usage: schemagen [-options ...] <java files> Options: -d <path> : Specify where to place processor and javac generated class files -cp <path> : Specify where to find user specified files -classpath <path> : Specify where to find user specified files -help : Display this usage message Generated Resource Files The current schema generator simply creates a schema file for each namespace referenced in your Java classes. There is no way to control the name of the generated schema files at this time. For that purpose, use the schema generator ant task. See Also o JAXB 2.0: * Release Notes @ http://java.sun.com/webservices/docs/2.0/jaxb/ReleaseNotes.html * XJC @ http://java.sun.com/webservices/docs/2.0/jaxb/xjc.html * XJCTask @ http://java.sun.com/webservices/docs/2.0/jaxb/xjcTask.html * SchemaGen @ http://java.sun.com/webservices/docs/2.0/jaxb/schemagen.html * schemagenTask @ http://java.sun.com/webservices/docs/2.0/jaxb/schemagenTask.html * Sample Apps @ http://java.sun.com/webservices/docs/2.0/jaxb/samples.html * Changelog @ http://java.sun.com/webservices/docs/2.0/jaxb/changelog2.html o JAXB 1.0.x: * Release Notes @ http://java.sun.com/webservices/docs/2.0/jaxb/jaxb-1_0.html * Changelog @ http://java.sun.com/webservices/docs/2.0/jaxb/changelog.html o JAXB RI Extensions: * Runtime Properties @ http://java.sun.com/webservices/docs/2.0/jaxb/vendorProperties.html * XJC Customizations @ http://java.sun.com/webservices/docs/2.0/jaxb/vendorCustomizations.html * Develop Plugins @ http://java.sun.com/webservices/docs/2.0/jaxb/developPlugins.html o JAXB RI Schema Languages: * W3C XML Schema @ http://java.sun.com/webservices/docs/2.0/jaxb/vendorSchemaLangs.html#xschema * RELAX NG @ http://java.sun.com/webservices/docs/2.0/jaxb/vendorSchemaLangs.html#relaxng * DTD @ http://java.sun.com/webservices/docs/2.0/jaxb/vendorSchemaLangs.html#dtd o JAXB Community: * Java.net Homepage @ http://jaxb.dev.java.net * Developer interest list @ https://jaxb.dev.java.net/servlets/ProjectMailingListList * FAQ @ https://jaxb.dev.java.net/faq/index.html 07 Aug 2006 schemagen(1)
All times are GMT -4. The time now is 03:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy