Sysresccd-manual-en Outil Systeme Complet Assistance Reseau OSCAR
- 1 Introduction
- 2 Guidelines for network administrators – how to use the PC recovery tool
- 3 How to create the OSCAR CD-Rom
- 4 How to use the OSCAR CD-Rom
- 5 Procedures available in the network menu
- 6 Disk partitioning
OSCAR uses the main commands of the SystemRescueCd CD-ROM and makes them easily available in a user-friendly interface. A general documentation is available at this URL :
Its simple commands run all the processes automatically.The commands on the screen always tell the user what to do next. You just need to know a few commands (How to use the OSCAR CD-Rom Use of the OSCAR CD-ROM), to manage a computer fleet; the documentation becomes superfluous after the first use of OSCAR.
Guidelines for network administrators – how to use the PC recovery tool
OSCAR can repair a faulty computer (virus, corrupted system file). You only have to press the Escape key when booting the computer, then OSCAR will launch the recovery procedure.
OSCAR enables network administrators to set up a computer fleet from a single clean computer and quickly repair faulty computers.
Its principle: each computer has an ext4 Linux partition which stores the backup of the Operating System partition. Should a failure occur, OSCAR will restore the OS partition from the backup partition.If you want to keep some private data after recovery, you should use another partition dedicated to this private data. “My documents” directory, for example, can be on this dedicated partition. Of course, this CD-Rom can be used on a single computer as well as on a fleet of computers.
OSCAR manages several backups on the same computer.
OSCAR manages several Operating Systems.
OSCAR automatically renames the client PCs and can attach them to a WINDOWS domain.
OSCAR can save a partition on an external USB hard disk.
OSCAR can be started from a CD-Rom, a USB drive, a LAN with a PXE server or can be installed locally on the computer hard disk.
OSCAR can perform scheduled recoveries (at night for example).
How to create the OSCAR CD-Rom
- Prepare the computer on which you will run the OSCAR CD-ROM :
If you don’t have a Linux partition of 2 GB minimum, which is the minimum size, boot the computer with the "SystemRescueCd" (When starting the CD, type rescue32, altker32 or rescue64, altker64 Booting the CD-ROM) to create one.
You can install the 2 GB Linux partition on a USB-stick.
Then boot the computer under Windows and create the directory, C:/cdOSCAR (or D:/cdOSCAR) and the two sub-directories: C:/cdOSCAR/scripts/ and C:/cdOSCAR/dossiers/ (warning: case sensitive)
One remark: these directories can also be set up on a Linux partition system.
1) Put your personal files and software under the C:/cdOSCAR/dossiers/ directory.
2) You may add your own scripts in the C:/cdOSCAR/scripts/ directory.
3) Your own OSCAR.iso file will be copied to the C:/cdOSCAR directory.
- Creation of the OSCAR CD-ROM:
Start the computer with the SystemRescueCd CD-ROM without the docache option (on CD-ROM boot, type rescue32 or altker32, rescue64, altker64).
Follow the documentation : Fabriquer le fichier OSCAR.iso avec SystemRescueCd
You will be prompted for:
- a choice between OSCAR and RapideSOS: choose OSCAR,
- the name of an ext4 partition of 2 GB minimum,
- the administrator password that you have chosen,
- the name of the partition where the OSCAR.iso file will be stored;
- to create a OSCAR usb-stick.
At the end, the OSCAR.iso file is stored under the C:/cdOSCAR directory. Burn it under Windows or Linux. Your personal data are stored on the hard drive under the /Personnel directory. You can also create the fast automatic recovery CD-ROM called RapideSOS.iso to be given to the person in charge of the computer fleet. To repair a computer, just boot it with this RapideSOS CD-ROM which will perform the automatic recovery process.
How to use the OSCAR CD-Rom
- Preparation of the PCs :
On the PCs, install a Linux partition with a size equal to the size of the partition to be backed up. With the OSCAR CD-ROM use the GParted command of the disques menu to create these partitions.
- Overview of some OSCAR commands :
To save a PC the sauve command of the sauvegarde menu, looks for the Linux backup partition and then copies the partition chosen by the user here. To restore a PC the restaure command looks for the backup partition and restores it.
When a PC is fully installed and has an up-to-date backup on a Linux partition, it is very easy to restore the C: partition of another PC (or several) from it : the two PCs have to be connected through a cross-over cable or via a regular network.
- Complete installation of a room:
A tool situated in the network menu allows the complete and simultaneous installation of all the client PCs. The advantage of this method is that you only have to setup one PC, which will become the referent server PC for the whole room. WARNING: the client PCs will lose the data on all of their disks ! With the complete command of the reseau menu, the server PC sends the partition table of all of its disks and its backup partition to the client PCs ; the client PCs with the client command will have the same formated partitions as the server PC, then will be restored and named, IP and domain will be installed.
To avoid manipulating the CD-ROM on the client PCs, you can boot the client PCs directly from the LAN; the CD-ROM will be loaded through the network from the server PC. Use the serveur_PXE command of the reseau menu on the server PC.
- Restoration of a complete room:
The advantage of this method is a fast update of software applications of a complete room. IMPORTANT:
- For a Windows operating system, all the backup partitions of the PCs must have the same size.
- For a Windows operating system, the hardware characteristics of the PCs are the same or you have all the drivers for all the hardware ; under Linux, all the hardware is supported.
- Choose a server PC which has a good backup partition.
The simple command of the reseau menu automatically sets the PC as a server which shares its backup. The client command automatically configures the client PCs: With these commands the server simultaneously sends its backup to all the clients. The restoration of a complete room is as fast as the restoration of a single PC ! Only the saved partitions are restored, the other partitions are not affected.
- After a deployment via the network to the client PCs:
The setup of the hostname and Windows domain on the client PCs is automatic for both Windows and Linux. For Windows, OSCAR personalises the hostname and the domain name with sysprep or newsid, for Linux, OSCAR takes care of everything. Any the client PCs can act as a server.
- Install OSCAR on the PC
In order to avoid the use of CD-ROMs, the installer command of menu_oscar in disques installs OSCAR files on the PC.
The cle_usb command of menu_oscar sets up an OSCAR USB key which replaces the CD-ROM.
- Restaure : restores the client PCs from the server PC, sets up the IP addresses, the host names and the Windows domains ;
- Simple : sends its backup to the client PCs then restores the client PCs and sets up their IP addresses, host names and Windows domains;
- Formate : formats the client PCs with the same partition scheme as the server PC, then restores the client PCs and sets up their IP addresses, host names and Windows domains;
- Complete : formats the client PCs with the same partition scheme as the server PC, sends its backup, then restores the client PCs and sets up their IP addresses, host names and Windows domains;
- Petite : sends only the backup to the client PCs;
- Table : sends the partition table then formats the client PCs.
- To send OSCAR files to client PCs : oscar_synchrone or oscar_asynchrone of menu_oscar in disks.
For the client PCs a single command : client.
For a first installation, use the complete command with the PXE server, for an update of a room use the simple command.
For each of these commands, there is help which shows the process.
To create these partitions, use GParted in the disques menu.
For a PC with Windows only
|Windows NTFS||OSCAR Ext4||Data NTFS, or fat32|
|Primary 80Go||Primary 80Go||Primary, the rest|
For a PC with Linux only
|Ubuntu Ext4||swap||OSCAR Ext4||Data Ext4, or fat32|
|Primary 40Go||Primary 2Go||Primary 40Go||Primary, the rest|
For a PC with both Windows and Linux
|Windows NTFS||Ubuntu Ext4||swap||OSCAR Ext4||Data Ext4, or fat32|
|Primary 80Go||Logical 40Go||Logical 2Go||Logical 80Go||Logical, the rest|