D3 Linux newbie question

D3 Linux newbie question

Post by Joe Mam » Fri, 02 Mar 2001 06:22:06



I have D3 running on Redhat 5.2.  I need to add more disk space for D3. Can
I
add another hard disk without doing a save/restore.  Once I create the 2gig
partitions in Linux, how do I get D3 to recognize the extra space.  Is there
a
D3 setup program that will allow me to do this, I have been unable to locate
it.

Any help is much appreciated.

------------------------------------------------------------
 Get your FREE web-based e-mail and newsgroup access at:
                http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.
------------------------------------------------------------

 
 
 

D3 Linux newbie question

Post by mike ryde » Fri, 02 Mar 2001 06:34:47


1) Add another disk and partition it or even create some space within the
linux partitions.
2) Edit the /usr/lib/pick/pick0 file and add more disk statement(s) to
define where the disk is (use vi or pico)
3) Shutdown D3 and reboot it - et voila

hth
Mike


Quote:> I have D3 running on Redhat 5.2.  I need to add more disk space for D3.
Can
> I
> add another hard disk without doing a save/restore.  Once I create the
2gig
> partitions in Linux, how do I get D3 to recognize the extra space.  Is
there
> a
> D3 setup program that will allow me to do this, I have been unable to
locate
> it.

> Any help is much appreciated.

> ------------------------------------------------------------
>  Get your FREE web-based e-mail and newsgroup access at:
>                 http://MailAndNews.com

>  Create a new mailbox, or access your existing IMAP4 or
>  POP3 mailbox from anywhere with just a web browser.
> ------------------------------------------------------------


 
 
 

1. D3/Linux - D3-to-Linux communication to print spooler

I have successfully created a bash script to convert printer output to
HTML, but I need a way to communicate to the script the D3 user that
created the report.

The shared printer is started this way:

startshp 99,99,0,p87,lp.unix,(/usr/local/bin/d3_print_to_html) (s

The bash script contains the following (code is simplified here):

d3_print_to_html:
-----
#!/bin/sh

DATETIME=`date +"%Y%m%d%H%M%S"`
TEXT_FILE="$DATETIME.txt"
HTML_FILE="$DATETIME.html"

cat >>$TEXT_FILE

echo "<PRE>"                                         >>$HTML_FILE
cat $TEXT_FILE | sed "s/^L/\<\/PRE\>\<HR\>\<PRE\>/g" >>$HTML_FILE
echo "</PRE>"                                        >>$HTML_FILE
-----

Now, all I need is a way to communicate the D3 user name to the bash
script associated with print queue 99.  That way I can (a) put each
file into a separate directory for each user and (b) send email to
that user that the file is ready.  [Eventually I will put all this
stuff into a MySQL database with PHP code to build web pages to view
and manipulate the print files.]

I have tried something like this in the bash script:
    USER_NAME=`who am i`  (or   who -m)
but this returns nothing.  Is there a separate Linux user that runs
the spooler stuff -- or should the user from 'who' be the Linux user
that started this print job???

I have a large amount of legacy RPL and BASIC code that I have to
support and really can't change every program.  I'm hoping I can use
this method and simply change the default printer to 99 (with
"SP-ASSIGN F99" in the startup).

Any ideas how to pass data to Linux with minimal (if any) PICK code
changes?

Trying to be truly paperless,
Gordon Durnell

2. Cannot connect to an OLAP Server

3. D3 7.0 to D3 7.1 Incompatibility problem with c functions on D3/Linux

4. SQL fragmentation

5. Dire&#1089;&#1077;rtly sending E-mail From D3 (D3/NT ior D3/Linux)

6. How to enabling database replication?

7. Infolink - D3/Sco to D3/Linux

8. SAN FRANCISCO: Senior Oracle DBA Position

9. Calling d3 from perl where d3 is on another linux machine inside a firewall

10. D3/Linux Restore from D3/NT

11. Time to upgrade D3/Linux or D3/NT

12. D3 NT vs. D3 LINUX

13. Moving from AP/Pro to D3/ProPlus or D3/Linux