All steps under Solaris Installation and Configuration section must be completed, especially parts pertaining to BE nodes.
Directory Server on port 34389 must be installed and configured.
Administration Server must be installed and configured.
Messaging Server must be installed and patched.
Verify that the SUNWscims package is installed; if not, install it on both nodes.
Set up the cluster resource group and resources:
Clusters 1 and 2 will have 15 stores while clusters 3 & 4 will have only 11 stores. Run commands on primary node.
phys-bedgeN-1# scrgadm -a -t SUNW.HAStoragePlus phys-bedgeN-1# scrgadm -a -t SUNW.ims phys-bedgeN-1# scrgadm -a -g msg1-svc-rg -h phys-bedge1-1,phys-bedge1-2 phys-bedgeN-1# scrgadm -a -L -g msg1-svc-rg -j msg1-addr-rs -l bedge1-mail1 phys-bedgeN-1# scswitch -Z -g msg1-svc-rg phys-bedgeN-1# scrgadm -a -j msg1-storplus1-rs -g msg1-svc-rg -t SUNW.HAStoragePlus \ -x FilesystemMountPoints=/shared/bedge1/msg/partition/store001,\ /shared/bedge1/msg/partition/store002,/shared/bedge1/msg/partition/store003,\ /shared/bedge1/msg/partition/store004,/shared/bedge1/msg/partition/store005,\ /shared/bedge1/msg/partition/store006,/shared/bedge1/msg/conf,\ /shared/bedge1/msg/dbbackup -x AffinityOn=True phys-bedgeN-1# scrgadm -a -j msg1-storplus2-rs -g msg1-svc-rg -t SUNW.HAStoragePlus \ -x FilesystemMountPoints=/shared/bedge1/msg/partition/store007,\ /shared/bedge1/msg/partition/store008,/shared/bedge1/msg/partition/store009,\ /shared/bedge1/msg/partition/store010,/shared/bedge1/msg/partition/store011,\ /shared/bedge1/msg/partition/store012,/shared/bedge1/msg/imta,\ /shared/bedge1/msg/var -x AffinityOn=True phys-bedgeN-1# scrgadm -a -j msg1-storplus3-rs -g msg1-svc-rg -t SUNW.HAStoragePlus \ -x FilesystemMountPoints=/shared/bedge1/msg/partition/store013,\ /shared/bedge1/msg/partition/store014,/shared/bedge1/msg/partition/store015,\ /shared/bedge1/msg/partition/store016,/shared/bedge1/msg/partition/store006,\ /shared/bedge1/msg/partition/store018,/shared/bedge1/msg/db -x AffinityOn=True phys-bedgeN-1# scswitch -e -j msg1-storplus1-rs phys-bedgeN-1# scswitch -e -j msg1-storplus2-rs phys-bedgeN-1# scswitch -e -j msg1-storplus3-rs |
Verify that all messaging partitions are mounted before proceeding. Run configure on primary node interactively:
phys-bedgeN-1# cd /opt/SUNWmsgsr/lib phys-bedgeN-1# ./configure |
Alternatively, use the silent install state file (always check the silent install file before using):
phys-bedgeN-1# ./configure -noconsole -state /var/bits/bedge/BE/bedge1-msg.cnf |
Backup configdir with db2ldif to ensure a good copy is saved
phys-bedgeN-2# cd /opt/ds/slapd-cfg phys-bedgeN-2# ./db2ldif |
On the primary node, run the ha_ip_config command:
phys-bedgeN-1# cd /opt/SUNWmsgsr/sbin phys-bedgeN-1# ./ha_ip_config Logical IP address: 129.146.xx.yy iMS server root: /opt/SUNWmsgsr The iMS server root directory does not contain any slapd-* subdirectories. Skipping configuration of LDAP servers. Logical IP address: 129.146.xx.yy iMS server root: /opt/SUNWmsgsr Do you wish to change any of the above choices (yes/no) [no]? Updating the file /opt/SUNWmsgsr/config/dispatcher.cnf Updating the file /opt/SUNWmsgsr/config/job_controller.cnf Setting the service.listenaddr configutil parameter Setting the service.http.smtphost configutil parameter Setting the local.watcher.enable configutil parameter Setting the local.autorestart configutil parameter Configuration successfully updated |
Copy state files to node 2, then run useconfig on node 2
phys-bedgeN-1# cd /opt/SUNWmsgsr/install phys-bedgeN-1# cp -r configure_20050318142130 /shared/bedge1/msg/var/ |
Switch over services to node 2 OR use scp to copy configure dir locally to node 2
phys-bedgeN-2# /opt/SUNWmsgsr/sbin/useconfig /shared/bedge1/msg/var/configure_20050318142130 |