Storage manager

1,049 views
1,012 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,049
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Storage manager

  1. 1. Portlock Storage Manager 4.0 for NetWare User’s Guide
  2. 2. Portlock Storage Manager for NetWareThe Portlock storage management software described in this book is furnished under a LicenseAgreement and may be used only in accordance with the terms of the agreement.Manual Version: 4.0Date of Publication: July, 2007NO WARRANTY. The technical documentation is being delivered to you AS IS and Portlock makesno warranty as to its accuracy or use. Any use of the technical documentation or the informationcontained therein is at the risk of the user. Documentation may include technical errors, typographicalerrors or other inaccuracies. Portlock reserves the right to make changes without prior notice.All technical documentation made available by Portlock is the copyrighted work of Portlock. Nopart of this publication may be copied without the express written permission of Portlock, 101 NorthMain Street, Butte, Montana 59701.Copyright 2000-2007 Portlock. All Rights Reserved. Portlock, the Portlock logo, Portlock StorageManager and the Portlock Boot CD are trademarks of Portlock.Other vendor product names mentioned in this manual may be trademarks or registered trademarksof their respective companies and are hereby acknowledged. Printed in the United States.
  3. 3. Portlock Storage Manager 4.0 for NetWare User’s Guide License AgreementIMPORTANT: Read this before using your copy of Portlock Storage Manager 4.02 for NetWare. Thisdocument is a legal agreement between you (an individual or business), the Licensee and Portlock.Use of the enclosed software indicates your acceptance of these terms. As used in this LicenseAgreement, the term SOFTWARE means the software electronically generated or included on theCD or media provided with this License Agreement. The term SOFTWARE does not include anysoftware that is covered by a separate license offered or granted by a person other than Portlock.IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS, EITHER DESTROY ORRETURN (INTACT) THE SOFTWARE PACKAGE CONTAINING THE CD OR DISK MEDIA,ALONG WITH THE OTHER COMPONENTS Of THE PRODUCT TO THE PLACE OFPURCHASE FOR A REFUND OF THE PURCHASE PRICE.1. PROPRIETARY RIGHTS. The SOFTWARE and any accompanying documentation are theproprietary products of Portlock or its licensors and are protected by national laws and internationaltreaty provisions. Ownership of the SOFTWARE and all copies, modifications, translations, andmerged portions thereof shall remain with Portlock and its licensors.2. GRANT OF LICENSE and TERM. The SOFTWARE and accompanying documentation arebeing licensed to you, which means you have the right to use the SOFTWARE only in accordancewith this License Agreement. The SOFTWARE is considered in use on a computer when it is loadedinto temporary memory or installed into permanent memory. PERSONAL LICENSE: This licenseis personal to you. You may not sublicense, lease, sell or otherwise transfer THE SOFTWARE orany of the accompanying documentation to any other person. You may use the SOFTWARE onlyfor your own personal use if you are an individual, or for your own internal business purposes ifyou are a business. COMPUTER-SPECIFIC LICENSE: Each permitted copy of the SOFTWAREmay be used only in connection with a hard drive(s) that is permanently connected to ONE specificcomputer (either a stand-alone computer or a computer connected to a network) owned or leasedby you. Once a copy of the SOFTWARE has been used on a computer, it may not be used on anyother computer, unless you have permanently stopped using (e.g., sold, destroyed or relinquishedpossession of) the SOFTWARE on the original computer. If the SOFTWARE is made available on anetwork, only ONE specific computer may access it. It may not be used on any additional computerswithout purchasing additional licenses. NUMBER OF COPIES LICENSED: You are authorized touse ONLY a single copy of the SOFTWARE on a single computer. All copies of the SOFTWAREmust include our copyright notice and other legal notices. UPDATES AND SUPPORT: You areentitled to receive one year of technical support from the date of purchase. This support period isvalid during the life of the product, which commences when the product is released to manufacturingand ceases six months after the release of the next major version of the product. Technical supportshall be limited to telephone or e-mail support from Portlock’s offices, unless Portlock specificallyagrees otherwise in writing. TERM: This license is effective from your date of purchase and shallremain in force until terminated. You may terminate the license and this License Agreement at any
  4. 4. License Agreementtime by destroying the SOFTWARE and the accompanying documentation, together with all copiesin any form.3. BACKUP COPY. Only ONE copy of the SOFTWARE may be created for archival or backuppurposes.4. NONPERMITTED USES. Without the express prior written permission of Portlock, youmay not (a) use, copy, modify, alter or transfer, electronically or otherwise, the SOFTWARE ordocumentation except as expressly permitted in this License Agreement, or (b) translate, reverseprogram, disassemble, decompile or otherwise reverse engineer the SOFTWARE.5. EXPORT CONTROLS. Certain uses of the SOFTWARE by you may be subject to restrictionsunder U.S. regulations relating to exports and ultimate end uses of computer software. You agree tofully comply with all applicable U.S. laws and regulations, including but not limited to the ExportAdministration Act of 1979 as amended from time to time and any regulations promulgated thereunder.6. U.S. GOVERNMENT RESTRICTED RIGHTS. If you are acquiring the SOFTWARE onbehalf of any unit or agency of the United States Government, the following provision applies: It isacknowledged that the SOFTWARE and the documentation was developed at private expense andthat no part is in the public domain and that the SOFTWARE and documentation are provided withRESTRICTED RIGHTS. Use, duplication or disclosure by the Government is subject to restrictionsas set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clauseat DFARS252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable. Contractor / Manufacturer is: Portlock, 101North Main Street, Butte, MT 59701.7. LIMITED WARRANTY. (a) Portlock to you, the original end user, (i) that the SOFTWARE,other than third-party software, will perform substantially in accordance with the accompanyingdocumentation and (ii) that the SOFTWARE is properly recorded on the disk media. This LimitedWarranty extends for ninety (90) days from the date of purchase. Portlock does not warrant anythird-party software that is provided with the SOFTWARE, but Portlock agrees to pass on to youany warranties of the owner or licensor to the extent permitted by the owner or licensor.(b) This Limited Warranty does not apply to any Software that has been altered, damaged, abused,miss-applied or used other than in accordance with this license and any instructions included on theSOFTWARE and the accompanying documentation.
  5. 5. Portlock Storage Manager 4.0 for NetWare User’s Guide(c) Portlock’s entire liability and your exclusive remedy under this Limited Warranty shall be therepair or replacement of any Software that fails to conform to this Limited Warranty, or at Portlock’soption, return of the price paid for the SOFTWARE. Portlock shall have no liability under this LimitedWarranty unless the SOFTWARE is returned to Portlock or its authorized representative, with a copyof your receipt, within the warranty period. Any replacement SOFTWARE will be warranted for theremainder of the original warranty period or 30 days, whichever is longer.(d) THIS WARRANTY IS IN LIEU OF AND EXCLUDES ALL OTHER WARRANTIES NOTEXPRESSLY SET FOR THEREIN, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOTLIMITED TO ANY WARRANTIES OF MERCHANT ABILITY, FITNESS FOR A PARTICULARPURPOSE, NON-INFRINGEMENT OR WARRANTIES ARISING FROM USAGE OF TRADEOR COURSE OF DEALING.(e) THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS. YOU MAY HAVE OTHERSWHICH VARY FROM STATE TO STATE.(f) Your failure to return the enclosed registration card or complete the electronic registrationincluded with the SOFTWARE may result in Portlock’s inability to provide you with updates to theSOFTWARE, and you assume the entire risk of performance and result in such an event8. LIMITATION OF LIABILITY. IN NO EVENT SHALL PORTLOCK’S LIABILITYRELATED TO ANY OF THE SOFTWARE EXCEED THE LICENSE FEES ACTUALLY PAIDBY YOU FOR THE SOFTWARE. EXCEPT FOR A RETURN OF THE PURCHASE PRICEUNDER THE CIRCUMSTANCES PROVIDED UNDER THE LIMITED WARRANTY, NEITHERPORTLOCKSOFTWARE NOR ITS SUPPLIERS SHALL IN ANY EVENT BE LIABLE FOR ANY DAMAGESWHATSOEVER ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USETHE SOFTWARE, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, SPECIAL,INCIDENTAL OR CONSEQUENTIAL DAMAGES, AND DAMAGES FOR LOSS OF BUSINESSPROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHERPECUNIARY LOSS, EVEN IF PORTLOCK HAS BEEN ADVISED OF THE POSSIBILITYOF SUCH DAMAGES, WHETHER SUCH LIABILITY IS BASED ON CONTRACT, TORT,WARRANTY OR ANY OTHER LEGAL OR EQUITABLE GROUNDS. BECAUSE SOME STATESDO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIALOR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU9. NO WAIVER. Any failure by either party to this agreement to enforce a specific part of theagreement in a specific situation is not a waiver of rights under the agreement. The party may stillenforce the rest of the agreement in that situation and may still enforce some or all of the agreementin other situations.
  6. 6. License Agreement10. AGREEMENT. This License Agreement constitutes the entire agreement between you andPORTLOCK pertaining to its subject matter. The laws of the State of Montana govern this LicenseAgreement. Any litigation arising from this license will be pursued only in the state or federalcourts located in the State of Montana. Even if part of the agreement is held invalid, the rest of theagreement is still valid, binding and enforceable.
  7. 7. Portlock Storage Manager 4.0 for NetWare User’s Guide Table of ContentsChapter One:About Portlock Storage Manager .................................................................................. 14What is Portlock Storage Manager? ......................................................................................................... 15Design Philosphy of Portlock Storage Manager ....................................................................................... 15Before Loading Portlock Storage Manager ............................................................................................. 15Technical Support ................................................................................................................................. 17Chapter Two: Using Portlock Storage Manager ................................................................................. 18Introduction to Portlock Storage Manager ............................................................................................... 19Introduction to Portlock Remote ............................................................................................................. 19Introduction to Portlock Installation Methods ......................................................................................... 19Portlock Storage Manager Installation Methods ...................................................................................... 19Installing Portlock Storage Manager on NetWare .................................................................................... 20Method One: Using INSTALL.NLM or NWCONFIG.NLM ................................................................... 21Method Two: Using PINSTALL.NLM ................................................................................................... 23Method Three: Using the directory SYS:/STORMGR ............................................................................. 25Loading Portlock Storage Manager ........................................................................................................ 25Chapter Three: Drive Commands ....................................................................................................... 26Introduction to the Drive Commands ....................................................................................................... 27Explanation of the Drive Initialize Command .......................................................................................... 28Explanation of the Drive Sector Copy Command ...................................................................................... 30Explanation of the Drive Compare Command .......................................................................................... 30Explanation of the Drive Verify Command .............................................................................................. 31Chapter Four: Partition Commands ................................................................................................... 34Partition Commands ............................................................................................................................. 35Activate Partition Command .................................................................................................................. 35Check Partition Command ..................................................................................................................... 36Combine NW 6 Master Partitions Command ........................................................................................... 37Convert to a NW 6 Partition Command ..................................................................................................... 37Copy Partition Command ...................................................................................................................... 38Create Partition Command ..................................................................................................................... 39Delete Partition Command ..................................................................................................................... 41Hide Partition Command ....................................................................................................................... 41Image Partition Command ..................................................................................................................... 42Resize Partition Command .................................................................................................................... 43Unhide Partition Command ................................................................................................................... 43
  8. 8. Table of ContentsChapter Five: Volume Commands ....................................................................................................... 44Volume Check Command ..................................................................................................................... 45Volume Delete Command ...................................................................................................................... 45Volume Rename Command ................................................................................................................... 45Chapter Six: Pool Commands .............................................................................................................. 46Introduction to Pool Commands ............................................................................................................. 47Check Pool ............................................................................................................................................ 47Copy Pool .............................................................................................................................................. 48Delete Pool ............................................................................................................................................ 49Move Pool ............................................................................................................................................. 49Chapter Seven: Image Commands ...................................................................................................... 52Overview of the Image Commands ......................................................................................................... 53Disaster Recovery ................................................................................................................................. 54Cloning a Server .................................................................................................................................... 54Upgrade of Hard Drives .......................................................................................................................... 54Write an Image to a Disk File .................................................................................................................... 55Write an Image to a TCP/IP Link .............................................................................................................. 57Write an Image to a Tape Drive ................................................................................................................. 58Write an Image to a CD/DVD Recorder .................................................................................................... 59Write an Image to an FTP Server .............................................................................................................. 59Online Imaging .............................................................................................................. 60Chapter Eight: Restore Commands .................................................................................................... 62Introduction to the Restore Commands ................................................................................................... 63Read Image from a Disk File.................................................................................................................... 63Read Image from a TCP/IP Link .............................................................................................................. 64Read Image from a Tape Drive ................................................................................................................. 65Read Image from a CD/DVD ................................................................................................................... 66Read Image from a Web Server. ............................................................................................................... 66Read Image from an FTP Server .............................................................................................................. 67
  9. 9. Portlock Storage Manager 4.0 for NetWare User’s GuideChapter Nine: Repair Commands ....................................................................................................... 70Introduction to the Repair Commands ..................................................................................................... 71Create a Sector Image of a Disk Drive Command ....................................................................................... 71Fix Master Boot Record (MBR) .............................................................................................................. 72NetWare Traditional Partition and Volume Recovery Commands ............................................................ 73Copy a Corrupted Volume to a New Volume .............................................................................................. 74Repair a Volume with a missing Volume Segment ..................................................................................... 74Backup FAT Tables to a Disk File .............................................................................................................. 74NetWare NSS Partition and Volume Recovery Commands ....................................................................... 75Rebuild a Pool’s Tree .............................................................................................................................. 75VMware Partition and Volume Recovery Commands .............................................................................. 76Chapter Ten: Hardware Commands ................................................................................................... 78Chapter Eleven: System Commands ................................................................................................... 80Open Logfile ......................................................................................................................................... 80Close Logfile ......................................................................................................................................... 81Recv File ............................................................................................................................................... 81Send File ............................................................................................................................................... 81Disk Format .......................................................................................................................................... 82Chapter Twelve: License Renewal ....................................................................................................... 84AppendixA:Automated Imaging with the use of CRON.NLM ............................................................ 86Appendix B: Portlock Storage Manager and NSS Snapshots ............................................................... 90Online Imaging and NSS Snapshots ........................................................................................................ 90Scripting Support in Portlock Storage Manager ....................................................................................... 91Guidelines for Crosss-Platform Compatibility of NSS ............................................................................. 92What is NSS Snapshotting? .................................................................................................................... 92Benefits of Pool Snapshopts .................................................................................................................... 93How to Enable Snapshots ........................................................................................................................ 94Activating NSS Snapshots ..................................................................................................................... 94Mounting a NetWare NSS Pool Snapshot ................................................................................................. 95Glossary .............................................................................................................................................. 98
  10. 10. Table of Contents
  11. 11. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 1 About Portlock Storage Manager This chapter includes the following topics: • What is Portlock Storage Manager? • Design Philosophy of Portlock Storage Manager • Before Loading Portlock Storage Manager • Copying Portlock Storage Manager to a floppy diskette • Technical Support14
  12. 12. Chapter 1 About Portlock Storage ManagerWhat is Portlock Storage Manager?Portlock Storage Manager is software designed to optimize server and desktop storage and protectcritical business data. Users can copy, create, clone, image, restore and resize partitions and volumes.Recovery of failed servers is very fast and dramatically simplified. Portlock Storage Managersupports creating images of Linux, NetWare and Windows servers (Windows currently in Beta).Images can be stored on disk files, TCP/IP communication links, FTP servers and SCSI tape drives.Third-generation imaging technology supports streaming to the fastest SCSI tape drives or usinghigh performance communications over TCP/IP for server-to-server cloning.Portlock Storage Manager provides full-featured control over the size and layout of partitions,volumes, NSS (Novell Storage Services) volumes and NSS Storage Pools. Compaq, IBM and DELLDiagnostic partitions are also supported. With Portlock Storage Manager 4.0, NetWare and Linuxcustomers have a backup, storage management and disaster recovery solution that provides supportfor imaging, moving, managing and recovering Novell Storage Services (NSS) pools, volumes andpartitions on both SUSE LINUX and NetWare system kernels. In addition, Portlock Storage Managersupports all other leading filesystems, such as Reiser, Ext2, Ext3, etc.Design Philosophy of Portlock Storage ManagerPortlock Storage Manager breaks commands into groups of commands based on the concepts ofDrive, Partition, Volume, Pool, Image, Restore and Repair. For example, if you want to resize avolume, use the command Volume Resize, located under Volume Commands. If you want to resize apartition, then use the command Partition Resize under Partition Commands. Before you can modifya storage item, you must select it. Once an item is selected, a command menu will be displayed withthe supported commands for that item. NOTE: Not all features are available for all file system types.Before Loading Portlock Storage ManagerWe recommend installing the latest Service Packs, especially if you are using NSS. However, thisis not a requirement. Our Quality Assurance Department attempts to test Portlock Storage Manageron all versions of NetWare with all Service Pack releases.Verify your NetWare and NSS volumes prior to modifying them with Portlock Storage Manager.Portlock Storage Manager performs a volume check on Traditional and NSS volumes prior tobeginning any modification operation. This ensures that there is no volume corruption and ensuresthat Portlock Storage Manager supports the feature set of the volumes. Novell is constantly improvingNetWare and this may result in new file system features being added. Portlock Storage Managerchecks every data structure in a volume to ensure that all features are recognized and supported. 15
  13. 13. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager operates the same in all supported OS environments: Dismounting wherethe underlying OS requires it. The program controls the underlying OS disk access in order to completeits functionality. Therefore, it is generally a poor idea for end users to be connected when PortlockStorage Manager is working on the server. Portlock Storage Manager does not require clients tolog off from the server. Servers usually do not need to be rebooted after running Portlock StorageManager. Only the volume being modified needs to be dismounted. However, when a volume isdismounted, files on that volume are no longer accessible. If a volume is dismounted when files areopen, users will not be able to write to these files. NOTE: BACKUP your data. Protect your data by maintaining current and reliable backups before you begin any storage management operation. Install and use an Uninterruptible Power Supply (UPS). Portlock Software engineers design fault-tolerant features wherever possible in Portlock Storage Manager. However, not every disk operation can withstand power failures. Protect your servers and desktops with UPS devices.16
  14. 14. Chapter 1 About Portlock Storage ManagerTechnical SupportPortlock is committed to providing support for its products that exceeds the industry standardfor software companies. We provide support via our web site www.portlock.com, email andtelephone.NOTE: Technical Support is only available in English.Before Contacting Technical SupportVerify that you are running the current version of Portlock Storage Manager. Our products are updatedoften. The README file may indicate that we have already corrected your problem. • Run Portlock Storage Manager with the stormgr -logfile=stormgr.log command line option. Technical Support will usually ask for the log file so that we can see your hardware and software configuration. • Write down any error or warning messages exactly as displayed by Portlock Storage Manager. This will often help Technical Support identify the location of the error in the Portlock Storage Manager source code. This can greatly speed up resolution of a support issue. • Know the operating system name and version. • Know the makes and model numbers of the hardware you are usingContacting Technical Support by Email or TelephoneIf you are reporting a problem using Portlock Storage Manager, our preferred support contact is byemail – support@portlock.com – you will receive a response within ONE business day.If you prefer, you can contact our Technical Support Engineers via telephone: +1-406-723-5200 or44 (0) 1256 392990 (best choice for Europe). 17
  15. 15. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 2 Using Portlock Storage Manager This chapter includes the following topics: • Introduction to Portlock Storage Manager • Introduction to Portlock Remote • Introduction to Portlock Storage Manager Installation Methods • Por tlock Storage Manager Installation Methods • Quick Installation of Portlock Storage Manager on Novell Open Enterprise Server • Installing Portlock Storage Manager on NetWare • Uninstalling Portlock Storage Manager using NWCONFIG • Uninstalling Portlock Install, Remote and Related Products • Loading Portlock Storage Manager18
  16. 16. Chapter 2 Using Portlock Storage ManagerIntroduction to Portlock Storage ManagerPortlock Storage Manager is designed to support a large variety of bare-metal disaster recovery,server-to-server migration and storage management operations. Users can copy, create, clone, image,restore and resize partitions and volumes. Users can also image and restore from disk files, tape,CD/DVD, FTP and web servers. Recovery of failed servers is very fast and dramatically simplified.No other storage management product offers such a breadth of features.Introduction to Portlock RemotePortlock Remote is a Windows-based program that supports remote control of Portlock StorageManager. Portlock Remote executes from a DOS box on a Windows platform. You can use thisprogram rather than using other screen capture tools, such as Rconj or Rconsole.Introduction to Portlock Installation MethodsPortlock Storage Manager can be installed onto machines running NetWare and Linux operatingsystems using several methods. All of the files necessary to support these methods are available fromthe web and from the Portlock Boot CD (PBCD).Download Portlock Storage Manager 4.02 from:http://www.portlock.com/products/storagemanager/evaluate/The Portlock Boot CD may be downloaded from:http://www.portlock.com/products/storagemanager/boot_cd.aspxThe files on the Portlock Boot CD are accessed using two methods: 1. Boot the PBCD into local mode and recover the file(s) from the appropriate products subdirectory. This method is described fully in a separate document on our web site. 2. Insert the PBCD into a running Windows-based machine and take advantage of the auto- starting menu that pops up containing access paths to all Portlock products.Portlock Storage Manager Installation MethodsThe required file(s) may be downloaded from:http://www.portlock.com/products/storagemanager/evaluate/ 1. Remote installation of Portlock Storage Manager on NetWare using Portlock Install. File(s): Portlock Storage Manager Windows-based Installer. 2. Installation of Portlock Storage Manager natively on NetWare servers from a floppy diskette. File(s): Minimum files to run Portlock Storage Manager from a floppy. Unzip to a formatted floppy diskette. 19
  17. 17. Portlock Storage Manager 4.0 for NetWare User’s Guide 3. Installation of Portlock Storage Manager natively on NetWare servers using NWConfig or Pinstall methods. File(s): Download the zipped NetWare-based Installer. Unzip and execute NWConfig or PInstall to run Portlock Storage Manager on a NetWare server. Create the directory SYS:/STORMGR. Unzip into this directory. No installation is required. Create a temporary directory on your NetWare server and unzip these files into this directory.NetWare 3.x & 4.x - run PINSTALL.NLM to install.NetWare 5.x & 6.x - run NWCONFIG.NLM to install. NOTE: Updated software evaluation licenses are available at : http://por tlock .com/download/ portlock.zipQuick Installation of Portlock Storage Manager onNovell Open Enterprise Server 1. Start a bash shell at the NetWare server console. Type “bash” at the server prompt. 2. Create a directory to store the Portlock Storage Manager files. Type “mkdir sys:/stormgr” at the bash prompt. 3. Switch directories to sys:/stormgr. Type “cd /stormgr” at the bash prompt. 4. Download Portlock Storage Manager: Type “wget www.portlock.com/download/stormgr_ 40.zip” at the bash prompt. 5. Unzip the files. Type “unzip stormgr_40.zip” at the bash prompt. 6. Copy your purchased license (optional). Insert a floppy diskette with your license. Type “copy a:stormgr.lic stormgr.lic”. 7. Exit the bash shell. Type “exit” at the bash prompt. 8. Start Portlock Storage Manager. Type “sys:/stormgr/stormgr” at the server prompt.Installing Portlock Storage Manager on NetWareIf you are installing from a CD-ROM, insert the CD-ROM into your drive. If you downloaded thesoftware, the software is packaged as a ZIP file. Create a temporary directory on your system andunzip the files. There are three supported installation methods:Method One: Using INSTALL.NLM or NWCONFIG.NLMMethod Two: Using PINSTALL.NLM20
  18. 18. Chapter 2 Using Portlock Storage ManagerMethod Three: Using the directory SYS:/STORMGR WARNING: Do not use emm386.exe in config.sys for the DOS version of Storage Manager. There are many issues associated with this memor y manager. Por tlock Storage Manager has removed the need for emm386.exe.Method One: Using INSTALL.NLM or NWCONFIG.NLMFirst, copy the files either to a floppy diskette or to a temporary directory on your server.Next, from the NetWare system console, type nwconfig and press [Enter]From the Configuration Options menu, select Product Options and press [Enter].From the Other Installation Actions menu, select Install a product not listed and press [Enter]to continue. 21
  19. 19. Portlock Storage Manager 4.0 for NetWare User’s GuideThe Previously Specified Paths menu will appear. Press [Enter] to continue. NOTE: Even though the highlighted Previously Specified Path may not be correct, go ahead and continue because the next screen will give the option to specify a different path.A confirmation box will appear. Press [F3] to specify a different path or [Enter] to continue.At this point, specify a directory path. In the example below, C:STORMGR was entered becausethat is where we unzipped the Portlock Storage Manager files. Press [Enter] to continue.Indicate which file groups you want installed by using the [Enter] key to toggle the [X] next to eachitem. Because there is only one group for the Portlock Storage Manager version to be installed andit is already marked, we will continue by pressing [F10] to Accept marked groups and continue.After accepting the marked groups, the File Copy Status screen will appear. On top of this screen, theAvailable Options menu will appear. To continue, select Install Storage Manager by highlightingit and pressing [Enter].22
  20. 20. Chapter 2 Using Portlock Storage ManagerThe Portlock License Agreement will appear. Make sure you read the entire License Agreementby using the down arrow key to scroll through the document and when finished, press [ESC] tocontinue.From this screen, select the option Accept License Agreement and press [Enter]. To reject thelicense agreement, select the option Reject License Agreement. If you choose to reject the licenseagreement, you will be unable to install Portlock Storage Manager and you will be returned to theConfiguration Options menu.The file copy procedure will begin after you accept the license agreement. Once all of the fileshave been copied and the status bar reaches 100%, a message box will appear indicating that theinstallation of Portlock Storage Manager is complete. Press [Enter] to continue and [ESC] to exitNWCONFIG.Method Two: Using PINSTALL.NLMFrom the server console, type: load a:pinstall.nlm if the files are on a floppy diskette, or type load<path>/pinstall.nlm if the files are on a directory on the server. In example below, pinstall.nlm islocated in the STORMGR directory on the C: drive. 23
  21. 21. Portlock Storage Manager 4.0 for NetWare User’s GuideFrom the Install Portlock Storage Manager screen, choose YES to begin installing Portlock StorageManager. Press [Enter] to continue.This screen shows the Portlock License Agreement. After reviewing the license agreement, press[Enter] to continue and accept the license agreement or [ESC] to return to the previous screen.From the Available Options menu, choose Accept License Agreement (if you accept the terms ofthe agreement) to continue with the installation and press [Enter].The Software Installation Progress screen displays showing the installation of Portlock StorageManager was successful.24
  22. 22. Chapter 2 Using Portlock Storage ManagerMethod Three: Using the directory SYS:/STORMGRTo install using the directory SYS:/STORMGR, copy the files to the SYS:/STORMGR directory onyour server. The software can also be copied to any directory on your server.Loading Portlock Storage ManagerThe default installation directory for Portlock Storage Manager is SYS:/STORMGR. To load PortlockStorage Manager, type: load sys:/stormgr/stormgr. We recommend including the logfile commandline option: load sys:/stormgr/stormgr –logfile=sys:/stormgr.log or if you are going to manipulatestorage on the SYS: volume then save the logfile to the C: drive as shown in the Execute from DOSline. To execute Portlock Storage Manager from DOS, type: stormgr –logfile=c:/stormgr.log. Asa shortcut, create a file in the SYS:/SYSTEM directory named stormgr.ncf. Place the followingcommand line into this file: load sys:/stormgr/stormgr –logfile=sys:/stormgr.log. After attemptingthis procedure, you can type stormgr at the server console and load Portlock Storage Managerwithout specifying the path and options. 25
  23. 23. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 3 Drive Commands This chapter includes the following topics: • Introduction to the Drive Commands • Explanation of the Drive Information Command • Explanation of the Drive Initialize Command • Explanation of the Drive Sector Copy Command • Explanation of the Drive Compare Command • Explanation of the Drive Verify Command26
  24. 24. Chapter 3 Drive CommandsIntroduction to the Drive CommandsThe Drive Commands are designed to diagnose problems and perform various storage managementoperations at the drive level. With the use of Drive Commands, a storage device can be copied,compared, checked for errors and/or cleared of all existing data. The Drive Commands make it fastand easy for users to work with their storage devices at the drive level without the need to worryabout partitions, volumes and files.The Main Menu offers access to all the features of Portlock Storage Manager quickly and easily. Toaccess the Drive Commands, select Drive Commands from the Main Menu and press [Enter].Inside the Drive Commands you will find information regarding your drives that currently resideon the device selected which will include partition type, partition size, free space, drive type andvirtual environment.If you have multiple devices in your configuration they will be listed under the Select Drive menuas shown below. Select your desired device for a list of options.Your list of options will include Drive Attach, Copy, Create, Expand, Information, Initialize, Compareand Verify. Drive Attach, Copy, Create and Expand are primarily for virtual environments. 27
  25. 25. Portlock Storage Manager 4.0 for NetWare User’s GuideYou will find the rest of the Drive Commands useful for incidents such as information about yourdrive or checking the sectors of your drive for errors and performance. Drive Initialize must be usedwith caution because it will completely delete all partitions on your device.Drive InitializeThe Drive Initialize command will rewrite the boot sector of a device. This will delete all partitiontable information. This command is designed to be used on new devices that do not yet have a validpartition table. NOTE: Do not run this command on a device with valid partitions. This will wipe your device clean.Highlight and select the device you wish to initialize:You will be warned that all partitions on your device will be deleted. If you proceed, you will loseall data on your device.28
  26. 26. Chapter 3 Drive CommandsYou have the option of writing all device sectors with a data pattern. You may skip this phase. When“Write All Device Sectors with Data Pattern” is selected, Portlock Storage Manager will start sector-by-sector initialization of the selected disk drive.It is not always necessary to initialize every sector of your drive. This can be a lengthy process,depending on the size and speed of your device. 29
  27. 27. Portlock Storage Manager 4.0 for NetWare User’s GuideDrive Sector CopyThe Drive Sector Copy command is used to copy one disk drive to another. The two driveswill be an exact copy of each other. This command is typically used during data recovery.It should not be used as a method to make a copy of a partition. Most modern operatingsystems embed information into the partitions that must be modified for correct disk cloning.You should use the Partition or Image Commands to manage your partitions.Drive CompareThe Drive Compare command will compare two disk drives. This command can be run after a DriveSector Copy to verify that the copy was successful. NOTE: You must have two devices on your system in order to run this command.Select the drive you wish to make your comparison with:30
  28. 28. Chapter 3 Drive CommandsIf you are trying to compare two drives that are not the same size, Portlock Storage Managerwill prompt you with a message stating the amount of sectors that will be compared. Thesize of sectors will be dependant on the size of your drives.Drive VerifyThe Drive Verify command will perform a test of the disk device. There are several types of tests,including Read-Only and Read-Write. Read-Only commands will not modify the media, and are safeto run when there are partitions and volumes present. The Read-Write commands are destructiveand will destroy partitions and volumes. WARNING: Do not execute Read-Write commands on a device with valid partitions and volumes. Doing so will delete all data.1. Read-Only Sequential VerifyThis method performs a read-only sequential scan of the disk drive. Block sizes from 1 sector to128 sectors per I/O are supported. No data is written to the drive. This is also a quick method todetermine the read performance of a disk drive.2. Read-Only Random VerifyThis method performs a read-only random scan of the disk drive. The software generates a randomnumber which determines the sector to read. Block sizes from 1 sector to 128 sectors per I/O aresupported. No data is written to the drive. This method is quick in determining the random I/Operformance of a disk drive. 31
  29. 29. Portlock Storage Manager 4.0 for NetWare User’s Guide3. Read-Write Sequential VerifyThis method verifies that data can be written to a disk drive and then read back. A data pattern thatis unique to each sector is written to the disk and then compared on read back. Block sizes from 1sector to 128 sectors per I/O are supported. For this verify mode, an option is to perform an extensiveverify, which writes multiple data patterns to the disk drive. This includes performing a bit-walk datapattern to detect missing sector bits. Data is written to the drive, which will destroy all partitions,volumes and data on the disk drive.4. Read-Write Random VerifyThis method verifies that the data can be written to a disk drive and then read back. The softwaregenerates a random number that is used to determine the sector to write/read. Block sizes from 1sector to 128 sectors per I/O are supported. For this verify mode, an option is to perform an extensiveverify, which writes multiple data patterns to the disk drive. This includes performing a bit-walk datapattern to detect missing sector bits. Data is written to the drive, which will destroy all partitions,volumes and data on the disk drive.Two options for verifying your disk drive are verifying the entire drive or part of the drive. If youchoose to verify only part of the drive, Portlock Storage Manager will prompt you for informationregarding the length of the drive verification you wish to carry out.32
  30. 30. Chapter 3 Drive CommandsPortlock Storage Manager will give you the option of how many sectors per I/O to complete. NOTE: Portlock Storage Manager supports various size I/O operations. The size of an I/O is measured in sectors. The larger the I/O size, the faster most drives can transfer data. Most devices are limited to 128 sectors (64 KB) per I/O operation. Some devices can transfer larger amounts.Give Portlock Storage Manager a number of passes you wish Drive Verify to make. In most cases,one pass is substantial.The drive verification process will begin and may take a few minutes. 33
  31. 31. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 4 Partition Commands This chapter covers the following commands: • Partition Commands • Activate Partition • Copy Partition • Defragment Partition • Delete Partition • Dismount Partition • Display Partition • Format Partition • Hide Partition • Image Partition • Mount Partition • Resize Partition • Unhide Partition34
  32. 32. Chapter 4 Partition CommandsPartition CommandsThe Partition Commands are designed to help you manage and diagnose problems and performstorage management operations3 at the partition level. By selecting the Partition Commands fromthe Main Menu of Portlock Storage Manager, you will find a number of options to assist you inmanaging your system. Note: There are several features within the Partition Commands that are only usable when running under a NetWare system.From the Partition Commands you will have the option to Activate, Check, Copy, Create, Defrag,Delete, Dismount, Display, Format, Hide, Image, Mount, Resize and Unhide. There are many differentscenarios for each command, all of which can be beneficial when managing your system.Activate PartitionThe Activate Partition command is used to modify which partition will be set to boot in the MasterBoot Record (MBR). For example, various MS-DOS partitions could be present on a drive, but onlyone could be active or able to “boot.” 35
  33. 33. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager will provide you with a list of partitions to activate. Your system will notboot from an inactive partition.Check PartitionThe check partition feature will ensure that you have no warnings or errors that reside with any ofthe partitions on your device.Portlock Storage Manager will provide you with a list of partitions on your device. Choose thepartition that you wish to check.36
  34. 34. Chapter 4 Partition CommandsOnce the partition check is complete and you have not received any notices or warnings, you willsee that everything is checked with a “Success.”Combine NetWare 6 Master PartitionFrom the Select Partition Command menu, select Combine NW 6 Master Partitions and press[Enter]. The selected NetWare 6 master partition tables will be combined and you will be returnedto the Select Partition Command menu. NOTE: Once you’ve combined partitions, you cannot revert those partitions to their original state.Convert into a NetWare 6 PartitionSelect the Convert into a NW 6 Partition from the Select Partition Command menu. 37
  35. 35. Portlock Storage Manager 4.0 for NetWare User’s GuideWhen migrating or copying partitions, ensure that you have an activated partition. If there is noactivated partition or the correct partition is not activated, your system may not boot. Partitionsmarked with an asterisk (*) are bootable partitions.Checking your partition may be a good idea before beginning any image or copy to ensure that yourhave no errors or corruption with any one partition.Copy PartitionChoose the option “Copy Partition” as seen below. This willallow you to copy your partition to free space on your existingdrive or to an additional device on your system. For example:You have a 9 GB drive that is almost full and you would liketo replace this drive with a larger one. You can accomplish thisby installing a new, larger drive (if applicable) and copy thepartition to the larger drive and resize it using the PartitionResize command.After selecting your device, its partitions are displayed. Once you have selected the partition youwish to copy, Portlock Storage Manager will ask you where you want to copy your partition. If youhave no other existing devices on your system, you will need to copy your partition to the originaldevice. You will not have the option to copy a partition if you do not have enough free space on theoriginal device.Two pools with the same name cannot reside on the same server. Portlock Storage Manager will askyou to rename the partition/pool that your are copying. NOTE: You may rename your partition/pool back to its original name once the original partition/pool has been discarded.38
  36. 36. Chapter 4 Partition CommandsPortlock Storage Manager checks all partitions before allowing management operations to ensurethat you are not moving or managing a potentially corrupted partition.You will need to rename your volume just as you did for your pool because Portlock Storage Managerdoes not allow you to have duplicate volume names.Select the device you wish to copy to and ensure you have enough free space on this device beforebeginning the copying process.Upon copying your volume, you will have the option to resize your pool. Portlock Storage Managerwill provide you with a minimum and a maximum size. If you do not wish to resize, select the defaultsize provided and press [Enter].The copying process will begin and may take a few minutes.Create PartitionThe Create Partition command will allow you to create partitions so that data management canbe more streamlined and changes can be made to the layout and location of your volumes and data.This command is most commonly used to prepare an un-partitioned disk or disk with available freespace for use. A number of different partitions can be created using this command. Partitions thatcan be created with Portlock Storage Manager are DOS, FAT16, FAT32, NetWare, NTFS, LinuxSwap and ReiserFS. 39
  37. 37. Portlock Storage Manager 4.0 for NetWare User’s Guide NOTE: Portlock Storage Manager can only create a partition if there is available free disk space to do so.Portlock Storage Manager will provide you with a list of partition types to create. Select the typethat you wish to create and press [Enter].Create either a NetWare Traditional or NSS partition.Portlock Storage Manager specifies a minimum and a maximum size for your partition. Specify thesize for your new partition and press [F10].40
  38. 38. Chapter 4 Partition CommandsDelete PartitionDeleting a partition is sometimes necessary to create free space for different scenarios. To delete apartition, select Delete Partition from the Partitions Command menu.The partitions you may delete are displayed:Hide PartitionThe Hide Partition command will allow you to hide partitions by changing their partition type inthe Master Boot Record (MBR). This command is most useful when copying a NetWare partitionwithout renaming the volumes inside of it. By hiding the partition, NetWare will not have a conflictwith volume names.Choose the partition that you wish to hide from the selection list and then confirm the process. 41
  39. 39. Portlock Storage Manager 4.0 for NetWare User’s GuideImage PartitionThis allows you to take an image of a partition. The Image Partition command is designed to takea sector-by-sector image of the partition. It should not be used for normal image/restore operationsas it is only designed to be used for disaster recovery in the event of a failure.This command is intended for data recovery operations and not for duplicating partitions as mostmodern operating systems embed information into the partitions that must be modified for correctpartition cloning.Select the partition that you wish to image from the selection menu:Portlock Storage Manager will provide you with several types of destinations to choose from. Choosethe one that best suits your needs. For more information on imaging and destination selection, pleasesee the Imaging Commands.42
  40. 40. Chapter 4 Partition CommandsResize PartitionThis command resizes DOS, NetWare and NSS partitions. A partition can beresized larger or smaller, contain one or more volume segments, be resizedby changing the starting or ending position of a partition and can also bemoved. Volumes within a partition are not resized by this command. DOSpartitions can be resized larger and smaller,both in place and upon image restoration.NSS partitions may only be resized larger.However, NetWare Traditional partitionsmay be resized both smaller and larger. Adequate disk space for resize-larger is needed since PortlockStorage Manager does not move partitions for the resize process.Portlock Storage Manager will provide you with a list of partitions toresize. Choose the partition you wish to resize and press [Enter].You will now be given a minimum and a maximum size that you willbe able to resize your partition. Enter the new size in MB and press [Enter].Unhide PartitionThe Unhide Partition command will do the opposite of the hide commandby reverting the partition type bit in the MBR. Do not use duplicate volumenames. Portlock Storage Manager will detect duplicate volume names andwill prevent you from proceeding until the volumes have unique names. Usethe Volume Rename Command to rename your volume.Once you have chosen Unhide Partition, Portlock Storage Manager will show you a list of all thehidden partitions on your device. Selectthe partition you wish to unhide and press[Enter]. 43
  41. 41. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 5 Volume Commands This chapter includes the following topics: • Volume Check Command • Volume Delete Command • Volume Rename Command44
  42. 42. Chapter 5 Volume CommandsThe Volume Commands are a subset of NetWare-specific commandsthat will allow the user to perform a variety of tasks on NetWarevolumes. A few of the more commonly used commands are VolumeRename, Volume Resize/Merge and Volume Copy. If you wish towork with volumes and not partitions, this would be the appropriateselection. Depending on which version of NetWare you are using,Portlock Storage Manager will present the appropriate commandson the Volume Menu. On servers running versions of NetWare thatuse NSS technology, a NSS Volume Command item will be availablefrom the Volume Menu.Portlock Storage Manager will provide youwith a list of all the volumes on your server.Select the volume that you wish to manage.Volume CheckThe Volume Check command allows a quick, comprehensive checkof the selected volume. When this command is used, Portlock StorageManager will read and analyze the primary FAT Table, verify theSecondary FAT, read the directory tables and analyze the DIR Tables.This is a read-only command that checks a volume for errors. It doesnot repair any volume errors. Use the NetWare VREPAIR programto repair a Traditional NetWare volume.If your volume check passed without anyerrors you will be able to continue withmanaging your volume.Volume DeleteThis will permanently delete a volume from your pool and device.Use this command with caution as all data may potentially be lostVolume RenameEnter a new volume name for your volume. This must be aunique name for Portlock Storage Manager to accept it. 45
  43. 43. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 6 Pool Commands This chapter includes the following topics: • Introduction to the Pool Commands • Activate Pool • Check Pool • Copy Pool • Create Pool • Create Volume • Deactivate Pool • Delete Pool • Hide Pool • List Pools • Move Pool • Rebuild Pool • Rename Pool • Resize Pool • Undelete Pool • Unhide Pool • Verify Pool46
  44. 44. Chapter 6 Pool CommandsIntroduction to the Pool CommandsThe activate Pool Command will allow the user to activate the currently selected pool. Once theuser selects this option, Portlock Storage Manager will activate the selected pool and return to theNSS Pool Command menu. NOTE: When possible, make sure you have a verified backup of all of the volumes in the Pool you are trying to rebuild. A system crash that halts running processes can cause volume errors, but they are typically repaired during volume mount. If the errors persist, use Rebuild Pool and Verify Pool commands to try and resolve any problems.Check PoolThe Check Pool Command will allow the user to test the integrity of the selected pool. Some of thetests that will be performed include Verification of NSS Partition, Super Block, Free Tree, CheckPoint, Name Tree, Dir Tree, User Tree, Leaf Tree and more.From the Select NSS Pool Command menu, select Check Pool by highlighting it and pressing[Enter]. You will be prompted to dismount any mounted volumes before proceeding. NOTE: The Check Pool command uses Portlock’s pool- checking facilities with Portlock Storage Manager on a pool and it only reads the pool and does not correct any errors. 47
  45. 45. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager will show you a list off pools that reside on your server. Choose the poolthat you wish to perform the check.You may continue managing your pool after the pool check passes.Copy PoolThe Copy Pool command allows you to copy an existing Pool to a new storage location on an existingdisk or a new disk. The copy will create a new pool with all of the volumes inside the pool. You willneed to assign new, unique names to the pool and the volumes inside the pool.Portlock Storage Manager will require you to rename your pool and volume as you cannot haveduplicate pool and volume names on your server.48
  46. 46. Chapter 6 Pool CommandsSelect the device that you wish to copy your pool to. Verify that you have enough free space on yourdevice or Portlock Storage Manager will not allow you to begin the copying process.Delete PoolThe Delete Pool command allows you to delete existing pools on your server. If a pool is deletedunintentionally while using Console One, you can use Portlock Storage Manager to undelete thepool. Select the Undelete Pool option to see which pools may be undeleted.Move PoolThis command allows you to “move” a pool from one storage location to another. The process involvesPortlock Storage Manager hiding the original pool and copying it to the new storage location. Themoved pool is identical to the hidden pool. All rights, restrictions, etc. are preserved as part of themove. This command is ideal when used to migrate from old storage to new storage, such as a locallyattached disk to a new SAN environment. Select Move Pool from the Pool Commands menu tomove a pool. If the move does not complete successfully, unhide the original pool and try again. 49
  47. 47. Portlock Storage Manager 4.0 for NetWare User’s GuideAfter you select the pool to move and the device to move your pool to, Portlock Storage Managerwill perform a pool check to ensure your pool is in good condition before moving it.During the pool remove you will be given the option to resize your pool. Portlock Storage Managerwill give you a minimum and a maximum size to choose from.Once the pool move is complete you can confirm the move was a success by checking your deviceand the data in your pool.50
  48. 48. Chapter 6 Pool Commands 51
  49. 49. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 7 Image Commands This chapter includes the following topics: • Overview of the Image Commands • Disaster Recovery • Cloning a Server • Upgrading Hard Drives • Writing Image to a Disk Drive • Writing an Image to a TCP/IP Link • Writing an Image to a Tape Drive • Writing an Image to a CD/DVD Recorder • Writing an image to a FTP Server • Online Imaging52
  50. 50. Chapter 7 Image CommandsOverview of the Image CommandsPortlock Storage Manager images Compaq, Dell and IBM diagnostic partitions, DOS FAT-16partitions, Traditional Volumes and NSS Volumes. The volumes within a NetWare partition are imaged,but NetWare partitions are not imaged. Imaging the NetWare partition is unnecessary as they arecreated on the fly by Portlock Storage Manager during a restore. The Image Command dismountsWindows file systems before imaging when the Portlock Boot CD (WinPE) is used.Portlock Storage Manager images Traditional and NSS Volumes by storing the volume ATA blocksand file system structure into the image. This allows the volumes to be resizable during the restore.Portlock Storage Manager implements a third-generation technology for imaging NetWare serversthat maximizes the performance of the image and restore commands. For most systems, PortlockStorage Manager can easily stream the fastest SCSI tape drives such as Quantum’s LTO-3. An entireNetWare server can be saved into an image that can be stored as an image file on another server or asan image written to a SCSI tape drive. Images can consist of multiple files that are “spanned.” Spanningsupports images that are larger than the media to which they are written (i.e., CD/DVDs).Restoring an image can be done from DOS or NetWare. An entire server or just portions of theserver can be restored from the image. Portlock Storage Manager does not support individual filerecovery from images. This is a deliberate design decision due to our goal of very high performanceand compressibility of images.DOS FAT-32 partitions cannot be resized. This is a feature that will be added in a future release.Compaq Diagnostic partitions are not resizable when restored. This is also deliberate, asDiagnostic partitions are special types of partitions. Partitions can be enlarged using the PartitionCopy command. NOTE: It is not possible to image volumes within a pool. To move a volume from one pool to another, you need to use the Volume Copy command.Portlock Storage Manager images Traditional and NSS volumes by storing the volume data blocksand file system structure into the image. This allows the volumes to be resizable during the restore.Portlock Storage Manager can image a NetWare server while NetWare is running or from DOS.Device drivers written for NetWare are 32-bit drivers that have been optimized for performance.For this reason, we recommend imaging servers from NetWare instead of from DOS. DOS devicedrivers are typically 16-bit, real-mode drivers that are usually optimized for small memory size, notperformance. You will often see a two-to-one performance difference between DOS device driversand NetWare device drivers. 53
  51. 51. Portlock Storage Manager 4.0 for NetWare User’s GuidePortlock Storage Manager supports both the NWPA (HAM) drivers and NWIO (DSK) drivers forcommunicating with tape drives. Portlock Storage Manager interfaces directly with the HAM driverswhen using the NWPA interface. When using the NWIO interface, Portlock Storage Manager uses theASPI interface. NWPA drivers are faster. Portlock Storage Manager only supports ASPI drivers forcommunicating with tape drives under DOS. ASPI drivers provide interface to SCSI Host Adaptersthat are consistent with various SCSI Controllers.Disaster RecoveryIf you are using Portlock Storage Manager to create an offsite disaster recovery image, remember thatwhen you restore the image, only the data present at the time you created the image will be restored.Any newer files will not be part of the image that you have. For disaster recovery, you need to restorethe image that you made with Portlock Storage Manager and overwrite the information with thelatest version of the backup. This will provide you with all of the data up to the most recent backupthat you restored. Your only consideration is that all of your user IDs and passwords for these userIDs will be the ones that were used when the Portlock Storage Manager image was created. Backupsoftware such as FutureGate’s DeTroubler® supports restoration of NDS objects, which is acceptablein a single-server tree, but please consult your backup software manual for more information.Cloning a ServerThis method is used when you are upgrading the hardware for your server. In this case, you usePortlock Storage Manager to create an image of the old server and restore it on your new server.Once the image is restored to the new server, you may have to modify the server so that it supportsthe new disk controller and Network Interface Card before your users will be able to login to theserver. Please consult the manuals for your new hardware to ensure you have the correct driversloaded for the disk subsystem under NetWare.Upgrading Hard DrivesThis is the simplest solution for upgrading your server. Create an image of your server, remove theexisting drives, install the new drives and restore the Portlock Storage Manager image, resizing thevolumes as appropriate.The imaging process will give you the following options: • Image entire system • Image a single disk drive • Create a Sector Image of a disk drive • Create a Sector Image of a partition • Create a Sector Image of a disk region54
  52. 52. Chapter 7 Image CommandsCreating a sector image of a disk drive and of a partition is also the same process as theaforementioned Drive and Partition Commands. Choose to Create a Sector Image whenyou would like a bit-for-bit image. However, this command is most commonly used for datarecovery purposes and backing up a failing drive partition or region – errors and all.When selecting to image your system your will receive a list of all the partitions that resideon the device you selected. You may skip a partition for the imaging process by pressing F5.By default, Portlock Storage Manager will select all partitions on your device. Press [Enter]to image your entire server and view the image status next to each partition.If you have volumes present, you will be asked if you wish to purge all volumes.Write Image to a Disk FileFor your imaging process Portlock Storage Manager provides you with several differenttypes of destinations for ease of management. Your destination selection will consist of: • Write image to a disk file • Write image to a TCP/IP link • Write image to a Tape Drive • Write image to a CD/DVD Recorder • Write image to an FTP Server 55
  53. 53. Portlock Storage Manager 4.0 for NetWare User’s GuideThis guide will take you through each selection. For the first destination select Write imageto a disk file.Your image can be written to a DOS partition or a NetWare volume. Specify the path foryour image and press [Enter].Portlock Storage Manager provides you with several options pertaining to the image being created. Thefirst option you are given is Compression, which can be enabled or disabled. Enabling compressionwill create smaller file sizes but will take longer to image and restore. Disabling compression increasesimaging and restoring speeds but results in larger file sizes.The second option is Image File. With Image File, you may: 1. Auto-name image files. This will name the files with an increasing numeric extension for each image file, such as .001, .002, etc. 2. Ask for new image filename when the image file is full. Enabling this will automatically split the entire image file into 2,000 MB segments. 3. Split Image Files at 2,000 MB. This value can be changed. Enabling this will automatically split the entire image file into 2,000 MB segments. 4. Wait after each image file change. Enabling this will pause the process after each image file change. Since all the choices are pertinent to our example, we will press [Enter] to continue. NOTE: Portlock Storage Manager supports limiting the size of each image file to any size in multiples of 1,000,000 bytes. If you want to create an image that is limited to 650 MB for writing to a CD-ROM, specify a size of 650 in the Split. If you want to use removable media and you want to exchange the media when full, enable the Wait after each image file change option. If you want to write images to a Windows partition and have Portlock Storage Manager auto-name each file after the first one, enable the Auto- name image files field.56
  54. 54. Chapter 7 Image CommandsAuto-naming image files will cause Portlock Storage Manger to write with the name of the imagefile that you specify. If you specified an image filename of netware.img, a new file is created witha suffix of .000 (e.g. netware.000) when the file size limit is reached. As each file fills a new file iscreated, e.g. netware.001, etc. If the disk runs out of space, you will be prompted for a new filename,and the process can repeat on the new disk drive or volume. NOTE: Never give the initial image file a numeric extension as you may overwrite one of the files that you require as part of the image. Also ensure that the image files are no larger than 2,000 MB in size.Portlock Storage Manager will begin the imaging process and it may take a few minutes tocomplete.Write Image to a TCP/IP LinkPortlock Storage Manager supports sending an image over a TCP/IP link. The machine that is runningon the other end of the TCP/IP link can be Portlock Storage Manager running in Restore Mode,which implements server-to-server cloning. The other end of the TCP/IP link can also be PortlockImage Manager, (IMAGEMGR.NLM , located in the same directory as Portlock Storage Manager)which can receive data from TCP/IP and write it as a disk file, or write it to a SCSI tape drive. Thelatter supports a multi-server environment with only one SCSI tape drive. 57
  55. 55. Portlock Storage Manager 4.0 for NetWare User’s GuideWhen using Portlock Storage Manager on two servers with one executing the Image Servercommand and the other server executing the Restore Server command, you can clone servers atvery high speeds. Portlock Storage Manger has been written with special performance features forhigh-speed tape drives. With the increased size of disk drives and RAID arrays, classic file-by-filebackup methods are too slow.Portlock Storage Manager can compress the image as it is being written. For a server-to-servermigration, you should not enable compression because it can slow the process down. From theCompression Mode menu, select whether to disable or enable Software Write Compression andpress [Enter] to continue.When transferring an image via TCP/IP, one side needs to be a server, and the other side needs to bea client. The system that is running as a server must be started first. The system running as a serverwill listen for a connection from the other system (client). Select the TCP/IP mode for this systemand press [Enter] to continue.When selecting TCP/IP Server mode, Portlock Storage Manager will provide you with the IPaddress of your server and then listen for a connection from the client side. Please view the RestoreCommands for completing your migration.Write Image to a Tape DrivePortlock Storage Manager supports all SCSI tape drives that support writing in Variable LengthMode. Portlock Storage Manager does not support tape drives that only support block mode. Thisis not an issue, as all modern SCSI tape drives support Variable Length Mode. It provides bettertape capacity and higher performance.58
  56. 56. Chapter 7 Image CommandsPortlock Storage Manager writes to a SCSI tape drive using a 32,768-byte block size. This blocksize was chosen to maximize performance and tape capacity. Portlock Storage Manager will writeto a tape until the Early Warning of End of Media is detected. A file mark is written to the tapeand the tape is rewound. The cycle repeats itself with a new tape until all data to be imaged has beenwritten to tape. This allows an image to be spanned across multiple tapes.Portlock Storage Manager encodes header information while writing to tape. This header informationensures that data written to tape can be verified when read back. If compression is enabled, additionalinformation is written to ensure the validity of the uncompressed data.Write Image to a CD/DVD RecorderThis command allows you to directly image to a DVD recorder. As most servers do not have DVDrecorders installed (in some cases not even a DVD-ROM), a better option may be to image theserver to an FTP server (see next section for details) andthen burn those created images to a DVD or CD to do a filerestore (see Chapter 8 for details on restoration of imagesfrom a disk file).The DVD image command creates an image of your server on a recordable DVD. If the media isnot formatted then Portlock Storage Manager will format the media and then proceed to write theimage. If the image size exceeds the capacity of the media, you will be asked to remove the existingmedia and insert new media so the image can be spanned to accommodate the full image.Write Image to a FTP ServerImaging and restoring using a remote FTP server allows network administrators to store and retrieveimages of volumes, partitions and even entire servers. This function is good for backups and forstoring and retrieving images used in a test environment. From the Select Image Destination menu,select Write image to an FTP server by highlighting it and pressing [Enter].* See Write Image to a Disk File on page 56 for your Compression and Image File options NOTE: Some FTP servers are case sensitive for file names. For example, if a file is “DOS.img,” specifying “dos.img” will not work. 59
  57. 57. Portlock Storage Manager 4.0 for NetWare User’s GuideYou are prompted to enter the IP address, the name of the file that is to be created and the usernameand password of the remote FTP server. Portlock Storage Manager will communicate with the serverand start the actual imaging process. It will also simultaneously send the image to the FTP serverto be stored as an image file.Depending on your user rights on your FTP server, you may be able to send your image to a specificfolder. Note: Some FTP servers have a default timeout setting that may need to be configured before you begin the imaging process. If your timeout setting is not sufficient, the imaging process may not complete.Online ImagingPortlock Online Imaging provides block based imaging for NetWare 6.5 SP3 or later NSS Pools whilethey are active with mounted volumes. Portlock Online Imaging depends upon Novell SnapShotBackup. An NSS Pool, which can be empty, is used by Novell SnapShot Backup to store the deltasduring an image command. Portlock Storage Manager automatically freezes the selected pools,creates the snapshots, images the pools, thaws the selected pools and finally deletes the snapshots.Common reasons that Online Imaging fails: • The Pool is corrupted. • The Pool holding the snapshot is corrupted. • The Pool has too many deleted files. Consider purging the volumes within the pool. • The Pool does not have sufficient free space. Cleanup the volumes within the pool. • There is too much I/O activity on the Pool. NetWare must duplicate data that is modified on the pool during an online image. Consider moving some application’s datasets to other volumes to balance pool I/O. • There is not enough free space on the pool holding the snapshot. • There are hardware problems causing I/O errors on either the Pool or the pool holding the snapshot.60
  58. 58. Chapter 7 Image CommandsNSS Pools Must be in a Stable and Warning-Free State for NetWare’s SnapshotFeature to Work CorrectlyCheck your Pool: • Run “Check Pool” from Portlock Storage Manager. • This command is located under the “Pool Commands” menu. • Add the command line option “-logfile=filename”, without the quotes when starting Portlock Storage Manager. • Specify the full path to the log file (example: -logfile=C:/STORMGR.LOG). • You can specify a floppy so that nothing on the server is modified (-logfile=A:/ STORMGR.LOG). • Do not specify a volume located on a pool that you are “checking” as the log file would be closed before the full results of the Pool Check could be written.Verify your Pool: • Execute Novell’s “nss /poolverify” command from the console. Select the pool to be verified. See the notes below about log files.Rebuild your Pool: • If there are any warnings or errors from the above commands run a “nss /poolrebuild” and then repeat the check and the verify.Troubleshooting Pool Errors During an Online Image • Reboot the server so that everything is in a stable state. • Consider purging the volumes in the pool. We have seen a number for issues (NetWare bugs) when there are a lot of “unpurged” files. • Manually create a snapshot and verify both the original pool and the snapshot pool: • Assuming that your problem pool is called “SYS” and you have another pool called “TEST” to store the snapshot, execute the following commands from the NetWare console: • mm snap list - This will display any snapshots on the server. This should be an empty list • mm snap create sys test sys_snap - This creates a new snapshot called “SYS_SNAP”, stores the temporary pool data on pool “TEST”. The original pool is called “SYS”. Change the names according to your setup. • mm snap list - Verify that your snapshot was created successfully. • mm snap activate sys_snap - This activates the snapshot pool called “SYS_SNAP”. • nss /PoolVerify=SYS - This will verify the active pool “SYS”. • nss /PoolVerify=SYS_SNAP - This will verify the snapshot of pool “SYS” • When Portlock Storage Manager is performing an “Online Image” of a pool, SYS_SNAP is the pool being imaged. 61
  59. 59. Portlock Storage Manager 4.0 for NetWare User’s Guide Chapter 8 Restore Commands This chapter includes the following topics: • Introduction to the Restore Commands • Read Image from a Disk File • Read Image from a TCP/IP Link • Read Image from a Tape Drive • Read Image from a CD/DVD • Restore Image using Secondary CD/DVD devices with the Portlock Linux Boot CD • Read Image from a Web Server • Read Image from an FTP Server • Portlock Image Manager62
  60. 60. Chapter 8 Restore CommandsIntroduction to the Restore CommandsThe Restore Commands are a subset of commands that allow the user to restore an image previouslycreated by Portlock Storage Manager’s Image Commands. An image can be restored from a varietyof locations including a Disk File, across a TCP/IP link, a Tape Drive, a CD/DVD, a Web Serverand an FTP Server.NOTE: The “index.ftp” file is not automatically created. It is a “static” user-created file whichis put on the FTP server. The “index.ftp” file contains comments, remarks and a selectable list ofimages. This option is mainly used if you would like to have a lot of different images on the FTPserver but don’t want to remember the names and details of every image. You can put image namesand comments in this file and select them from Portlock Storage Manager. A short example of an“index.ftp” file is listed below: • [dos.img] This is an image of a DOS partition • [diag.img] This is an image of a Diagnostic partition • [nw4.img] This is an image of a NetWare 4 server • [nw5.img] This is an image of a NetWare 5 server • [nw6.img] This is an image of a NetWare 6 serverIf you do not wish to create this file, you can use the [F5] key to get a directory listing of your FTPserver and select the file that you wish to restore.From the Select Image Source menu, choose Read image from a Disk File. This can be a file froma partition or external device. 63
  61. 61. Portlock Storage Manager 4.0 for NetWare User’s GuideThe image can be retrieved from a DOS partition, NetWare volume or a USB disk drive. Enter thefilename of the image file and the source and press [Enter]. In this example, TEST.IMG is beingrestored from the SYS volume.Read Image from a TCP/IP LinkThis command will allow you to receive an image sent by either Portlock Storage Manager orPortlock Image Manager. This command is most commonly used to send a volume or partitionfrom one system to another across the wire. For example, you have an 8 GB volume you would liketo move from Server A to Server B. One easy way to transfer this volume is to set up Server A inImage Mode and write that image to TCP/IP and at the same time setup Sever B in restore mode andread the image from TCP/IP. Using this procedure, the volume would simultaneously be restored onServer B acting much like a volume copy, except the volume is sent across the wire and the transferspeed is relatively fast. With 100-Megabit full-duplex Ethernet, transfer speeds of 7 MB per secondare easily achieved. Note: In the above example, Server A needs to be set to Server Mode and started first. Server B needs to be set to Client.When using the Restore Commands, you should always choose Client from the TCP/IP Mode. Theserver side will already be waiting from a connection.You will be prompted for the IP address of the machine you are imaging after choosing Client fromthe restore side. Make sure you have the correct IP address or a connection will not be made andyou will not be able to image and restore.64
  62. 62. Chapter 8 Restore CommandsOnce a connection is made, Portlock Storage Manager will provide you with the partition(s) of thedevice you are imaging from. When you are ready to begin the restore process, press [Enter] tocontinue.The restore process will begin and may take a few minutes to complete. For this example, we restoreda 10 GB image in 10 minutes.Once your image has completed, Portlock Storage Manager will provide you a success status and yourpartition information. Ensure your drive is bootable to verify the image process was successful.Read Image from a Tape DriveThis command allows you to restore an image from a tape drive. This is a common use of the imagecommand as tape drives have been recognized as the most popular media for backup purposes formany years. 65
  63. 63. Portlock Storage Manager 4.0 for NetWare User’s GuideRead Image from a CD/DVDThis command will allow you to restore an image from a CD/DVD drive. We recommend using thePortlock Boot CD to boot your system when restoring an image from CD/DVD. Use a portable USBdrive and restore your files from the CD/DVD. This means using two CD/DVD drives – one to bootfrom and the other to restore from. Note: Please see Sending Image to CD/DVD for proper restore methods.Read Image from a Web ServerPortlock Storage Manager can read an image from a web server. This allows Portlock StorageManager to read a previously created Portlock Storage Manager image from a web server usingHTTP commands and port 80. The Portlock Storage Manager image must be in a directory that ananonymous user can access. The file does not have to be linked to from a web page, it just needs tobe an unsecured location. This option allows you to have images of your servers available for disasterrecovery, server deployments or test servers.Portlock Storage Manager can encrypt your image to prevent it from being intercepted during animage or restore.Specify the TCP/IP address and image file to retrieve. This will be the address of your web server.66
  64. 64. Chapter 8 Restore CommandsOnce a connection is made, Portlock Storage Manager will show you the partition(s) of the .img filethat resides on your web server. When you are ready to begin the restore process, press [Enter].Portlock Storage Manager allows you to choose which device you wish to restore your image to. Selectyour device, confirm you have enough free space and press [Enter] to begin the restore process.The restore process will take a few minutes to complete. For this example, we restored a 10 GBimage in 10 minutes.When your image completes, Portlock Storage Manager will provide you a success status and yourpartition information. Ensure your drive is bootable to verify the image process was successful.Read Image from an FTP ServerPortlock Storage Manager supports using FTP servers for both imaging to and restoring from. Thisincludes NAS devices that support the FTP. Create a disaster recovery image of your server and save itto an FTP server. Retrieve and install this image using FTP or HTTP onto a bare-metal machine. 67
  65. 65. Portlock Storage Manager 4.0 for NetWare User’s GuideEnter the username and password of your FTP server. If your login credentials are incorrect, youwill be unable to retrieve the .img file from your server. You may press F5 for a directory listing onyour FTP server, providing you have the correct username and password.* See Write Image to a Disk File on page 56 for your Compression and Image File optionsAfter a connection is made, Portlock Storage Manager will display the partition(s) from your .imgfile that will be restored to your system. Press [Enter] to continue.Portlock Storage Manager will ask you which device you wish to restore your image to. Select yourdevice, verify it has enough free space and press [Enter] to begin the restore process.68
  66. 66. Chapter 8 Restore CommandsThe restore process will begin and may take a few minutes to complete. For this example, we restoreda 10 GB image in 10 minutes.When your image completes, Portlock Storage Manager will provide you a success status and yourpartition information. Ensure your drive is bootable to verify the image process was successful. 69

×