Deployment Example: Sun Java System Communications Services for Access Anywhere (EdgeMail)

ProcedureTo Configure a FE-MTA After Jump-Start

Steps
  1. Edit the prompt in the /.profile for root:


    PS1="`tput bold``/usr/ucb/whoami`@`uname -n`:#`tput sgr0` "
  2. Restore the contents of /var/bits with the following commands:


    # cd /var
    # gzcat bits/bits.tar.gz | tar xf -
  3. Change ownership of home directories with the following commands:


    # cd /home
    # for I in `ls`
    > do
    > chown $I $I
    > done
    # cd /
  4. Once the system is on the corporate network, edit /etc/passwd and /etc/user_attr to put root back as a role.

  5. Create additional metadbs with the following command:


    metadb -a -c 3 /dev/dsk/c1t1d0s7 /dev/dsk/c1t2d0s7 /dev/dsk/c1t3d0s7
  6. Re-create the mirror of /queue with striped disks:

    1. Unmount it first with the following commands:


      umount /queue
      rm -r /queue
      mkdir /imta
    2. Set up slice3 on disks 3 & 4 using format with a start cylinder of 4226 and size of 3678 cylinders. The result should look like the following


      Total disk cylinders available: 14087 + 2 (reserved cylinders)
      
      Part      Tag   Flag   Cylinders     Size          Blocks
        0 unassigned   wm     0            0       (0/0/0)             0
        1       swap   wu     0 -  4121   20.00GB  (4122/0/0)   41945472
        2     backup   wm     0 - 14086   68.35GB  (14087/0/0) 143349312
        3 unassigned   wm  4226 -  7903   17.85GB  (3678/0/0)   37427328
        4 unassigned   wm     0            0       (0/0/0)             0
        5 unassigned   wm     0            0       (0/0/0)             0
        6 unassigned   wm     0            0       (0/0/0)             0
        7 unassigned   wm  4122 -  4225  516.75MB  (104/0/0)     1058304
    3. Run the following command:


      metainit -f d103 1 2 c1t0d0s3 c1t1d0s3 -i 32b
      metainit -f d203 1 2 c1t2d0s3 c1t3d0s3 -i 32b
      metainit -f d3 -m d103
      newfs -m 2 -i 4096 -o time /dev/md/rdsk/d3
    4. Edit the /etc/vfstab file. Comment out the following line:


      /dev/dsk/c1t0d0s3  /dev/rdsk/c1t0d0s3  /queue  ufs  2  yes
      logging

      Add the following line:


      /dev/md/dsk/d3  /dev/md/rdsk/d3  /imta  ufs  2  yes  logging
    5. Run the following command:


      mount /imta
      metattach d0 d200
      metattach d3 d203
  7. Set up NTP using appropriate NTP server for FE/Domain1 nodes.

  8. Set up DNS using appropriate DNS servers for FE/Domain1 nodes.

  9. Do a preliminary sendmail configuration using MODE="" and stopping then restarting sendmail. You will need to re-verify this once the FE/Domain1 nodes are fully configured to be sure that root and cron mail is being delivered properly.

  10. Remove the metacheck entry from the cron table, or else put in place a valid metacheck script.

  11. Fix the holidays files on all nodes in the /etc/acct/holidays file to be accurate for the current year.


Example 3–3 File System Layout of FE Servers

The FE MTA servers are V240 machines with 4available disks of 73 GB each.

Partition Name 

Size 

Description 

/

10 GB 

Root file system 

/opt

20 GB 

Where all Java EScomponent binaries (LDAP, messaging, portal, calendar, identity) are installed. 

/var

20 GB 

Log file system 

/swap

20 GB 

Disk 3: memory temp file system 

/queue

16 GB 

Stripe of 4 disks (4x4) for MTA queues