Home
OSVault User Manual - Open Source Storage
Contents
1. e Intel Pentium 4 processor single processor is acceptable dual CPU configurations have also been tested e 1GByte of RAM memory more memory is acceptable e Two ATA or SATA disk drives with at least 500GBytes of storage on each disk e Adaptec 79xx 29160 or 39160 SCSI Host Bus Adapter HBA or LSI Logic SCSI Host Bus Adapter HBA e A LINUX Fedora support Gigabit Ethernet Interfaces Expected system performance is somewhat dependant on the hardware used in the appliance For example a properly configured Pentium 4 system with 10 000RPM SATA disk drives connected to a Gigabit Ethernet switch should be able to read and write data in cache at around 40Mbytes per second The limiting factor is the throughput to the hard disk drive in the cache not the network connection the memory or the CPU Adding or trunking a second gigabit ethernet link to the appliance will not increase performance since the magnetic disk is still the limiting factor Using a RAID 0 configuration on two or more disks for the cache can increase performance substantially and the appliance will 10 25 2006 be able to move around 75Mbytes per second through a single Gigabit Ethernet link to a single client system The type of data moved over the network can also impact performance The megabyte per second numbers given previously assumes that large files are transferred sequentially into or out of the cache If a number of small files are transferred thr
2. A new concept in storage management Storage Inc OSVault User Manual First Edition OSVault Users Manual First Edition Copyright 2005 2006 Timothy Scott Sesow This documentation is free literature you can redistribute it and or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License or at your option any later version This documentation is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for more details 1 ADOUTOS Vault a a coz sda a ogedbbe e A N N 5 1 1 FRAC DU CUNO a PAE EE E EET 5 123 How OSVa lt Worksin dee eI NE eE Eri ede 5 1 3 Where to Hind This SOLware srac reei deans aaa en Gane 6 1 4 About Open Source Storage Inc csc usssca cate oscsuisayes cues paca atanavs cata patecoars a otammece dts 7 2 Aertel Tiare OS Vault loc eis hated saxiao a vasaiec a esas bso vcadedes ion tok aces po eioy bane easdeo eae eee 7 2 1 Hardware Requirement scv i5sccsvacte vevaysscereersetvetei vans nex eaetvr yawn neec vitae 7 2 2 Booting the Distribution DVD and Loading the Software s es 8 2 3 Power for the Appl anes nrosnresreeee at n e a a te ais 10 2 4 Hooking up Cables cs oense a s 10 2 5 Plugging into Your Network sssseessseeesseesssressressersseressressereseresseresseesseees
3. since external Internet data can be intercepted while transiting networks outside of your local office Also anyone within a company with physical access to your company network can with relative ease intercept any communications to the appliance Therefore SSH is recommended for all command line interface activities and is the only interface other than the appliance console enabled for command line access SSH is available on all Windows LINUX Macintosh and UNIX systems For Windows systems a copy of CYGWIN can be downloaded from http www cygwin com See Appendix A for instructions on installing CYGWIN on a Windows system Installing CYGWIN with its default settings on a Microsoft Windows system will allow you to invoke SSH in a command window Just double click on the CYGWIN desktop icon on your Microsoft Windows system and then type the following command ssh root 10 1 1 2 You will then be prompted for the root password which by default is password Your local system will then store keys used for encrypting the communications with the OSVault appliance If you later change the IP address for the OSVault appliance the next time you use SSH a new set of keys will be generated Using TELNET TELNET is disabled by default on the OS Vault appliance 3 Configuring OSVault 3 1 Setting the IP Address You can use the Network Configuration link to change the appliance network address to work in your loc
4. AM series libraries magazines are numbered from A1 to A7 B1 to B7 Cl to C8 and D1 to D7 The exact magazines labels in each model are shown in the following table AM 250 Magazines Al A2 B1 B2 C1 C1 is not easily removable AM 750 Magazines A1 thru A4 B1 thru B4 C1 thru C4 and D1 thru D3 The number of D magazines depends on the number of drives installed AM 1450 Magazines A1 thru A7 B1 thru B7 C1 thru C8 and D1 thru D7 The number of D magazines depends on the number of drives installed 10 25 2006 6 3 Web Based Import Export If you open a web browser at http 10 1 1 2 the default OSVault IP address then select OS Vault Web Admin Interface then select Archive Mgt then select Import Export Administration Section Mozilla Firefox File Edit View Go Bookmarks Tools Help I tsesow E amp K A L https 192 168 2 112 446 admin import export html ay a eX o gt Getting Started _ Red Hat Inc Q Latest Headlines _ Red Hat Network Support Shop _ Products Training Google he oo I 4 G Search g ae F Check 4 Ela A Sut ea Options gt gt A Import slot is empty Library on device dev sg1 is from vendor ASACA Model AM250PD IMPORT A SINGLE PIECE OF MEDIA Place a piece of media in the import export slot of the library then enter the volume name of the media and click the Import Media button below VOLUME NAME IN IMPORT SL
5. about open source software open source software can be freely downloaded and changed or customized in accordance with the copyrights on the various modules Support from Open Source Storage for installations is not free and requires the purchase of a support contract 10 25 2006 1 4 About Open Source Storage Inc Open Source Storage Inc is a professional services company that develops and maintains the OSVault software Since OSVault is open source OSS Inc does not actually sell the software Open Source Storage makes revenue to fund continuing development by assisting customers end users and manufacturers with the installation deployment and support of OS Vault 2 Installing OSVault OSVault is intended to run as an appliance on an Intel or AMD processor system Certain assumptions are made including e The appliance will not be used for other purposes e The hard disk drives on the appliance do not contain data that will be preserved other than OS Vault specific data e The hardware meets the hardware prerequisites given below 2 1 Hardware Requirements OSVault is usually shipped to a customer site as a pre configured appliance However this document also shows the steps needed to install the OSVault Library Appliance distribution on DVD onto a generic hardware platform OSVault has been tested on various hardware platforms and is officially supported on hardware that contains the following hardware components
6. cache based reads or writes at rates high enough to use a significant percentage of the network bandwidth A single client blasting data to or from the cache can use 90 of the network bandwidth for periods of time Although complex the performance of the OSVault appliance is predictable and your sales representative can help you with expected system performance for your application 2 2 Booting the Distribution DVD and Loading the Software Quick Start Checklist 1 Unpack the ASACA library according to the directions Make sure to remove the internal retaining items 2 Load the ASACA library with media You MUST put a piece of media in the first slot in the library top of the Al magazine This piece of media is used for backups of the appliance during operation Media 10 25 2006 10 11 12 13 14 15 16 10 25 2006 loaded must only be DVD RAM or ProData media DVD R and DVD RW media is not supported by the ASACA drive firmware If a separate server is being installed place the server within 6 feet of the ASACA library to attach it to the library BEFORE TURNING ON POWER Install a 68 pin SCSI cable between the server SCSI port and the ASACA SYSCON system controller Run a short SCSI cable between the SYSCON and the DVD RAM or ProData drive connection on the back of the ASACA library Make sure the SCSI cable is 6 feet 2 meters long or less Longer SCSI cables or inferior cables will re
7. has a name such as dev sg0 and mcstat will print out that name when run Mcstat also prints out information on the library vendor and product string as retrieved via the SCSI or Fibre Channel interface as well as the addressing information of the library The output from mcstat is as follows 10 25 2006 roo OSVAULT mcstat SCSI Media Changer Status Command Medium changer found on dev sg3 Vendor ASACA Product AM250DVD 2 transports starting at 1 250 storage elements starting at 4096 3 data devices starting at 64 1 import slots starting at 128 root OSVAULT In the above listing the library attached to the appliance is an ASACA 250 slot DVD RAM library Since the library can be virtualized or be missing magazines the storage element count is important In this case there is a standard dual picker 250 slots for media in magazines of 50 each and 3 DVD RAM drives readvol Readvol is a command line utility to report which slots are occupied in the ASACA library Readvol will retrieve the hardware inventory from the library and use that information to determine what media is present If media in the library has been removed or added without performing an initelem command the results reported by readvol will not be correct You need to use the identifier returned from mcstat as the only argument to readvol for example dev sg3 A sample run of readvol is shown below roo OSVAULT readvol dev sg
8. invoked manually from the command line to restore files back into hard disk cache You can restore files by file name as they would appear in the cache directory or by inode number The inode number is an internally generated unique number that uniquely identifies the file even when renamed The system uses this version of stage to restore files users generally use the file name to restore a file The syntax of a stage by filename might be 10 25 2006 stage filename cache userdata music recording mp3 The syntax of a stage by inode number might be stage inode 32 6 Importing and Exporting 6 1 Individual Media Import Media to be imported must first be placed into the Import Export slot I E slot in the ASAC library Use the front panel on the library to insert the media into the I E slot Refer to the ASACA User Manual on how to accomplish this The media must be inserted into the library BEFORE telling OSVault to import it When importing media OS Vault will perform the following operations e Check to see if media is present in the VE slot if not an error is returned and processing of the import operation stops e Moves the piece of media to an unoccupied slot in the ASACA library if no empty slots are available in the library an error is returned and processing of the import operation stops e Indicate success of the operation when complete Export Exporting media from the libr
9. it is possible to restore the full system operation after a hard disk failure by reinstalling the system software and performing a full inventory The automatic backup does not make a copy of the cache file system data so migration must run frequently enough to ensure that data is stored on the more reliable optical media If migration is running less frequently or if a higher level of reliability is required then the cache file system should be placed on a RAID hard drive system with RAID 1 or RAID 5 level configured OSVault has been tested with LINUX software RAID MD driver the 3Ware 9xxx series RAID controllers Engenio RAID systems marketed by STK SGI and IBM the Xyratex RAID systems with Chaparral RAID controllers and the Nstor RAID systems 9 2 How to Restore a System Backup The backup on the first optical media is a tar file that needs to be restored via the command line interface with the following commands mestat putaway 0 mm 4096 64 0 0 dev sg3 tar xvf dev scd2 The above steps assume that dev scd2 is the name of the first drive topmost in the library dev sg3 is assumed to be the device name of the library interface 10 Advanced Web Based Administration Utilities For more detail on the advanced GUI interface screens see the OS Vault Advanced Web Adminstration Manual 10 25 2006
10. l dev sg3 where dev sg3 is the name of the library device inside the appliance An example follows root OSVAULT putaway I dev sg3 Querying ASACA AM250DVD Volume in drive 64 putting cart in drive 64 in slot 4096 root OSVAULT 10 25 2006 initelem Initelem is a utility to tell the ASACA library to check each slot and see if media is present Due to the mechanical nature of checking for media each slot is pulled out and a light beam checks if media is present a full hardware initialization will take a considerable amount of time A 250 slot ASACA library takes fifteen minutes to complete this operation a 1450 slot ASAC library takes almost 1 5 hours to complete a full hardware initialization Initelem has one argument the device name of the library interface that is returned by the mcstat command With no arguments initelem will inventory the entire library Optionally you can enter arguments to initelem to limit the number of slots checked e s Set the starting slot address to start checking at e n Check n slots then stop roo OSVAULT initelem n 4096 s 50 SCSI Media Changer Status Command Vendor ASACA Product AM250DVD Setting timeout to 720000 mm Mm which is short for move medium is a utility to move a piece of media within the ASACA library The format of the mm command is mm from to invert picker device Where from is the library slot to move
11. works well on all or most setups On the one hand some combinations of Linux kernels and network cards largely on older machines cannot handle blocks greater than 128Kbytes On the other hand if they can handle larger blocks a bigger size might be faster Getting the block size right is an important factor in performance and is a must if you are planning to use the NFS server in a production environment 7 3 Solaris Clients Not yet tested 7 4 HP UX Clients Not yet tested 7 5 Macintosh OS X Clients OS X supports both the Network File System and the CIFS Windows Share If you wish to access the OSVault appliance via the CIFS protocol first make sure that you ve enabled SMB support in the Macintosh Directory Access Utility in the Applications Utility folder Select SMB and then click Configure You can now enter in your preferred workgroup and WINS server information Next activate the Finder e g click on the Finder in the Dock Select Go then Connect to Server In the Server Address field type in your server address For example smb ServerName ShareName After clicking Connect you may be prompted for your authentication 7 6 AIX Clients Not yet tested 10 25 2006 8 Making Media Copies in OSVaulit 8 1 Introduction OSVault has the ability to make exact copies of media that is in use The exact copies are intended as disaster recovery options or to send to other partie
12. 2000 server The cache share is automatically created when the appliance starts up Writing to the cache share will always result in the files being created on hard disk first After a period of time older files will be moved to optical media and all further I O operations will work directly against the optical media If your Windows machine is on the same subnet as your OSVault appliance you should now be able to connect to the OSVault server by clicking on Start Run and typing MYSERVER pub Mangling Method Name mangling is a method where Windows allows long filenames to retain a short filename equivalent For example C Program files can also be referred to 10 25 2006 as C PROGRA 1 There are two algorithms available hash and hash2 If you store a lot of files on your server you can help to avoid name collisions by adjusting your global parameter section with mangling method hash2 This is set in the OSVault Advanced Web Interface Oplocks Opportunistic locking essentially means that the client is allowed to download and cache the file on their hard drive while making changes if a second client wants to access the file the first client receives a break and must sync the file back to the server This can give significant performance gains in some cases in others some programs insist on syncing back the contents of the entire file for a single change Levell Oplocks aka just plain oplocks is an
13. 3 Querying ASACA AM250DVD Volume in slot 4096 relative slot 0 Volume in slot 4097 relative slot 1 Volume in slot 4098 relative slot 2 Volume in slot 4099 relative slot 3 Volume in slot 4101 relative slot 5 Volume in slot 4102 Volume in slot 4103 relative slot 7 Volume in slot 4100 relative slot 4 relative slot 6 Volume in slot 4146 relative slot 50 Volume in slot 4147 relative slot 51 Volume in slot 4148 relative slot 52 10 25 2006 inventory The inventory command line utility is the overall workhorse utility for OSVault Running inventory at any time will reload all media present in the library and make sure the OSVault directory of media loaded in the library is correct An example of inventory output is shown below root OSVAULT 255 inventory I dev sg3 p ASACA f Querying ASACA AM250DVD Drive device name not specified autoconfiguring Using dev scd2 as the drive to format in Skipping 1 slot s for backups Media in slot 4097 side 0 has label ASACA4097A Media in slot 4097 side 1 has label ASACA4097B Media in slot 4098 side 0 has label ASACA4098A Media in slot 4098 side 1 has label ASACA4098B Media in slot 4099 side 0 has label ASACA4099A Media in slot 4099 side 1 has label ASACA4099B Media in slot 4100 side 0 has label ASACA4100A Media in slot 4100 side 1 has label ASACA4100B Media in slot 4101 side 0 has label ASACA
14. 3 data devices starting at 64 1 import slots starting at 128 root OSVAULT mclib mm 4096 64 0 0 dev sg3 roo OSVAULT mclib sourceslot dev sg3 0 Querying ASACA AM250DVD Volume in drive 64 came from 4096 roo OSVAULT mclib mm 64 4096 0 0 dev sg3 migration The migration command is used to move files from the cache file system to an appropriate optical media based on rules given as arguments Usually the migration command is invoked from the automatic job scheduler cron so that files are periodically written to removable media The migration command has several arguments e t Don t migrate files that are not at least minutes old e source name The name of the file system root directory to search for candidate files to relocate to optical media e force mig or f Migrate all files from the cache file system to optical media without checking if the files are old enough e debug level level Print out different levels of information valid values for level are critical serious error warning 10 25 2006 3 debug and everything Use the most information debug level everything to show The default entry in the scheduler cron for migration is 0 migration t10 source name cache high water 30 low water 20 f purge The purge command is used to truncate files from the c
15. 4101A Media in slot 4101 side 1 has label ASACA4101B Media in slot 4102 side 0 is uninitialized Volume in slot 4102 formatting with mkudffs vid ASACA4102A Ilvid ASACA4102A dev scd2 You can see in the above example that inventory can locate the order of optical drives in the library by itself It does this by loading the first piece of media in the library into each drive and then seeing which drive reports a media present condition _chkconfig Chkconfig provides a simple command line tool for maintaining the etc rc 0 6 d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories This implementation of chkconfig was inspired by the chkconfig command present in the IRIX operating system Rather than maintaining configuration information outside of the etc rc 0 6 d hierarchy however this version directly manages the symlinks in etc rc O 6 d This leaves all of the 10 25 2006 configuration information regarding what services init starts in a single location Chkconfig has five distinct functions adding new services for management removing services from management listing the current startup information for services changing the startup information for services and checking the startup state of a particular service When chkconfig is run without any options it displays usage information If only a service name is gi
16. A library is formatted and labeled with a label composed of the string ASACA followed by the slot number and side of the media in the library For example the second piece of media in the library if unformatted will be labeled ASACA4097A on the top side and ASACA4097B on the bottom side That piece of media can then be directly accessed bypassing the cache by referencing the name archive ASACA4097A Windows users can map a network drive to a particular piece of media by entering OSVAULT archive ASACA4097A 1 3 Where to Find This Software The software that makes up the OSVault appliance is completely open source This means that the software source code can be freely downloaded from various sources including web sites The following web sites have the software components e http dvdvault sourceforge net The changes to the autofs software for an ASACA library and the migration software e http fedora redhat com the LINUX operating system distribution used by OSVault e http www samba org the SAMBA software for Microsoft Windows share access e http www webmin com the web based administration software e http www osstorage com OSVault the complete RPM software package that makes up the appliance Other components are resident on the distribution DVD including the KICKSTART configuration for installation and the post LINUX installation configuration script One note
17. OT Import Media EXPORT A SINGLE PIECE OF MEDIA In the list below select a piece of media to export then click on the Export Media button The media will be placed in the library s Import Export slot from which you can open and remove the media OSSTORAGE4S1034 OSSTORAGE41044 OSSTORAGE41054 Export Media IMPORT A COMPLETE MAGAZINE 50 slots AL A Insert the new magazine into the appropriate slot Then select the slot you inserted into from the list at the right A2 and click IMPORT After importing you should run an inventory on all slots in the magazine A3 Ad Import Magazine EXPORT A COMPLETE MAGAZINE 50 slots Select the magazine you wish to have exported from the library then click the button below You can then remove the magazine from the library v v 192 168 2 112 446 Open Notebook This screen can be used to import single pieces of media through the import export slot of the library or to invoke a full import or export of a magazine of media 50 slots in the ASACA brand libraries It is assumed that media being imported is already formatted with the Volume Name specified in the screen For importing of an entire magazine the ID button on the magazine is read and if that magazine was previously resident in the library all media in that library is marked as resident so that data requests to files on that media will be satisfied If you are importing an entire magazine of new and or unform
18. a Copy Pool in the Optical Library If you wish for copymedia to use the pool of copy media in the library you must set that pool s location called the copy pool range via either the inventory program or the setcopyrange program With the inventory program you can use the copy_start and copy_end flags to specify that copy pool range For example if you wish to set aside the last 50 slots in an ASACA AM 750 library as the copy pool run inventory like this inventory I dev sg1 copy_start 4846 copy_end 4896 10 25 2006 This command will tell the inventory program as it is checking every piece of media to mark the last 50 slots slots start numbering at 4096 in the ASACA library as the copy pool range and to use any media found in those slots for copymedia operations If you do not wish to re run the inventory program which is a time consuming process there is another program called setcopyrange that can create a copy pool in the optical library without having to load any media into a drive With the setcopyrange program the range of slots specified is set aside for copy media and the library is queried to see if media exists in those slots Any slot in the copy pool range found to contain slots is marked in the OS Vault database as a potential piece of media to use for copymedia operations So to repeat the previous example if you wish to set aside the last 50 slots in an ASACA AM 750 library as the copy pool with
19. able to mount the remote directory from your server just the way you mount a local hard drive with the mount command Suppose our server is called OSVault and we want to mount the cache directory on slavel foo com Then all we have to do from the root prompt on slave foo com is type mount OS Vault cache mnt home and the directory cache on master will appear as the directory mnt home on slavel Note that this assumes we have created the directory mnt home as an empty mount point beforehand 10 25 2006 You can get rid of the file system just like you would for a local file system by typing umount mnt home Getting NFS Servers Mounted at Boot Time NFS file systems can be added to your etc fstab file the same way local file systems can so that they mount when your system starts up The only difference is that the file system type will be set to nfs and the dump and fsck order the last two entries will have to be set to zero So for our example above the entry in etc fstab would look like none 10 1 1 2 cache OSVAULT_CACHE nfs defaults 00 See the manual pages using the man command for fstab if you are unfamiliar with the syntax of this file If you are using an automounter such as amd or autofs the options in the corresponding fields of your mount listings should look very similar if not identical At this point you should have NFS working though a few tweaks may still be necessary to get it to work
20. ache file system if the file is already copied to optical media and if space is needed on the cache file system Usually the purge command is invoked from the automatic job scheduler cron so that the cache file system is emptied frequently enough so that it does not fill completely The purge command has several arguments e t Don t purge files that are not at least minutes old e source name The name of the file system root directory to search for candidate files to relocate to optical media e low water Don t start purging files from the source name until the file system that contains source name has more than percent used e high water Stop purging files from source name when the file system that contains source name is less than percent used e debug level level Print out different levels of information valid values for level are critical serious error warning debug and everything Use debug level everything to show the most information The default entry in the scheduler cron for migration is 0 55 5 purge t10 source name cache high water 30 low water 20 stage The stage command called automatically by the operating system to restore files from optical media back to hard disk cache when a file is opened for reading Stage can also be
21. al network For example if you wish to change the OSVault appliance address to 192 168 2 14 first select the Advanced Web Administration Interface then click on the Network Configuration link and you will see the following screen 10 25 2006 Network Configuration Mozilla Firefox E Feedback OB Cy OA amp MAJ a esiae worse OTI sheisehiveres Slisrse Ofer Gateways Click this button to activate the current boot time interface and routing settings as they normally would be after a reboot Warning this may make your system inaccessible via the network and cut off access to Webmin You can then click on the Network Interfaces icon to go to the screen that will allow you to set the IP address of the appliance as follows Network Interfaces Mozilla Firefox DEAR W http 64 221 234 218 10000 net ist_ifcs cai E Feedback log Out S5 OOOO Webmin System Servers Networking Hardware Gluster Others Interfaces Active Now z i i i i Interfaces Activated at Boot Time Add a new interface Add a new address range 10 25 2006 In the above screen there are two Ethernet interfaces on the appliance ethO and ethl To change eth0 to the desired IP address click on the name ethO and use the following screen to set the information Edit Active Interface Mozilla Firefox W http 64 221 234 218 10000 net edit_aif
22. ary inventory o dev sg0 p ASACA f The above command uses the dev sg0 device entry to issue commands to the robot to mount all media for format checks You can determine the device name with the mcstat command The f flag tells the inventory program to format any media that is not already UDF formatted Inventory will mount each side of each piece of media in the library unless the n flag is given With dual sided media capable libraries the n flag tells inventory to only use a single side side 0 or the upside as you look at the media in the magazine of each piece of media 3 3 Formatting All Media In some cases it may be necessary to format all of the media in the library regardless of data already stored on the media If the format all option is selected on the inventory command all REPEAT ALL data in the library will be erased Web Based Method Not Available To avoid the possibility of mistakenly formatting all media and wiping out current data a web interface to accomplish a full format is not implemented Command Line Method There is a command line interface option to the inventory command that will cause the inventory command to ignore any existing UDF label on the media and to format all pieces of media both sides with a new UDF file system To indicate that inventory should format all media the x flag must be given twice to the inventory command as shown
23. ary as if it were a hard disk drive x or the client system can read and write to the cache directory and OS Vault will move files after a pre determined period of time to an available DVD or ProData disc in the ASACA library For example if a Windows XP user can access the OSVault appliance over a network then that user can right click on the My Computer icon select Map Network Drive type in OSVAULT CACHE and click on the Finish button The Windows XP system will then create a new disk drive number that maps into the OSVault appliance and will open an Explorer window showing the contents of the OSVault cache file system Files can then be copied into and out of the cache file system and application programs such as Word or Excel can directly save or open files in that file system 10 25 2006 The cache file system is periodically scanned by OSVault and older files are migrated from the hard disk onto an available piece of optical media A link is created between the cache file name and the new location for the file on the optical media In this way files that are no longer resident on the hard disk inside OSVault can still be opened by the original name When the original name is opened OSVault will mount the required piece of optical media before the client system is returned the data it is requesting or notified that the data has been written successfully By default any uninitialized optical media in the ASAC
24. ary makes the files on that media unavailable for TO in the OSVault appliance so requests for files on that media or to files that were migrated from cache to that media will result in an error being returned to the requesting application Please note that exporting a media label will also export the media label located on the other side of that piece of media Attempting to export media that is currently in use i e mounted in an optical drive will probably fail with an error such as Unmount failed device in use If you receive this error wait until the media is no longer in use and retry the export operation To removed the media from the I E slot after exporting refer to the ASACA Library Users Manual for directions on use of the library front panel 6 2 Magazines The ASCA AM series of optical libraries organizes all of their media into groups of 50 pieces called a magazine A magazine in the library can be removed and 10 25 2006 replaced with another magazine causing up to 50 pieces of media to move in or out of the library If you remove a magazine without telling OSVault you may get errors when trying to access files on that media If you add a magazine full of media to the library without telling OS Vault the files on that media may not be accessible until you perform an inventory A picture of an ASACA AM series magazine is shown below A Z gt om In the ASACA
25. atted media you will need to run a Force Inventory on the magazine before that media can be used by OS Vault If you export a magazine from the library all media in the library is marked as absent so that data requests to that media will not be fulfilled When you export 10 25 2006 a magazine you must physically remove the magazine after the GUI operation completes Import Media Once the media is inserted into the I E slot see above click on the IMPORT button on the web browser This will move the piece of media out of the import export slot place it in an empty slot in the library and update the inventory of media Export Media Using the ASACA Library Media Management screen in your web browser selected the media name that you wish to export Clicking on the export button will then start the media export process which performs the following operations e The VE slot in the library is checked to verify that it is currently empty if it is occupied the export operation is terminated with an error and the media selected for export remains in the library e The media is moved from its storage slot to the I E slot e The directory entry for the media in the archive directory is removed so that references to files on the library will return an error to the client requesting the data e The database etc migration conf is updated to show that the media is no longer present in the library To remove the me
26. below inventory o dev sg0 p ASACA x x 10 25 2006 4 Initializing OSVault Once the OSVault appliance software is installed the system will prompt you to reboot the appliance The appliance will then restart with the newly installed software and will start a series of initialization tasks including Startup of the network interfaces and setup of CIFS Windows SHARE and NFS services e Startup of the web based system control ports 80 and 10000 by default e Mounting of the magnetic drives for cache space e Scheduling of the migration task to relocate files written to cache onto optical media e One time only Having the library perform a hardware initialization to determine what media is stored in the library e One time only Loading each piece of media into a drive and formatting the media if it is not already formatted Note that media not previously written in standard UDF format is considered unformatted and will be overwritten Several software packages such as DiskXtender from EMC and AMASS from ADIC do not use a standard optical format e Initialization of the Relational Database that tracks media moves from cache to optical media and the contents of each file moved Once the OSVault appliance has finished its one time inventory and format process any references to files stored on optical media or to files migrated from the cache to optical media will cause the ASACA library to load the appropriat
27. c caiidx 0 E Feedback _ Log Out Oy OO Orne MAJ AO savers Natives ulebehvets Slistae Oia etho 664 221 234 218 O Automatic O Automatic 255 255 255 192 664 221 234 255 Up O Down 0 Add virtual interface 3 2 Performing a Library Inventory OSVault during installation will perform a full inventory of the library This inventory includes having the library use its internal intelligence to check for the presence of media in each slot called an Initialize Element command and then a load of all detected media into an optical drive to see if the media is formatted If unformatted media is encountered OS Vault will format the media Media formatting involves the placement of a Universal Data Format UDF file system on the optical media UDF is the standard file system that is an extension of the same file system used on CDs and also the same file system used on DVD movies UDF can be read and written on every major file system in use today Media formatted and written to by the OSVault appliance can be exported and read on just about any computer with a DVD drive The ProData sometimes referred to as Blue Laser media can only be read or written in a ProData compliant drive most DVD drives are not blue laser capable as of this writing Please keep in mind that this process can take a long time A full hardware inventory takes approximately twenty minutes per 250 slots regardless
28. ctor on the ASACA Library 2 SCSI cables from the SYSCON Micro 68 connector to the Micro 68 connector for the drive bus on the back of the ASACA library 3 Power cables from a power source 100 240 volt to the appliance and to the library 4 Network cables from the customer s network facility to the appliance Gigabit Ethernet port RJ 45 and to the ASACA library 10 100BaseT port RJ45 This cable must be at least CAT 5 compliant 2 5 Plugging into Your Network The ASACA provided OSVault appliance has two 10 100 1000BaseT network interfaces During installation the RJ 45 connector labeled 0 should be plugged into the local area network The RJ 45 connector labeled 1 should be plugged into the RJ 45 connector on the DVD or PD library The cable used to plug between the appliance and the library should be a Cat 5 or better cross over 10 25 2006 cable The cabling from connector 0 and the premise s network switch should be a straight thru cable CAT S or better The network interface will automatically determine what speed to run based on the network switch capabilities the quality of the cabling used and the length of the cable With a limited number of network switches it may be necessary to lock down the duplex of the link to either half or full 2 6 Accessing the Web Based Interface The OSVault appliance has a web portal main page at the default address on the appliance When first installed th
29. dia from the I E slot after exporting refer to the ASACA Library Users Manual for directions on use of the library front panel Import a Magazine Insert the magazine into the appropriate slot Select the slot identifier on the screen and click IMPORT If the magazine has been previously seen by OSVault the media in it is set back to RESIDENT in the library If the user moved media around or this is a completely new magazine an inventory must be run on the magazine New magazines will create new database entries Export a Magazine Select the slot identifier on the screen and click EXPORT The OSVault system will update the internal appliance database to mark all media in the library as absent and inform you when it is safe to remove the magazine 10 25 2006 6 4 Command Line Import Export Import Media Use the importmedia command to import media into the ASACA library Media to be imported must first be placed into the Import Export slot I E slot in the ASAC library For example to import a piece of media that was originally labeled DATA4100A and put it into slot 4100 use the following command after inserting the media into the import export slot of the optical library importmedia volume_label DATA4100A store_slot 4100 This will move the piece of media out of the import export slot in the library place it is slot 4100 which for an ASACA library is the 5 slot and update the inventor
30. e appliance is at http 10 1 1 2 Any web browser on another system in the same 10 1 1 x network can type the link into the web browser and be presented with the following screen 9 3 x A bitp 192 168 2 10 Oala Getting Started E Latest Headines Google Montreal restaurants G search PARMA ME Check A Autotink C Autorii LI Subscrbe fa Options A E Montreal F restaurants OSVault Administrative Interface OSVault User Manual Access General Documentation on the OS Vault apphance Advanced Web Administration Manual OS Vault Web Admun Interface Access the control interface for the OS Vault Apphance Advanced Web Administration Use this interface for all advanced tasks on the OS Vault apphance Interface Warming expert use only Support Snapshot Display support information in a total snapshot needed for support calls or emails i Session in progress GaToMyPt xj inses Emen com it remotely Connected Dsn O A QB E os vou webb G Googe notebock GLetale de rOceon G MSN Hotmat Help C3 Manuals E P oocuments mer 2 P0 OR sm 10 25 2006 2 7 Accessing the Command Line Interface Using Secure Shell Secure shell referred to as SSH allows the entry of commands in a line or text mode into the appliance with all data encrypted so that others cannot snoop on what you are doing This is particularly important when using an external Internet connection to control the appliance
31. e media to fulfill that reference Assuming a standard installation on an ASACA 250 750 or 1450 slot library you can verify proper operation of the OS Vault appliance with a single SSH command line ssh root 10 1 1 2 ls I archive ASACA4097A This command run from a Windows with CYGWIN LINUX or UNIX client will cause OSVault to load the second piece of media top side up from its storage slot into a drive slot With DVD RAM media this will take about thirty seconds With ProData media this will take about fifteen seconds 5 Administering OSVault You can access all of the OS Vault administration capabilities via a network interface Additionally if a standard PS 2 keyboard and VGA or better monitor is attached to the appliance you can perform the command line utilities via that interface 10 25 2006 5 1 Web Based Appliance Administration For advanced administration tasks OSVault uses a customized installation of the Webmin software a web based system administration utility Since the underlying operating system for OSVault is LINUX a LINUX implementation of Webmin allows for advanced system configuration beyond the defaults set by the OSVault installation Logging In to the Advanced Web Administration Interface Logging into Webmin is easy Open a web browser like Netscape or Internet Explorer on any machine that has network access to the server that you wish to login on Browse to port 10000 on the IP o
32. e will be accessing the same files frequently you probably will not benefit from the overhead of your client sending oplock breaks and will instead want to disable oplocks for the share Another factor to consider is the perceived performance of file access If oplocks provide no measurable speed benefit on your network it might not be worth the hassle of dealing with them Windows 98 ME Fortunately both Windows 98 and Windows ME use encrypted passwords by default All that s left is to configure your Network properties in the Control Panel Make sure you have Client for Microsoft Networks and TCP IP installed along with your network adapter If you re not using a DHCP server you ll probably need to configure the TCP IP settings as well 10 25 2006 Under the properties for Client for Microsoft Networks check the box for Log on to Windows NT domain and specify the domain name that your Samba server is using Finally under the second tab labeled Identification give your computer a unique name and specify the name of the workgroup which should match the name of the domain although not strictly necessary Windows XP 2000 You ll need to enable TCP IP on your system as well as configure a WINS server from the control panel The IP address of the WINS server should be your OSVault appliance server where the nmbd daemon is running To map a drive using the Windows GUI open My Computer On the toolbar are many options look f
33. eeesse 10 2 6 Accessing the Web Based Interface sssnnsenesesessesseresseesseessstsseresseessereseeesse 11 2 7 Accessing the Command Line Interface eneeseeeeseeeeeseeressrseresresrrssresrersreses 12 3 y Confis nnge OSV aultre ane neea r aaa E E aye ae ES TS 12 3 1 Setting the IP Addresses iire ien a a ia S 12 3 2 Performing a Library Inventory ssssenesseeseeeseeessersseeesssesseresseesseresseesseeeseeesse 14 3 3 Formatting All M dias kinnen e a E 16 4 Amitializing OS Vault arnee nn na E wad abso es 17 S Adinimisterims OS Vault ops riesene a somes ids tate ee gs Ea EE E E ESTES 17 5 1 Web Based Appliance Administration cecceesceeesceceeneeeeeeeeesaeeeeeneeeeneeeees 18 5 2 Command Line Interface Administration eee eesceeeseeeeesneeeeeneeeeeeeeeeneeeeaes 18 5 3 Basic CLT C omma ds niseni inmsin a reese ied Serer Rael 18 6 Importing and Bxporting ciwanicewinniinieicnininn oitieenia ine enesetens 25 6 1 Individital Media s ea ar eaaa ae oa a aa aa Sane ee 25 Oo Magazinesin ai a T E E EE E A ae a ERE 25 6 3 Web Based Import Export cs ccscstcccsscesessrseossscsssscscnsccscncsesoneecssacecersnesens 27 6 4 Command Line Impor Export esc taper eid etn cic atest kon eae 29 6 5 Optical Drive Vienasenienl 4 serie iein eu na wend nGus sea ERE 30 7 Attaching Client Systems 10 OS Vaults 2 accie ce Seek Serato Re 31 7 1 Windows 98 2000 XP 2003 Clients x sacsincashvesecs rents vsnsvanedssvndeyvntsve
34. from to is the library slot drive or import export slot to move to invert is a 1 meaning to flip the media during the move or 0 do not flip picker is the library picker to use to move the media use 0 for best results and device is the library device name inside the appliance for example dev sg3 As an example the following command will move the media from the second drive slot 65 to the 10th storage slot slot 4106 using the default picker without flipping it and then move it back again The third command is an error where there is no media in the drive roo OSVAULT mm 4096 65 0 0 dev sg3 roo OSVAULT mm 65 4096 0 0 dev sg3 root OSVAULT mm 65 4096 0 0 dev sg3 Source slot is empty Could not move medium 10 25 2006 root OSVAULT sourceslot Sourceslot is a utility to display the slot that a piece of media belongs in The one argument required is a drive number starting at 0 not 1 that has a piece of media loaded into it Running sourceslot dev sg3 0 will return the slot number the library pulled the media from The following is an example of three commands you can run to empty the media from a drive back to the slot it came from roo OSVAULT mclib mcstat SCSI Media Changer Status Command Medium changer found on dev sg3 Vendor ASACA Product AM250DVD 2 transports starting at 1 250 storage elements starting at 4096
35. istribution media resides Select CDROM with the arrow keys Press the TAB key until the OK button is highlighted and then press return 17 Software installation will take approximately 30 minutes longer on some servers If the distribution media is on multiple pieces of media for example CD you will be prompted to switch to the other pieces of media 18 After software installation the now configured appliance will perform a hardware inventory on the ASACA library 15 minutes per 250 slots and will then load every piece of media in the library and examine it It takes about a minute for each piece of media to be formatted or checked If the media is unformatted OS Vault will put a UDF file system on each side of each piece of media If the media is formatted the volume label on the media will be used to create a directory using the volume name in archive 19 OSVault will then reboot the server and all services on the server will be started You can configure the appliance via a web browser http 10 1 1 2 10000 or via the attached keyboard monitor The web interface is preferred unless you are an expert LINUX administrator 2 3 Power for the Appliance THIS DEPENDS ON CONFIGURATION Check the manuals that came with the server hardware 2 4 Hooking up Cables The following cables must be attached to the appliance 1 SCSI cables from the VHDCI connector on the back of the appliance to the SYSCON Micro 68 conne
36. l media 4 forced inventory of volume labels will load all media in the library into a drive and will re catalog each piece of media This will take approximately 1 minute per media so a full library force inventory will take a very long time The library will be inaccessible during this period o Restrict inventory to select slots CI Format unformatted media during forced inventory Physical Library Information Starting slot Slot Count v rns Lines o l a re a l 192 168 2 112 446 fal Open Notebook Clicking on the force button will initiate a full library inventory On a 250 slot library with three drives that is full of media this can take as long as 1 5 hours to run Each piece of media in the library will be loaded into a drive and have the label read and stored in the appliance Also directories for direct media access usually archive medialabel will be created medialabel is the label read from the media If the Format unformatted media during forced inventory checkbox is checked any media that is found in the library 10 25 2006 that is unformatted does not have a valid UDF file system will be formatted with a file system and labeled with a label of the form of ASACA followed by the slot number and side for example ASACA4097A would the name for a piece of media in the second slot top side ASACA libraries start slot numbers at 4096 Command Line Inventory of the Libr
37. media from the copy pool and use that media for the copy After the copy is completed the copy media is returned to its original slot and the OSVault database is updated so that the copy media is not used for copies of other volumes If a request to copy the same original volume is run again copymedia will select the same copy media from the storage pool for the subsequent copies To run a copymedia from the copy pool follow these steps 1 Select the piece of original media you wish to make a copy of Generally media copies aren t made until the original in the library is full You can see the status and remaining space Free Space of the media in the library either in the web management interface of the OSVault system or via the listmedia command line program 2 Run the copymedia command and do not specify any slot to use for the copy Use a command similar to the following copymedia l dev sg1 v OPTICAL00003A 3 The copymedia program will mount the volume called OPTICALO0003A into a drive copy its contents to a temporary location on hard disk then mount a piece of media from the copy pool range and copy the temporary location onto that media The copy media is then returned to its original storage slot 8 7 Replacing Individual Media in the Copy Pool Periodically you may wish to remove media that has been copied and is stored in the media pool You may wish to replace it with blank media for other copies or to jus
38. mple to export the first 50 slot magazine magazine Al from a library type the following command exportmedia m A1 The OSVault system will update the internal appliance database to mark all media in the library as absent and inform you when it is safe to remove the magazine 6 5 Optical Drive Management OS Vault will display the drive status of all drives in the optical library in the Archive Megt Physical Library Mgt screen of the web based admin interface If the checkbox for a particular drive is checked enabled then that drive will be used by OS Vault as an available drive to read or write optical media If a drive were to become disabled hardware failure of some type this will interfere with the operation of OS Vault Until the drive can be repaired you can un check the checkbox on the faulty drive and select Update Drive States and the drive will no longer be used for I O requests After the drive is repaired and placed back into service simply check the checkbox and Update Drive States to start using the drive again Keep in mind that a piece of media may become jammed in the faulty drive and be unavailable for use by the system In general it is best to repair hardware problems as soon as practical to avoid interference with normal system operations 10 25 2006 Administration Section Mozilla Firefox File Edit Yiew Go Bookmarks Tools Help te tsesow 7 r we E OQ Mhtesij
39. n attached appliance server that already has the OSVault software installed 1 2 How OSVault Works OS Vault is both a set of software to automatically mount and dismount DVD and ProData media when needed and a system configuration based on LINUX that creates a dedicated storage appliance to offer Network Accessible Storage NAS services OSVault consists of the following major software packages e LINUX 2 6 3 the appliance operating system that supports Network File System NFS access by UNIX and LINUX systems and allows the other various software packages to share the appliance hardware e SAMBA 3 1 allows Microsoft Windows systems to access files stored on the OS Vault appliances e autofs 2 4 6 An auto mounting file system that recognizes when file systems on different physical media are required and issues the robotic commands to move the needed media into an available drive slot e webmin A web HTML based system administration package that allows all needed configuration parameters in the appliance to be specified or queried When fully configured OSVault looks like a network file server such as a Network Appliance Filer a Windows 2000 Server or a LINUX file server OSVault allows client computers to connect via either of two protocols CIFS or NFS to create read write or delete files and directories on the appliance An OSVault appliance allows direct access to each piece of media in the ASACA libr
40. nsports starting at 1 250 storage elements starting at 4096 1 data devices starting at 64 1 import slots starting at 128 root osvault 2 Place a piece of media into the import slot The media must be physically formatted prior to use check with your supplier to ensure that you are purchasing pre formatted media See the library operations manual on the procedure to open and close the import export door of your library 3 Select the piece of original media you wish to copy Generally media copies aren t made until the original in the library is full You can see the status and remaining space Free_Space of the media in the library either in the web management interface of the OS Vault system or via the listmedia command line program 10 25 2006 4 Run the copymedia command to copy the original media to the media in the import slot This process can take 30 to 90 minutes depending on your optical drives and the media used The command would be similar to this copymedia l dev sg1 v OPTICAL00003A s 128 5 Take the copied media out of the import export slot manually mark the volume name on the media and place it in a storage location Using the Copy Pool in the Library to Create a Media Copy Since a set of media in the optical library can be set aside as a copy pool you can tell the copymedia command to run and not specify which piece of media to use for the copy Copymedia will then select an unused piece of
41. of the number of media installed in the library The format verification and formatting can take one minute per piece of media installed in the library So for example 10 25 2006 an ASACA AM250 PD with 100 pieces of media will take about two hours to finish a full inventory Web Inventory of the Library Use a web browser to type in the IP address of the OSVault appliance You can then select the library control by clicking on OSVault Web Administration Interface then clicking on Archive Management then Physical Library Management That will present the following window Administration Section Mozilla Firefox BAE File Edit Yiew Go Bookmarks Tools Help ilie tsesow s D 3 A ini https 192 168 2 112 446 admin archive_physical html av Go EL gt Getting Started _ Red Hat Inc amp Latest Headlines Red Hat Network L Support L Shop Products Training Google z x G Search Fagenan An Check 7 6 ei Options gt gt a a GT wr returned to its correct storage slot and an inventory run on that slot Library olume Catalog Update Force a re reading of all removable media volume labels by clicking force below Perform this action whenever you import a new Magazine of media or whenever you suspect that the inventory of media labels may be incorrect This action should not be performed while the system is active it will generate errors if performed while users are accessing files on optica
42. or one that provides a list that includes the phrase Map Network Drive under Windows XP this option is under the Tools menu Once selected a new box will open up In the Drive box click a drive letter that you wish to use In the Folder box type the path for the server and path that you wish to connect to Alternately from a Command Prompt you can type NET USE F MYSERVER PUB YES 7 2 LINUX Clients Before beginning you should double check to make sure your mount program is new enough version 2 10m if you want to use Version 3 NFS and that the client machine supports NFS mounting though most standard distributions do If you are using a 2 2 or later kernel with the proc filesystem you can check the latter by reading the file proc filesystems and making sure there is a line containing nfs If not typing insmod nfs may make it magically appear if NFS has been compiled as a module otherwise you will need to build or download a kernel that has NFS support built in In general kernels that do not have NFS compiled in will give a very specific error when the mount command below is run To begin using a machine as an NFS client you will need the portmapper running on that machine and to use NFS file locking you will also need rpe statd and rpe lockd running on both the client and the server Most recent distributions start those services by default at boot time With portmap lockd and statd running you should now be
43. other term for opportunistic locking Level2 Oplocks is a fancy way of saying that you are providing opportunistic locking for a file that will be treated as read only Typically this is used on files that are read only or on files that the client has no intention to write to at least not initially Kernel Oplocks are essentially a method that allows the Linux kernel to co exist with Samba s oplocked files although this is simplifying things a bit SGI IRIX and Linux are the only two UNIX s that are oplock aware at the moment Unless your system supports kernel oplocks you should disable oplocks if you are accessing the same files from both Unix Linux and Smb clients Regardless oplocks should always be disabled if you are sharing a database file e g Microsoft Access between multiple clients as any break the first client receives will result in the entire file needing to be synced not just the single record which will result in a noticeable performance delay and more likely problems accessing the database in the first place Notably Microsoft Outlook s personal folders pst react very badly to oplocks If in doubt disable oplocks and tune your system from that point If client side caching is desirable and reliable on your network you will benefit from turning on oplocks If your network is slow and or unreliable or you are sharing your files among other file sharing mechanisms e g NFS or across a WAN or multiple peopl
44. oughput will drop considerably due to the overhead involved in creating directory entries for new files in the cache A large number of very small files all stored in a single directory can drop performance below 1Mbyte per second even with fast magnetic disks The migration of data out of the cache to the optical drives imposes a performance penalty of around 4 5Mbytes per second per ProData optical drive used or less than 1Mbyte per second per DVD RAM optical drive used So an appliance configured to migrate from a single magnetic disk cache to three ProData optical drives will then only be able to move around 20Mbytes per second between the client systems and the cache Reading files from a client system that resides on optical media can take various amounts of time to complete The factors that impact that amount of time are e Type of optical media DVD RAM media takes approximately 30 seconds to load and be recognized while ProData media takes approximately 15 second to accomplish the same load e Number of drives in use in the ASACA library If all drives are busy fulfilling other client reads or writes to other pieces of media this particular read or write will have to wait for a drive to become available e Transfer rates of optical media ProData writes at around 4 5 Mbytes per second and reads at around 10 Mbytes per second while DVD media reads at around 2Mbytes per second and writes at around 1Mbyte per second e Other
45. out running inventory run setcopyrange like this setcopyrange l dev sg1 copy_start 4846 copy_end 4896 This command will only create the copy pool range in the library it will not create the inventory database entries that the inventory program does 8 5 One or Two Drive Copy Operations The copymedia command can use either a single optical drive for the copy operation or two drives for the copy operation If your optical library only contains one working online optical drive and you specify two drives for the copymedia operation you will receive an error message from copymedia and the program will exit without copying By default copymedia uses only a single drive to copy media This means that an original piece of media is mounted its entire contents are copied to temporary hard disk storage and then the copy media is mounted and the temporary storage is written out to the copy The advantage to this process is that a maximum number of other drives are available during this copy operation for other uses The disadvantage is that the copy operation will take longer to run With the two drive operation the copymedia command will mount both the original and the copy media at the same time and lockup two drives for the duration of the copy operation The media is then copied directly from the original to the copy The two pieces of media are returned to their original storage locations and the drives are then free for other o
46. perations The advantage to two drive copies is faster copy times but the disadvantage is having two drives tied up and unavailable for other uses for the duration of the copy In libraries with 3 drives or less using a one drive copy is usually preferred To select one drive copy use the 1 flag to the copymedia command For example the following command will use one drive to make a copy of volume OPTICAL00007A copymedia l dev sg1 v OPTICAL00007A 1 10 25 2006 To select two drive copy operations use the 2 flag to the copymedia command For example use a command similar to copymedia l dev sg1 v OPTICALO0007A 2 8 6 Example Operations of Copymedia Copying a Piece of media to a Manually Inserted Piece of Media Import Slot One of the most common ways to create copies of media in the optical library is to import a new piece of media into the import export slot of the library and run the copymedia command With the right command entered copymedia will use the new media in the import slot to create the copy You will need to do the following steps 1 Determine the address of the import slot of the library For an ASACA library that address is always 128 You can verify this with the mcstat command as shown below root osvault mcstat SCSI Media Changer Status Command Medium changer found on dev sg1 Vendor ASACA Product AM250PD Version 2 2 Power On Reset or Bus Device Reset 2 tra
47. r hostname of the server Webmin will then respond with either an authentication window or an authentication web form where you can enter the administrator user name usually root and password After successful authentication you will be greeted with the Webmin index page The type of login form you receive either on a web page or in a popup window depends on the configuration of the Webmin server The differences between session authentication and standard HTTP authentication will be discussed later in this book In general all of the web interface screens required to perform system administration have been previously discussed However OSVault contains a full suite of system administration web tools that allow for further customization Documentation on the general system web interfaces are contained in Section 10 of this document 5 2 Command Line Interface Administration The OSVault appliance allows for the use of command line administration via either Secure Shell ssh or TELNET The command line interface is a full LINUX command shell and can be used to set any system configuration to reconfigure hardware or to reinitialize the system The command line interface should be used with care as it is possible to destroy data stored in the appliance if the commands are used incorrectly 5 3 Basic CLI Commands mcstat Mcstat is a command line program that locates the library interface in the appliance The library interface
48. s that wish to read the data contained on the media OSVault will not automatically use the copies of media in the event that the original copies become unusable Replacing unusable media with a copy is a manual process 8 2 How Media Copies are Initiated in OSVault There is a utility called copymedia that performs the actual copy of an existing media onto another piece of media Copymedia runs in two basic modes single drive and dual drive In single drive operation copymedia will mount the original used piece of media into a drive and copy the entire image of the media onto a temporary space on the server hard disk There needs to be adequate space on the server hard disk to store the image of the media and copymedia will verify that the space exists After the image of the original media has been transferred copymedia will dismount that piece of media from a drive and insert an unused piece of media into a drive either from a user specified location or automatically from the copy pool in the library The image from the hard disk is then copied onto the new piece of media and the media is returned to its storage location 8 3 Initializing Media for Use with Copymedia Media to be used by copymedia does not need to be labeled or otherwise processed prior to use For BD RE DVD RAM and PDD media the media must be physically formatted prior to use but most vendors of that media format it prior to shipping 8 4 Specifying
49. sult in chronic I O errors during operation Determine an IP Internet Protocol address for the server and make a note of it Determine an IP address for the ASACA library and set the address on the ASACA library via the library s front panel Install CAT 5 network cables between the library and your network switch and between the server and your network switch Wireless 802 1 1a b g is not supported Install the power cables to the server and the library being careful to keep the power cables and the SCSI cables from running parallel in close proximity Attach a keyboard and monitor to the server Some servers support serial port BIOS settings and you can use another computer with the minicom or HyperTerminal software on it in place of the keyboard and monitor Power up the ASACA library Power up the server Place the distribution DVD into the server DVD ROM drive and reboot the server if necessary KEEP IN MIND THAT INSTALLING THE DVD DISTRIBUTION SOFTWARE WILL ERASE THE HARD DRIVES ON THE SERVER When the monitor on the server displays the Boot prompt and waits for input type in the following command linux ks cdrom ks cfg The above command will load the OS Vault software onto the server and will format the boot disk and cache disk for operation The IP address of the server will initially be set to 10 1 1 2 which you can change after installation completes You will be prompted to indicate where the d
50. t store that copy in another location Unless you tell OSVault otherwise OSVault will continue to consider that the piece of media stored in a slot in the copy pool is still there Described here is a procedure to remove a previously written copy media from the copy pool and replace it with a blank piece of media 10 25 2006 1 Using listcopymedia determine which piece of media you wish to remove from the optical library Make a note of the slot number that the media is in so that you can find that piece of media An example listing from listcopymedia is given below root osvault listeopymedia Label Slot Side LastAccess Status Error Magazine LibNum Se OPTICAL00003A 141001A I resident UNUSED 14101I1A resident UNUSED 141021 A resident 2 Using the library web interface or the mm command move the desired piece of media to the import export slot and remove it In the above example to remove the copy of OPTICAL00003A in slot 4100 you can use the command mm 4100 128 0 0 dev sg1 This would apply to an ASACA library 3 Place a new piece of media in the import export slot and move it into the recently vacated storage slot In our example that command would be mm 128 4100 0 0 dev sg1 4 Now iss
51. t192 168 2 112 446 2cminjarchive_physical hem Ay iG gt Getting Started Red Hat Inc Q Latest Headlines Red Hat Network Support Shop Products Training Google ae E EP x gt G search halla Check AutoLink FE AutoFill B subscribe fe Options gt gt Home Administration Section Welcome Administrator The following are various information and control for removable media and robotics arranged into tabs Please click on a tab to open up that category mM a z j mena i a Library is installed on device dev sg1 Vendor ASACA Model AM250PD There are 250 storage slots starting at 4096 Current auto label serial number is at 4105 OSVault uses this serial number stored in the appliance database for labelling media that is not formatted when an inventory is run Library Drive Information Enabled Number Device Yendor Model Revision nai Online 0 dev sda SONY BW F1O1 1 53 64 You can disable a drive in the library by clearing the checkbox for that drive The drive will no longer be used for data access This is a way to workaround a malfunctioning drive Any media in a malfunctioning drive needs to be manually removed returned to its correct storage slot and an inventory run on that slot 192 168 2 112 446 9 fal OpenNotebook 7 Attaching Client Systems to OSVault 7 141 Windows 98 2000 XP 2003 Clients OS Vault appears on your network as a Windows
52. ue the following command to mark the new media as available for use by any copymedia command mysql e update archive copy_media set Label UNUSED where Slot 4100 Make sure to use the double quote character and the single quote characters in the above command exactly as shown 5 After these steps verify the change by running listcopymedia again as shown root osvault listeopymedia Label Slot Side LastAccess Status Error Magazine LibNum UNUSED 141001A resident UNUSED 4101 1A resident UNUSED 141021A resident 10 25 2006 9 Automatic Backups 9 1 How Automatic Backups Work According to the schedule set in the cron schedule a backup will run periodically at lam by default where the cache directory will be backed up to the first piece of optical media in the library Also backed up at this time is certain system configuration information The purpose of the backup is to enable the restoration of operation after a hard disk failure without needing to full read all media in the optical library Even if the backup media is not used
53. ven it checks to see if the service is configured to be started in the current runlevel If it is chkconfig returns true otherwise it returns false The level option may be used to have chkconfig query an alternative runlevel rather than the current one If either on off or reset is specified after the service name chkconfig changes the startup information for the specified service The on and off flags cause the service to be started or stopped respectively in the runlevels being changed The reset flag resets the startup information for the service to whatever is specified in the init script in question By default the on and off options affect only runlevels 2 3 4 and 5 while reset affects all of the runlevels The level option may be used to specify which runlevels are affected Note that for every service each runlevel has either a start script or a stop script When switching runlevels init will not re start an already started service and will not re stop a service that is not running putaway Putaway is a command line utility to restore media that is located in drives or in the import export slot back into a storage slot It is actually a renamed version of inventory since inventory will perform the same function prior to starting the loading of media into drives When inventory is renamed to putaway it will exit prior to starting the load of media The format for putaway is putaway
54. vsacsvetbeviest deve 31 Pde LINUX Clients yess cscs chet ae een eae ee es 33 7 3 Solaris CGC INES era Sepa pues tases EE a E E ead ences A ENES 35 TA HP UX Cheenti iem E eee E AE O EERS 35 T3 MacIntosh OS X Cents ccsscessseetcy sb scathucsscetieescas e vaeieestens 35 EO AX CHENS n eeter e a ie ae a aaa Se ats 35 8 Making Media Copies mOS V aultis2 ccna a ivenae ee Gah wai eas 36 8 1 MNT OD CH ON e eni e Cac a dame pote aased fe cease Sones hae a ieee 36 8 2 How Media Copies are Initiated in OS Vault eee eeeeeeceeneeeeseeeeteeeeeeees 36 8 3 Initializing Media for Use with Copymedia ceesceeeseeeeeneeeeseeeeeneeeeeneeeees 36 8 4 Specifying a Copy Pool in the Optical Library eee eeeseeceeneeeeeeeeeeneeeeeees 36 8 5 One or Two Drive Copy Operations lt 2 44 gnsedes dn hann eb ial eas 37 8 6 Example Operations of Copymedia eee eeessccesseecesseeeeeeeceseecesneeeeneeeeeaeees 38 8 7 Replacing Individual Media in the Copy Pool ee eeeeeeeseeeseeeeteeeseeeeseeenees 39 9 Automatic BaCkups faites nceued iisaiegrsap a eas T T E ane E any amare 41 10 25 2006 9 1 How Automatic Backups Work 0 9 2 How to Restore a System Backup 10 Advanced Web Based Administration Utilities 10 25 2006 1 About OSVault 1 1 Introduction This document is intended to aid the reader in installing and using an OSVault appliance We have assumed that you have purchased an optical library with a
55. well Soft vs Hard Mounting There are some options you should consider adding at once They govern the way the NFS client handles a server crash or network outage One of the cool things about NFS is that it can handle this gracefully if you set up the clients correctly There are two distinct failure modes soft If a file request fails the NFS client will report an error to the process on the client machine requesting the file access Some programs can handle this with composure most won t We do not recommend using this setting it is a recipe for corrupted files and lost data You should especially not use this for mail disks if you value your mail hard The program accessing a file on an NFS mounted file system will hang when the server crashes The process cannot be interrupted or killed except by a sure kill unless you also specify intr When the NFS server is back online the program will continue undisturbed from where it was We recommend using hard intr on all NFS mounted file systems Picking up from the previous example the fstab entry would now look like device mountpoint fs type options dump fsckord 10 25 2006 master foo com home mnt home nfs rw hard int 0 0 Setting Block Size to Optimize Transfer Speeds The rsize and wsize mount options specify the size of the blocks of data that the client and server pass back and forth The defaults may be too big or to small there is no size that
56. y of media to show that DATA4100A is now back in the library Export Media To export media from the library use the exportmedia command The exportmedia command takes one argument which is the media label on the media e g ASACA4097A To removed the media from the I E slot after exporting refer to the ASACA Library Users Manual for directions on use of the library front panel For example to export the optical media labeled DATA4100A from the library use the command exportmedia DATA4100A This will move the media from its storage slot to the import export slot in the optical library and will update the OSVault inventory to show that DATA4100A is absent from the library Import a Magazine Insert the magazine into the appropriate slot Use the importmedia command with the m option followed by the slot identifier For example to import a magazine into the first 50 slot magazine magazine A1 in the library type the following command importmedia m Al If the magazine has been previously seen by OSVault the media in it is set back to RESIDENT in the library If the user moved media around or this is a completely new magazine an inventory must be run on the magazine New magazines will create new database entries 10 25 2006 Export a Magazine To export an entire magazine from a library use the exportmedia command with the m option followed by the magazine identifier For exa
Download Pdf Manuals
Related Search
Related Contents
Worldwide Lighting W23103C13-GT Installation Guide Russell Hobbs Desire Sem título-1 publications_ONISEP_en_cours_et_des_pilons_auvergne User`s Manual for CyberShield CS75A12V3 Copyright © All rights reserved.
Failed to retrieve file