Google

Monday, September 11, 2006

 

How to create Solaris FLAR Archive

Pre-Requisites

There are a number of key pre-requisites to do this process:

1) Disk space must be available to hold the image(s), and store it/them for a period of time if required.

2) The server to be imaged must be brought to a controlled halt. This means all the applications must be shut down correctly, databases shut down, and any extraneous server processes halted. This is to ensure that the image can be restored in a controlled manner. If any processes (incl' apps and db) are left running when the image is taken, then bring the server back to operational status after restoring the image will be very problematic.

Create Flash Archive

A flash archive is created using the flarcreate command.

1.Ensure all pre-requisites are completed (see above). DO NOT PROCEED until they are completed.

2.Delete obsolete application log files to reduce the size of the flash
Some application log files can be several Gb in size and are often obsolete, so deleting these can reduce the flash size significantly and subsequently the restore time.

3.Double check that all applications have been shutdown successfully.

4.Ensure there is sufficient free disk space to hold the Flash Archive. If necessary, create a directory in a filesystem with ample space free .

# mkdir /flash

5.Then create the flash archive using the flarcreate command:
The flarcreate command is used with the switches listed below.

-n allows you to specify an internal name
-R specify the root directory (i.e. Creates the archive rooted at the specified file system tree location)
-S skip the disk space check (without this option flarcreate builds a compressed archive in memory first)
-c compresses the archive
-x excludes the file or directory specified (as a default the network configuration files need to be excluded because they interfere with jumpstart)

Examples
# flarcreate -S -n "server-type-flash" -R / -c -x /flash /flash/`hostname`-flash
# flarcreate -n "210-flash" -R / -S -c -x /flash -x /platform/sun4u/kernel/drv/bge.conf /flash/`hostname`-flash
# flarcreate -n "480R-flash" -R / -S -c -x /flash -x /platform/sun4u/kernel/drv/ce.conf /flash/`hostname`-flash

This will take between 1 and 4 hours depending on what the server does and on the platform.

6. Copy the flash to the relevant Jumpstart server with the following command:

7.Set the attributes of the flash archive files to Read-Only, to reduce the possibility that it could be accidentally overwritten or deleted. In addition, change the ownership of the flash archive to Root (so that it cannot be changed by anyone without proper authorised access).

Google

Saturday, September 09, 2006

 

useful Windows Shortcuts

Useful Shortcut:
• Start + M: Minimizes all open windows
• Start + Shift + M: Maximizes All Windows
• Start + E: Runs Windows Explorer
• Start + R: Open the RUN Dialog Box
• Start + F: Open the Search Results Dialog box
• Start + CTRL + F: Opens the Search Results-Computer dialog Box (if the computer is connected to a network)
• Start + Pause (Break): Opens the System Properties Dialog Box


Windows System Key Combinations:
o F1: Help
o CTRL + ESC: Open Start menu
o ALT + TAB: Switch between open programs
o ALT + F4: Quit program
o SHIFT + DELETE: Delete item permanently


Windows Program Key Combinations:
 CTRL + C: Copy
 CTRL + X: Cut
 CTRL + V: Paste
 CTRL + Z: Undo
 CTRL + B: Bold
 CTRL + U: Underline
 CTRL + I: Italic


Mouse Click/Keyboard Modifier Combinations for Shell Objects:
 SHIFT + right click: Displays a shortcut menu containing alternative commands
 SHIFT + double click: Runs the alternate default command (the second item on the menu)
 ALT + double click: Displays properties
 SHIFT + DELETE: Deletes an item immediately without placing it in the Recycle Bin


General Keyboard-Only Commands:
 F1: Starts Windows Help
 F10: Activates menu bar options
 SHIFT + F10: Opens a shortcut menu for the selected item (this is the same as right-clicking an object
 CTRL + ESC: Opens the Start menu (use the ARROW keys to select an item)
 CTRL + ESC or ESC: Selects the Start button (press TAB to select the taskbar, or press SHIFT+F10 for a context menu)
 ALT + DOWN ARROW: Opens a drop-down list box
 ALT + TAB: Switch to another running program (hold down the ALT key and then press the TAB key to view the task-switching window)
 SHIFT: Press and hold down the SHIFT key while you insert a CD-ROM to bypass the automatic-run feature
 ALT + SPACE: Displays the main window's System menu (from the System menu, you can restore, move, resize, minimize, maximize, or close the window)
 ALT +- (ALT + hyphen): Displays the Multiple Document Interface (MDI)child window's System menu (from the MDI child window's System menu, you can restore, move, resize, minimize, maximize, or close the child window)
 CTRL + TAB: Switch to the next child window of a Multiple Document Interface (MDI) program
 ALT + underlined letter in menu: Opens the menu
 ALT + F4: Closes the current window
 CTRL + F4: Closes the current Multiple Document Interface (MDI) window
 ALT + F6: Switch between multiple windows in the same program (for example, when the Notepad Find dialog box is displayed
 ALT + F6: switches between the Find dialog box and the main Notepad window)


Shell Objects and General Folder/Windows Explorer Shortcuts For a selected object:
 F2: Rename object
 F3: Find all files
 CTRL + X: Cut
 CTRL + C: Copy
 CTRL + V: Paste
 SHIFT + DELETE: Delete selection immediately, without moving the item to the Recycle Bin
 ALT + ENTER: Open the properties for the selected object
 To Copy a File: Press and hold down the CTRL key while you drag the file to another folder.
 To Create a Shortcut: Press and hold down CTRL+SHIFT while you drag a file to the desktop or a folder.


General Folder/Shortcut Control:
 F4: Selects the Go To A Different Folder box and moves down the entries in the box (if the toolbar is active in Windows Explorer)
 F5: Refreshes the current window.
 F6: Moves among panes in Windows Explorer
 CTRL + G: Opens the Go To Folder tool (in Windows 95 Windows Explorer only)
 CTRL + Z: Undo the last command
 CTRL + A: Select all the items in the current window
 BACKSPACE: Switch to the parent folder
 SHIFT + click + Close button: For folders, close the current folder plus all parent folders


Windows Explorer Tree Control:
 Numeric Keypad *: Expands everything under the current selection
 Numeric Keypad +: Expands the current selection
Numeric Keypad -: Collapses the current selection.
 RIGHT ARROW: Expands the current selection if it is not expanded, otherwise goes to the first child
 LEFT ARROW: Collapses the current selection if it is expanded, otherwise goes to the parent


Properties Control:
 CTRL + TAB/CTRL + SHIFT + TAB: Move through the property tabs


Accessibility Shortcuts:
• Press SHIFT five times: Toggles StickyKeys on and off
• Press down and hold the right SHIFT key for eight seconds: Toggles FilterKeys on and off
• Press down and hold the NUM LOCK key for five seconds: Toggles ToggleKeys on and off
• Left ALT + left SHIFT+NUM LOCK: Toggles MouseKeys on and off
• Left ALT + left SHIFT+PRINT SCREEN: Toggles high contrast on and off


Microsoft Natural Keyboard Keys:
o Windows Logo: Start menu
o Windows Logo + R: Run dialog box
o Windows Logo + M: Minimize all
o SHIFT + Windows Logo+M: Undo minimize all
o Windows Logo + F1: Help
o Windows Logo + E: Windows Explorer
o Windows Logo + F: Find files or folders
o Windows Logo + D: Minimizes all open windows and displays the desktop
o CTRL + Windows Logo + F: Find computer
o CTRL + Windows Logo + TAB: Moves focus from Start, to the Quick Launch toolbar, to the system tray (use RIGHT ARROW or LEFT ARROW to move focus to items on the Quick Launch toolbar and the system tray)
o Windows Logo + TAB: Cycle through taskbar buttons
o Windows Logo + Break: System Properties dialog box
o Application key: Displays a shortcut menu for the selected item


Microsoft Natural Keyboard with IntelliType Software Installed:
 Windows Logo + L: Log off Windows
 Windows Logo + P: Starts Print Manager
 Windows Logo + C: Opens Control Panel
 Windows Logo + V: Starts Clipboard
 Windows Logo + K: Opens Keyboard Properties dialog box
 Windows Logo + I: Opens Mouse Properties dialog box
 Windows Logo + A: Starts Accessibility Options (if installed)
 Windows Logo + SPACEBAR: Displays the list of Microsoft IntelliType shortcut keys
 Windows Logo + S: Toggles CAPS LOCK on and off


Dialog Box Keyboard Commands:
 TAB: Move to the next control in the dialog box
 SHIFT + TAB: Move to the previous control in the dialog box
 SPACEBAR: If the current control is a button, this clicks the button. If the current control is a check box, this toggles the check box. If the current control is an option, this selects the option.
 ENTER: Equivalent to clicking the selected button (the button with the outline)
 ESC: Equivalent to clicking the Cancel button
 ALT + underlined letter in dialog box item: Move to the corresponding item
http://www.microsoft.com/athome/moredone/compshortcuts.mspx

This page is powered by Blogger. Isn't yours?