- In order to connect to databases find out appropriate username (nova) use your favorite sql client with jdbc driver.
Driver: DB2 JDBC
Database name: openstac
Password: passw0rd <zero> (default password)
In order to use commands you need to source credentials to gain admin-CLI access:
$ . openrc
$ . keystonerc
keystone user-list – list all users
keystone user-get <user_name> – show more information on user
Using as DB2 user (db2inst1):
>$ db2 list active databases – display active databases
>$ db2 list database directory – database directory
>$ db2level – database fixpack
>$ db2licm -v – database version
>$ db2 get db cfg for <database_name> = list database configuration settings
- Open a command prompt
- Enter the following command:
net use x: \\hostname\shares<\code>
net use x: \\computer.example.com\shared<\code>
As some of the tasks requires root access you can connect to Storwize Unified directly. Before you attempt to connect make sure that the Service IPs are set for management nodes. By default root‘s password is set to passw0rd see this page for more access information.
SSH using following command:
ssh -p 1602 root@<service_module_IP>
Windows 8, Windows 8.1, Windows 10 get suspended or go to standby mode when are inactive for more than 5 mins. The issue is related to mobile devices which OSes were designed for and battery savings which disable some of the services such as RDP and users cannot login to machines.
In order to address the issue in VMware, a machine needs to be powered down and .vmx file needs to be modified. There are two ways of doing it:
- Directly via ssh and using text editor to append the following to <vm_name>.vmx file: suspend.disabled=”TRUE” save changes and exit file.
- Using vSphere Client by right clicking the machine and edit settings. Navigating to Options -> Advanced -> General and clicking ‘Configuration Parameters’ button. \
- Select ‘Add Row’ button.
- Name: suspend.disabled, Value: True
- Save settings and power the mahcine back on.
To updated VMware tools on Windows without reboot:
- Right click on a virtual machine
- Select ‘Guest’ -> Install/Upgrade VMware Tools
- In the pop-up dialog select ‘Automatic Tools Upgrade’ in ‘Advanced Options’ enter the following:
/S /v"/qn REBOOT=R"
- Installation can take up to 10 mins depending on your data storage performance
In order to upgrade a specific package in Debian-based Linux operating systems, use apt-get install and provide upgrade flag:
# apt-get install –only-upgrade <package_name>
In order to verify if ssh sessions are established run:
#netstat -tnpa | grep ssh
- Open a terminal
- Make sure that mount destination folder already exists:
- Mount the cdrom to the folder:
mount <source_path> <destination_path>
mount /dev/cdrom /mnt