cd vendor/plugins/
git clone git://github.com/resilva/Redmine-Fields-permissions.git
cd ..
cd ..
rake db:migrate_plugins RAILS_ENV=production
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt
ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder) on line #1 of vendor/plugins/Redmine-Fields-permissions/app/views/issues/_attributes.rhtml:
cd lib
wget http://svn.ohwr.org/ohr-support/trunk/lib/tabular_form_builder.rb
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt
Openfiler 2.99.2 & Creating a Physical Large Volume
Click on Volumes tab
Click on Block Devices to access the Physical Volume creation page
Click on the disk you want to create the Volume on (Example: /dev/sdb)
Adjust the start and end cylinders to determine the size of physical volume and when satisfied press the ‘Create’ button
But it only uses 95% of the free space.
Login with SSH or the console and run
parted /dev/sdb
(parted) rm 1
(parted) mkpart primary ext3 0 -1
(parted) set 1 lvm on
parted /dev/sdb
GNU Parted 1.8.8
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: DELL PERC 6/i (scsi)
Disk /dev/sdb: 4000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 3814GB 3814GB primary lvm
(parted) rm 1
(parted) mkpart primary ext3 0 -1
(parted) print
Model: DELL PERC 6/i (scsi)
Disk /dev/sdb: 4000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 4000GB 4000GB primary msftres
(parted) set 1 lvm on
(parted) print
Model: DELL PERC 6/i (scsi)
Disk /dev/sdb: 4000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 4000GB 4000GB primary lvm
(parted)
You should now be presented with 100% space
Openfiler 2.99.2 & iSCSI & Samba
Create a New Volume Group
Click on Volumes tab
Click Volume Groups to create a volume group.
Name your volume group and add your partitions.
Click Add volume group
You should now be presented with a new Volume Group that looks like this
Add New Volume for iSCSI
Click on Volumes tab
Click Add Volume
Enter in a volume name: no spaces, no fancy characters
Enter in the amount of space in MB required
Select the type ‘block’
Click Create
You should now be presented with a new Volume for iSCSI that looks like this:
Add New Volume for Samba You will need to setup Volumes with either XFS or EXT3 filesystems (you cannot create shares from iSCSI volumes).
Click on Volumes tab
Click Add Volume
Enter in a volume name: no spaces, no fancy characters
Enter in the amount of space in MB required
Select the type ‘ext3′
Click Create
You should now be presented with a new Volume for Samba that looks like this
Enable the iSCSI and Samba Target Service
Click on Services -> CIFS server -> Enable
Click on Services -> CIFS server -> Start
Click on Services -> iSCSI target -> Enable
Click on Services -> iSCSI target -> Start
Network Access Configuration
Click on System tab
Click Network Setup
In the Network Access Configuration section
Name: The name of the host or the network
Single machine example(Crossover Cable ESX Network)
Network/Host: 192.168.182.177
Netmask: 255.255.255.255
Network example
Network/Host: 192.168.181.0
Netmask: 255.255.255.0
Add iSCSI Target
Click on Volumes tab
Click iSCSI Targets
In the Add new iSCSI Target section
Click Add
Map the LUN You now need to map a LUN to your iSCSI target
Click on Volumes tab
Click iSCSI Targets
Select the Target Configuration tab
In the Select iSCSI Target section, select the iSCSI target that you want to work on from the drop-down and click Change
Select the LUN Mapping tab
Click Map
Allow access to the iSCSI Target:
Use LDAP
Click on Accounts / Authentication
Check Use LDAP
Check Use Local LDAP
Server: 127.0.0.1
Base DN: dc=openfiler,dc=nas
Root bind DN: cn=Manager,dc=openfiler,dc=nas
Root bind password: your_root_password
Add Network Shares
Click on Shares
Click on the link for your volume and create a sub-folder.
Click on the link for your new sub-folder and Make Share
Scroll down to “Group Access Configuration”
Select a group to be your primary group.
Select permissions for the rest of your groups
Scroll down to “Host Access Configuration”
Select the MAXIMUM ALLOWABLE permissions for your networks
not ok 4 - last request threw an uncaught exception RuntimeException: PHP sent a warning error at C:\jenkins\workspace\ris\db\mssql\os\win\src\apps\frontend\modules\img\actions\actions.class.php line 56 (Cannot modify header information - headers already sent by (output started at C:\Programme\PHP\PEAR\PHPUnit\Util\Printer.php:173))
# Failed test (.\lib\vendor\symfony\lib\test\sfTestFunctionalBase.class.php at line 541)
If you do unit testing and encounter “headers already sent” errors in “Printer” on line 173, add “–stderr” to the command call. PHPUnit will then output everything to stderr and cease throwing ErrorExceptions.
USE master
EXEC sp_addextendedpro[delme]c xp_ndo_enumusergroups, 'C:\Programme\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Binn\xp_ndo.dll'
GO
GRANT EXECUTE
ON [xp_ndo_enumusergroups]
TO PUBLIC
GO
Open the plugin configuration file: C:\htdocs\ris\config\ProjectConfiguration.class.php
Add risRedminePlugin to the enablePlugins array in your project Configuration
<?php
//date_default_timezone_set('UTC');
date_default_timezone_set('Europe/Berlin');
require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();
class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
$this->enablePlugins('sfPropel15Plugin', 'sfProtoculousPlugin', 'sfDateTime2Plugin', 'sfFormExtraPlugin', 'sfPropelUuidBehaviorPlugin', 'sfFormButtonsPlugin', 'sfAmfPlugin', 'risRedminePlugin', 'sfPhpExcelPlugin');
$this->setIncludePath();
}
public function setIncludePath()
{
sfToolkit::addIncludePath(dirname(__FILE__).'/../lib/vendor/PEAR/', 'front');
}
}
Projekt in Redmine importieren(ohne Vorgänge)
Folgende Daten werden mittels REST-API von RIS zu Redmine automatisch übergeben:
Name
Beschreibung
Kennung – UUID des Projekts
Ticket in Redmine importieren / aktualisieren
Folgende Daten werden mittels REST-API von RIS zu Redmine automatisch übergeben:
Thema – Vorgangsname
Beschreibung
Status – konfigurierbar für alle importierten Tickets
Priorität – konfigurierbar für alle importierten Tickets
Zugewiesen am Vorgangs – Mitarbeiter, bei dem das Kontrollkästchen “Besitzer” angekreuzt ist, oder der erste zugewiesene Mitarbeiter
Beginn
Abgabedatum
Geschätzter Aufwand
Beobachter – Alle Vorgangs-Mitarbeiter
Benutzerdefinierte Felder “uuid” – UUID des Vorgangs
Zuordnung Mitarbeiter vom Rillsoft Ressourcenpool zu Redmine-Mitglied wird über E-Mail-Adresse gemacht
Übername von aufgewendeter Zeit aus Redmine
Aufgewendete Zeit wird von allen untergeordneten Tickets gesammelt und an Vorgangs-Mitarbeiter übernommen.
Aufgewendete Zeit von Redmine-Mitglied, der nicht dem Vorgangs-Mitarbeiter zugeordnet ist, wird nicht übernommen.
Wenn Ticket auf 100% erledigt ist, werden wie tatsächlich erbrachter Aufwand so auch Anfang und Ende aus aufgewendeter Zeit übernommen und der Vorgang wird als abgeschlossen markiert.
Create RIS database (MS SQL Server Express Edition 2005/2008)
Press the Start menu button and launch Command Prompt
SQLCMD -S (local)\SQLEXPRESS -E
Execute the following commands to create a new database and user:
-- Create database
CREATE DATABASE ris
GO
-- Create login
CREATE LOGIN ris WITH PASSWORD = 'myPassword', DEFAULT_DATABASE = ris, DEFAULT_LANGUAGE = english;
GO
-- Create user
CREATE USER ris;
USE ris;
CREATE USER ris FOR LOGIN ris;
GO
-- Define role
EXEC sys.sp_addrolemember @membername = 'ris', @rolename = 'db_owner'
Execute the following command to exit SQL Server console: