главный раздел
- Details
- Category: PostgreSQL
- Hits: 4374
На сервере источнике создадим дамп:
sudo su - postgres
pg_dumpall --host=127.0.0.1 --port=5432 --database=base --file=base.dump
Затем перенесём файл на другой сервер, например используя scp. После чего выполним импорт базы:
sudo su - postgres
psql -Upostgres -h newhost -f base.dump
- Details
- Category: СХД
- Hits: 4870
EVA4400 management module default ip is: 192.168.0.1
If management module not responding, try to reset it by pressing reset button, located on management module.
To access WOCP: Open browser, in address prompt type: https://192.168.0.1:2372
Type user name: admin
there is no password by default.
- Details
- Category: Разное
- Hits: 4394
know I can add specific URLs in the network.authmatic-ntlm-auth.trusted-uris
and separate them by comma, but I would like to enable NTLM for all intranet sites. I tried http://*
and http://.
but that didn't work. Also, some of the intranet sites are https
.
Update
- Set
network.automatic-ntlm-auth.allow-non-fqdn
totrue
- Set
network.automatic-ntlm-auth.trusted-uris
to blank
- Details
- Category: VIOS
- Hits: 3889
CDROM - DVDROM (Virtual Optical Device):
Any optical device equipped on the Virtual I/O Server partition (either CD-ROM, DVD-ROM, or DVD-RAM) can be virtualized and assigned at any logical partition, one at a time, using the same virtual SCSI adapter provided to virtual disks. Virtual optical devices can be used to install the operating system and, if DVD-RAM, to make backups.
Creating Virtual Optical Device:
1. On VIO Server create SCSI Server Adapter. This adapter is set to Any client partition can connect.
This dedicated adapter for the virtual optical device helps to make things easier from a system management point of view.
2. On client LPAR: create SCSI client adapter, mapping the id with the server adapter (above)
3. cfgdev (on vio) will bring up a new vhostX
cfgmgr (on client) will bring up a new vscsiX
4. On VIO Server create optical device:
-for using physical CDs and DVDs, create an optical device
$ mkvdev -vdev cd0 -vadapter vhost4 -dev vcd
vcd Available
$ lsdev -virtual
...
vcd Available Virtual Target Device - Optical Media
-for file backed (iso images) optical device
$ mkvdev -fbo -vadapter vhost1
vtopt0 Available
$lsdev -virtual
...
vtopt0 Available Virtual Target Device - File-backed Optical
(copy the iso image to /var/vio/VMLibrary, 'lsrep' will show media repository content)
(lssp -> mkrep -sp rootvg -size 4G <--this will create media repository)
(creating an iso image: mkvopt -name <filename>.iso -dev cd0 -ro)
load the image into the vtopt0 device: loadopt -vtd vtopt0 -disk dvd.1022A4_OBETA_710.iso
(lsmap -all will show it)
or you can check it:
padmin@vios1 : /home/padmin # lsvopt
VTD Media Size(mb)
vtopt0 AIX_7100-00-01_DVD_1_of_2_102010.iso 3206
if later another disk is needed, you can unload an image with this command: unloadopt -vtd vtopt0
if we don't need the image anymore at all we can remove it from the repository: rmvopt -name AIX_7100-00-01.iso
- Details
- Category: VIOS
- Hits: 4825
Since HMC firmware version 7.7.7, IBM added very cool feature, which allows installation of the Virtual I/O Server directly from the HMC. This is very convenient when you get your POWER machine to the new location, and you want to install an operating system, for instance, IBM i or AIX, but you prefer to do it remotely.
There was another command installios for quite some time in the HMC. But it wasn’t very user friendly. Especially for IBM i administrators, the command looks like an occult. With new feature ‘Virtual I/O Server Repository’ it’s very easy to get the VIOS installed, even for someone who has never done it before.
If you get a brand new machine to a new location, and you don’t have a NIM server (or you don’t know what is this), it’s enough that you get the HMC operational and accessible from a remote location (you can ask a business partner to configure it). The HMC will host the VIOS installation images and performs almost automatically entire VIOS installation process.
1.Download VIOS installation .iso images from IBM website.
2.Copy installation images to the HMC. Go to HMC Management – Manage Virtual I/O Server Image Repository
3.Complete information where the images can be copied from
4. Select your brand new VIOS partition profile, and click Operations – Activate – Profile and select Yes for Install Virtual I/O Server as part of activation process?
5. Type in the IP address, subnet mask and default gateway for VIOS.
6. The installation process starts. It will do everything what is necessary to install the VIOS.
Remember that your HMC console acts as a NIM server. Therefore, if the console is behind the firewall, you must ensure that all ports required by NIM are opened.
7. When the installation finished, open virtual terminal in the HMC vtmenu , and do the first login to the VIOS with a default password padmin for padmin user.
Once the VIOS is installed, you can use it as virtual media repository. It allows you to create virtual drive where you can load OS installation images (IBM i, AIX, or Linux) and proceed with OS installation completely remotely. This process I described some time ago here.
I think this is great feature in the HMC, and IBM i people should use it. It saves time, its very convenient, and you don’t have to travel to the data room just to insert the SLIC DVD.
- Details
- Category: СХД
- Hits: 7072
**************************************************************************
A flash reporting a possible issue that could occur if a drive fails during drive firmware update can be found here.
Until the flash is updated showing how to avoid this issue, only update drive firmware when installing a new machine or if all hosts are offline.
**************************************************************************
IBM recently released new drive firmware for the Storwize V7000, so I thought I would share the process of how I update that firmware. You can download it from here. The details for this new package can be found here. I recommend you perform the drive update before you next update your Storwize V7000 microcode.
I want to be clear that one of the central goals of the Storwize V7000 is to ensure that performing drive firmware updates can be done online without host disruption. This is possible because each drive can be updated in less than around 4 seconds. The scripts I share below leave a 10 second delay between drives just to be safe. I would still prefer that you did the update during a quiet period.
We need to perform this procedure using the command line as there is no way to do this procedure from the GUI (yet).
There are four steps:
-
Upload the Software Upgrade Test Utility to determine which drives need updating.
-
Upload the drive microcode package.
-
Apply the drive software.
-
Confirm all drives are updated.
- Details
- Category: SAN
- Hits: 4795
Общая последовательность настройки SAN коммутатора Brocade
I. Начальная настройка
1. подключится к COM порту (9600-8-1, no-flow-control)
2. ввести логин/пароль (admin/password)
3. изменить имя коммутатора
# switchname
4. установить IP адрес
# ipaddrset
5. изменить Domain-ID (рекомендуется использовать из диапазона 99..127)
# switchdisable
# configure
— ответить “yes” на вопрос об изменении параметров фабрики
Domain ID: 101 (на втором коммутаторе: 102)
— остальные параметры оставить как есть (нажимать “Enter”)
# switchenable
# reboot
- Details
- Category: Cisco
- Hits: 3706
In this post we will see how to upgrade prime using its command line interface (CLI). You can use GUI as well, but it is much quicker if you could upload the patch/upgrade files onto local FTP server & then apply it onto prime. You can use “show version” CLI command to verify current prime version.
primedev/admin# show version Cisco Application Deployment Engine OS Release: 2.0 ADE-OS Build Version: 2.0.1.038 ADE-OS System Architecture: x86_64 Copyright (c) 2005-2010 by Cisco Systems, Inc. All rights reserved. Hostname: primedev Version information of installed applications --------------------------------------------- Cisco Prime Network Control System ------------------------------------------ Version : 1.4.0.45 Patch: Cisco Prime Network Control System Version: Update-1_16_for_version_1_4_0_45
We will use this to upgrde to PI 1.4.1 (patch PI_1.4_0_45_Update_1-39.tar.gz) to support new 3700 series AP. You can download these patches from the software section of PI in CCO page as shown below. You also need to check the release notes (Here is 1.4.1 release notes) to make sure your upgrade path is correct & its compatibility with other products.