Whenever you need to perform an upgrade of SDD (and it is wise to keep it up-to-date), make sure you check the SDD documentation before doing this. Here's the quick steps to perform to do the updates.
- Check for any entries in the errorlog that could interfere with the upgrades:
# errpt -a | more
- Check if previously installed packages are OK:
# lppchk -v
- Commit any previously installed packages:
# installp -c all
- Make sure to have a recent mksysb image of the server and before starting the updates to the rootvg, do an incremental TSM backup. Also a good idea is to prepare the alt_disk_install on the second boot disk.
- For HACMP nodes: check the cluster status and log files to make sure the cluster is stable and ready for the upgrades.
- Update fileset devices.fcp.disk.ibm to the latest level using smitty update_all.
- For ESS environments: Update host attachment script ibm2105 and ibmpfe.essutil to the latest available levels using smitty update_all.
- Enter the lspv command to find out all the SDD volume groups.
- Enter the lsvgfs command for each SDD volume group to find out which file systems are mounted, e.g.:
# lsvgfs vg_name
- Enter the umount command to unmount all file systems belonging to the SDD volume groups.
- Enter the varyoffvg command to vary off the volume groups.
- If you are upgrading to an SDD version earlier than 1.6.0.0; or if you are upgrading to SDD 1.6.0.0 or later and your host is in a HACMP environment with nonconcurrent volume groups that are varied-on on other host, that is, reserved by other host, run the vp2hd volume_group_name script to convert the volume group from the SDD vpath devices to supported storage hdisk devices. Otherwise, you skip this step.
- Stop the SDD server:
# stopsrc -s sddsrv
- Remove all the SDD vpath devices:
# rmdev -dl dpo -R
- Use the smitty command to uninstall the SDD. Enter smitty deinstall and press Enter. The uninstallation process begins. Complete the uninstallation process.
- If you need to upgrade the AIX operating system, you could perform the upgrade now. If required, reboot the system after the operating system upgrade.
- Use the smitty command to install the newer version of the SDD. Note: it is also possible to do smitty update_all to simply update the SDD fileset, without first uninstalling it; but IBM recommends doing an uninstall first, then patch the OS, and then do an install of the SDD fileset.
- Use the smitty device command to configure all the SDD vpath devices to the Available state.
- Enter the lsvpcfg command to verify the SDD configuration.
- If you are upgrading to an SDD version earlier than 1.6.0.0, run the hd2vp volume_group_name script for each SDD volume group to convert the physical volumes from supported storage hdisk devices back to the SDD vpath devices.
- Enter the varyonvg command for each volume group that was previously varied offline.
- Enter the lspv command to verify that all physical volumes of the SDD volume groups are SDD vpath devices.
- Check for any errors:
# errpt | more
# lppchk -v
# errclear 0
- Enter the mount command to mount all file systems that were unmounted.
Attention: If the physical volumes on an SDD volume group's physical volumes are mixed with hdisk devices and SDD vpath devices, you must run the
dpovgfix utility to fix this problem. Otherwise, SDD will not function properly:
# dpovgfix vg_name
You can run into an issue with EMC storage on AIX systems using MPIO (No Powerpath) for your boot disks:
After installing the ODM_DEFINITONS of EMC Symmetrix on your client system, the system won't boot any more and will hang with LED 554 (unable to find boot disk).
The boot hang (LED 554) is not caused by the EMC ODM package itself, but by the boot process not detecting a path to the boot disk if the first MPIO path does not corresponding to the fscsiX driver instance where all hdisks are configured. Let me explain that more in detail:
Let's say we have an AIX system with four HBAs configured in the following order:
# lscfg -v | grep fcs
fcs2 (wwn 71ca) -> no devices configured behind this fscsi2 driver
instance (path only configured in CuPath ODM table)
fcs3 (wwn 71cb) -> no devices configured behind this fscsi3 driver
instance (path only configured in CuPath ODM table)
fcs0 (wwn 71e4) -> no devices configured behind this fscsi0 driver
instance (path only configured in CuPath ODM table)
fcs1 (wwn 71e5) -> ALL devices configured behind this fscsi1 driver
instance
Looking at the MPIO path configuration, here is what we have for the rootvg
disk:
# lspath -l hdisk2 -H -F"name parent path_id connection status"
name parent path_id connection status
hdisk2 fscsi0 0 5006048452a83987,33000000000000 Enabled
hdisk2 fscsi1 1 5006048c52a83998,33000000000000 Enabled
hdisk2 fscsi2 2 5006048452a83986,33000000000000 Enabled
hdisk2 fscsi3 3 5006048c52a83999,33000000000000 Enabled
The fscsi1 driver instance is the second path (pathid 1), then remove the 3 paths keeping only the path corresponding to fscsi1 :
# rmpath -l hdisk2 -p fscsi0 -d
# rmpath -l hdisk2 -p fscsi2 -d
# rmpath -l hdisk2 -p fscsi3 -d
# lspath -l hdisk2 -H -F"name parent path_id connection status"
Afterwards, do a savebase to update the boot lv hd5. Set up the bootlist to hdisk2 and reboot the host.
It will come up successfully, no more hang LED 554.
When checking the status of the rootvg disk, a new hdisk10 has been configured with the correct ODM definitions as shown below:
# lspv
hdisk10 0003027f7f7ca7e2 rootvg active
# lsdev -Cc disk
hdisk2 Defined 00-09-01 MPIO Other FC SCSI Disk Drive
hdisk10 Available 00-08-01 EMC Symmetrix FCP MPIO Raid6
To summarize, it is recommended to setup ONLY ONE path when installing an AIX
to a SAN disk, then install the EMC ODM package then reboot the host and
only after that is complete, add the other paths. Dy doing that we ensure that the fscsiX driver instance used for the boot process has the hdisk
configured behind.
From powerlink.emc.com:
- Before making any changes, collect host logs to document the current configuration. At a minimum, save the following:
inq, lsdev -Cc disk, lsdev -Cc adapter, lspv, and lsvg
- Shutdown the application(s), unmount the file system(s), and varyoff all volume groups except for rootvg. Do not export the volume groups.
# varyoffvg <vg_name>
Check with lsvg -o (confirm that only rootvg is varied on)
If no PowerPath, skip all steps with power names.
- For CLARiiON configuration, if Navisphere Agent is running, stop it:
# /etc/rc.agent stop
- Remove paths from Powerpath configuration:
# powermt remove hba=all
- Delete all hdiskpower devices:
# lsdev -Cc disk -Fname | grep power | xargs -n1 rmdev -dl
- Remove the PowerPath driver instance:
# rmdev -dl powerpath0
- Delete all hdisk devices:
For Symmetrix devices, use this command:
# lsdev -CtSYMM* -Fname | xargs -n1 rmdev -dl
For CLARiiON devices, use this command:
# lsdev -CtCLAR* -Fname | xargs -n1 rmdev -dl
- Confirm with lsdev -Cc disk that there are no EMC hdisks or hdiskpowers.
- Remove all Fiber driver instances:
# rmdev -Rdl fscsiX
(X being driver instance number, i.e. 0,1,2, etc.)
- Verify through lsdev -Cc driver that there are no more fiber driver instances (fscsi).
- Change the adapter instances in Defined state
# rmdev -l fcsX
(X being adapter instance number, i.e. 0,1,2, etc.)
- Create the hdisk entries for all EMC devices:
# emc_cfgmgr
or# cfgmgr -vl fcsx
(x being each adapter instance which was rebuilt). Skip this part if no PowerPath.
- Configure all EMC devices into PowerPath:
# powermt config
- Check the system to see if it now displays correctly:
# powermt display
# powermt display dev=all
# lsdev -Cc disk
# /etc/rc.agent start
With POWER6, the default addresses of the service processors have changed. This only applies to environments where the managed system was powered on before the HMC was configured to act as an DHCP server. The Service Processors may get their IP-Addresses by three different mechanisms:
- Addresses received from a DHCP Server.
- Fixed addresses given to the interfaces using the ASMI.
- Default addresses if neither of the possibilities above is used.
The default addresses are different betweeen POWER5 and POWER6 servers. With POWER5 we have the following addresses:
Port HMC1: 192.168.2.147/24
Port HMC2: 192.168.3.147/24
The POWER6 systems use the following addresses:
First Service Processor:
Port HMC1: 169.254.2.147/24
Port HMC2: 169.254.3.147/24
Second Service Processor:
Port HMC1: 169.254.2.146/24
Port HMC2: 169.254.3.146/24
Link:
System p Operations Guide for ASMI and for Nonpartitioned Systems.
If you decide to update to HMC release 7.3.5, Fix Central only supplies you the ISO images.
This procedure describes how you can update your HMC using the network without having to sit physically in front of the console.
First, check if this new HMC level is supported by the firmware levels of your supported systems using this link. If you're certain you can upgrade to V7.3.5, then make sure to download all the required mandatory fixes from IBM Fix Central. Don't download the actual base level of HMC v7.3.5 of 3 Gigabytes. We'll download that directly to the HMC later on.
Then, perform the "Save upgrade data" task using either the Web interface or the command line. Then get the required files from the IBM server using ftp protocol using the following command:
# getupgfiles -h ftp.software.ibm.com -u anonymous --passwd ftp
-d /software/server/hmc/network/v7350
Hint: Once this procedure gets interrupted for any reason, you need to reboot your HMC before restarting it. Otherwise, some files will remain in the local download directory which will lead to incorrect checksums.
You can check the progress of the procedure using the command ls -l /hmcdump in a different terminal. Once it has finished, you will see a prompt without any additional messages and the directory will be empty (the files will be copied to a different location).
Then tell the HMC to boot from an alternate media by issuing the following command:
# chhmc -c altdiskboot -s enable --mode upgrade
Finally reboot your HMC with the following command from the console:
# hmcshutdown -r -t now
The installation should start automatically with the reboot. Once it has finished you should be able to login from remote again. The whole procedure takes up to one hour. Once you have finished you should add in any case the mandatory efixes for HMC 7.3.5 as ISO images. You can update the HMC with these fixes through the HMC. For more information, please visit
this page.
Run to install:
# yum install pure-ftpd
Have it start at system reboot:
# chkconfig pure-ftpd on
Start it:
# /etc/init.d/pure-ftpd start
Enable UnixAuthentication in /etc/pure-ftpd/pure-ftpd.conf.
Restart the FTP server:
# /etc/init.d/pure-ftpd restart
Install the software:
# yum -y install mysql mysql-server php-mysql httpd php phpmyadmin
Create link from the DirectoryRoot of the webserver to PhpMyAdmin:
# cd /var/www/html
# ln -s /usr/share/phpMyAdmin
Make sure the services are started at boot time:
# chkconfig httpd on
# chkconfig --add mysqld
# chkconfig mysqld on
# service httpd start
# service mysqld start
Set the root password for mysql:
# mysqladmin -u root password root
Make additional security-related changes to mysql:
# mysql -u root -p
mysql> DROP DATABASE test; [removes the test database]
mysql> DELETE FROM mysql.user WHERE user = ''; [Removes anonymous access]
Following the above steps, the document root for Apache is /var/www/html/. Create a test PHP script (such as phpinfo.php) and place it in the document root. A useful test script sample:
<?php
phpinfo();
?>
Test with a brower: http://hostname/phpinfo.php
Create a database:
mysql> create database testdb
Add the following to /etc/httpd/conf/httpd.conf:
<Directory "/usr/share/phpMyAdmin">
Order allow,deny
Allow from all
</Directory>
Set the ServerName entry to hostname:80
Add "index.php" to the DirectoryIndex entry, so the webserver also recognizes index.php as an index file.
Restart the http server:
# service httpd restart
Test with a browser: http://hostname/phpMyAdmin/
Use yum to update your system (for Fedora or Red Hat):
# yum update
will update all the packages on your system. If you need to configure a proxy server for yum to use, then just add the following line to /etc/yum.conf:
proxy=http://address-of-proxyserver.org:80
Of course set it to your correct proxy server and port number.
Even though Ubuntu is very complete initially, you might want extra's, like a media player. You can use a script to do this for you:
# wget http://download.ubuntuforums.org/ubuntusetup/ubuntusetup.sh
# sudo sh ubuntusetup.sh
APT is short for Advanced Packaging Tool and is found in Debian distributions of Linux, like Ubuntu. To be able to use APT, you first need to download a list of available software:
# sudo apt-get update
To download the webbrowser Firefox, type:
# sudo apt-get install mozilla-firefox
With the command
# sudo apt-cache search [search-term]
you can search for a specific program.
To upgrade your complete system:
# sudo apt-get upgrade
Besides the command-line, you can also use the graphical user interface Synaptic.
Number of results found for topic
Installation: 30.
Displaying results: 21 - 30.