Integración temporal de EAC en HIDRA. Las tablas de EAC se incluirán en la base de datos de Hidra. El usuario usado por el modulo EAC es usuhidra. las tablas EAC que no tienen similitud en Hidra son: tareas_servidor(comando, parametros, descripcion, ip, id_proceso, finalizado) PRIMARY KEY (`comando`,`parametros`,`ip`) ENGINE=MEMORY DESCRIPCION: Es tabla se usa para que el cliente que necesite solicitar un proceso en el servidor, la inserte en ella. El procedimiento EACserver (se renombrará a ogServer), se encarga de leer estas peticiones, si están autorizadas (SetDefaultBoot, CreateTorrentFromImage, EnvioMcast, EnvioTorrent) y si no estan autorizadas las elimina. menuboot(label,prompt,timeout,description) PRIMARY KEY (`label`) ENGINE=InnoDB DESCRIPCION: Esta tabla es el menu que mostrará a los clientes pxe. La función SetDefaultBoot(label,IP), la usará para asignarla al cliente. NOTA: un menu está formado por un itemboot o varios. Normalmente un menuboot solo tiene un itemboot. INSERT INTO `menuboot` (`label`, `prompt`, `timeout`, `description`) VALUES ('1', 0, 10, 'mbr 1hd'),('11', 0, 10, '1hd 1partion'),('pxe', 0, 10, 'ogClient-pxe'),('ramfs', 1, 50, 'varios ramfs'); CREATE TABLE IF NOT EXISTS `itemboot` ( `label` varchar(50) collate utf8_spanish_ci NOT NULL, `kernel` varchar(100) collate utf8_spanish_ci NOT NULL, `append` varchar(500) collate utf8_spanish_ci NOT NULL, PRIMARY KEY (`label`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci; -- -- Dumping data for table `itemboot` -- INSERT INTO `itemboot` (`label`, `kernel`, `append`) VALUES ('1', 'KERNEL syslinux/chain.c32', 'APPEND hd0'), ('1_localboot', 'LOCALBOOT 0', ' '), ('11', 'KERNEL syslinux/chain.c32', 'APPEND hd0 1'), ('EACdefault', 'KERNEL EACBootAgent/stable/vmlinuz-2.6.28-11-server', 'APPEND root=/dev/nfs initrd=EACBootAgent/stable/initrd.img-2.6.28-11-server nfsroot=repo_client:/var/EAC/nfsroot/stable ip=dhcp ro vga=788 irqpoll nolapic acpi=off EACregistred=no pci=nomsi EACregistred=NO'), ('MSdos', 'KERNEL floppies/memdisk', 'APPEND initrd=/floppies/dos.img'), ('ogClientNfs', 'KERNEL ogclients/ogClientNfs/netboot/vmlinuz-2.6.31-2-generic', 'APPEND root=/dev/nfs initrd=ogclients/ogClientNfs/netboot/initrd.img-2.6.31-2-generic nfsroot=repo_client:/opt/opengnsys/tftpboot/ogclients/ogClientNfs'), ('ogClientNfsUltraLight', 'KERNEL ogclients/ogClientNfsUltraLight/linux', 'APPEND initrd=ogclients/ogClientNfsUltraLight/initrd.gz'), ('ogClientRamfs', 'kernel ping-brutalix/kernel', 'append vga=normal devfs=nomount pxe ramdisk_size=33000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=ping-brutalix/initrd.gz root=/dev/ram0 rw nolapic lba'); -- -------------------------------------------------------- -- -- Table structure for table `menuboot_itemboot` -- CREATE TABLE IF NOT EXISTS `menuboot_itemboot` ( `labelmenu` varchar(100) NOT NULL, `labelitem` varchar(100) NOT NULL, `default` tinyint(10) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `menuboot_itemboot` -- INSERT INTO `menuboot_itemboot` (`labelmenu`, `labelitem`, `default`) VALUES ('0', '0', 0), ('11', '11', 0), ('ramfs', 'ogClientNfs', 0), ('1', '1', 1), ('pxe', 'ogClientNfs', 1), ('ramfs', 'ogClientNfsUltraLight', 0);