[racktables-users] Re: Antwort: Re: Antwort: Patch to display Blades in Chassis in Rack

  • From: Mark Wilkinson <Mark.Wilkinson@xxxxxxxxxxx>
  • To: "abaess@xxxxxxx" <abaess@xxxxxxx>
  • Date: Wed, 13 Feb 2013 14:59:33 +0000

Hi Andreas,
    I’ve now added a note to the feature explaining the use of the Slot 
attribute. You should be able to remove the Num Rows, Num Cols attributes via 
the Configuration->Attributes->Edit Map page and clicking the – sign next to 
the attributes in the server section of the table.

You are correct about the orientation of the labelling, I’m not familiar with 
the twin/quad chassis so have not accounted for it. I’ll have a think – in the 
meantime to disable it, edit the wwwroot/inc/interface.php and at about line 
673 replace

foreach ( str_split($slotInfo[$slot]) as $letter ) {
                    echo $letter . "<br>";
                }

With
                                                if ( $oRows * $oCols > 6 )
foreach ( str_split($slotInfo[$slot]) as $letter )
                         echo $letter . "<br>";
                else
                     echo $slotInfo[$slot];


which will restore the the horizontal display for chassis having upto 6 slots

regards
Mark


From: racktables-users-bounce@xxxxxxxxxxxxx 
[mailto:racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of abaess@xxxxxxx
Sent: 13 February 2013 14:42
To: racktables-users@xxxxxxxxxxxxx
Subject: [racktables-users] Antwort: Re: Antwort: Patch to display Blades in 
Chassis in Rack

Hi Mark,

I did not notice that the patch used the Slot attribute, so I added the Num 
Rows Num Cols attributes to the servers as well. Does anybody know how to get 
rid of attributes that has been added to an object but are not used?

Using the Slot attribute I'm able to place the server inside the chassis. 
However we do not use Bladecenters with a high number of Blades inside a 
chassis but Twin and Quad chassis from Supermicro. You changed the orientation 
of the server label from horizontal to vertical. It would be perfect if it 
would be possible to tell if the labeling should be done horizontal or vertical 
on a per server basis.

Mit freundlichen Grüßen

Andreas Bäß
Leiter Technischer Support

-----------------------------------------------------------
INTERNET AG Global Network     Tel:   +49-(0)69-27234-0
Wiesenhüttenplatz 26
D-60329 Frankfurt/Main
Germany                        baess@xxxxxxx<mailto:baess@xxxxxxx>

http://www.inet.de<http://www.inet.de/>
24x7 Supportteam:              support@xxxxxxx<mailto:support@xxxxxxx>
Sitz: Frankfurt                HRB Frankfurt 54478
UST-ID: DE222540394
Vorstand: Dr. h.c. André T. Scholz, Stefan Schellenberg
-----------------------------------------------------------

Alle Angebote, Lieferungen und Leistungen erfolgen
ausschließlich auf Basis unserer AGB und Preisliste,
aktuell immer einsehbar unter http://www.inet.de/agb.html
und http://www.inet.de/preisliste.html !

racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>
 schrieb am 13.02.2013 13:12:15:

> Von: Mark Wilkinson 
> <Mark.Wilkinson@xxxxxxxxxxx<mailto:Mark.Wilkinson@xxxxxxxxxxx>>
> An: "abaess@xxxxxxx<mailto:abaess@xxxxxxx>" 
> <abaess@xxxxxxx<mailto:abaess@xxxxxxx>>,
> Kopie: 
> "racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>" 
> <racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>>
> Datum: 13.02.2013 13:15
> Betreff: [racktables-users] Re: Antwort: Patch to display Blades in
> Chassis in Rack
> Gesendet von: 
> racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>
>
> Hi Andreas,
>     I’m very glad you found it useful.
> The servers inside the Chassis should have a slot number assigned to
> them, this is used by the patch to place the server in the correct
> box on the Chassis.
>
> IE, Chassis has Num Rows = 2, Num Cols = 8
>      Server has Slot 1 to 16
>
> If the slot number of the server is outside the maximum configured
> slots on the chassis (ie, num rows * num cols) the information will
> not be displayed.
>
> Hope that helps.
>
> Regards
> Mark
>
> From: 
> racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>
>  [mailto:racktables-
> users-bounce@xxxxxxxxxxxxx<mailto:users-bounce@xxxxxxxxxxxxx>] On Behalf Of 
> abaess@xxxxxxx<mailto:abaess@xxxxxxx>
> Sent: 13 February 2013 12:04
> To: racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>
> Subject: [racktables-users] Antwort: Patch to display Blades in
> Chassis in Rack
>
> Hi Mark,
>
> I really like the idea of rendering blades inside the chassis and
> applied you patch. I assigned the two new attributes  "Num Cols" and
> "Num Rows" as unsigned int to server chassis and to server. The
> chassis is now rendered with two slots. However I'm not able to
> visualize the servers inside the server chassis.
>
> I have created a "twin" server chassis by setting rows to "1" and
> cols to "2". What do I have to specify at the server objects so they
> get rendered into the chassis space at the rigth row/col?
>
> Mit freundlichen Grüßen
>
> Andreas Bäß
> Leiter Technischer Support
>
> -----------------------------------------------------------
> INTERNET AG Global Network     Tel:   +49-(0)69-27234-0
> Wiesenhüttenplatz 26
> D-60329 Frankfurt/Main
> Germany                        baess@xxxxxxx<mailto:baess@xxxxxxx>
>
> http://www.inet.de<http://www.inet.de/>
> 24x7 Supportteam:              support@xxxxxxx<mailto:support@xxxxxxx>
> Sitz: Frankfurt                HRB Frankfurt 54478
> UST-ID: DE222540394
> Vorstand: Dr. h.c. André T. Scholz, Stefan Schellenberg
> -----------------------------------------------------------
>
> Alle Angebote, Lieferungen und Leistungen erfolgen
> ausschließlich auf Basis unserer AGB und Preisliste,
> aktuell immer einsehbar unter http://www.inet.de/agb.html
> und http://www.inet.de/preisliste.html !
>
>
>
> Von:        Mark Wilkinson 
> <Mark.Wilkinson@xxxxxxxxxxx<mailto:Mark.Wilkinson@xxxxxxxxxxx>>
> An:        
> "racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>" 
> <racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>>,
> Datum:        13.02.2013 10:48
> Betreff:        [racktables-users] Patch to display Blades in Chassis in Rack
> Gesendet von:        
> racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>
>
>
>
>
> Hi All,
>    I’ve just submitted a patch which tweaks the display for Server
> objects. When The server is mounted in a container and the container
> is a Chassis, the Rack, Chassis and Server can now be displayed in
> the rackspace allocation portion of the Objects View Page.
>
> For more information & the patch, see http://bugs.racktables.org/
> view.php?id=745
>
> Regards
> Mark Wilkinson
>
>
> Mark Wilkinson
>
> UNIX Systems Administrator/Developer
>
> [Bild entfernt]
>
> +44 333 240 3207
>
> [Bild entfernt]
>
> +44 7848 016 221
>
> [Bild entfernt]
>
> mark.wilkinson@xxxxxxxxxxx<mailto:mark.wilkinson@xxxxxxxxxxx>
>
> [Bild entfernt]
>
> http://www.gamma.co.uk<http://www.gamma.co.uk/>
>
>
>
> [Bild entfernt]
>   Follow us
> [Bild entfernt] [Bild entfernt] [Bild entfernt]
>
>
>
>
> This is an email from Gamma Telecom Ltd, trading as “Gamma”. The
> contents of this email are confidential to the ordinary user of the
> email address to which it was addressed. This email is not intended
> to create any legal relationship. No one else may place any reliance
> upon it, or copy or forward all or any of it in any form (unless
> otherwise notified). If you receive this email in error, please
> accept our apologies, we would be obliged if you would telephone our
> postmaster on +44 (0) 808 178 9652 or email 
> postmaster@xxxxxxxxxxx<mailto:postmaster@xxxxxxxxxxx>
>
> Gamma Telecom Limited, a company incorporated in England and Wales,
> with limited liability, with registered number 04340834, and whose
> registered office is at 5 Fleet Place London EC4M 7RD and whose
> principal place of business is at Kings House, Kings Road West,
> Newbury, Berkshire, RG14 5BY.
>
>
>


        Mark Wilkinson
        UNIX Systems Administrator/Developer

[cid:ca92d8.png@398ecedb.40bc8864]      +44 333 240 3207
[cid:223ca4.png@5f628ae5.438bbe74]      +44 7848 016 221
[cid:f45741.png@d48dffe8.44a9a6d9]      mark.wilkinson@xxxxxxxxxxx
[cid:0c0168.png@a42a81a7.49a4fe9a]      http://www.gamma.co.uk

[cid:image9fe82d.JPG@09adf5d2.4b95aeea]

  Follow us

[cid:image9f4634.GIF@a0f83ddc.4b91eee9][cid:image989d9b.GIF@563744cb.489cb583][cid:image5af057.GIF@a0e26c22.41beea12]<http://twitter.com/WeAreGamma>



________________________________



This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of 
this email are confidential to the ordinary user of the email address to which 
it was addressed. This email is not intended to create any legal relationship. 
No one else may place any reliance upon it, or copy or forward all or any of it 
in any form (unless otherwise notified). If you receive this email in error, 
please accept our apologies, we would be obliged if you would telephone our 
postmaster on +44 (0) 808 178 9652 or email postmaster@xxxxxxxxxxx

Gamma Telecom Limited, a company incorporated in England and Wales, with 
limited liability, with registered number 04340834, and whose registered office 
is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at 
Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.






PNG image

PNG image

PNG image

PNG image

JPEG image

GIF image

GIF image

GIF image

Other related posts: